/* ================================================================
   TirCraft.net — Main Stylesheet
   Style: Dark Purple / Indigo / Glassmorphism
================================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Background */
    --bg:           #07000e;
    --bg2:          #0c001f;

    /* Brand Colors */
    --purple:       #8b5cf6;
    --purple-light: #a78bfa;
    --purple-dark:  #6d28d9;
    --indigo:       #6366f1;
    --blue:         #3b82f6;
    --dark-blue:    #1e1b4b;

    /* Mode accent colors */
    --teal:         #14b8a6;
    --teal-dim:     rgba(20, 184, 166, 0.15);
    --teal-border:  rgba(20, 184, 166, 0.25);
    --rose:         #f43f5e;
    --rose-dim:     rgba(244, 63, 94, 0.12);
    --rose-border:  rgba(244, 63, 94, 0.25);
    --purple-dim:   rgba(139, 92, 246, 0.15);
    --purple-border:rgba(139, 92, 246, 0.3);

    /* Text */
    --txt:          #f1f5f9;
    --txt2:         #c4b5fd;
    --txt3:         #94a3b8;
    --txt4:         #475569;

    /* Glass */
    --glass-bg:     rgba(12, 4, 28, 0.65);
    --glass-border: rgba(139, 92, 246, 0.14);

    /* Misc */
    --nav-h:        68px;
    --max-w:        1180px;
    --radius:       20px;
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

/* ── Global custom scrollbar ── */
::-webkit-scrollbar              { width: 6px; height: 6px; }
::-webkit-scrollbar-track        { background: transparent; }
::-webkit-scrollbar-thumb        {
    background: linear-gradient(180deg, #8b5cf6, #6366f1);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover  { background: linear-gradient(180deg, #a78bfa, #818cf8); }
::-webkit-scrollbar-corner       { background: transparent; }
* { scrollbar-width: thin; scrollbar-color: #6d28d9 transparent; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--txt);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ================================================================
   CANVAS BACKGROUND
================================================================ */

#starsCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ================================================================
   NAVBAR
================================================================ */

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    overflow: hidden;
    transition: background 0.35s var(--ease), border-color 0.35s;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(7, 0, 14, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-color: var(--glass-border);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    height: var(--nav-h);
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-pickaxe { opacity: 0.95; }

.nav-logo-img {
    height: 50px;
    width: auto;
    max-width: 180px;
    display: block;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    display: block;
}

.nav-logo-text {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.c-tir   { color: var(--purple-light); }
.c-craft { color: #ffffff; }
.c-net   { color: var(--indigo); }

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    color: var(--txt3);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 12px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: var(--txt);
    background: rgba(139, 92, 246, 0.09);
}

.nav-cta {
    color: var(--purple-light);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 7px 16px;
}

.nav-cta:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.6);
    color: #fff;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.25);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--txt2);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(7, 0, 14, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 24px 20px;
}

.mobile-link {
    color: var(--txt3);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s;
}

.mobile-link:hover { color: var(--txt); }

.mobile-menu.open { display: flex; }

/* ================================================================
   HERO SECTION
================================================================ */

.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 48px) 24px 60px;
    overflow: hidden;
}

/* Background Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.28) 0%, transparent 75%);
    top: -180px; left: 50%;
    transform: translateX(-50%);
    animation: orbFloat1 12s ease-in-out infinite;
}

.orb-2 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    top: 20%; left: 5%;
    animation: orbFloat2 15s ease-in-out infinite;
}

.orb-3 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
    top: 35%; right: 8%;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-30px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    width: 100%;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 100px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--purple-light);
    margin-bottom: 32px;
    animation: fadeInDown 0.6s var(--ease) both;
}

.badge-pulse {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0px rgba(34, 197, 94, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0px rgba(34, 197, 94, 0); }
}

.badge-sep { opacity: 0.4; }

.badge-version {
    font-size: 11px;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.2);
    padding: 2px 8px;
    border-radius: 20px;
}

/* Hero Title */
.hero-title {
    display: block;
    font-size: clamp(52px, 11vw, 104px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.95;
    margin-bottom: 24px;
    animation: fadeInUp 0.7s var(--ease) 0.1s both;
}

.ht-tir {
    background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ht-craft { color: #ffffff; }

.ht-net {
    background: linear-gradient(135deg, #818cf8, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ht-tagline {
    display: block;
    font-size: clamp(18px, 3.5vw, 32px);
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--txt3);
    margin-top: 14px;
    -webkit-text-fill-color: var(--txt3);
    background: none;
}

/* Description */
.hero-desc {
    font-size: 16px;
    color: var(--txt3);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.7s var(--ease) 0.2s both;
}

/* ─── IP CARD ─── */
.ip-card {
    position: relative;
    display: inline-flex;
    max-width: 440px;
    width: 100%;
    margin: 0 auto 44px;
    animation: fadeInUp 0.7s var(--ease) 0.3s both;
}

.ip-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.4));
    z-index: 0;
    opacity: 0.6;
    transition: opacity 0.3s;
    filter: blur(1px);
}

.ip-card:hover .ip-card-glow { opacity: 1; }

.ip-card-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(10, 3, 22, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 20px;
    padding: 20px 22px;
}

.ip-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.ip-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--purple-light);
}

