/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Orbitron:wght@400;700;900&display=swap');

/* CSS Variables - Mobile Optimized */
:root {
    --primary-orange: #ff6600;
    --secondary-orange: #ff8533;
    --dark-orange: #e55a00;
    --light-orange: #ff9966;
    --neon-orange: #ff7700;
    --bright-orange: #ff4500;
    --primary-black: #1a1a1a;
    --secondary-black: #2d2d2d;
    --deep-black: #0f0f0f;
    --accent-red: #ff1744;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --text-orange-light: #ffccaa;
    --gradient-primary: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    --gradient-cta: linear-gradient(45deg, var(--primary-orange), var(--bright-orange));
    --gradient-bright: linear-gradient(135deg, var(--neon-orange), var(--light-orange));
    --shadow-orange: 0 8px 25px rgba(255, 102, 0, 0.3);
    --shadow-orange-bright: 0 4px 12px rgba(255, 102, 0, 0.5);
    --shadow-orange-glow: 0 0 12px rgba(255, 102, 0, 0.6);
    
    /* Mobile-specific variables */
    --mobile-padding: 15px;
    --mobile-gap: 10px;
    --tap-target-min: 48px;
    --mobile-font-base: 16px;
    --mobile-line-height: 1.5;
}

/* Reset and Base Styles - Mobile First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--mobile-font-base);
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(26, 26, 26, 0.95)), url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Better for mobile performance */
    color: var(--text-light);
    min-height: 100vh;
    line-height: var(--mobile-line-height);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%; /* Prevent iOS text scaling */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile-First Navigation */
.top-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--mobile-padding);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-orange);
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 15px;
}

.logo h1 a {
    color: var(--primary-orange);
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
    text-shadow: var(--shadow-orange-glow);
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    min-height: var(--tap-target-min);
    line-height: var(--tap-target-min);
}

.logo h1 a:hover,
.logo h1 a:focus {
    color: var(--neon-orange);
    transform: scale(1.05);
    outline: none;
}

.nav-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.nav-options a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    min-height: var(--tap-target-min);
    min-width: var(--tap-target-min);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.nav-options a:hover,
.nav-options a:focus {
    color: var(--primary-orange);
    background: rgba(255, 102, 0, 0.15);
    box-shadow: var(--shadow-orange-glow);
    transform: translateY(-1px);
    outline: 2px solid var(--primary-orange);
}

.login-btn {
    border: 2px solid var(--primary-orange) !important;
}

.register-btn {
    background: var(--gradient-primary) !important;
    color: white !important;
    font-weight: 700;
    box-shadow: var(--shadow-orange);
}

/* Mobile-First Main Container */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: var(--mobile-padding);
}

.content-box {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.98), rgba(26, 26, 26, 0.95));
    border: 2px solid var(--primary-orange);
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow-orange);
    position: relative;
}

/* Mobile Warning Header */
.warning-header {
    margin-bottom: 30px;
}

.warning-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-red), var(--primary-orange));
    color: white;
    font-size: 16px;
    font-weight: 900;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 15px;
    box-shadow: 0 0 12px rgba(255, 23, 68, 0.5);
    min-height: var(--tap-target-min);
    line-height: 1.2;
}

.warning-header h2 {
    color: var(--accent-red);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 12px;
    text-shadow: 0 0 15px rgba(255, 23, 68, 0.6);
    letter-spacing: 1px;
    line-height: 1.2;
}

.warning-header p {
    color: var(--primary-orange);
    font-size: 16px;
    font-weight: 600;
    text-shadow: var(--shadow-orange-glow);
    line-height: var(--mobile-line-height);
}

/* Mobile-Optimized Countdown Section */
.countdown-section {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 102, 0, 0.05));
    border-radius: 15px;
    border: 2px solid rgba(255, 102, 0, 0.3);
}

