/* ==========================================================================
   DESIGN SYSTEM - CS2 HUB BRASIL (AUTO LUXO & ELITE GAMING)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;0,800;1,400&family=Outfit:wght@200;400;600;800&display=swap');

:root {
    /* Color Palette - Luxury Gold & Obsidian Carbon */
    --bg-darkest: #040406;
    --bg-darker: #0b0c10;
    --bg-card: rgba(18, 19, 26, 0.75);
    --bg-card-hover: rgba(28, 29, 38, 0.9);
    
    --gold-primary: #d4af37;     /* Metallic Gold */
    --gold-light: #f3e5ab;       /* Champagne Gold */
    --gold-dark: #aa7c11;        /* Deep Gold */
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a5b5;
    --text-muted: #626575;
    
    --border-color: rgba(212, 175, 55, 0.15);
    --border-hover: rgba(212, 175, 55, 0.4);
    --border-light: rgba(255, 255, 255, 0.05);
    
    --success: #38b000;
    --danger: #d90429;
    --vip-diamond: #00b4d8;
    --vip-gold: #ffb703;
    --vip-bronze: #cd7f32;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

/* Base resets & typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-darkest);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, #040406 0%, #0d0e14 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Glassmorphism Luxury Card Utility */
.luxury-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}

.luxury-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
    transform: translateY(-4px);
}

/* Luxury Gold Button */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 50%, var(--gold-light) 100%);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all var(--transition-speed) ease;
}

.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5), 0 0 10px var(--gold-glow);
    transform: scale(1.03);
    color: #000;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 11px 26px;
    border: 1px solid var(--gold-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-light);
    color: var(--gold-light);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

/* Layout shell styles */
header {
    background: rgba(5, 5, 8, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 16px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
}

.nav-links a:hover, .nav-links li.active a {
    color: var(--gold-primary);
    text-shadow: 0 0 8px var(--gold-glow);
}

.user-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* User steam widget */
.steam-widget {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0 10px;
    border-radius: 4px;
    transition: all var(--transition-speed);
    height: 31px;
    box-sizing: border-box;
}

.steam-widget:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.08);
}

.steam-avatar {
    width: 18px;
    height: 18px;
    border-radius: 2px;
    border: 1px solid var(--gold-primary);
    object-fit: cover;
}

.steam-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
}

.steam-name {
    font-weight: 600;
    white-space: nowrap;
}

.steam-role {
    font-size: 0.65rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 6px;
}

.btn-steam {
    background-color: #171a21;
    color: #66c0f4;
    border: 1px solid #2a475e;
    border-radius: 4px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn-steam:hover {
    background-color: #2a475e;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(102, 192, 244, 0.3);
}

/* Footer Section */
footer {
    background: #020203;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column h4 {
    color: var(--gold-primary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
}

.footer-column p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 40px auto 0;
    padding: 24px 24px 0;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============================================================
   HOME / HERO BANNER - FULL PAGE
   ============================================================ */
.hero-section {
    position: relative;
    /* Quebra o container e ocupa 100% da largura da tela */
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    /* Altura mínima = toda a tela menos o header (~70px) */
    min-height: calc(100vh - 70px);
    /* Centraliza conteúdo verticalmente */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Fundo */
    background: radial-gradient(ellipse 120% 80% at 50% 30%, rgba(0,60,15,0.5) 0%, #0b0c10 65%);
    overflow: hidden;
    border-bottom: 1px solid rgba(0,255,65,0.15);
    padding: 80px 24px;
}

/* Subtle grid overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,255,65,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,65,0.025) 1px, transparent 1px);
    background-size: 70px 70px;
    pointer-events: none;
    z-index: 0;
}

/* Bottom fade to page */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent 0%, #0b0c10 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-section > * { position: relative; z-index: 2; }

/* ---- LOGO FLUTUANTE ---- */
.hero-logo {
    display: block;
    width: 420px;
    max-width: 88%;
    margin: 0 auto 20px;
    filter:
        drop-shadow(0 0 20px rgba(0,255,65,0.65))
        drop-shadow(0 0 60px rgba(0,200,50,0.35))
        drop-shadow(0 0 120px rgba(0,150,40,0.20));
    animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

.hero-logo:hover {
    filter:
        drop-shadow(0 0 35px rgba(0,255,65,1.0))
        drop-shadow(0 0 90px rgba(0,230,60,0.65))
        drop-shadow(0 0 160px rgba(0,180,50,0.30));
    transition: filter 0.4s ease;
}

/* ---- BADGE ---- */
.hero-subtitle {
    font-family: var(--font-heading);
    color: rgba(0,255,65,0.92);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 7px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: inline-block;
    text-shadow: 0 0 18px rgba(0,255,65,0.7);
    background: rgba(0,255,65,0.06);
    border: 1px solid rgba(0,255,65,0.18);
    padding: 5px 20px;
    border-radius: 40px;
}

/* ---- TITULO ---- */
.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.9);
    color: #fff;
}
.hero-title span {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- DESCRIÇÃO ---- */
.hero-description {
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 1rem;
    line-height: 1.8;
}

/* ---- BOTÕES ---- */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}



/* Quick Statistics Counter */
.stats-container {
    max-width: 1100px;
    margin: -40px auto 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 10;
    padding: 0 24px;
}

.stat-item {
    background: rgba(11, 12, 16, 0.95);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-primary);
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* General containers */
.main-content {
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 24px;
}

.section-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-left: 3px solid var(--gold-primary);
    padding-left: 16px;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 4px;
}

/* Server List Styles */
.server-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.server-row {
    display: grid;
    grid-template-columns: 80px 2fr 1fr 1fr 1.2fr 150px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 16px 24px;
    transition: all var(--transition-speed);
}

.server-row:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 0 15px var(--gold-glow);
}

