/* ============================================
   NeXa Roleplay — Premium Gold/Black Theme
   ============================================ */




/* ── CSS Variables ── */


@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/YekanBakhFaNum-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/YekanBakhFaNum-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/YekanBakhFaNum-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}


:root {
    --gold: #d4af37;
    --gold-light: #f5d76e;
    --gold-dark: #a68523;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --gold-glow-strong: rgba(212, 175, 55, 0.7);
    --black: #000000;
    --black-light: #0a0a0a;
    --black-card: #0d0d0d;
    --black-card-hover: #141414;
    --dark: #111111;
    --dark-border: #1a1a1a;
    --dark-border-light: #222222;
    --white: #ffffff;
    --white-soft: #e0e0e0;
    --white-muted: #999999;
    --red: #ff4757;
    --green: #2ed573;
    --blue: #3742fa;
    --font-fa: 'Yekan Bakh', sans-serif;
    --font-en: 'Yekan Bakh', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow: 0 4px 30px rgba(0,0,0,0.5);
    --shadow-gold: 0 4px 40px rgba(212,175,55,0.15);
    --shadow-gold-strong: 0 8px 60px rgba(212,175,55,0.25);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.25s ease;
    --transition-slow: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);


}

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.fab,
.fas,
.far,
.fa-solid,
.fa-brands,
.fa-regular {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free" !important;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-fa);
    direction: rtl;
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(212,175,55,0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(212,175,55,0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

a {
    text-decoration: none;
    color: var(--gold);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

img {
    max-width: 100%;
}

/* ── Utility ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.gold { color: var(--gold) !important; }
.text-center { text-align: center; }

/* ── Keyframes ── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 5px var(--gold-glow), 0 0 20px rgba(212,175,55,0.1); }
    50% { box-shadow: 0 0 20px var(--gold-glow), 0 0 60px rgba(212,175,55,0.2); }
}

@keyframes pulse-gold-text {
    0%, 100% { text-shadow: 0 0 10px var(--gold-glow); }
    50% { text-shadow: 0 0 30px var(--gold-glow-strong), 0 0 60px var(--gold-glow); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(212,175,55,0.2); }
    50% { border-color: rgba(212,175,55,0.5); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(80px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px) scale(0); opacity: 0; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* ── Animated Background Particles ── */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    animation: particleFloat linear infinite;
    opacity: 0;
}

.particle:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-duration: 15s; animation-delay: 2s; width: 2px; height: 2px; }
.particle:nth-child(3) { left: 35%; animation-duration: 10s; animation-delay: 4s; }
.particle:nth-child(4) { left: 50%; animation-duration: 18s; animation-delay: 1s; width: 4px; height: 4px; }
.particle:nth-child(5) { left: 65%; animation-duration: 14s; animation-delay: 3s; }
.particle:nth-child(6) { left: 75%; animation-duration: 11s; animation-delay: 5s; width: 2px; height: 2px; }
.particle:nth-child(7) { left: 85%; animation-duration: 16s; animation-delay: 0.5s; }
.particle:nth-child(8) { left: 90%; animation-duration: 13s; animation-delay: 2.5s; width: 4px; height: 4px; }
.particle:nth-child(9) { left: 5%; animation-duration: 17s; animation-delay: 6s; }
.particle:nth-child(10) { left: 45%; animation-duration: 19s; animation-delay: 1.5s; width: 2px; height: 2px; }

/* ══════════════════════════════════════
   HEADER
   ══════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;  /* از 50 به 1000 تغییر بده */
    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition);
    animation: fadeInDown 0.8s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    border-bottom-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.6);
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--dark-border);
    transition: var(--transition-fast);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition-fast);
}

.logo:hover {
    color: var(--gold-light);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav a {
    color: var(--white-soft);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-fast);
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    border-radius: 2px;
}

.nav a:hover {
    color: var(--gold-light);
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover::before {
    width: 60%;
}

.nav a.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.nav a.active::before {
    width: 60%;
}

.btn-login, .btn-logout {
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #000 !important;
    font-weight: 600;
}

.btn-login:hover, .btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.nav-login::before { display: none !important; }

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-gold 5s infinite;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease 0.5s both, borderGlow 3s infinite;
}

.hero-badge i {
    animation: pulse-gold-text 2s infinite;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: none;
}


.hero h1 .line1 {
    display: block;
    color: var(--white);
    animation: fadeInRight 0.8s ease 0.7s both;
}

.hero h1 .line2 {
    display: block;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark), var(--gold-light));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInLeft 0.8s ease 0.9s both, gradientShift 4s ease infinite;
}

.hero-sub {
    font-size: 1.3rem;
    color: var(--white-soft);
    margin-bottom: 2.5rem;
    text-shadow: none;
}

.hero-sub {
    font-size: 1.3rem;
    color: var(--white-soft);
    margin-bottom: 2.5rem;
}

.hero-players {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 1.3s both;
}