.ip-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--txt);
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}

.btn-copy {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--purple);
    color: #fff;
    border: none;
    border-radius: 13px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s var(--ease-spring), box-shadow 0.2s;
}

.btn-copy:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.45);
}

.btn-copy:active { transform: translateY(0); }

.btn-copy.copied { background: #16a34a; }

/* ─── HERO STATS ─── */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.7s var(--ease) 0.4s both;
}

.hstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 0 36px;
}

.hstat-num {
    font-size: 26px;
    font-weight: 900;
    color: var(--txt);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}

.hstat-lbl {
    font-size: 11px;
    font-weight: 500;
    color: var(--txt4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hstat-div {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.07);
}

/* ─── COUNTDOWN ─── */
.countdown-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 20px 0 4px;
    padding: 22px 32px;
    background: rgba(139, 92, 246, 0.07);
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeInUp 0.7s var(--ease) 0.25s both;
}

.countdown-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--txt3);
}

.countdown-units {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 64px;
}

.cdown-num {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #a78bfa 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.cdown-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--txt4);
}

.countdown-sep {
    font-size: 34px;
    font-weight: 700;
    color: var(--purple);
    opacity: 0.45;
    line-height: 1;
    padding-top: 4px;
}

.countdown-date {
    font-size: 12px;
    font-weight: 500;
    color: var(--txt4);
    letter-spacing: 0.04em;
}

.countdown-done {
    font-size: 17px;
    font-weight: 700;
    color: var(--purple-light);
    text-align: center;
    padding: 8px 0;
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--txt4);
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    transition: opacity 0.2s, border-color 0.2s;
    animation: bounceY 2.5s ease-in-out infinite;
    z-index: 2;
}

.scroll-arrow:hover { opacity: 1; border-color: rgba(139, 92, 246, 0.4); }

@keyframes bounceY {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(10px); }
}

/* ================================================================
   MODES SECTION
================================================================ */

.modes-section {
    position: relative;
    z-index: 1;
    padding: 60px 24px 80px;
}

.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--purple-light);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(26px, 4.5vw, 44px);
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--txt);
    margin-bottom: 12px;
}

.section-sub {
    font-size: 15px;
    color: var(--txt3);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── MODES GRID ─── */
.modes-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 22px;
    align-items: start;
}

/* ─── MODE CARD ─── */
.mode-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(8, 2, 18, 0.82);
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition:
        transform 0.32s var(--ease),
        border-color 0.32s,
        box-shadow 0.32s;
    /* Start hidden for entrance animation */
    opacity: 0;
    transform: translateY(32px);
}

.mode-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(139, 92, 246, 0.28);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.1);
}

.mode-card:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 3px;
}

.mode-card.mode-featured {
    border-color: rgba(20, 184, 166, 0.42);
    box-shadow: 0 0 60px rgba(20, 184, 166, 0.18), 0 0 0 1px rgba(20, 184, 166, 0.12);
}

.mode-card.mode-featured:hover {
    border-color: rgba(20, 184, 166, 0.68);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 72px rgba(20, 184, 166, 0.3);
}