.server-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
    margin: 0 auto;
}

.server-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.server-mode {
    font-size: 0.85rem;
    color: var(--gold-primary);
    font-weight: 600;
    text-transform: uppercase;
}

.server-map {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.server-players {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.server-actions {
    display: flex;
    gap: 8px;
}

/* Downloads & Forum Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-speed);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-glow);
    background: rgba(255, 255, 255, 0.04);
}

/* Store Cards */
.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.vip-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.vip-card.bronze::before { background: var(--vip-bronze); }
.vip-card.gold::before { background: var(--vip-gold); }
.vip-card.diamond::before { background: var(--vip-diamond); }

.vip-card.diamond {
    border-color: rgba(0, 180, 216, 0.3);
    box-shadow: 0 15px 30px rgba(0, 180, 216, 0.1);
}

.vip-title {
    font-size: 1.4rem;
    margin: 10px 0;
}

.vip-card.bronze .vip-title { color: var(--vip-bronze); }
.vip-card.gold .vip-title { color: var(--vip-gold); }
.vip-card.diamond .vip-title { color: var(--vip-diamond); }

.vip-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 20px 0;
    font-family: var(--font-heading);
}

.vip-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.vip-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    padding-left: 10px;
}

.vip-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vip-features li i {
    color: var(--gold-primary);
}

.vip-features li.unavail {
    color: var(--text-muted);
    text-decoration: line-through;
}

.vip-features li.unavail i {
    color: var(--text-muted);
}

/* Forum Boards */
.forum-board-row {
    display: grid;
    grid-template-columns: 60px 3fr 1fr 1.5fr;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.forum-board-row:last-child {
    border-bottom: none;
}

.forum-board-icon {
    font-size: 1.8rem;
    color: var(--gold-primary);
}

.forum-board-info h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.forum-board-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.forum-board-stats {
    text-align: center;
    font-size: 0.9rem;
}

.forum-board-stats span {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gold-primary);
}

.forum-board-lastpost {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.forum-board-lastpost-title {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Threads List */
.thread-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
}

.thread-row:last-child {
    border-bottom: none;
}

.thread-info-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.thread-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Forum Posts / Conversation replies */
.post-block {
    display: grid;
    grid-template-columns: 200px 1fr;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 24px;
    background: var(--bg-card);
    overflow: hidden;
}

.post-sidebar {
    background: rgba(0, 0, 0, 0.2);
    padding: 24px;
    text-align: center;
    border-right: 1px solid var(--border-light);
}

.post-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 2px solid var(--gold-primary);
    object-fit: cover;
}

.post-author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
}

.post-author-rank {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-primary);
    border-radius: 40px;
    display: inline-block;
    margin-top: 6px;
    color: var(--gold-primary);
}

