/* ============================================
   PEBBIBOUNCEFLW — CANDY LUXE UNIVERSE
   Premium Social Casino Design System
   ============================================ */

/* --- CSS VARIABLES --- */
:root {
    --bg-primary: #0b0f1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1a1f35;

    --candy-pink: #ff4fd8;
    --candy-blue: #38bdf8;
    --candy-purple: #a78bfa;
    --candy-rose: #f472b6;

    --grad-pink: linear-gradient(135deg, #ff4fd8, #ff7ac6);
    --grad-blue: linear-gradient(135deg, #38bdf8, #6366f1);
    --grad-purple: linear-gradient(135deg, #a78bfa, #f472b6);
    --grad-mix: linear-gradient(135deg, #ff4fd8, #38bdf8, #a78bfa);
    --grad-mix-alt: linear-gradient(135deg, #a78bfa, #ff4fd8, #38bdf8);

    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-strong: rgba(255, 255, 255, 0.18);
    --glass-blur: 20px;

    --glow-pink: rgba(255, 79, 216, 0.35);
    --glow-blue: rgba(56, 189, 248, 0.35);
    --glow-purple: rgba(167, 139, 250, 0.35);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-pill: 100px;
    --radius-btn: 18px;

    --font-heading: 'Outfit', 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --max-width: 1280px;
    --section-spacing: 120px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- RESET --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* --- LAYOUT --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.container.narrow {
    max-width: 820px;
}

/* --- CURSOR GLOW --- */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 79, 216, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* --- CANDY PARTICLES --- */
.candy-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.candy-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: floatParticle linear infinite;
    will-change: transform;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* --- FLOATING NAV --- */
.floating-nav {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.nav-pill {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-xl);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--text-secondary);
    transition: var(--transition-bounce);
    position: relative;
}

.nav-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border-strong);
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.nav-icon:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.nav-icon:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.nav-icon.active {
    background: var(--grad-mix);
    color: white;
    box-shadow: 0 4px 20px var(--glow-pink);
}

.nav-icon.active:hover {
    transform: scale(1.1);
}

/* --- TOP HEADER --- */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 16px 0;
    background: rgba(11, 15, 26, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition-smooth);
}

.top-header.scrolled {
    padding: 10px 0;
    background: rgba(11, 15, 26, 0.95);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    background: var(--grad-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* --- PLAY NOW BUTTON --- */
.btn-play-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--grad-mix);
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 14px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(255, 79, 216, 0.3);
}

.btn-play-now::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.6s;
}

.btn-play-now:hover::before {
    left: 100%;
}

.btn-play-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 79, 216, 0.4);
}

.btn-play-now:active {
    transform: translateY(0) scale(0.98);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: rgba(11, 15, 26, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 998;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 100px 32px 40px;
    border-left: 1px solid var(--glass-border);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-link {
    display: block;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.mobile-play {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--grad-mix);
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 24px rgba(255, 79, 216, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent);
    border-radius: var(--radius-btn) var(--radius-btn) 0 0;
    pointer-events: none;
}

.btn-primary::after {
    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.6s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255, 79, 216, 0.45);
}

.btn-primary:active {
    transform: translateY(0) scale(0.97);
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-xl {
    padding: 20px 44px;
    font-size: 17px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    filter: blur(20px) saturate(1.5);
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-pink {
    width: 500px;
    height: 500px;
    background: var(--glow-pink);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.orb-blue {
    width: 400px;
    height: 400px;
    background: var(--glow-blue);
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.orb-purple {
    width: 350px;
    height: 350px;
    background: var(--glow-purple);
    top: 40%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--grad-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-legal {
    margin-top: 40px;
    font-size: 12px;
    color: var(--text-muted);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--candy-pink), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 30px; }
    50% { opacity: 1; height: 50px; }
}

.hero-scroll-indicator span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* --- SECTION SYSTEM --- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- GAME SECTION --- */
.game-section {
    padding: var(--section-spacing) 0;
    position: relative;
}

.game-page-section {
    padding-top: 140px;
    padding-bottom: var(--section-spacing);
}

.game-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.game-card-border {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: var(--grad-mix);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    background-size: 300% 300%;
    animation: borderFlow 6s ease infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.game-card:hover .game-card-border {
    opacity: 1;
}

.game-card-inner {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.game-card:hover .game-card-inner {
    transform: scale(1.005);
}

.game-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: var(--bg-primary);
    overflow: hidden;
}

.game-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-iframe-full {
    padding-top: 62%;
}

.game-controls {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--glass-border);
}

.game-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.game-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.game-buttons {
    display: flex;
    gap: 10px;
}

.game-disclaimer {
    text-align: center;
    margin-top: 24px;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.game-disclaimer p {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- FEATURES --- */
.features-section {
    padding: var(--section-spacing) 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-strong);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card-lg {
    grid-row: span 2;
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 20px;
    transition: var(--transition-bounce);
}

.feature-card:hover .feature-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

.pink-glow {
    background: rgba(255, 79, 216, 0.15);
    color: var(--candy-pink);
    box-shadow: 0 4px 20px rgba(255, 79, 216, 0.15);
}

.blue-glow {
    background: rgba(56, 189, 248, 0.15);
    color: var(--candy-blue);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15);
}

.purple-glow {
    background: rgba(167, 139, 250, 0.15);
    color: var(--candy-purple);
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.15);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-img {
    margin-top: 20px;
    border-radius: var(--radius-md);
    width: 100%;
    height: 180px;
    object-fit: cover;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-img {
    opacity: 1;
}

/* --- REWARDS --- */
.rewards-section {
    padding: var(--section-spacing) 0;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reward-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
}

.reward-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.reward-card.featured {
    border-color: rgba(255, 79, 216, 0.3);
    background: rgba(255, 79, 216, 0.05);
}

.reward-card.featured::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: var(--grad-mix);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.reward-visual {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.reward-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.reward-card:hover .reward-circle {
    transform: scale(1.1);
}

.reward-circle.pink {
    background: rgba(255, 79, 216, 0.12);
    color: var(--candy-pink);
    box-shadow: 0 0 40px rgba(255, 79, 216, 0.15);
}

.reward-circle.blue {
    background: rgba(56, 189, 248, 0.12);
    color: var(--candy-blue);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.15);
}

.reward-circle.mix {
    background: linear-gradient(135deg, rgba(255, 79, 216, 0.15), rgba(56, 189, 248, 0.15));
    color: var(--candy-rose);
    box-shadow: 0 0 40px rgba(255, 79, 216, 0.2);
}

.reward-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.reward-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.reward-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.reward-tag.highlight {
    background: rgba(255, 79, 216, 0.1);
    border-color: rgba(255, 79, 216, 0.3);
    color: var(--candy-pink);
}

/* --- COMMUNITY --- */
.community-section {
    padding: var(--section-spacing) 0;
}

.community-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 80px 60px;
}

.community-bg {
    position: absolute;
    inset: 0;
}

.community-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: blur(10px);
}

.community-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 15, 26, 0.9), rgba(17, 24, 39, 0.8));
}

.community-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.community-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
}