.mode-card.mode-featured .card-body {
    padding: 32px 28px 28px;
}

.mode-card.mode-featured .mode-icon {
    width: 70px;
    height: 70px;
}

.mode-card.mode-featured .mode-title {
    font-size: 28px;
}

.mode-card.mode-featured .mode-desc {
    font-size: 14.5px;
    line-height: 1.7;
}

/* Preferred mode label */
.card-preferred {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2dd4bf;
    margin-bottom: 6px;
}

/* Inactive status label */
.card-status-inactive {
    font-size: 12px;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card reveal animation (applied by JS) */
.mode-card.revealed {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.6s var(--ease),
        transform 0.6s var(--ease),
        border-color 0.32s,
        box-shadow 0.32s;
}

.mode-card.revealed:hover {
    transform: translateY(-10px) scale(1.01);
}

/* Card top gradient accent */
.card-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 180px;
    opacity: 0.07;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.mode-card:hover .card-accent { opacity: 0.13; }

.accent-teal   { background: linear-gradient(180deg, #14b8a6, transparent); }
.accent-purple { background: linear-gradient(180deg, #8b5cf6, transparent); }
.accent-rose   { background: linear-gradient(180deg, #f43f5e, transparent); }

/* Featured Ribbon */
.featured-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: var(--purple-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 5px 11px;
    border-radius: 100px;
    z-index: 3;
    text-transform: uppercase;
}

/* Card Body */
.card-body {
    position: relative;
    z-index: 2;
    padding: 26px;
}

.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Mode Icon */
.mode-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.3s var(--ease-spring);
}

.mode-card:hover .mode-icon { transform: scale(1.08) rotate(-3deg); }

.icon-teal   { background: rgba(20, 184, 166, 0.1); }
.icon-purple { background: rgba(139, 92, 246, 0.12); }
.icon-rose   { background: rgba(244, 63, 94, 0.1); }

/* Mode Badge (status) */
.mode-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 100px;
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 600;
    color: var(--txt3);
}

.dot {
    width: 7px; height: 7px;
    border-radius: 50%;
}

.dot-green {
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: dotPulse 2.2s ease infinite;
}

.dot-red {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.7);
}

@keyframes dotPulse {
    0%   { box-shadow: 0 0 0 0px rgba(34, 197, 94, 0.5); }
    70%  { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0px rgba(34, 197, 94, 0); }
}

/* Mode Text */
.mode-text { margin-bottom: 22px; }

.mode-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--txt);
    margin-bottom: 8px;
}

.mode-desc {
    font-size: 13.5px;
    color: var(--txt3);
    line-height: 1.65;
}

/* Mode Footer */
.mode-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.players-info {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 6px 12px 6px 9px;
}

.mode-card.mode-featured .players-info {
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.2);
}

.mode-card.mode-featured .pnum { color: #2dd4bf; }

.pnum {
    font-size: 15px;
    font-weight: 900;
    color: var(--txt);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.plbl {
    font-size: 11px;
    color: var(--txt3);
    font-weight: 500;
}

/* Shop Button (within card) */
.btn-enter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    border: 1px solid transparent;
}

.btn-teal {
    background: var(--teal-dim);
    color: #2dd4bf;
    border-color: var(--teal-border);
}

.btn-teal:hover {
    background: rgba(20, 184, 166, 0.25);
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.2);
}

.btn-purple {
    background: var(--purple-dim);
    color: var(--purple-light);
    border-color: var(--purple-border);
}

.btn-purple:hover {
    background: rgba(139, 92, 246, 0.28);
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}

.btn-rose {
    background: var(--rose-dim);
    color: #fb7185;
    border-color: var(--rose-border);
}

.btn-rose:hover {
    background: rgba(244, 63, 94, 0.22);
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.2);
}

/* ================================================================
   WIDGETS SECTION
================================================================ */

.widgets-section {
    position: relative;
    z-index: 1;
    padding: 10px 24px 90px;
}

.widgets-header {
    margin-bottom: 38px;
}

.widgets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.widget-box-full {
    grid-column: 1 / -1;
}

.widget-box {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(18, 8, 32, 0.94), rgba(7, 2, 18, 0.9));
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.03);
}