.countdown-header h3 {
    color: var(--neon-orange);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: var(--shadow-orange-glow);
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Mobile-First Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: nowrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, var(--deep-black), var(--secondary-black));
    padding: 15px 12px;
    border-radius: 12px;
    border: 2px solid var(--primary-orange);
    box-shadow: var(--shadow-orange);
    min-width: 75px;
    min-height: var(--tap-target-min);
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.time-unit:active {
    transform: scale(0.95);
}

.time-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--neon-orange);
    font-family: 'Orbitron', monospace;
    text-shadow: var(--shadow-orange-glow);
    line-height: 1;
}

.time-label {
    font-size: 11px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.time-separator {
    font-size: 28px;
    color: var(--primary-orange);
    font-weight: 900;
    font-family: 'Orbitron', monospace;
}

.countdown-subtitle {
    margin-top: 15px;
}

.urgency-text {
    color: var(--accent-red);
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 23, 68, 0.4);
}

/* Mobile-Optimized Offer Text */
.offer-text {
    margin: 25px 0;
}

.offer-highlight {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.15), rgba(255, 119, 0, 0.1));
    padding: 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 102, 0, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.offer-highlight:active {
    transform: scale(0.98);
}

.offer-highlight p {
    color: var(--light-orange);
    font-size: 16px;
    font-weight: 700;
    line-height: var(--mobile-line-height);
    text-shadow: var(--shadow-orange-glow);
    margin: 0;
}

/* Mobile-Optimized Disclaimer */
.disclaimer {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.15), rgba(255, 102, 0, 0.05));
    border: 2px solid var(--primary-orange);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.disclaimer:active {
    transform: scale(0.98);
}

.disclaimer-content p {
    color: var(--text-orange-light);
    font-size: 14px;
    line-height: var(--mobile-line-height);
    text-align: left;
}

.disclaimer strong {
    color: var(--accent-red);
    font-weight: 900;
    text-shadow: 0 0 8px rgba(255, 23, 68, 0.4);
}

/* Mobile-First Action Section */
.action-section {
    margin: 30px 0;
}

.action-text p {
    color: var(--light-orange);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: var(--shadow-orange-glow);
    line-height: var(--mobile-line-height);
}

.cta-container {
    position: relative;
    display: block;
    margin: 0 auto;
}

/* Mobile-Optimized CTA Button */
.cta-button {
    background: var(--gradient-cta);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 900;
    border-radius: 35px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-orange-bright);
    width: 100%;
    max-width: 280px;
    min-height: var(--tap-target-min);
    display: block;
    margin: 0 auto;
    -webkit-tap-highlight-color: transparent;
    border: 2px solid transparent;
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 102, 0, 0.6);
    background: var(--gradient-bright);
    outline: none;
    border-color: var(--neon-orange);
}

.cta-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: var(--shadow-orange-bright);
}

.cta-text {
    position: relative;
    z-index: 1;
}

/* Mobile-Optimized Online Counter */
.online-counter {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 26, 0.6));
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 102, 0, 0.3);
    min-height: var(--tap-target-min);
}

.online-indicator {
    width: 10px;
    height: 10px;
    background: var(--primary-orange);
    border-radius: 50%;
    box-shadow: var(--shadow-orange-glow);
    flex-shrink: 0;
}

.online-number {
    color: var(--neon-orange);
    font-weight: 900;
    font-size: 16px;
    font-family: 'Orbitron', monospace;
    text-shadow: var(--shadow-orange-glow);
}

.online-text {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Mobile-First Footer */
.legal-footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid rgba(255, 102, 0, 0.3);
    padding: 20px var(--mobile-padding);
    text-align: center;
}

.footer-content p {
    color: var(--text-gray);
    font-size: 12px;
    margin-bottom: 8px;
    line-height: var(--mobile-line-height);
}

.footer-content a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.3s ease;
    min-height: var(--tap-target-min);
    display: inline-block;
    line-height: var(--tap-target-min);
}

.footer-content a:hover,
.footer-content a:focus {
    color: var(--neon-orange);
    text-shadow: var(--shadow-orange-glow);
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    align-items: center;
}

.legal-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 8px;
    min-height: var(--tap-target-min);
    min-width: var(--tap-target-min);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.legal-links a:hover,
