/* CSS Variables */
:root {
    --spacing-vsm: 6px;
    --spacing-sm: 12px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 72px;
    
    /* Elegant Colors */
    --primary-gold: #d4af37;
    --accent-gold: #ffd700;
    --deep-red: #8b0000;
    --rich-green: #006400;
    --elegant-blue: #1e3a8a;
    --soft-purple: #6b46c1;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-accent: #d4af37;
    --text-muted: #9ca3af;
    
    /* Background Colors */
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-card: rgba(31, 41, 55, 0.95);
    --bg-overlay: rgba(0, 0, 0, 0.6);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #111827 0%, #1f2937 50%, #374151 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    --gradient-card: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(55, 65, 81, 0.9) 100%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('hero.jpg') center/cover no-repeat,
        var(--gradient-primary);
    background-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
    text-align: center;
}

.hero-text {
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.3),
        0 0 80px rgba(255, 215, 0, 0.2);
}

/* Email Form Styles */
.email-form-container {
    background: rgba(31, 41, 55, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    /* max-height: 500px; */
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 215, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.email-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.form-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(255, 215, 0, 0.3);
}

.form-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.email-form {
    margin-bottom: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

.email-input {
    width: 100%;
    max-width: 400px;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.2rem;
    border: 2px solid var(--primary-gold);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--bg-primary);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.email-input::placeholder {
    color: rgba(17, 24, 39, 0.6);
    font-style: italic;
}

.submit-button {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    color: var(--bg-primary);
    border: 3px solid #ffd700;
    border-radius: 50px;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 30px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.submit-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 50px rgba(255, 215, 0, 0.6),
        0 0 100px rgba(255, 215, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 50%, #ffed4e 100%);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button i {
    font-size: 1.2rem;
}

/* Privacy Notice */
.privacy-notice {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.privacy-notice p {
    margin-bottom: var(--spacing-sm);
}

.privacy-link {
    color: var(--accent-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--primary-gold);
}


/* Floating Elements */
.poker-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-chip {
    position: absolute;
    font-size: 8rem;
    font-weight: bold;
    user-select: none;
    pointer-events: none;
    opacity: 0.6;
}

.chip1 { 
    top: 15%; 
    left: 8%; 
    color: var(--accent-gold);
    text-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(255, 215, 0, 0.8),
        0 0 100px rgba(255, 215, 0, 0.4);
    animation: floatAround1 12s ease-in-out infinite;
}

.chip2 { 
    top: 70%; 
    right: 10%; 
    color: #00f5ff;
    text-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(0, 245, 255, 0.8),
        0 0 100px rgba(0, 245, 255, 0.4);
    animation: floatAround2 14s ease-in-out infinite;
}

.chip3 { 
    bottom: 20%; 
    left: 15%; 
    color: #bf00ff;
    text-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(191, 0, 255, 0.8),
        0 0 100px rgba(191, 0, 255, 0.4);
    animation: floatAround3 16s ease-in-out infinite;
}

.chip4 { 
    top: 45%; 
    right: 20%; 
    color: var(--accent-gold);
    text-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(255, 215, 0, 0.8),
        0 0 100px rgba(255, 215, 0, 0.4);
    animation: floatAround4 10s ease-in-out infinite;
}

/* Animations */
@keyframes floatAround1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, -60px) scale(0.9); }
    75% { transform: translate(40px, -30px) scale(1.05); }
}

@keyframes floatAround2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-35px, -50px) scale(0.95); }
    50% { transform: translate(25px, -80px) scale(1.15); }
    75% { transform: translate(-15px, -25px) scale(0.85); }
}

@keyframes floatAround3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(45px, 30px) scale(1.2); }
    50% { transform: translate(-30px, 60px) scale(0.8); }
    75% { transform: translate(20px, 15px) scale(1.1); }
}

@keyframes floatAround4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-40px, 35px) scale(0.9); }
    50% { transform: translate(35px, 70px) scale(1.25); }
    75% { transform: translate(-25px, 20px) scale(0.95); }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--gradient-card);
    margin: 50vh auto;
    transform: translateY(-50%);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    width: 90%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(255, 215, 0, 0.2);
    animation: modalShow 0.5s ease-out;
}

@keyframes modalShow {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.7);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.modal-header {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-md);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.modal-header i {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.modal-header h2 {
    font-size: 2rem;
    color: var(--accent-gold);
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.modal-body {
    padding: var(--spacing-lg);
    text-align: center;
}

.modal-body p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.modal-bonus {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: 15px;
    margin: var(--spacing-lg) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 1.2rem;
}

.modal-bonus i {
    font-size: 1.5rem;
}

.modal-footer {
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-xl);
    text-align: center;
}

.modal-close {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Loading Animation */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

.loading .submit-button {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.loading .submit-button span {
    display: none;
}

.loading .submit-button::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 3px solid var(--bg-primary);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .form-subtitle {
        font-size: 1.1rem;
    }
    
    .email-form-container {
        padding: var(--spacing-lg);
        margin: var(--spacing-md) 0;
    }
    
    .email-input {
        max-width: 100%;
        font-size: 1.1rem;
    }
    
    .submit-button {
        font-size: 1.2rem;
        padding: var(--spacing-sm) var(--spacing-lg);
    }
    
    
    .floating-chip {
        font-size: 5rem;
        opacity: 0.4;
    }
    
    .form-group {
        gap: var(--spacing-md);
    }
    
    .modal-content {
        margin: 50vh auto;
        transform: translateY(-50%);
        width: 95%;
    }
    
    .privacy-notice {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .form-title {
        font-size: 1.7rem;
    }
    
    .email-form-container {
        padding: var(--spacing-md);
    }
    
    .floating-chip {
        font-size: 4rem;
        opacity: 0.3;
    }
}