.widget-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent 42%);
    pointer-events: none;
}

.widget-box-wide {
    min-width: 0;
}

.widget-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.widget-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--purple-light);
}

.widget-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--txt2);
    font-size: 12px;
    font-weight: 700;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.widget-link:hover {
    background: rgba(139, 92, 246, 0.22);
    border-color: rgba(139, 92, 246, 0.34);
    transform: translateY(-1px);
}

.widget-copy {
    font-size: 14px;
    line-height: 1.65;
    color: var(--txt3);
    margin-bottom: 16px;
}

.widget-frame-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    background:
        linear-gradient(180deg, rgba(5, 5, 12, 0.82), rgba(10, 7, 22, 0.92));
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    padding: 14px;
}

.widget-frame {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
}

.widget-frame-mclist {
    max-width: 800px;
    min-height: 110px;
}

.widget-frame-discord {
    max-width: 100%;
    min-height: 320px;
}

/* ─── MCList Custom Card ─── */
.mclist-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(5, 2, 14, 0.85) 0%, rgba(12, 6, 28, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    text-decoration: none;
    transition: border-color 0.22s, background 0.22s;
    position: relative;
    overflow: hidden;
}

.mclist-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20,184,166,0.04), transparent 55%);
    pointer-events: none;
    transition: opacity 0.22s;
    opacity: 0;
}

.mclist-card:hover {
    border-color: rgba(45, 212, 191, 0.25);
    background: linear-gradient(135deg, rgba(8, 3, 20, 0.92) 0%, rgba(16, 8, 36, 0.95) 100%);
}

.mclist-card:hover::before {
    opacity: 1;
}

.mclist-icon {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    flex-shrink: 0;
    image-rendering: pixelated;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.3);
}

.mclist-info {
    flex: 1;
    min-width: 0;
}

.mclist-header {
    font-size: 11px;
    color: var(--txt4);
    letter-spacing: 0.03em;
    margin-bottom: 5px;
}

.mclist-name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #e879f9;
    line-height: 1.2;
    margin-bottom: 5px;
}

.mclist-cta {
    color: #4ade80;
    font-weight: 700;
}

.mclist-tagline {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #facc15;
}

.mclist-heart {
    color: #f43f5e;
}

.mclist-rank {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.mclist-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(20,184,166,0.12);
    border: 1px solid rgba(20,184,166,0.22);
    color: #2dd4bf;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.mclist-rank-label {
    font-size: 10px;
    color: var(--txt4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: right;
}

@media (max-width: 540px) {
    .mclist-rank { display: none; }
    .mclist-name { font-size: 14px; }
}

/* ─── YouTube Widget ─── */
.yt-widget-box {
    background:
        radial-gradient(circle at top right, rgba(255, 0, 0, 0.08), transparent 50%),
        linear-gradient(180deg, rgba(18, 8, 32, 0.94), rgba(7, 2, 18, 0.9));
    border-color: rgba(255, 60, 60, 0.2);
}

.yt-sub-pill {
    background: rgba(255, 0, 0, 0.14) !important;
    border-color: rgba(255, 0, 0, 0.28) !important;
    color: #ff6060 !important;
}
.yt-sub-pill:hover {
    background: rgba(255, 0, 0, 0.26) !important;
}

.yt-card-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
}

.yt-logo {
    flex-shrink: 0;
}

.yt-channel-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--txt1);
    line-height: 1.3;
}

.yt-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.yt-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 14px;
}

/* ─── Discord Custom Card ─── */
.dc-widget-box {
    background:
        radial-gradient(circle at top right, rgba(88, 101, 242, 0.14), transparent 55%),
        linear-gradient(180deg, rgba(18, 8, 32, 0.94), rgba(7, 2, 18, 0.9));
    border-color: rgba(88, 101, 242, 0.22);
}

.dc-join-pill {
    background: rgba(88, 101, 242, 0.18) !important;
    border-color: rgba(88, 101, 242, 0.3) !important;
}
.dc-join-pill:hover {
    background: rgba(88, 101, 242, 0.3) !important;
}