.player-dot {
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-gold 2s infinite;
    box-shadow: 0 0 10px rgba(46, 213, 115, 0.5);
}

.hero-players span {
    font-size: 15px;
    color: var(--white-soft);
}

.hero-players strong {
    color: var(--gold);
    font-family: var(--font-en);
    font-size: 18px;
    animation: countUp 0.5s ease 1.5s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1.5s both;
}

/* ── Buttons ── */
.btn-connect {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--black);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

.btn-connect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    
    transition: 0.6s;
}

.btn-connect:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-gold-strong);
}
.btn-connect:hover::before {
    left: 100%;
}

.btn-secondary {
    font-family: var(--font-fa);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-3px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
    font-family: var(--font-fa);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: 0.6s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.45);
    color: var(--black);
}

.btn-primary:hover::before {
    left: 100%;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: float 3s ease infinite;
}

.hero-scroll a {
    color: var(--white-muted);
    font-size: 24px;
    transition: var(--transition);
}

.hero-scroll a:hover {
    color: var(--gold);
}

/* ══════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════ */
.section {
    padding: 5rem 2rem;
}

.section-dark {
    background: var(--black-light);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}


.server-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-title i {
    color: var(--gold);
}

/* .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    margin: 12px auto 0;
    border-radius: 2px;
} */

/* ══════════════════════════════════════
   SERVER INFO CARDS
   ══════════════════════════════════════ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.info-card {
    background: linear-gradient(145deg, var(--black-card), rgba(20,20,20,0.8));
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease both;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition);
}

.info-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.03) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-slow);
}

.info-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover::after {
    opacity: 1;
}

.info-card .card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gold);
    transition: var(--transition);
}

.info-card:hover .card-icon {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.info-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.info-card p {
    color: var(--white-muted);
    font-size: 14px;
}

.info-card .card-value {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
    margin-top: 8px;
}

/* ══════════════════════════════════════
   LEADERBOARD
   ══════════════════════════════════════ */
.lb-section {
    padding: 100px 0;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab {
    padding: 0.8rem 1.8rem;
    background: var(--black-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    color: var(--white-soft);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-fa);
}

.tab:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.tab.active {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--black);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* ===== TAB CONTENT ===== */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lb-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.lb-table thead tr {
    background: var(--black-card);
}


.lb-table thead th:first-child {
    border-radius: 0 var(--radius) var(--radius) 0;
}

.lb-table thead th:last-child {
    border-radius: var(--radius) 0 0 var(--radius);
}

.lb-table tbody tr {
    background: var(--black-card);
    border: 1px solid var(--dark-border);
    transition: var(--transition-fast);
}

.lb-table tbody tr:hover {
    background: var(--black-card-hover);
    border-color: var(--gold-dark);
    transform: translateX(-4px);
}

.lb-table tbody td {
    padding: 14px 20px;
    font-size: 0.95rem;
    color: var(--white-soft);
    border: none;
}

.lb-table tbody td:first-child {
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 700;
    color: var(--white);
}

.lb-table tbody td:last-child {
    border-radius: var(--radius) 0 0 var(--radius);
}

/* Top 3 Gold Highlight */
.lb-table tbody tr.top3 {
    background: linear-gradient(90deg, rgba(212,175,55,0.15), var(--black-card));
    border-color: var(--gold-dark);
}

.lb-table tbody tr.top3 td:first-child {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.top3 {
    position: relative;
}

.top3:nth-child(1) {
    background: linear-gradient(90deg, rgba(255,215,0,0.08) 0%, transparent 100%);
}

.top3:nth-child(1) .rank-cell {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255,215,0,0.5);
}

.top3:nth-child(2) {
    background: linear-gradient(90deg, rgba(192,192,192,0.06) 0%, transparent 100%);
}

.top3:nth-child(2) .rank-cell {
    color: #c0c0c0;
    text-shadow: 0 0 15px rgba(192,192,192,0.4);
}

.top3:nth-child(3) {
    background: linear-gradient(90deg, rgba(205,127,50,0.06) 0%, transparent 100%);
}

.top3:nth-child(3) .rank-cell {
    color: #cd7f32;
    text-shadow: 0 0 15px rgba(205,127,50,0.4);
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 13px;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    box-shadow: 0 0 20px rgba(255,215,0,0.4);
    animation: pulse-gold 2s infinite;
}

.rank-2 {
    background: linear-gradient(135deg, #e0e0e0, #a0a0a0);
    color: #000;
    box-shadow: 0 0 15px rgba(192,192,192,0.3);
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #a0622e);
    color: #000;
    box-shadow: 0 0 15px rgba(205,127,50,0.3);
}

/* ══════════════════════════════════════
   HOW TO CONNECT
   ══════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.step-card {
    background: var(--black-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    counter-increment: step;
    animation: slideInBottom 0.6s ease both;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.25s; }
.step-card:nth-child(3) { animation-delay: 0.4s; }
.step-card:nth-child(4) { animation-delay: 0.55s; }

.step-card::before {
    content: counter(step);
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.15;
    transition: var(--transition);
}

.step-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
}

.step-card:hover::before {
    opacity: 0.3;
    transform: scale(1.1);
}

.step-card .step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--gold);
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    transform: rotateY(180deg);
}

.step-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.step-card p {
    font-size: 13px;
    color: var(--white-muted);
    line-height: 1.7;
}

/* ══════════════════════════════════════
   RULES SECTION
   ══════════════════════════════════════ */
.rules-wrapper {
    background: var(--black-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: scaleIn 0.6s ease both;
}

.rules-wrapper iframe,
.rules-wrapper embed {
    width: 100%;
    height: 700px;
    border: none;
}

.rules-download {
    text-align: center;
    padding: 20px;
    background: rgba(212, 175, 55, 0.03);
    border-top: 1px solid var(--dark-border);
}

/* ══════════════════════════════════════
   UPDATES SECTION
   ══════════════════════════════════════ */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.update-card {
    background: var(--black-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition-fast);
}


.update-card:nth-child(1) { animation-delay: 0.1s; }
.update-card:nth-child(2) { animation-delay: 0.2s; }
.update-card:nth-child(3) { animation-delay: 0.3s; }

.update-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    transition: var(--transition-slow);
    border-radius: 0 0 4px 4px;
}

.update-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.update-card:hover::before {
    height: 100%;
}

.update-date {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.update-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.update-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.update-card p {
    color: var(--white-muted);
    line-height: 1.6;
}

/* ══════════════════════════════════════
   LOGIN PAGE
   ══════════════════════════════════════ */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.login-box {
    max-width: 460px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--black-card), rgba(15,15,15,0.95));
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.7s ease both;
    box-shadow: var(--shadow), var(--shadow-gold);
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: shimmer 3s infinite;
    background-size: 200% 100%;
}

.login-box::after {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.login-box h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--white);
}

