/* ===== IDAREYOU.GEN-Z MAIN STYLES ===== */
:root {
    /* NEON GEN-Z COLORS */
    --neon-pink: #ff00ff;
    --neon-blue: #00ffff;
    --neon-green: #00ff00;
    --neon-yellow: #ffff00;
    --neon-purple: #9d00ff;
    --neon-red: #ff0066;
    --neon-orange: #ff6600;
    --neon-cyan: #00ffcc;
    
    /* GRADIENTS */
    --gradient-viral: linear-gradient(45deg, #ff0066, #ff6600, #ffd900, #00ff00, #00ffff, #0066ff, #9d00ff);
    --gradient-neon: linear-gradient(45deg, var(--neon-pink), var(--neon-blue), var(--neon-green));
    --gradient-fire: linear-gradient(45deg, #ff0066, #ff6600, #ffd900);
    --gradient-ice: linear-gradient(45deg, #00ffff, #0099cc, #0066ff);
    --gradient-toxic: linear-gradient(45deg, #00ff00, #00cc00, #009900);
    --gradient-galaxy: linear-gradient(135deg, #0a0a1a, #1a0033, #33001a);
    
    /* BACKGROUNDS */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(255, 255, 255, 0.1);
    --bg-glow: rgba(255, 255, 255, 0.2);
    
    /* TEXT */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-neon: var(--neon-blue);
    --text-glow: 0 0 10px currentColor;
    
    /* SHADOWS */
    --shadow-neon: 0 0 20px currentColor;
    --shadow-glow: 0 0 40px rgba(255, 255, 255, 0.3);
    --shadow-elevated: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* BORDERS */
    --border-neon: 2px solid var(--neon-pink);
    --border-glow: 2px solid rgba(255, 255, 255, 0.2);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--gradient-galaxy);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 102, 0.1) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* ===== TYPOGRAPHY GEN-Z ===== */
h1, h2, h3, h4 {
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cyber-title {
    background: var(--gradient-viral);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
    font-weight: 900;
}

.cyber-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-viral);
    border-radius: 2px;
}

.glow-text {
    text-shadow: var(--text-glow), 0 0 20px currentColor;
}

.emoji-large {
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER & NAV ===== */
.main-header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: var(--border-neon);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2.8rem;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 0 10px var(--neon-pink));
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-viral);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 2px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: var(--border-glow);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-neon);
    transition: left 0.3s;
    z-index: -1;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    color: #000;
    transform: translateY(-2px);
    border-color: transparent;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.2) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 50px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-viral);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== GAMES GRID ===== */
.games-section {
    padding: 60px 0;
    flex: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-neon);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.game-card:hover::before {
    opacity: 0.1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-pink);
    box-shadow: 
        0 20px 40px rgba(255, 0, 255, 0.3),
        0 0 60px rgba(0, 255, 255, 0.2);
}

.game-emoji {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.game-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-neon);
}

.game-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* ===== VIRAL BUTTONS GEN-Z ===== */
.viral-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(45deg, var(--btn-color, #ff0066), 
                color-mix(in srgb, var(--btn-color, #ff0066) 70%, black));
    border: none;
    border-radius: 50px;
    color: white;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--btn-color, #ff0066) 30%, transparent);
    min-width: 250px;
}

.viral-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.viral-btn:hover::before {
    left: 100%;
}

.viral-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px color-mix(in srgb, var(--btn-color, #ff0066) 50%, transparent);
}

.viral-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-emoji {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.btn-sparkle {
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.viral-btn:hover .btn-sparkle {
    opacity: 1;
    animation: sparkle 1s infinite;
}

/* Game-specific button colors */
.btn-blink { --btn-color: #00ffff; }
.btn-tap { --btn-color: #ff0066; }
.btn-choice { --btn-color: #ff00ff; }
.btn-emoji { --btn-color: #ffd900; }
.btn-dare { --btn-color: #9d00ff; }

/* ===== ADS CONTAINER ===== */
.ad-container {
    margin: 30px auto;
    text-align: center;
    background: var(--bg-card);
    border-radius: 15px;
    padding: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.ad-placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 100px;
}

.sticky-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 20px;
    transition: transform 0.3s;
    border: var(--border-glow);
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--neon-pink);
    box-shadow: var(--shadow-glow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    color: #000;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.main-footer {
    background: rgba(5, 5, 8, 0.9);
    padding: 50px 0 30px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--neon-blue);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--neon-pink);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--gradient-neon);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(5deg); }
    66% { transform: translateY(5px) rotate(-5deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

@keyframes slideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 255, 0.6); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-card {
        padding: 25px;
    }
    
    .viral-btn {
        padding: 18px 30px;
        font-size: 1.1rem;
        min-width: 200px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        padding: 15px;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .viral-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-icon {
        font-size: 2.2rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .game-emoji {
        font-size: 3rem;
    }
    
    .game-card h3 {
        font-size: 1.5rem;
    }
    
    .viral-btn {
        padding: 15px 25px;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.p-20 { padding: 20px; }
.hidden { display: none !important; }

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-viral);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-neon);
}