.dc-card {
    background: linear-gradient(145deg, rgba(88, 101, 242, 0.07) 0%, rgba(7, 2, 18, 0.5) 60%);
    border: 1px solid rgba(88, 101, 242, 0.18);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dc-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dc-logo {
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.45));
}

.dc-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--txt);
    letter-spacing: -0.3px;
}

.dc-desc {
    font-size: 12px;
    color: var(--txt4);
    margin-top: 2px;
}

.dc-stats-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dc-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dc-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--txt);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.dc-stat-lbl {
    font-size: 12px;
    color: var(--txt3);
    font-weight: 500;
}

.dc-stat-sep {
    width: 1px;
    height: 26px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.dc-dot-grey {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b7280;
    flex-shrink: 0;
}

.dc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 20px;
    background: #5865f2;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.dc-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(88, 101, 242, 0.38);
}

/* ================================================================
   SERVER STATS SECTION
================================================================ */

.stats-section {
    position: relative;
    z-index: 1;
    padding: 20px 24px 80px;
}

/* ─── Summary stat cards ─── */
.sstat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.sstat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(8, 2, 18, 0.7);
    border: 1px solid rgba(139, 92, 246, 0.14);
    border-radius: 18px;
    padding: 22px 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sstat-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.sstat-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sstat-icon-current {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.22);
    color: #a78bfa;
}

.sstat-icon-avg {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.22);
    color: #818cf8;
}

.sstat-icon-peak {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.22);
    color: #4ade80;
}

.sstat-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sstat-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--txt);
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.sstat-lbl {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--txt4);
}

/* ─── Chart ─── */
.chart-wrap {
    background: rgba(8, 2, 18, 0.7);
    border: 1px solid rgba(139, 92, 246, 0.14);
    border-radius: 20px;
    padding: 24px 28px 20px;
    margin-bottom: 32px;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.chart-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--txt2);
    letter-spacing: -0.2px;
}

.chart-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #4ade80;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

.chart-canvas-wrap {
    position: relative;
    height: 200px;
}

.chart-empty {
    display: none;
    text-align: center;
    color: var(--txt4);
    font-size: 13px;
    padding: 40px 0 20px;
}

/* ─── Top Players ─── */
.top-players-wrap {
    background: rgba(8, 2, 18, 0.7);
    border: 1px solid rgba(139, 92, 246, 0.14);
    border-radius: 20px;
    overflow: hidden;
}

.top-players-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-players-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 700;
    color: var(--txt2);
}

.top-players-title svg { color: #fbbf24; flex-shrink: 0; }

.top-players-list {
    display: flex;
    flex-direction: column;
}

.top-player-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.18s;
}

.top-player-row:last-child { border-bottom: none; }

.top-player-row:hover { background: rgba(139, 92, 246, 0.05); }

.top-player-top3 { background: rgba(139, 92, 246, 0.035); }
.top-player-top3:hover { background: rgba(139, 92, 246, 0.07); }

.tp-pos {
    min-width: 36px;
    font-size: 15px;
    font-weight: 800;
    color: var(--txt3);
    text-align: center;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.tp-pos.medal-gold   { font-size: 18px; }
.tp-pos.medal-silver { font-size: 18px; }
.tp-pos.medal-bronze { font-size: 18px; }

.tp-head {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
    image-rendering: pixelated;
    background: rgba(139, 92, 246, 0.1);
}

.tp-nick {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: var(--txt);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-rank-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 9px;
    border-radius: 999px;
    flex-shrink: 0;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
}

.tp-rank-badge.tp-rank-vip     { background: rgba(20,184,166,0.12); border-color: rgba(20,184,166,0.3); color: #5eead4; }
.tp-rank-badge.tp-rank-svip    { background: rgba(99,102,241,0.14); border-color: rgba(99,102,241,0.3); color: #a5b4fc; }
.tp-rank-badge.tp-rank-legenda { background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.3); color: #fcd34d; }
.tp-rank-badge.tp-rank-elita   { background: rgba(244,63,94,0.12);  border-color: rgba(244,63,94,0.3);  color: #fb7185; }
.tp-rank-badge.tp-rank-tirexik { background: rgba(139,92,246,0.18); border-color: rgba(139,92,246,0.4); color: #c4b5fd; }

.tp-time {
    font-size: 13px;
    font-weight: 700;
    color: var(--txt3);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    min-width: 60px;
    text-align: right;
}

.tp-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(34,197,94,.7);
    animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50%       { opacity: .45; }
}

.top-players-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 24px;
    color: var(--txt4);
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
}

/* ================================================================
================================================================ */

.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 36px 28px;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-logo {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.3px;
}

.footer-copy {
    font-size: 13px;
    color: var(--txt4);
    flex: 1;
    text-align: center;
}

.footer-nav {
    display: flex;
    gap: 16px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--txt4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover { color: var(--purple-light); }

/* ================================================================
   SHOP NAV — disabled link
================================================================ */

.nav-link-disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
    position: relative;
}

/* ================================================================
   SHOP INACTIVE BANNER
================================================================ */

.shop-inactive-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 72px 24px 100px;
    max-width: 560px;
    margin: 0 auto;
}

.sib-icon {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 30px;
}

.sib-mode-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--txt4);
    margin-bottom: 10px;
}