.login-box h2 i {
    color: var(--gold);
    margin-left: 8px;
}

.login-subtitle {
    text-align: center;
    color: var(--white-muted);
    font-size: 13px;
    margin-bottom: 22px;
}

.login-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 6px;
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 18px;
    position: relative;
    z-index: 1;
}

.login-tab {
    border: 0;
    border-radius: 13px;
    padding: 13px 10px;
    background: transparent;
    color: var(--white-muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.login-tab i {
    color: var(--gold);
}

.login-tab:hover,
.login-tab.active {
    color: #111;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.24);
}

.login-tab:hover i,
.login-tab.active i {
    color: #111;
}

.login-desc {
    text-align: center;
    color: var(--white-muted);
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.login-desc code {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 3px 10px;
    border-radius: 6px;
    font-family: var(--font-en);
    font-size: 13px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.login-form {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--white-soft);
    margin-bottom: 8px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--dark-border-light);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: var(--font-en);
    transition: var(--transition);
    outline: none;
}

input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1), 0 0 20px rgba(212, 175, 55, 0.1);
    background: rgba(0, 0, 0, 0.8);
}

input::placeholder {
    color: var(--white-muted);
    font-size: 14px;
}

.login-form .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
    margin-top: 8px;
}

.email-login-card {
    text-align: center;
    padding: 22px 18px;
    margin-bottom: 22px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 20px;
    background:
        radial-gradient(circle at top, rgba(212, 175, 55, 0.16), transparent 58%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.34));
}

.email-login-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 23px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.26);
}

.email-login-card h3 {
    color: var(--white);
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 8px;
}

.email-login-card p {
    color: var(--white-muted);
    font-size: 13px;
    line-height: 1.9;
    margin: 0;
}

.login-help {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 20px;
}

.login-help h4 {
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 12px;
}

.login-help h4 i {
    margin-left: 6px;
}

.login-help ol {
    padding-right: 20px;
    margin: 0;
}

.login-help li {
    font-size: 13px;
    color: var(--white-muted);
    margin-bottom: 6px;
    line-height: 1.7;
}

.login-help li code {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-en);
    font-size: 12px;
}

.login-help li strong {
    color: var(--gold);
}

/* ══════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════ */
.dashboard-section {
    padding-top: 120px;
    min-height: 100vh;
}

.dash-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.7s ease both;
}

.dash-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.dash-header h2 i {
    color: var(--gold);
    margin-left: 10px;
}

.dash-header p {
    color: var(--white-muted);
    font-size: 16px;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.dash-card {
    background: linear-gradient(145deg, var(--black-card), rgba(18,18,18,0.9));
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    animation: slideInBottom 0.6s ease both;
}

.dash-card:nth-child(1) { animation-delay: 0.1s; }
.dash-card:nth-child(2) { animation-delay: 0.2s; }
.dash-card:nth-child(3) { animation-delay: 0.3s; }
.dash-card:nth-child(4) { animation-delay: 0.4s; }

.dash-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    opacity: 0;
    transition: var(--transition);
}

.dash-card:hover {
    border-color: rgba(212, 175, 55, 0.25);
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
}

.dash-card:hover::before {
    opacity: 1;
}

