/* ==========================================================================
   HeepsVanilla - Official Minecraft Webstore Stylesheet
   Standalone Web Edition + Discord Ticket Integration
   ========================================================================== */

:root {
    /* Brand Colors matching HeepsVanilla Logo */
    --blue-primary: #0284c7;
    --blue-glow: #38bdf8;
    --blue-deep: #0369a1;
    
    --gold-primary: #f59e0b;
    --gold-glow: #fbbf24;
    --gold-dark: #b45309;
    
    --green-primary: #22c55e;
    --green-glow: #4ade80;
    
    --purple-magic: #a855f7;
    --purple-glow: #c084fc;
    --red-danger: #f43f5e;
    
    --discord-brand: #5865F2;
    --discord-glow: #7983f5;
    
    /* Dark Deepslate & Obsidian Surfaces */
    --bg-base: #090e1a;
    --panel-bg: #0f172a;
    --panel-card: #182236;
    --panel-glass: rgba(15, 23, 42, 0.88);
    --panel-border: rgba(56, 189, 248, 0.25);
    --panel-border-bright: rgba(56, 189, 248, 0.6);
    --panel-border-gold: rgba(245, 158, 11, 0.45);
    --panel-border-subtle: rgba(255, 255, 255, 0.08);
    
    /* Text */
    --text-main: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* Dynamic Shadows */
    --realm-shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.85), 0 0 20px rgba(2, 132, 199, 0.2);
    --realm-shadow-hover: 0 22px 50px -5px rgba(0, 0, 0, 0.95), 0 0 35px rgba(56, 189, 248, 0.5);
    --gold-shadow-hover: 0 22px 50px -5px rgba(0, 0, 0, 0.95), 0 0 35px rgba(245, 158, 11, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-base) !important;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere */
.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.32) blur(1px);
}

.main-wrapper {
    max-width: 1220px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   1. HERO HEADER
   ========================================================================== */
.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0 1.5rem;
}

.hero-side {
    flex: 1;
}

.hero-left {
    display: flex;
    justify-content: flex-start;
}

.hero-right {
    display: flex;
    justify-content: flex-end;
}

.hero-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    max-width: 440px;
    width: 100%;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 35px rgba(56, 189, 248, 0.45));
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.main-logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 45px rgba(245, 158, 11, 0.65));
}

.hero-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease;
    outline: none;
}

.hero-btn:hover {
    transform: translateY(-3px);
}

.hero-btn-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.35), rgba(15, 23, 42, 0.95));
    border: 2px solid var(--blue-primary);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 0 18px rgba(2, 132, 199, 0.4);
    transition: all 0.2s ease;
}

.hero-btn:hover .hero-btn-icon {
    background: var(--blue-primary);
    color: #0f172a;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.85);
}

.hero-btn-icon.discord {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.3), rgba(15, 23, 42, 0.95));
    border-color: #5865F2;
    box-shadow: 0 0 18px rgba(88, 101, 242, 0.4);
}

.hero-btn:hover .hero-btn-icon.discord {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.85);
}

.hero-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.hero-btn-text.text-right {
    text-align: right;
}

.hero-btn-text span {
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    text-shadow: 1px 2px 3px rgba(0,0,0,0.8);
}