.community-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    background: var(--grad-mix);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* --- CTA --- */
.cta-section {
    padding: var(--section-spacing) 0;
}

.cta-card {
    text-align: center;
    padding: 80px 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 79, 216, 0.06) 0%, transparent 50%);
    animation: ctaGlow 8s ease infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-card > p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
}

.cta-card .btn-primary {
    position: relative;
}

.cta-legal {
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-muted);
    position: relative;
}

/* --- GLASS CARD --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

/* --- PAGE HERO --- */
.page-hero {
    padding-top: 160px;
    padding-bottom: 60px;
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- CONTENT SECTION --- */
.content-section {
    padding: 40px 0 var(--section-spacing);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.content-block .glass-card {
    height: 100%;
}

.content-block h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.content-block p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.content-img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.values-list {
    list-style: none;
}

.values-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list strong {
    color: var(--text-primary);
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: start;
}

.contact-form-card {
    padding: 40px;
}

.contact-form-card h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--candy-pink);
    box-shadow: 0 0 0 3px rgba(255, 79, 216, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-secondary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
}

.info-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* --- LEGAL CONTENT --- */
.legal-content {
    padding: 48px;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content ul li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--candy-pink);
    text-decoration: underline;
    text-decoration-color: rgba(255, 79, 216, 0.3);
    transition: var(--transition-fast);
}

.legal-content a:hover {
    text-decoration-color: var(--candy-pink);
}

.responsible-badge {
    margin-top: 36px;
    padding: 20px;
    background: rgba(255, 79, 216, 0.06);
    border: 1px solid rgba(255, 79, 216, 0.2);
    border-radius: var(--radius-md);
    text-align: center;
}

.responsible-badge p {
    color: var(--text-primary);
    margin-bottom: 0;
}

/* --- FOOTER --- */
.site-footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 260px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal p,
.footer-copy p {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 540px;
    width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-smooth);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 28px;
}

.modal-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-mix);
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.step h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 4px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-disclaimer {
    margin-top: 28px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

/* --- ANIMATIONS --- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Glass shimmer sweep */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
    transform: translateX(-100%);
    pointer-events: none;
}

.glass-card:hover::after {
    animation: shimmer 1.2s ease;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 80px;
    }

    .floating-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-lg {
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .community-banner {
        padding: 60px 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }

    .header-actions {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .rewards-grid {
        grid-template-columns: 1fr;
    }

    .community-banner {
        padding: 48px 24px;
    }

    .community-stats {
        gap: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg, .btn-xl {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .game-controls {
        flex-direction: column;
        text-align: center;
    }

    .game-buttons {
        width: 100%;
        justify-content: center;
    }

    .legal-content {
        padding: 28px;
    }

    .contact-form-card {
        padding: 28px;
    }

    .glass-card {
        padding: 28px;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .game-iframe-full {
        padding-top: 75%;
    }

    .modal {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 32px;
    }

    .stat-number {
        font-size: 26px;
    }

    .game-iframe-wrapper {
        padding-top: 80%;
    }
}

/* --- UTILITY --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* ENDFILE */