.legal-links a:focus {
    color: var(--primary-orange);
    background: rgba(255, 102, 0, 0.1);
    transform: translateY(-1px);
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

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

/* TABLET BREAKPOINT - 481px and up */
@media (min-width: 481px) {
    :root {
        --mobile-padding: 20px;
        --mobile-gap: 15px;
        --mobile-font-base: 17px;
    }
    
    .content-box {
        max-width: 500px;
        padding: 30px;
    }
    
    .warning-header h2 {
        font-size: 28px;
    }
    
    .countdown-header h3 {
        font-size: 22px;
    }
    
    .time-unit {
        padding: 20px 15px;
        min-width: 90px;
    }
    
    .time-value {
        font-size: 40px;
    }
    
    .offer-highlight p {
        font-size: 18px;
    }
    
    .legal-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* SMALL TABLET BREAKPOINT - 769px and up */
@media (min-width: 769px) {
    .top-nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 30px;
        gap: 0;
    }
    
    .logo h1 a {
        font-size: 26px;
    }
    
    .nav-options {
        flex-direction: row;
        width: auto;
        gap: 20px;
    }
    
    .nav-options a {
        font-size: 15px;
        padding: 10px 18px;
    }
    
    .content-box {
        max-width: 650px;
        padding: 40px;
    }
    
    .countdown-timer {
        gap: 25px;
    }
    
    .time-unit {
        padding: 25px 20px;
        min-width: 100px;
    }
    
    .time-value {
        font-size: 48px;
    }
    
    .cta-button {
        max-width: 320px;
        padding: 20px 50px;
        font-size: 19px;
    }
}

/* DESKTOP BREAKPOINT - 1025px and up */
@media (min-width: 1025px) {
    :root {
        --mobile-padding: 40px;
        --mobile-font-base: 18px;
    }
    
    body {
        background-attachment: fixed; /* Re-enable for desktop */
    }
    
    .top-nav {
        padding: 20px 40px;
    }
    
    .logo h1 a {
        font-size: 28px;
    }
    
    .nav-options a {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .content-box {
        max-width: 750px;
        padding: 50px;
        border-radius: 25px;
    }
    
    .warning-header h2 {
        font-size: 36px;
    }
    
    .warning-header p {
        font-size: 22px;
    }
    
    .countdown-header h3 {
        font-size: 28px;
    }
    
    .countdown-timer {
        gap: 30px;
    }
    
    .time-unit {
        padding: 30px 25px;
        min-width: 120px;
    }
    
    .time-value {
        font-size: 56px;
    }
    
    .time-separator {
        font-size: 40px;
    }
    
    .offer-highlight p {
        font-size: 22px;
    }
    
    .action-text p {
        font-size: 20px;
    }
    
    .cta-button {
        padding: 25px 60px;
        font-size: 22px;
        width: auto;
    }
    
    .legal-footer {
        padding: 30px 20px;
    }
}

/* LARGE DESKTOP BREAKPOINT - 1400px and up */
@media (min-width: 1400px) {
    .content-box {
        max-width: 800px;
    }
    
    .countdown-timer {
        gap: 35px;
    }
    
    .time-unit {
        padding: 35px 30px;
        min-width: 130px;
    }
    
    .time-value {
        font-size: 64px;
    }
}

/* HIGH DPI DISPLAYS */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* REDUCED MOTION PREFERENCE */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .loading {
        animation: none;
        opacity: 1;
    }
}

/* DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
    .content-box {
        background: linear-gradient(145deg, rgba(0, 0, 0, 0.98), rgba(15, 15, 15, 0.95));
    }
}

/* LANDSCAPE ORIENTATION ON MOBILE */
@media (max-height: 500px) and (orientation: landscape) {
    .main-container {
        min-height: calc(100vh - 80px);
        padding: 10px;
    }
    
    .content-box {
        padding: 20px;
        margin: 10px 0;
    }
    
    .countdown-section {
        margin: 20px 0;
        padding: 15px;
    }
    
    .warning-header {
        margin-bottom: 20px;
    }
}