.hero-btn-text small {
    color: var(--gold-glow);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-btn-text.text-right small {
    color: #5865F2;
}

/* ==========================================================================
   2. KINGDOM STATUS DOCK
   ========================================================================== */
.kingdom-dock {
    background: var(--panel-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.6rem;
    box-shadow: var(--realm-shadow);
    flex-wrap: wrap;
    gap: 1rem;
}

.dock-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dock-avatar {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #0f172a;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.45);
}

.dock-title-wrap {
    display: flex;
    flex-direction: column;
}

.dock-title-wrap strong {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 1px 1px 0px #000;
}

.dock-title-wrap span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dock-title-wrap span i {
    color: var(--green-primary);
    font-size: 0.7rem;
}

.dock-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.dock-currency-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.dock-select {
    background: var(--panel-card);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 0.65rem 1rem;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.5);
}

.dock-select:hover, .dock-select:focus {
    border-color: var(--blue-glow);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
    background: rgba(2, 132, 199, 0.2);
}

.dock-select option {
    background: #0f172a;
    color: #fff;
    font-weight: 700;
}

.dock-btn {
    background: var(--panel-card);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 0.65rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.dock-btn:hover {
    background: rgba(2, 132, 199, 0.2);
    border-color: var(--blue-glow);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.dock-btn.basket {
    border-color: var(--gold-primary);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(15, 23, 42, 0.95));
}

.dock-btn.basket:hover {
    background: var(--gold-primary);
    color: #0f172a;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.7);
}

.dock-btn.basket:hover .dock-btn-text strong {
    color: #0f172a;
}

.dock-btn.basket:hover .dock-btn-text small {
    color: rgba(15, 23, 42, 0.85);
}

.dock-btn-icon {
    font-size: 1.1rem;
    color: var(--gold-glow);
}

.dock-btn.basket:hover .dock-btn-icon {
    color: #0f172a;
}

.dock-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dock-btn-text small {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dock-btn-text strong {
    font-size: 0.95rem;
    font-weight: 900;
    color: #fff;
}

/* ==========================================================================
   3. ROYAL SALE BANNER
   ========================================================================== */
.sale-banner {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.85) 0%, rgba(15, 23, 42, 0.96) 100%);
    border: 1px solid var(--panel-border-bright);
    box-shadow: var(--realm-shadow), 0 0 25px rgba(2, 132, 199, 0.3);
    border-radius: 14px;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.sale-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
    pointer-events: none;
}

.sale-info h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 2px 2px 0px #000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sale-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #090e1a !important;
    text-shadow: none !important;
    font-size: 0.85rem;
    font-weight: 900;
    padding: 5px 12px;
    border-radius: 6px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.sale-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
}

.sale-timer {
    display: flex;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.time-box {
    background: rgba(9, 14, 26, 0.9);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    padding: 0.6rem 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
}

.time-box strong {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--gold-glow);
    text-shadow: 1px 1px 0px #000;
    line-height: 1;
}

.time-box small {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 800;
    margin-top: 4px;
    letter-spacing: 0.06em;
}

/* ==========================================================================
   4. 3 MAIN HOMEPAGE CARDS (GLOBAL RANKS, CRATE KEYS, COINS)
   ========================================================================== */
.realms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.realm-card {
    height: 380px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--panel-border);
    box-shadow: var(--realm-shadow);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.realm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-glow));
    z-index: 4;
    transition: all 0.3s ease;
}

.realm-card.gold-theme::before {
    background: linear-gradient(90deg, #d97706, #f59e0b, #fbbf24);
}

.realm-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 14, 26, 0.3) 0%, rgba(15, 23, 42, 0.5) 40%, rgba(9, 14, 26, 0.96) 100%);
    transition: background 0.35s ease;
    z-index: 1;
}

.realm-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--blue-glow);
    box-shadow: var(--realm-shadow-hover);
}

.realm-card.gold-theme:hover {
    border-color: var(--gold-glow);
    box-shadow: var(--gold-shadow-hover);
}

.realm-card:hover::before {
    height: 6px;
    box-shadow: 0 0 20px var(--blue-glow);
}

.realm-card.gold-theme:hover::before {
    box-shadow: 0 0 20px var(--gold-glow);
}

.realm-card:hover .realm-overlay {
    background: linear-gradient(180deg, rgba(2, 132, 199, 0.25) 0%, rgba(15, 23, 42, 0.4) 35%, rgba(9, 14, 26, 0.98) 100%);
}

.realm-card-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.realm-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.realm-badge.global {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--gold-primary);
    color: var(--gold-glow);
}

.realm-badge.gamemodes {
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid var(--blue-primary);
    color: var(--blue-glow);
}

.realm-icon-orb {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.25);
    border: 1px solid var(--panel-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--blue-glow);
    transition: all 0.3s ease;
}

.realm-card:hover .realm-icon-orb {
    background: var(--blue-primary);
    color: #0f172a;
    transform: rotate(10deg) scale(1.1);
}

.realm-card.gold-theme .realm-icon-orb {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--panel-border-gold);
    color: var(--gold-glow);
}

.realm-card.gold-theme:hover .realm-icon-orb {
    background: var(--gold-primary);
    color: #0f172a;
}

.realm-dock {
    position: relative;
    z-index: 2;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid var(--panel-border-subtle);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    transition: all 0.25s ease;
}

.realm-card:hover .realm-dock {
    border-color: var(--panel-border-bright);
    background: rgba(15, 23, 42, 0.97);
}