.sib-title {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    color: var(--txt1);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.sib-desc {
    font-size: 15px;
    color: var(--txt3);
    line-height: 1.68;
    max-width: 440px;
    margin-bottom: 38px;
}

.sib-desc strong {
    color: var(--txt2);
    font-weight: 600;
}

.sib-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.sib-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 13px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--txt2);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.sib-btn-primary:hover {
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.18);
    color: var(--txt1);
}

.sib-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 13px;
    background: linear-gradient(135deg, #14b8a6, #0ea5e9);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow 0.2s, filter 0.2s;
}

.sib-btn-secondary:hover {
    box-shadow: 0 8px 28px rgba(20,184,166,0.4);
    filter: brightness(1.08);
}

/* ================================================================
   TOAST
================================================================ */

.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: rgba(8, 2, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    border-radius: 14px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-spring), opacity 0.3s;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ================================================================
   ANIMATIONS
================================================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   RESPONSIVE
================================================================ */

@media (max-width: 920px) {
    .modes-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .widgets-grid {
        grid-template-columns: 1fr 1fr;
    }

    .widget-box-full {
        grid-column: 1 / -1;
    }

    .mode-card.mode-featured {
        order: -1;
    }

    .sstat-row { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 620px) {
    .nav-links  { display: none; }
    .hamburger  { display: flex; }

    .hero {
        padding-top: calc(var(--nav-h) + 32px);
        padding-bottom: 80px;
    }

    .widgets-grid {
        grid-template-columns: 1fr;
    }

    .widget-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .widget-box {
        padding: 20px;
    }

    .widget-frame-wrap {
        padding: 10px;
    }

    .hero-title { letter-spacing: -2px; }

    .hstat { padding: 0 20px; }
    .hstat-num { font-size: 20px; }

    .ip-card-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-copy { justify-content: center; }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sstat-row { grid-template-columns: 1fr; }

    .chart-wrap { padding: 18px 16px 14px; }
    .chart-canvas-wrap { height: 160px; }

    .top-player-row { padding: 12px 16px; gap: 10px; }
    .tp-rank-badge  { display: none; }
}

@media (max-width: 480px) {
    .nav-logo-img {
        height: 36px;
        max-width: 130px;
    }

    .countdown-wrap { padding: 16px 14px; gap: 10px; }
    .cdown-num { font-size: 30px; }
    .countdown-unit { min-width: 50px; }
    .countdown-sep { font-size: 24px; }
}

@media (max-width: 380px) {
    .hero-stats { transform: scale(0.9); }
}

/* ================================================================
   WORLD MAP SECTION
================================================================ */

.worldmap-section {
    position: relative;
    z-index: 1;
    padding: 0 24px 80px;
}

.worldmap-card {
    display: grid;
    grid-template-columns: 80px 1fr 280px;
    align-items: center;
    gap: 28px;
    background: var(--glass-bg);
    border: 1px solid rgba(139,92,246,0.15);
    border-radius: var(--radius);
    padding: 36px 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.worldmap-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 90% 50%, rgba(139,92,246,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.worldmap-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    background: rgba(139,92,246,0.09);
    border: 1px solid rgba(139,92,246,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.worldmap-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.25);
    color: #fca5a5;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.worldmap-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--txt);
    margin-bottom: 10px;
}

.worldmap-desc {
    font-size: 14px;
    color: var(--txt3);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 18px;
}

.worldmap-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #5865f2;
    color: #fff;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.15s;
}

.worldmap-discord-btn:hover {
    box-shadow: 0 6px 20px rgba(88,101,242,0.5);
    transform: translateY(-2px);
}

.worldmap-preview {
    flex-shrink: 0;
}

.worldmap-placeholder {
    width: 240px;
    height: 150px;
    border-radius: 14px;
    background: rgba(139,92,246,0.04);
    border: 1px dashed rgba(139,92,246,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(139,92,246,0.3);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.worldmap-preview-iframe {
    width: 240px;
    height: 150px;
    border-radius: 14px;
    border: 1px solid rgba(139,92,246,0.22);
    background: #07000e;
    display: block;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.75;
}

/* ── Iframe map embed ── */

.worldmap-launch-card {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(139,92,246,0.25);
    background: rgba(139,92,246,0.04);
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.worldmap-launch-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
    overflow: hidden;
}

.worldmap-launch-globe {
    width: 320px;
    height: 320px;
    opacity: 0.6;
    transform: translateX(60px);
    flex-shrink: 0;
}

.worldmap-launch-content {
    position: relative;
    z-index: 1;
    padding: 40px 48px;
    max-width: 520px;
    width: 100%;
}

.worldmap-launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.25);
    color: #4ade80;
    font-size: .75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.worldmap-launch-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: mapPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes mapPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.worldmap-launch-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.25;
}

.worldmap-launch-desc {
    font-size: .93rem;
    color: rgba(226,224,234,0.55);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 400px;
}

.worldmap-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    font-size: .95rem;
    font-weight: 700;
    transition: box-shadow .2s, transform .2s;
}