.dash-card .card-icon {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 16px;
    animation: floatSlow 4s ease infinite;
}

.dash-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 13px;
    color: var(--white-muted);
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.identifier-hex {
    font-family: var(--font-en);
    font-size: 11px !important;
    color: var(--gold) !important;
    background: rgba(212, 175, 55, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    word-break: break-all;
}

.card-amount {
    text-align: center;
    padding: 10px 0;
}

.amount-value {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    animation: pulse-gold-text 3s infinite;
}

.amount-value small {
    font-size: 14px;
    font-weight: 600;
    color: var(--white-muted);
    margin-right: 4px;
}

.card-cash .card-icon { color: #2ed573; }
.card-cash .amount-value { color: #2ed573; }
.card-bank .card-icon { color: #3742fa; }
.card-bank .amount-value { color: #70a1ff; }
.card-coins .card-icon { color: var(--gold); }

.dash-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.dash-actions .btn-secondary {
    border-color: rgba(255, 75, 87, 0.3);
    color: var(--red);
}

.dash-actions .btn-secondary:hover {
    border-color: var(--red);
    background: rgba(255, 75, 87, 0.05);
    color: var(--red);
}

/* ══════════════════════════════════════
   SHOP
   ══════════════════════════════════════ */
.shop-section {
    padding-top: 120px;
    min-height: 100vh;
}

.shop-section > .container > h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.shop-section > .container > h2 i {
    color: var(--gold);
    margin-left: 10px;
}

.shop-desc {
    text-align: center;
    color: var(--white-muted);
    font-size: 15px;
    margin-bottom: 50px;
}

.shop-category {
    margin-bottom: 60px;
    animation: fadeInUp 0.7s ease both;
}

.shop-category h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dark-border);
    color: var(--white);
}

.shop-category h3 i {
    color: var(--gold);
    margin-left: 10px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.shop-item {
    background: linear-gradient(145deg, var(--black-card), rgba(18,18,18,0.9));
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    animation: scaleIn 0.5s ease both;
}

.shop-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
    border-radius: var(--radius-lg);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.shop-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-gold-strong);
}

.shop-item:hover::before {
    opacity: 0.15;
}

.shop-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.05));
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--gold);
    transition: var(--transition);
}

.shop-item:hover .shop-icon {
    transform: scale(1.15) rotate(10deg);
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.25);
    animation: float 2s ease infinite;
}

.shop-item h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.shop-price {
    font-family: var(--font-en);
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: var(--font-fa);
}

.btn-buy::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: 0.5s;
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 25px rgba(212, 175, 55, 0.4);
    color: var(--black);
}

.btn-buy:hover::before {
    left: 100%;
}

/* ══════════════════════════════════════
   ALERTS
   ══════════════════════════════════════ */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    animation: fadeInDown 0.5s ease both;
}

.alert i {
    font-size: 20px;
}

.alert-error {
    background: rgba(255, 71, 87, 0.08);
    border: 1px solid rgba(255, 71, 87, 0.2);
    color: #ff6b7a;
}

.alert-success {
    background: rgba(46, 213, 115, 0.08);
    border: 1px solid rgba(46, 213, 115, 0.2);
    color: #5ae094;
}

.alert-info {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold);
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
    background: var(--black-light);
    border-top: 1px solid var(--dark-border);
    padding: 3.5rem 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.footer::after {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 160px;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.06), transparent 70%);
    pointer-events: none;
}


.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

.footer-col h3,
.footer-col h4 {
    color: var(--gold);
    margin-bottom: 1.2rem;
    position: relative;
    text-align: right;
}


.footer-col h4 {
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-col p {
    font-size: 14px;
    color: var(--white-muted);
    line-height: 1.9;
    margin-bottom: 1.2rem;
}


.footer-col a {
    display: block;
    color: var(--white-soft);
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: var(--transition-fast);
    font-size: 14px;
}


.footer-col a:hover {
    color: var(--gold-light);
    padding-right: 8px;
}


.footer-col a i {
    margin-left: 8px;
    width: 16px;
    color: var(--gold);
    opacity: 0.5;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 1.2rem;
}


.social-circle {
    width: 48px;
    height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #000000 !important;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 20px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

.social-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.35s ease;
}



.social-circle:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    padding-right: 0 !important;
}

.social-circle:hover::before {
    opacity: 1;
}



.footer-social a i,
.footer-social a svg {
    color: #fff !important;
    fill: #fff !important;
}

.footer-social a i {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}



.footer-social a i {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free" !important;
    font-style: normal;
    line-height: 1 !important;
    width: auto;
    height: auto;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}


.footer-social .fab,
.footer-social .fas {
    color: #fff !important;
}

/* Discord - Purple */
.social-discord:hover {
    background: #5865F2 !important;
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(88, 101, 242, 0.5);
}

/* Telegram - Blue */
.social-telegram:hover {
    background: #26A5E4 !important;
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(38, 165, 228, 0.5);
}