.realm-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 0px #000;
    margin-bottom: 4px;
}

.realm-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.9rem;
    display: block;
}

.realm-cta-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--gold-glow) 0%, var(--gold-primary) 100%);
    color: #0f172a;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
    transition: all 0.25s ease;
}

.realm-card:hover .realm-cta-btn {
    background: var(--gold-glow);
    box-shadow: 0 0 28px rgba(245, 158, 11, 0.7);
}

.realm-cta-btn i {
    transition: transform 0.25s ease;
}

.realm-card:hover .realm-cta-btn i {
    transform: translateX(4px);
}

/* ==========================================================================
   5. GAMEMODE PICKER & DISCORD TICKET CHECKOUT MODALS
   ========================================================================== */
.gamemode-picker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}

.gamemode-choice-card {
    background: rgba(10, 15, 29, 0.85);
    border: 2px solid var(--panel-border);
    border-radius: 12px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gamemode-choice-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-glow);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
    background: rgba(15, 23, 42, 0.95);
}

.gamemode-choice-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold-glow);
    margin-bottom: 0.8rem;
    transition: all 0.25s ease;
}

.gamemode-choice-card:hover .gamemode-choice-icon {
    background: var(--gold-primary);
    color: #0f172a;
    transform: scale(1.1);
}

.gamemode-choice-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
}

.gamemode-choice-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Discord Ticket Checkout Form */
.ticket-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1rem;
    text-align: left;
}

.ticket-form-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-form-label i {
    color: var(--blue-glow);
}

.ticket-user-preview {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticket-skin-head {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 2px solid var(--blue-primary);
    background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.discord-ticket-badge {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(15, 23, 42, 0.95));
    border: 1px solid var(--discord-brand);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.discord-ticket-badge i {
    font-size: 1.8rem;
    color: var(--discord-glow);
}

.discord-ticket-text strong {
    color: #fff;
    font-size: 0.95rem;
}

.discord-ticket-text p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 2px;
}

.order-ref-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed var(--gold-primary);
    border-radius: 10px;
    padding: 1rem;
    margin: 1.2rem 0;
    text-align: center;
}

.order-ref-code {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--gold-glow);
    letter-spacing: 2px;
    margin: 6px 0;
    display: block;
}

/* ==========================================================================
   6. CATEGORY CATALOG PAGE (category.html)
   ========================================================================== */
.catalog-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 1.75rem;
}

.catalog-sidebar {
    background: var(--panel-glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 1.4rem;
    height: fit-content;
    box-shadow: var(--realm-shadow);
}

.sidebar-section-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 1.2rem 0 0.5rem;
}

.sidebar-section-label:first-of-type {
    margin-top: 0;
}

.sidebar-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.sidebar-nav-item:hover {
    background: rgba(2, 132, 199, 0.15);
    color: #fff;
    border-color: var(--panel-border);
}

.sidebar-nav-item.active {
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-deep));
    color: #fff;
    font-weight: 900;
    border-color: var(--blue-glow);
    box-shadow: 0 0 18px rgba(2, 132, 199, 0.4);
}

.sidebar-nav-item.gold.active {
    background: linear-gradient(90deg, #d97706, #b45309);
    border-color: var(--gold-glow);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.4);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
}

.package-card {
    background: var(--panel-glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--realm-shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.package-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue-glow);
    box-shadow: var(--realm-shadow-hover);
}

.pkg-img-wrap {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    background: rgba(9, 14, 26, 0.8);
    border: 1px solid var(--panel-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    overflow: hidden;
}

.pkg-img-wrap img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.package-card:hover .pkg-img-wrap img {
    transform: scale(1.06);
}

.pkg-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.35rem;
    text-shadow: 1px 1px 0px #000;
}

.pkg-price {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--gold-glow);
    margin-bottom: 0.85rem;
}

.pkg-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: auto;
}

.btn-info {
    padding: 0.7rem;
    background: var(--panel-card);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    color: #fff;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-info:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--panel-border-bright);
}

.btn-buy {
    padding: 0.7rem;
    background: linear-gradient(180deg, var(--gold-glow) 0%, var(--gold-primary) 100%);
    border: 1px solid var(--gold-glow);
    border-radius: 8px;
    color: #0f172a;
    font-weight: 900;
    font-size: 0.88rem;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
    transition: all 0.2s ease;
}

.btn-buy:hover {
    background: var(--gold-glow);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.7);
    transform: translateY(-1px);
}