.worldmap-launch-btn:hover {
    box-shadow: 0 10px 36px rgba(99,102,241,0.45);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .worldmap-launch-content { padding: 28px 24px; }
    .worldmap-launch-globe { width: 200px; height: 200px; transform: translateX(30px); }
    .worldmap-launch-title { font-size: 1.15rem; }
}

@media (max-width: 900px) {
    .worldmap-card {
        grid-template-columns: 60px 1fr;
    }
    .worldmap-preview { display: none; }
}

@media (max-width: 540px) {
    .worldmap-card {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        gap: 16px;
    }
    .worldmap-icon { width: 56px; height: 56px; border-radius: 14px; }
}

/* ================================================================
   SHOP PAGE STYLES  (shared via ../style.css)
================================================================ */

.shop-hero {
    position: relative;
    z-index: 1;
    padding: calc(var(--nav-h) + 56px) 24px 72px;
    text-align: center;
    overflow: hidden;
}

.shop-hero .hero-orb { filter: blur(100px); }

.shop-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--txt3);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.07);
    transition: all 0.2s;
}

.shop-back:hover {
    color: var(--txt);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.07);
}

.shop-mode-icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 0 24px rgba(139, 92, 246, 0.4));
}

.shop-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 12px;
}

.shop-subtitle {
    font-size: 16px;
    color: var(--txt3);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Shop Packages Grid */
.packages-section {
    position: relative;
    z-index: 1;
    padding: 0 24px 100px;
}

.packages-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.pkg-card {
    position: relative;
    background: rgba(8, 2, 18, 0.82);
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 22px;
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.pkg-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.pkg-card.pkg-featured {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.12);
}

.pkg-top-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

.pkg-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.pkg-name {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.pkg-price {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.pkg-price span {
    font-size: 18px;
    font-weight: 600;
    color: var(--txt3);
}

.pkg-period {
    font-size: 12px;
    color: var(--txt4);
    margin-bottom: 24px;
}

.pkg-perks {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pkg-perks li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: var(--txt3);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pkg-perks li:last-child { border-bottom: none; }

.perk-check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    color: #4ade80;
}

.btn-buy {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: 13px;
    border: none;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.2s var(--ease);
}

.btn-buy:hover {
    transform: translateY(-2px);
}
