/* ========================================
   GLOBAL STYLES & VARIABLES
======================================== */
:root {
    --gold: #FFD700;
    --gold-dark: #B8860B;
    --gold-light: #FFF0A0;
    --purple: #7B2FBE;
    --purple-light: #9B4FDE;
    --purple-dark: #4A0E8F;
    --blue-dark: #0A0A1A;
    --blue-darker: #050510;
    --blue-mid: #0D0D2B;
    --blue-card: #0F0F2E;
    --common-color: #9E9E9E;
    --elite-color: #42A5F5;
    --epic-color: #AB47BC;
    --legendary-color: #FFB300;
    --mythical-color: #FF1744;
    --text-light: #E0E0E0;
    --text-dim: #9E9E9E;
    --border-glow: rgba(255, 215, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--blue-darker);
    color: var(--text-light);
    overflow-x: hidden;
}

/* ========================================
   SCROLLBAR
======================================== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--blue-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ========================================
   REUSABLE COMPONENTS
======================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.inline-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
}

.gold-text {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-dark));
    color: #000;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* ========================================
   NAVIGATION BAR
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.nav-logo span {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-icon-btn.telegram {
    color: #29B6F6;
    border-color: rgba(41, 182, 246, 0.3);
}

.nav-icon-btn.telegram:hover {
    background: rgba(41, 182, 246, 0.2);
    box-shadow: 0 0 15px rgba(41, 182, 246, 0.5);
    transform: translateY(-2px);
}

.nav-icon-btn.twitter {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-icon-btn.twitter:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-playnow {
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #000;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 5px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
}

.btn-playnow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   MONSTER BAR
======================================== */
.monster-bar {
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, rgba(10,10,26,0.9), rgba(5,5,16,0.95));
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease, opacity 0.35s ease, max-height 0.35s ease;
    transform: translateY(0);
    opacity: 1;
    max-height: 80px;
}

.monster-bar.hidden-on-scroll {
    transform: translateY(-100%);
    opacity: 0;
    max-height: 0;
    border-top: none;
}

.monster-track {
    width: 100%;
    height: 100%;
    position: relative;
}

#monsterCanvas {
    width: 100%;
    height: 80px;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 20px 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(123, 47, 190, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, var(--blue-darker) 0%, var(--blue-dark) 100%);
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

.hero-content {
    max-width: 900px;
    width: 100%;
    z-index: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 25px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.5); }
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle .inline-icon {
    width: 30px;
    height: 30px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 760px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-description strong {
    color: var(--gold);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.stat-divider {
    color: rgba(255, 215, 0, 0.3);
    font-size: 1.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 480px;
    height: 480px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 60px rgba(123, 47, 190, 0.4);
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(123, 47, 190, 0.3), transparent 70%);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: rgba(15, 15, 46, 0.8);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.1);
}

.about-card:hover::before {
    opacity: 1;
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.about-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.about-card p {
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   HOW TO PLAY SECTION
======================================== */
.howtoplay {
    padding: 100px 0;
    background: var(--blue-darker);
    position: relative;
}

.howtoplay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-card {
    background: rgba(15, 15, 46, 0.9);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    width: 220px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(255, 215, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #000;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 0.85rem;
    padding: 5px 15px;
    border-radius: 20px;
    letter-spacing: 2px;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    margin-top: 15px;
}

.step-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.step-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.5;
    flex-shrink: 0;
}

/* ========================================
   CHEST SECTION
======================================== */
.chest-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--blue-mid) 0%, var(--blue-dark) 100%);
    position: relative;
}

.chest-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.chest-section .section-title {
    font-size: 2rem;
}

.chest-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.chest-card {
    background: rgba(10, 10, 30, 0.9);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    width: 190px;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

.chest-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.chest-card.common { border: 2px solid var(--common-color); }
.chest-card.elite { border: 2px solid var(--elite-color); }
.chest-card.epic { border: 2px solid var(--epic-color); }
.chest-card.legendary { border: 2px solid var(--legendary-color); }
.chest-card.mythical { border: 2px solid var(--mythical-color); }

.chest-card.common:hover { box-shadow: 0 0 40px rgba(158, 158, 158, 0.5); transform: translateY(-15px) scale(1.05); }
.chest-card.elite:hover { box-shadow: 0 0 40px rgba(66, 165, 245, 0.6); transform: translateY(-15px) scale(1.05); }
.chest-card.epic:hover { box-shadow: 0 0 40px rgba(171, 71, 188, 0.6); transform: translateY(-15px) scale(1.05); }
.chest-card.legendary:hover { box-shadow: 0 0 40px rgba(255, 179, 0, 0.7); transform: translateY(-15px) scale(1.05); }
.chest-card.mythical:hover { box-shadow: 0 0 40px rgba(255, 23, 68, 0.7); transform: translateY(-15px) scale(1.05); animation: mythicalPulse 1s ease infinite; }

@keyframes mythicalPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(255, 23, 68, 0.7); }
    50% { box-shadow: 0 0 70px rgba(255, 23, 68, 1), 0 0 100px rgba(255, 215, 0, 0.5); }
}

.chest-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.chest-card.common .chest-glow { background: radial-gradient(ellipse at 50% 50%, rgba(158,158,158,0.1), transparent); }
.chest-card.elite .chest-glow { background: radial-gradient(ellipse at 50% 50%, rgba(66,165,245,0.1), transparent); }
.chest-card.epic .chest-glow { background: radial-gradient(ellipse at 50% 50%, rgba(171,71,188,0.1), transparent); }
.chest-card.legendary .chest-glow { background: radial-gradient(ellipse at 50% 50%, rgba(255,179,0,0.1), transparent); }
.chest-card.mythical .chest-glow { background: radial-gradient(ellipse at 50% 50%, rgba(255,23,68,0.1), transparent); }