/* ==========================================================================
   7. INFO & GOAL PANELS & FOOTER
   ========================================================================== */
.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.content-panel {
    background: var(--panel-glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: var(--realm-shadow);
}

.content-panel h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 0.85rem;
    color: #fff;
    text-shadow: 1px 1px 0px #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-panel h3 i {
    color: var(--blue-glow);
}

.content-panel p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.content-panel.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.top-supporter-name {
    font-size: 1.7rem;
    color: var(--gold-glow);
    font-weight: 900;
    text-shadow: 2px 2px 0px #000, 0 0 18px rgba(245, 158, 11, 0.45);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0.5rem;
}

.goal-progress-wrap {
    margin: 1.1rem 0;
}

.goal-bar {
    background: rgba(9, 14, 26, 0.9);
    border: 1px solid var(--panel-border);
    height: 26px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.7);
}

.goal-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-deep), var(--blue-primary), var(--blue-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 1px 1px 0px #000;
    box-shadow: 0 0 18px rgba(2, 132, 199, 0.6);
}

.goal-times {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

.content-panel.full-width {
    grid-column: 1 / -1;
}

.supporters-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 1.2rem;
}

.supporter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.supporter img {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    border: 2px solid var(--gold-primary);
    image-rendering: pixelated;
    background: #000;
    box-shadow: 0 6px 14px rgba(0,0,0,0.6);
    transition: all 0.25s ease;
}

.supporter:hover img {
    transform: translateY(-4px) scale(1.08);
    border-color: var(--blue-glow);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.supporter span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-secondary);
}

.site-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--panel-border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
}

.payment-methods {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pay-badge {
    background: var(--panel-glass);
    border: 1px solid var(--panel-border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 800;
}

.footer-disclaimer {
    max-width: 720px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   8. MODALS & TOASTS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

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

.modal-box {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border-bright);
    border-radius: 16px;
    max-width: 540px;
    width: 100%;
    padding: 2.2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(2, 132, 199, 0.35);
    position: relative;
    animation: modalScale 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScale {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 1.3rem;
    right: 1.3rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: var(--red-danger);
}

.modal-input {
    width: 100%;
    background: var(--bg-base);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-input:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 15px rgba(2, 132, 199, 0.35);
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 7px;
}

.form-label i {
    color: var(--blue-glow);
}

.ticket-user-preview {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticket-skin-head {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--panel-border-bright);
    background: var(--bg-base);
    flex-shrink: 0;
}

.payment-method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.payment-method-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.payment-method-card:hover {
    border-color: var(--blue-primary);
    background: rgba(2, 132, 199, 0.1);
}

.payment-method-card input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkout-order-summary-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--panel-border-subtle);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 1.3rem 0;
}

.dock-btn.basket:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.user-dock-btn.is-logged-in:hover {
    border-color: var(--red-danger) !important;
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.35) !important;
}

.modal-submit {
    width: 100%;
    background: linear-gradient(180deg, var(--gold-glow) 0%, var(--gold-primary) 100%);
    border: none;
    border-radius: 8px;
    padding: 0.85rem;
    color: #0f172a;
    font-weight: 900;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-submit:hover {
    background: var(--gold-glow);
    box-shadow: 0 0 28px rgba(245, 158, 11, 0.7);
}

.modal-submit.discord-btn {
    background: linear-gradient(180deg, var(--discord-glow) 0%, var(--discord-brand) 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
    text-decoration: none;
}

.modal-submit.discord-btn:hover {
    background: var(--discord-glow);
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.75);
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-bubble {
    background: var(--panel-card);
    border: 1px solid var(--blue-primary);
    border-radius: 10px;
    padding: 12px 20px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0,0,0,0.8), 0 0 20px rgba(2, 132, 199, 0.35);
}

/* Responsive */
@media (max-width: 1024px) {
    .realms-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .hero-btn-text.text-right {
        text-align: left;
    }
    .kingdom-dock {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .dock-brand {
        justify-content: center;
    }
    .dock-actions {
        justify-content: center;
    }
    .realms-grid {
        grid-template-columns: 1fr;
    }
    .panel-grid {
        grid-template-columns: 1fr;
    }
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    .sale-banner {
        flex-direction: column;
        text-align: center;
    }
    .gamemode-picker-grid {
        grid-template-columns: 1fr;
    }
}