/* Instagram - Gradient */
.social-instagram:hover {
    background: linear-gradient(135deg, #833AB4, #E1306C, #F77737, #FCAF45) !important;
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(225, 48, 108, 0.5);
}

/* Aparat - Pink/Red */
.social-aparat:hover {
    background: #DF0F50 !important;
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(223, 15, 80, 0.5);
}





.social-circle:hover svg {
    transform: scale(1.1);
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    color: var(--white-muted);
    font-size: 16px;
    transition: var(--transition);
    padding: 0;
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    padding-right: 0;
}

.enamad-img {
    max-width: 100px;
    margin-top: 0.5rem;
}

.enamad-img:hover {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--white-muted);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-inner {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col h4::after,
    .footer-trust-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }
}

.footer-bottom span {
    color: var(--gold);
    font-weight: 600;
}

/* ══════════════════════════════════════
   SCROLL ANIMATIONS (Intersection Observer)
   ══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ══════════════════════════════════════
   SCROLLBAR
   ══════════════════════════════════════ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
}

/* ══════════════════════════════════════
   SELECTION
   ══════════════════════════════════════ */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--white);
}

::-moz-selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--white);
}

/* ══════════════════════════════════════
   LOADING SCREEN
   ══════════════════════════════════════ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 24px;
    animation: pulse-gold-text 2s infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 10px;
    animation: loaderSlide 1.2s ease infinite;
}

@keyframes loaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ══════════════════════════════════════
   BACK TO TOP BUTTON
   ══════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

/* ══════════════════════════════════════
   TOOLTIP
   ══════════════════════════════════════ */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--black-card);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--dark-border);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 100;
    pointer-events: none;
    box-shadow: var(--shadow);
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════
   PARTICLES BACKGROUND
   ══════════════════════════════════════ */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

.server-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.particle:nth-child(1) { left: 5%; animation-duration: 12s; animation-delay: 0s; width: 3px; height: 3px; }
.particle:nth-child(2) { left: 15%; animation-duration: 18s; animation-delay: 2s; }
.particle:nth-child(3) { left: 25%; animation-duration: 14s; animation-delay: 4s; width: 2.5px; height: 2.5px; }
.particle:nth-child(4) { left: 35%; animation-duration: 20s; animation-delay: 1s; }
.particle:nth-child(5) { left: 45%; animation-duration: 16s; animation-delay: 3s; width: 3px; height: 3px; }
.particle:nth-child(6) { left: 55%; animation-duration: 22s; animation-delay: 5s; }
.particle:nth-child(7) { left: 65%; animation-duration: 13s; animation-delay: 2.5s; width: 2px; height: 2px; }
.particle:nth-child(8) { left: 75%; animation-duration: 17s; animation-delay: 0.5s; }
.particle:nth-child(9) { left: 85%; animation-duration: 19s; animation-delay: 3.5s; width: 2.5px; height: 2.5px; }
.particle:nth-child(10) { left: 95%; animation-duration: 15s; animation-delay: 1.5s; }
.particle:nth-child(11) { left: 10%; animation-duration: 21s; animation-delay: 6s; }
.particle:nth-child(12) { left: 30%; animation-duration: 16s; animation-delay: 7s; width: 3px; height: 3px; }
.particle:nth-child(13) { left: 50%; animation-duration: 23s; animation-delay: 4.5s; }
.particle:nth-child(14) { left: 70%; animation-duration: 14s; animation-delay: 8s; width: 2px; height: 2px; }
.particle:nth-child(15) { left: 90%; animation-duration: 18s; animation-delay: 5.5s; }

/* ══════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stats-bar {
        gap: 24px;
        padding: 20px 30px;
    }

    .section-title {
        font-size: 26px;
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-box:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.stat-box i {
    color: var(--gold);
    font-size: 1.8rem;
}

.stat-box span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-light);
}

.lb-table th {
    padding: 1rem;
    text-align: center;
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 2px solid var(--gold-dark);
}


.stat-box small {
    font-size: 0.85rem;
    color: var(--white-muted);
}

.lb-table td {
    padding: 1.2rem 1rem;
    text-align: center;
    color: var(--white-soft);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step {
    background: var(--black-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-fast);
}

.step:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.step p {
    color: var(--white-muted);
    line-height: 1.7;
}


.trust-row {
    display: flex;
    gap: .75rem
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    padding: 8px;
    background: #ffffff08;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    transition: all .3s ease
}

.trust-item img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.trust-item:hover {
    transform: translateY(-4px);
    background: #d4ff0014;
    border-color: var(--gold-glow);
    box-shadow: 0 10px 30px var(--gold-glow)
}



.footer-links-col,.footer-trust-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem
}

.footer-trust-col h4 {
    color: var(--gold) !important;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-trust-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-links-col h4,.footer-trust-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding-bottom: .5rem;
    /* border-bottom: 2px solid var(--gold-glow); */
    display: inline-block;
    width: fit-content
}


