/* Professional/Corporate Theme - Clean, Sophisticated with Gambling Elements */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(49, 130, 206, 0.03) 100px, rgba(49, 130, 206, 0.03) 200px);
    animation: slideBackground 30s linear infinite;
    top: -50%;
    left: -50%;
}

@keyframes slideBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes spinSubtle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cardFlip {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.bonus-form,
.welcome-screen,
.age-verification,
.zip-code-form,
.loading-screen,
.gambling-question {
    animation: fadeInUp 0.5s ease-out;
    position: relative;
}

.welcome-screen {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 1px solid #e1e8ed;
    position: relative;
}

.welcome-title {
    font-size: 1.75rem;
    color: #1a202c;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.welcome-title::before {
    content: '💼 ';
    opacity: 0.7;
}

.welcome-subtitle {
    font-size: 0.9375rem;
    color: #718096;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.5;
}

.begin-btn {
    width: 100%;
    min-height: 48px;
    padding: 1rem;
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.begin-btn::before {
    content: '▶ ';
    font-size: 14px;
}

.begin-btn:active {
    transform: scale(0.97);
}

@media (min-width: 768px) {
    .welcome-screen {
        max-width: 500px;
        padding: 2.5rem;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
    }
    
    .begin-btn:hover {
        background: #2c5aa0;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(49, 130, 206, 0.3);
    }
}

@media (min-width: 1024px) {
    .welcome-screen {
        max-width: 600px;
        padding: 3rem;
    }
    
    .welcome-title {
        font-size: 2.25rem;
    }
    
    .welcome-subtitle {
        font-size: 1.125rem;
    }
}

.bonus-form {
    background: #ffffff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    width: 100%;
    color: #2c3e50;
    border: 1px solid #e1e8ed;
    position: relative;
}

.bonus-form::before {
    content: '🃏';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 80px;
    opacity: 0.03;
    animation: cardFlip 8s infinite linear;
}

.form-title {
    font-size: 2rem;
    color: #1a202c;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.form-title::before {
    content: '💼 ';
    opacity: 0.7;
}

.location-subtitle {
    font-size: 0.95rem;
    color: #718096;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bonus-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bonus-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3182ce;
    border-radius: 6px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out backwards;
}

.bonus-card:nth-child(1) { animation-delay: 0.1s; }
.bonus-card:nth-child(2) { animation-delay: 0.2s; }
.bonus-card:nth-child(3) { animation-delay: 0.3s; }

.bonus-card::before {
    content: '💰';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    opacity: 0.2;
}

.bonus-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: #2c5aa0;
    background: #ffffff;
}

.bonus-card:hover::before {
    animation: spinSubtle 2s infinite linear;
}

.bonus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.bonus-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3182ce;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.bonus-number::before {
    content: '🎯 ';
    font-size: 14px;
}

.bonus-amount {
    font-size: 1.25rem;
    color: #1a202c;
    font-weight: 700;
}

.bonus-description {
    color: #4a5568;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.bonus-btn {
    width: 100%;
    padding: 0.875rem;
    background: #3182ce;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.bonus-btn::before {
    content: '▶ ';
    font-size: 12px;
}

.bonus-btn:hover {
    background: #2c5aa0;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.3);
    transform: translateY(-1px);
}

.bonus-btn:active {
    transform: translateY(0);
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 2rem;
    color: #3182ce;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    text-decoration: underline;
    color: #2c5aa0;
}

.age-verification,
.zip-code-form,
.loading-screen,
.gambling-question {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 1px solid #e1e8ed;
    position: relative;
}

.age-verification::before,
.zip-code-form::before,
.loading-screen::before,
.gambling-question::before {
    content: '🎲';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    opacity: 0.05;
}

.age-question,
.zip-question,
.loading-message,
.gambling-question-text {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.age-buttons,
.gambling-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn,
.gambling-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-btn.yes,
.gambling-btn.yes {
    background: #48bb78;
    color: white;
}

.age-btn.yes:hover,
.gambling-btn.yes:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(72, 187, 120, 0.3);
}

.age-btn.no,
.gambling-btn.no {
    background: #f56565;
    color: white;
}

.age-btn.no:hover,
.gambling-btn.no:hover {
    background: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 101, 101, 0.3);
}

.hidden {
    display: none !important;
}

.zip-input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.zip-input-group::after {
    content: '📍';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.5;
}

.zip-input {
    width: 100%;
    padding: 0.875rem 2.5rem 0.875rem 0.875rem;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    text-align: left;
    transition: all 0.3s ease;
}

.zip-input:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.zip-submit-btn {
    padding: 0.875rem 1.5rem;
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zip-submit-btn:hover {
    background: #2c5aa0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(49, 130, 206, 0.3);
}

.loading-spinner {
    border: 4px solid #e2e8f0;
    border-top: 4px solid #3182ce;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    position: relative;
}

.loading-spinner::after {
    content: '💰';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    animation: spinSubtle 2s infinite linear reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth transitions */
body > div {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

body > div.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

body > div:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}