.post-content-area {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-body {
    font-size: 0.95rem;
    color: var(--text-primary);
    white-space: pre-line;
}

.post-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Downloads Section */
.downloads-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    gap: 12px;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.filter-tab:hover, .filter-tab.active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.download-search {
    max-width: 300px;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.download-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.download-img {
    height: 160px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
}

.download-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.download-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.download-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.download-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-uploader {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Modals & Popups */
.luxury-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 6, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.luxury-modal-content {
    background: #0b0c10;
    border: 1.5px solid var(--gold-primary);
    box-shadow: 0 0 30px var(--gold-glow);
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    padding: 32px;
    position: relative;
    animation: modalShow 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border: none;
}

.modal-close:hover {
    color: var(--gold-primary);
}

/* Checkout Pix Box */
.pix-box {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 24px;
    margin: 20px 0;
}

.pix-qr {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pix-code-text {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    word-break: break-all;
    user-select: all;
    background: #14161f;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    max-height: 60px;
    overflow-y: auto;
}

/* Admin Panel layout */
.admin-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
}

.admin-sidebar {
    list-style: none;
}

.admin-sidebar li {
    margin-bottom: 8px;
}

.admin-sidebar a {
    display: block;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-weight: 600;
    color: var(--text-secondary);
}

.admin-sidebar a:hover, .admin-sidebar li.active a {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.admin-table th, .admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.admin-table th {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-primary);
}

.admin-table td {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.admin-badge {
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-badge.success { background: rgba(56, 176, 0, 0.1); border: 1px solid var(--success); color: var(--success); }
.admin-badge.warning { background: rgba(212, 175, 55, 0.1); border: 1px solid var(--gold-primary); color: var(--gold-primary); }
.admin-badge.danger { background: rgba(217, 4, 41, 0.1); border: 1px solid var(--danger); color: var(--danger); }

/* Quick dashboard stats */
.admin-stats-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}

.admin-stat-val {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.admin-stat-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* responsive styles */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-grid {
        grid-template-columns: 1fr;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 16px;
    }
    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .store-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .server-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    .server-status-dot {
        margin: 10px auto;
    }
    .server-actions {
        justify-content: center;
    }
    .post-block {
        grid-template-columns: 1fr;
    }
    .post-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
}

/* Promoted Server Glow Animations */
.promoted-server-row {
    border: 1.5px solid var(--gold-primary) !important;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08) 0%, rgba(18, 19, 26, 0.85) 100%) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: goldGlowPulse 3s infinite alternate;
}
@keyframes goldGlowPulse {
    0% { box-shadow: 0 0 12px rgba(212, 175, 55, 0.12); }
    100% { box-shadow: 0 0 22px rgba(212, 175, 55, 0.32); }
}

.ad-banner-container {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #08080a;
}
.ad-banner-link {
    display: block;
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all var(--transition-speed);
}
.ad-banner-link:hover {
    filter: brightness(1.08);
}
.ad-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}
.ad-banner-badge {
    background: var(--gold-primary);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    top: 12px;
    right: 12px;
}

/* Quill Dark Mode Styling overrides */
.ql-toolbar.ql-snow {
    background: #0f1015 !important;
    border-color: var(--border-light) !important;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.ql-container.ql-snow {
    background: rgba(0, 0, 0, 0.2) !important;
    border-color: var(--border-light) !important;
    color: var(--text-primary) !important;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    min-height: 150px;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
}
.ql-snow .ql-stroke {
    stroke: var(--text-secondary) !important;
}
.ql-snow .ql-fill {
    fill: var(--text-secondary) !important;
}
.ql-snow .ql-picker {
    color: var(--text-secondary) !important;
}
.ql-snow .ql-picker-options {
    background-color: #0f1015 !important;
    border-color: var(--border-light) !important;
}
.ql-editor.ql-blank::before {
    color: var(--text-muted) !important;
    font-style: normal !important;
}


/* ==========================================================================
   LIVES LAYOUT & CHAT SYSTEM
   ========================================================================== */
.lives-layout {
    display: grid;
    grid-template-columns: 3fr 1.2fr;
    gap: 24px;
    margin-top: 30px;
    transition: all 0.4s ease;
}
.lives-layout.wide-mode {
    grid-template-columns: 1fr;
}
.video-player-container {
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    position: relative;
}
.video-aspect {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
}
.video-aspect iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-controls-bar {
    background: rgba(11, 12, 16, 0.95);
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Live Chat Section */
.live-chat-card {
    display: flex;
    flex-direction: column;
    height: 600px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: height 0.4s ease;
}
.lives-layout.wide-mode .live-chat-card {
    height: 380px;
    margin-top: 20px;
}
.chat-header {
    padding: 14px 20px;
    background: rgba(212, 175, 55, 0.05);
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gold-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-messages-container {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(5, 5, 8, 0.4);
}
.chat-message-bubble {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    animation: fadeIn 0.25s ease-out;
}
.chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
}
.chat-msg-body {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    line-height: 1.4;
    flex-grow: 1;
}
.chat-msg-body .author-name {
    font-weight: bold;
    color: var(--gold-light);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.chat-msg-body .author-name .role-badge {
    font-size: 0.55rem;
    padding: 1px 4px;
    border-radius: 3px;
    text-transform: uppercase;
}
.chat-msg-text {
    color: #fff;
    word-break: break-all;
}
.chat-input-area {
    padding: 16px;
    background: rgba(11, 12, 16, 0.95);
    border-top: 1px solid var(--border-light);
}
.chat-input-row {
    display: flex;
    gap: 8px;
}
.chat-input-row input {
    flex-grow: 1;
    background: #111116;
    border: 1px solid var(--border-light);
    color: #fff;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.8rem;
}
.chat-input-row input:focus {
    outline: none;
    border-color: var(--gold-primary);
}

/* ==========================================================================
   RATING STAR SYSTEM
   ========================================================================== */
.star-rating-display {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.95rem;
    color: #626575;
}
.star-rating-display .bi-star-fill.active {
    color: var(--vip-gold);
}
.star-rating-display .rating-avg-val {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    margin-left: 6px;
    font-size: 0.85rem;
}
.star-rating-display .rating-count-val {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: 4px;
}

.star-rating-interactive {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.star-rating-interactive .star-item {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform 0.15s ease, color 0.15s ease;
}
.star-rating-interactive .star-item.active-yellow {
    color: var(--vip-gold);
}
.star-rating-interactive .star-item.hover-blue {
    color: var(--vip-diamond) !important;
    transform: scale(1.18);
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.7);
}

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