@import url("https://use.typekit.net/ohk5rsi.css");

/* --- CSS VARIABLES & BRAND PALETTE --- */
:root {
    /* Brand Colors requested */
	--light-tan: #f0e8eb;
	--tan: #e1d2ce;
	--brown: #674034;
	--hersheys-brown: #391821;
	--reeses-brown: #440802;
	--blue:#0091c9;
	--orange: #ff5200;
	--yellow: #ffee00;
	--peanut-butter: #ffc27b;
	--york-blue:#0033a0;
	--york-green:#c6d888;
	--silver:#909294;
	--joy-blue:#0033A0;
	--joy-light:#00C1D5;
    
    /* Layout */
    --app-max-width: 500px;
}

/* --- RESET & GLOBAL --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
#wbx-powered-by-slot {
	display:none !important;
}
body {
	background:var(--light-tan);
	font-family: 'canada-type-gibson', sans-serif;
	font-weight: 300;
	color:var(--brown);
	font-size:1.25em;
	line-height: 1.4em;
    -webkit-font-smoothing: antialiased;
}

.hidden {
    display: none !important;
}

/* --- LAYOUT WRAPPERS --- */
.site-background {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.mobile-app {
    width: 100%;
    max-width: var(--app-max-width);
	background:var(--light-tan);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 50px rgba(110, 37, 70, 0.1);
    display: flex;
    flex-direction: column;
}

/* Status Banners */
.status-banner {
    background: var(--light-tan);
    text-align: center;
    padding: 60px 24px;
    font-weight: 500;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.status-banner h2 {
    color: var(--hersheys-brown);
    margin-bottom: 12px;
    font-size: 2.25rem;
    font-weight: 700;
}

.status-banner p {
    color: var(--brown);
    margin-bottom: 24px;
    font-size: 1.15rem;
}

/* Countdown Styles */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    background: var(--tan);
    padding: 16px 12px;
    border-radius: 12px;
    min-width: 75px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.countdown-item span:first-child {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hersheys-brown);
    line-height: 1;
    margin-bottom: 6px;
}

.countdown-item span:last-child {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--brown);
    letter-spacing: 1px;
}

.countdown-ready {
    font-weight: 600;
    color: var(--hersheys-brown);
    font-size: 1.25rem;
    margin-top: 16px;
}

@media (max-width: 400px) {
    .countdown-item {
        min-width: 65px;
        padding: 12px 8px;
    }
    .countdown-item span:first-child {
        font-size: 1.5rem;
    }
    .countdown-item span:last-child {
        font-size: 0.7rem;
    }
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* --- CONTENT AREA --- */
.content-body {
	background:var(--tan);
    padding: 24px 28px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Typography */
.campaign-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hersheys-brown);
    line-height: 1.1;
    margin-bottom: 12px;
    text-align: center;
}

@media (max-width:499px) {
.campaign-title {
    font-size: 2rem;
}
}

@media (max-width:374px) {
.campaign-title {
    font-size: 1.75rem;
}
}
.campaign-subtitle {
    font-size: 1rem;
	color:var(--brown);
    text-align: center;
    margin-bottom: 32px;
    font-weight: 300;
}


/* --- FORM & BUTTONS --- */
.entry-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.input-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.input-row .input-group {
    flex: 1;
}

.input-group input {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 20px;
    font-size: 1.05rem;
    color: var(--brown);
    transition: all 0.3s ease;
    outline: none;
	border:none;
}

.input-group input:focus {
    border-color: var(--rose);
}

.input-group input::placeholder {
    color: rgba(110, 37, 70, 0.4);
}

/* Checkbox specific styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 8px 0 16px;
    font-size: 0.95rem;
    color: var(--brown);
    text-align: left;
}

.checkbox-group input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--brown);
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--hersheys-brown);
    text-decoration: underline;
    font-weight: 600;
}

.nowrap {
	white-space:nowrap;
}

/* Glowing Button */
.glow-btn {
    position: relative;
    color: #ffffff;
    border: none;
    border-radius: 999px; /* Pill shape */
    padding: 18px 24px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
	
    color: var(--tan);
	background:var(--brown);
}

.glow-btn:hover {
    color: var(--light-tan);
	background:var(--hersheys-brown);
}


.glow-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
		background:#dddddd;
}


/* --- COMPLIANCE FOOTNOTE --- */
.compliance-footnote {
    font-size: 0.7rem;
    color: rgba(110, 37, 70, 0.5);
    text-align: left;
    line-height: 1.5;
    margin-top: auto;
	margin-bottom:10px;
}

/* --- ERROR MESSAGE --- */
.error-message {
    background: rgba(230, 0, 92, 0.1);
    color: var(--magenta-glow);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid rgba(230, 0, 92, 0.2);
}

/* --- SPINNER --- */
.spinner {
    animation: rotate 2s linear infinite;
    width: 24px;
    height: 24px;
}
.spinner .path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* --- SUCCESS VIEW --- */
.success-hero {
    background: var(--blush);
    padding: 60px 24px 40px;
    text-align: center;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    margin-bottom: 24px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Powered by container styling to ensure nice centering at very bottom */
#wbx-powered-by-slot {
    margin-top: auto; /* Pushes to bottom */
    padding: 24px 0;
    width: 100%;
}