.chest-card:hover .chest-glow { opacity: 1; }

.chest-image {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.chest-image img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(255,215,0,0.3));
}

.chest-card:hover .chest-image img {
    transform: scale(1.2) rotate(5deg);
}

.chest-name {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.chest-card.common .chest-name { color: var(--common-color); }
.chest-card.elite .chest-name { color: var(--elite-color); }
.chest-card.epic .chest-name { color: var(--epic-color); }
.chest-card.legendary .chest-name { color: var(--legendary-color); }
.chest-card.mythical .chest-name { color: var(--mythical-color); }

.chest-reward {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    position: relative;
    z-index: 1;
}

.chest-obtain {
    position: relative;
    z-index: 1;
}

.chest-obtain p {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 5px;
}

/* ========================================
   BATTLE PASS SECTION
======================================== */
.battlepass {
    padding: 100px 0;
    background: var(--blue-darker);
    position: relative;
}

.battlepass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.bp-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.bp-tab {
    padding: 14px 45px;
    border-radius: 8px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bp-tab.active {
    background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,215,0,0.1));
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 25px rgba(255,215,0,0.3);
}

.bp-tab:not(.active) {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: var(--text-dim);
}

.bp-tab:not(.active):hover {
    border-color: rgba(255,215,0,0.4);
    color: var(--gold);
}

.bp-tab.premium.active {
    background: linear-gradient(135deg, rgba(123,47,190,0.3), rgba(123,47,190,0.1));
    border-color: var(--purple-light);
    color: var(--purple-light);
    box-shadow: 0 0 25px rgba(123,47,190,0.4);
}

.bp-track {
    display: block;
}

.bp-track.hidden {
    display: none;
}

.bp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    max-height: 600px;
    overflow-y: auto;
    padding: 10px;
}

.bp-grid::-webkit-scrollbar {
    width: 6px;
}

.bp-grid::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

.bp-item {
    background: rgba(15,15,46,0.8);
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.bp-item:hover {
    border-color: rgba(255,215,0,0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.bp-wave {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    color: var(--gold);
    background: rgba(255,215,0,0.1);
    border-radius: 10px;
    padding: 3px 8px;
    margin-bottom: 10px;
    display: inline-block;
    letter-spacing: 1px;
}

.bp-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
}

.bp-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.bp-reward-name {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.3;
}

/* ========================================
   REFERRAL SECTION
======================================== */
.referral {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    position: relative;
}

.referral::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.prize-pool-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(123,47,190,0.1));
    border: 2px solid rgba(255,215,0,0.3);
    border-radius: 20px;
    max-width: 400px;
    margin: 0 auto 50px;
}

.prize-pool-text {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--text-dim);
    letter-spacing: 3px;
}

.prize-pool-amount {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 40px rgba(255,215,0,0.8);
    line-height: 1;
}

.leaderboard {
    max-width: 600px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    border-radius: 12px;
    background: rgba(15,15,46,0.8);
    border: 1px solid rgba(255,215,0,0.15);
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    transform: translateX(10px);
    border-color: rgba(255,215,0,0.4);
}

.leaderboard-item.rank-1 {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(15,15,46,0.9));
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255,215,0,0.2);
}

.leaderboard-item.rank-2 {
    background: linear-gradient(135deg, rgba(192,192,192,0.1), rgba(15,15,46,0.9));
    border-color: rgba(192,192,192,0.5);
}

.leaderboard-item.rank-3 {
    background: linear-gradient(135deg, rgba(205,127,50,0.1), rgba(15,15,46,0.9));
    border-color: rgba(205,127,50,0.5);
}

.rank-badge {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.rank-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rank-place {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
}

.rank-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.rank-prize {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255,215,0,0.5);
}

.referral-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.referral-desc {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--blue-darker);
    border-top: 1px solid rgba(255,215,0,0.2);
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255,215,0,0.5));
}

.footer-logo span {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
}

.footer-tagline {
    color: var(--text-dim);
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.footer-copy {
    color: rgba(255,255,255,0.2);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-legal a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--gold);
}

.footer-legal span {
    color: rgba(255,255,255,0.2);
    font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media (max-width: 1024px) {
    .hero {
        padding: 160px 40px 80px;
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .hero-subtitle {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-image-wrapper {
        width: 350px;
        height: 350px;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5,5,16,0.98);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(255,215,0,0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .nav-logo span {
        font-size: 0.9rem;
    }

    .btn-playnow {
        display: none;
    }

    .hero {
        padding: 140px 20px 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-image-wrapper {
        width: 280px;
        height: 280px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .chest-grid {
        gap: 15px;
    }

    .chest-card {
        width: 150px;
        padding: 25px 15px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .chest-section .section-title {
        font-size: 1.4rem;
    }

    .prize-pool-amount {
        font-size: 3rem;
    }

    .bp-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .nav-container {
        padding: 10px 15px;
    }

    .nav-right {
        gap: 10px;
    }

    .nav-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .section-container {
        padding: 0 16px;
    }

    .hero-subtitle {
        text-align: center;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 12px;
    }

    .stat-divider {
        display: none;
    }

    .bp-toggle {
        flex-direction: column;
        align-items: center;
    }

    .bp-tab {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-stats {
        gap: 10px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .chest-card {
        width: 130px;
    }

    .leaderboard-item {
        padding: 15px;
        gap: 12px;
    }

    .rank-prize {
        font-size: 1.4rem;
    }

    .nav-logo img {
        width: 38px;
        height: 38px;
    }

    .nav-logo span {
        font-size: 0.8rem;
    }

    .hero {
        padding: 145px 14px 60px;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section-title {
        line-height: 1.3;
    }

    .bp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}