/* Mobile Large */
@media (max-width: 768px) {

    .nav {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        padding: 12px 16px 16px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-slow);
        z-index: 999;  /* از 40 به 999 */
    }
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .container {
        padding: 0 16px;
    }

    .nav-inner {
        padding: 0 16px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--black-light);
        border-left: 1px solid var(--dark-border);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav-menu a {
        padding: 14px 0;
        border-bottom: 1px solid var(--dark-border);
        font-size: 15px;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--dark-border);
    }

    .nav-actions .btn-primary,
    .nav-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .mobile-toggle {
        display: none;
        background: none;
        border: none;
        color: var(--gold);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 998;
        backdrop-filter: blur(4px);
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .stats-bar {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .stat-divider {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 22px;
    }

    .lb-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .lb-tab {
        text-align: center;
    }

    .lb-table {
        font-size: 13px;
    }

    .lb-table th,
    .lb-table td {
        padding: 10px 12px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .updates-grid {
        grid-template-columns: 1fr;
    }

    .rules-wrapper iframe,
    .rules-wrapper embed {
        height: 450px;
    }

    .login-box {
        padding: 36px 24px;
        margin: 0 16px;
    }

    .dash-grid {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-social {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 16px;
    }

    .section-title {
        font-size: 20px;
    }

    .login-box {
        padding: 28px 18px;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .amount-value {
        font-size: 26px;
    }

    .dash-card {
        padding: 24px 20px;
    }
}

/* ══════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════ */
@media print {
    .navbar,
    .footer,
    .particles-bg,
    .back-to-top,
    .page-loader {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .section {
        padding: 20px 0;
    }

    * {
        animation: none !important;
        transition: none !important;
    }
}


/* HERO SECTION */


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(212,175,55,0.1);
    border: 1px solid var(--gold-dark);
    border-radius: 50px;
    font-size: .9rem;
    color: var(--gold);
}



.hero p {
    max-width: 650px;
    margin: 15px auto;
    opacity: .8;
}

.hero-ip {
    margin: 20px auto;
    padding: 10px 20px;
    background: var(--black-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    cursor: pointer;
    transition: .3s;
}

.hero-ip:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.hero-actions {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--black);
}

.btn-outline {
    border: 1px solid var(--white-soft);
    color: var(--white-soft);
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
    background: var(--black-card);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.stat-item {
    text-align: center;
}

.stat-item .value {
    font-size: 1.8rem;
    color: var(--gold);
}

.stat-item .label {
    font-size: .9rem;
    opacity: .7;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.tab {
    padding: 10px 22px;
    border-radius: 10px;
    background: var(--black-card);
    border: 1px solid var(--dark-border);
    cursor: pointer;
    transition: .3s;
}

.tab.active {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--black);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}


/* Table */
.lb-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.lb-table tbody tr {
    background: var(--black-card);
    border: 1px solid var(--dark-border);
    transition: var(--transition-fast);
}


.lb-table tbody tr.top3 {
    background: linear-gradient(90deg, rgba(212,175,55,.12), transparent);
}

.lb-table tbody tr:hover {
    border-color: var(--gold);
    transform: translateX(-5px);
    box-shadow: var(--shadow-gold);
}




.hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%) !important;
    border-radius: 0 !important;
    width: 100% !important;
    height: 100% !important;
    animation: none !important;
}

/* حذف همه pseudo-element های hero که دایره می‌سازن */
.hero::before,
.hero::after,
.hero-overlay::before,
.hero-overlay::after,
.hero-content::before,
.hero-content::after {
    display: none !important;
    background: none !important;
    box-shadow: none !important;
    animation: none !important;
}

/* حذف text-shadow از عنوان hero */
.hero h1,
.hero .hero-sub,
.hero-content h1,
.hero-content p {
    text-shadow: none !important;
}

/* حذف glow سفید/طلایی از دکمه اتصال */
.btn-connect {
    box-shadow: none !important;
}
.btn-connect:hover {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
}

/* حذف glow از بخش IP و آمار بازیکن */
.hero-players span,
.server-ip,
.hero .server-stats * {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* حذف glow hover از بخش IP */
.server-ip:hover,
.hero-players span:hover {
    box-shadow: none !important;
}

/* حذف دایره‌های تزئینی بزرگ */
.hero *[style*="border-radius: 50%"],
.hero [class*="circle"],
.hero [class*="glow"] {
    display: none !important;
}

/* حذف انیمیشن pulse-gold از hero */
.hero * {
    animation-name: none !important;
}

/* فقط انیمیشن online indicator رو برگردون */
.online-dot,
.status-dot {
    animation: pulse-green 2s infinite !important;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* حذف radial-gradient body::before */
body::before {
    background: none !important;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 1000;
}

.header.scroll-down {
    transform: translateY(-100%);
}

.header.scroll-up {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.1);
}

/* اطمینان از اینکه محتوا زیر هدر نره */
@media (min-width: 769px) {
  body {
    padding-top: 80px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 0 !important;
  }
}

/* ─── Sticky Header Effects ─── */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header.header-scrolled {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header.scroll-down {
  transform: translateY(-100%);
}

.header.scroll-up {
  transform: translateY(0);
}

/* ─── Clickable IP ─── */
.clickable-ip {
  cursor: pointer;
  transition: color 0.2s ease, transform 0.1s ease;
  display: inline-block;
}

.clickable-ip:hover {
  color: #ffd700;
  transform: scale(1.05);
}

.clickable-ip:active {
  transform: scale(0.98);
}


/* =============================================
   ANNOUNCEMENT PILL BAR
   ============================================= */

.ann-pill {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 28px;
    background: rgba(10, 10, 10, 0.85);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    border-radius: 60px;
    padding: 0;
    max-width: 560px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 54px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 2px 20px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(212, 175, 55, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: annPillSlideIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation-delay: 0.5s;
}

@keyframes annPillSlideIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ann-pill:hover {
    border-color: rgba(212, 175, 55, 0.65);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(212, 175, 55, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 15, 0.9);
}

/* ---- Bell Icon ---- */
.ann-pill-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(184, 134, 11, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    margin-left: 0;
    color: #d4af37;
    font-size: 1.05rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    position: relative;
    animation: annBellGlow 3s ease-in-out infinite;
}

@keyframes annBellGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
    50%      { box-shadow: 0 0 14px rgba(212, 175, 55, 0.3); }
}

/* ---- Text Area ---- */
.ann-pill-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding: 0 8px;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ann-pill-title {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.ann-pill-title.fade-out {
    opacity: 0;
    transform: translateY(-4px);
}

.ann-pill-title.fade-in {
    animation: annTitleFadeIn 0.25s ease forwards;
}

@keyframes annTitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Navigation ---- */
.ann-pill-nav {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px 0 6px;
    height: 100%;
}

.ann-pill-arrow {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: rgba(212, 175, 55, 0.7);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.7rem;
    padding: 0;
}

.ann-pill-arrow:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
    color: #d4af37;
    transform: scale(1.1);
}

.ann-pill-counter {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    direction: ltr;
    letter-spacing: 1px;
    user-select: none;
}

#annPillCurrent {
    color: rgba(212, 175, 55, 0.9);
}


/* =============================================
   ALL ANNOUNCEMENTS MODAL
   ============================================= */

.ann-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ann-modal-overlay.show {
    visibility: visible !important;
    opacity: 1 !important;
}

.ann-modal {
    background: linear-gradient(160deg, #0a0a0a 0%, #000000 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 18px;
    width: 100%;
    max-width: 680px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    transform: translateY(40px) scale(0.92);
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(212, 175, 55, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ann-modal-overlay.show .ann-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ann-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    flex-shrink: 0;
}

.ann-modal-header h3 {
    color: #d4af37;
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.ann-modal-close {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: rgba(255, 255, 255, 0.5);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.ann-modal-close:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
    color: #d4af37;
    transform: rotate(90deg);
}

.ann-modal-body {
    padding: 22px 26px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.ann-modal-body::-webkit-scrollbar {
    width: 4px;
}
.ann-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.ann-modal-body::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 3px;
}

.ann-modal-item {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    opacity: 1 !important;
    animation: annItemFadeIn 0.3s ease forwards;
}

@keyframes annItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1 !important;
        transform: translateY(0);
    }
}


.ann-modal-item:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(-3px);
}

@keyframes annModalItemIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ann-modal-item-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(184, 134, 11, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 0.95rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.ann-modal-item-content {
    flex: 1;
    min-width: 0;
}

.ann-modal-item-content h4 {
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
}

.ann-modal-item-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0 0 8px 0;
    word-break: break-word;
}

.ann-modal-item-date {
    font-size: 0.75rem;
    color: rgba(212, 175, 55, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}


/* ---- Responsive ---- */
@media (max-width: 600px) {
    .ann-pill {
        max-width: 95%;
        height: 48px;
        margin-top: 22px;
    }

    .ann-pill-icon {
        width: 38px;
        height: 38px;
        font-size: 0.92rem;
    }

    .ann-pill-title {
        font-size: 0.85rem;
    }

    .ann-pill-arrow {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }

    .ann-pill-counter {
        font-size: 0.7rem;
    }

    .ann-modal {
        max-height: 88vh;
        border-radius: 14px;
    }

    .ann-modal-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        border-right: none;
        border-top: 2px solid rgba(212, 175, 55, 0.5);
    }

    .ann-modal-item:hover {
        transform: translateX(0) translateY(-2px);
    }

    .ann-modal-item-icon {
        margin: 0 auto;
    }

    .ann-modal-item-date {
        justify-content: center;
    }
}

/* Transaction History Styles */
#transaction-history-section {
    margin-top: 2rem;
}

#transaction-history-section h3 {
    color: #f0c040;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#transaction-history-section h3 i {
    font-size: 1.3rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.tx-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(15, 15, 25, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.tx-table thead {
    background: linear-gradient(135deg, rgba(240, 192, 64, 0.15), rgba(240, 192, 64, 0.05));
}

.tx-table th {
    padding: 1rem;
    text-align: right;
    font-weight: 600;
    color: #f0c040;
    font-size: 0.95rem;
    border-bottom: 2px solid rgba(240, 192, 64, 0.2);
    white-space: nowrap;
}

.tx-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tx-table tbody tr:hover {
    background: rgba(240, 192, 64, 0.08);
    transform: translateX(-4px);
}

.tx-table tbody tr:last-child {
    border-bottom: none;
}

.tx-table td {
    padding: 1rem;
    text-align: right;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.tx-table td:first-child {
    color: #888;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Status Badges */
.tx-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
}

.tx-badge.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.tx-badge.failed {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.tx-badge.pending {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Payment Method Badge */
.tx-method {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tx-method.wallet {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.tx-method.gateway {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Amount Styling */
.tx-amount {
    font-weight: 700;
    font-size: 1rem;
    color: #f0c040;
    direction: ltr;
    text-align: left;
}

/* Ref ID Styling */
.tx-ref {
    font-family: 'Courier New', monospace;
    color: #94a3b8;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    display: inline-block;
}

/* Date Styling */
.tx-date {
    color: #94a3b8;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .tx-table th,
    .tx-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .tx-badge,
    .tx-method {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        min-width: 60px;
    }
    
    .tx-amount {
        font-size: 0.9rem;
    }
}


/* ══════════════════════════════════════
   PLAYER COUNTER — COMPACT
   ══════════════════════════════════════ */

.player-counter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 202, 40, 0.25);
    border-radius: 50px;
    padding: 8px 20px;
    margin: 18px auto 12px;
    animation: fadeInUp 0.8s ease 1.1s both;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.3s, box-shadow 0.3s;
    
    /* ★ Force it to its own line above button ★ */
    width: fit-content;
    display: flex;
}


.player-counter:hover {
    border-color: rgba(255, 202, 40, 0.5);
    box-shadow: 0 0 20px rgba(255, 202, 40, 0.1);
}


.player-counter #playerCount {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffca28;
    min-width: 20px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 202, 40, 0.35);
}

.player-counter-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}


/* Rules Selection Page */
.rules-selection-section {
    min-height: calc(100vh - 80px);
    padding: 80px 20px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.rules-selection-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.rules-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.rules-title {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.rules-title i {
    font-size: 2.5rem;
}

.rules-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0.8;
}

.rules-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.rule-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 2px solid #2a2a2a;
    border-radius: 20px;
    padding: 35px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.rule-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #d4af37;
    box-shadow: 0 15px 40px rgba(212,175,55,0.25);
}

.rule-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(212,175,55,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rule-card:hover::before {
    opacity: 1;
}

.rule-card-icon {
    font-size: 42px;
    color: #d4af37;
    margin-bottom: 20px;
}

.rule-card-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.rule-card-desc {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 25px;
}

.rule-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #d4af37;
    font-weight: 600;
}

.rule-card-footer i {
    transition: transform 0.25s ease;
}

.rule-card:hover .rule-card-footer i {
    transform: translateX(-6px);
}

.rules-notice {
    max-width: 700px;
    margin: auto;
    text-align: center;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.3);
    padding: 18px 25px;
    border-radius: 12px;
    color: #ffffff;
}

.rules-notice i {
    color: #d4af37;
    margin-right: 8px;
}

/* Email login form */
.email-input-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-label {
    font-size: 13px;
    color: var(--white-soft);
    font-weight: 800;
    margin-bottom: 2px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.11);
    border: 1px solid rgba(212, 175, 55, 0.18);
    pointer-events: none;
}

.custom-input {
    width: 100%;
    padding: 16px 18px 16px 60px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    font-size: 15px;
    color: var(--white);
    transition: var(--transition);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(0, 0, 0, 0.42));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.custom-input:focus {
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.72);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12), 0 16px 36px rgba(0, 0, 0, 0.22);
    outline: none;
}

.custom-input[readonly] {
    opacity: 0.82;
    border-color: rgba(90, 190, 120, 0.45);
}

.custom-btn-otp {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    margin-top: 4px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #111;
    border: none;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.24);
    transition: var(--transition);
}

.custom-btn-otp:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(212, 175, 55, 0.34);
}

.custom-btn-otp:active {
    transform: translateY(0);
}

.custom-btn-otp:disabled {
    cursor: wait;
    opacity: 0.78;
    transform: none;
}

.otp-card {
    padding: 18px;
    margin-top: 18px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.28);
    animation: fadeInUp 0.35s ease both;
}

.otp-input {
    letter-spacing: 8px;
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    color: var(--gold);
}

@media (max-width: 480px) {
    .login-tabs {
        grid-template-columns: 1fr;
    }

    .login-tab {
        padding: 12px 8px;
    }
}

/* انیمیشن سوییچ بین فرم‌ها */
@keyframes fadeInForm {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-form {
    animation: fadeInForm 0.4s ease-out forwards;
}
