/* ═══════════════════════════════════════════════════════════════════
   VIKINGS CONQUER — Homepage Stylesheet
   Dark Fantasy MMORPG Theme — Reference-Matched
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. ROOT VARIABLES ──────────────────────────────────────────── */
:root {
    --vc-bg: #030406;
    --vc-bg-card: #08090f;
    --vc-bg-panel: #06070a;
    --vc-gold: #D4AF37;
    --vc-gold-light: #f5df8b;
    --vc-gold-dark: #8B6914;
    --vc-crimson: #DC143C;
    --vc-green: #22c55e;
    --vc-text: #e2dcf0;
    --vc-text-muted: #8b8ea8;
    --vc-text-dim: #545772;
    --vc-border: rgba(212, 175, 55, 0.25);
    --vc-border-hover: rgba(212, 175, 55, 0.65);
    --vc-font-h: 'Cinzel', serif;
    --vc-font-b: 'Rajdhani', sans-serif;
    --vc-radius: 10px;
    --vc-max-w: 1280px;
}

/* ── 2. FOUNDATIONS ─────────────────────────────────────────────── */
.vc-page {
    background: var(--vc-bg);
    color: var(--vc-text);
    font-family: var(--vc-font-b);
    overflow-x: hidden;
}

.vc-container {
    max-width: var(--vc-max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.vc-section {
    padding: 76px 0;
}

/* ── 3. ORNAMENTAL SECTION HEADINGS ─────────────────────────────── */
.vc-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.vc-heading__line {
    flex: 1;
    max-width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vc-gold), transparent);
    position: relative;
}

.vc-heading__line::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 3px;
    background: radial-gradient(circle, var(--vc-gold) 0%, transparent 80%);
    opacity: 0.7;
}

.vc-heading__text {
    font-family: var(--vc-font-h);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vc-gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    white-space: nowrap;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.45), 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* ── 4. REUSABLE GOLD-BORDERED BUTTON ───────────────────────────── */
.vc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--vc-font-h);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vc-gold);
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid var(--vc-border);
    border-radius: var(--vc-radius);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.05);
}

.vc-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--vc-border-hover);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
    color: var(--vc-gold-light);
    transform: translateY(-2px);
}

/* Server color badges */
.vc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 4px;
}

.vc-badge--ragnarok,
.vc-badge--red {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.vc-badge--viking,
.vc-badge--blue {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.vc-badge--global {
    background: rgba(212, 175, 55, 0.15);
    color: var(--vc-gold);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

/* ═════════════════════════════════════════════════════════════════
   5. HERO SECTION
   ═════════════════════════════════════════════════════════════════ */
.vc-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vc-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.05);
    animation: vcKenBurns 18s ease-in-out infinite;
    will-change: transform;
}

.vc-hero__embers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.vc-ember {
    position: absolute;
    bottom: -15px;
    left: var(--left);
    width: var(--size);
    height: var(--size);
    background: radial-gradient(circle, rgba(255, 170, 50, 1) 0%, rgba(212, 175, 55, 0.8) 40%, rgba(255, 69, 0, 0) 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.4);
    opacity: 0;
    animation: vcEmberRise var(--duration) linear var(--delay) infinite;
    will-change: transform, opacity;
}

.vc-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 50% 50%, transparent 40%, rgba(3, 4, 7, 0.45) 85%),
                linear-gradient(to bottom,
                    rgba(3, 4, 7, 0.1) 0%,
                    rgba(3, 4, 7, 0.25) 50%,
                    rgba(3, 4, 7, 0.85) 90%,
                    rgba(3, 4, 7, 1) 100%);
    z-index: 2; /* Put overlay above embers to blend them into the atmospheric background */
}

.vc-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 56px 24px 40px;
    width: 100%;
    max-width: 960px;
}

.vc-hero__logo {
    max-width: 500px;
    width: 85%;
    height: auto;
    margin: 0 auto 28px;
    display: block;
    filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.45));
    animation: vcFloat 6s ease-in-out infinite;
}

.vc-hero__subtitle {
    font-family: var(--vc-font-h);
    font-size: 1.05rem;
    color: rgba(226, 220, 240, 0.75);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* ── Hero CTA Buttons (animated glass) ──────────────────────── */
.vc-hero__btns {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 36px;
}

.vc-hero__btn {
    --btn-accent: #d4af37;
    --btn-glow: rgba(212, 175, 55, 0.45);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    min-height: 54px;
    padding: 3px;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    isolation: isolate;
    animation: vcBtnFloat 4s ease-in-out infinite;
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.vc-hero__btn--download { animation-delay: 0s; }
.vc-hero__btn--register { animation-delay: 0.35s; }
.vc-hero__btn--vote     { animation-delay: 0.7s; }

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

.vc-hero__btn-ring {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: conic-gradient(from 0deg, transparent 15%, var(--btn-accent) 45%, rgba(255, 255, 255, 0.5) 50%, var(--btn-accent) 55%, transparent 85%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: vcBtnRingSpin 2.8s linear infinite;
    opacity: 0.9;
}

@keyframes vcBtnRingSpin {
    to { transform: rotate(360deg); }
}

.vc-hero__btn-shine {
    position: absolute;
    inset: 3px;
    border-radius: 47px;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.vc-hero__btn-shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-20deg);
    animation: vcBtnShine 5s ease-in-out infinite;
}

.vc-hero__btn--download .vc-hero__btn-shine::after { animation-delay: 0s; }
.vc-hero__btn--register .vc-hero__btn-shine::after { animation-delay: 1.6s; }
.vc-hero__btn--vote .vc-hero__btn-shine::after     { animation-delay: 3.2s; }

@keyframes vcBtnShine {
    0%, 72%  { left: -130%; }
    100%     { left: 160%; }
}

.vc-hero__btn-inner {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 47px;
    font-family: var(--vc-font-h);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    background: linear-gradient(180deg, rgba(14, 12, 20, 0.92) 0%, rgba(6, 5, 10, 0.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
                0 8px 28px rgba(0, 0, 0, 0.5),
                0 0 24px var(--btn-glow);
    transition: box-shadow 0.35s ease, color 0.35s ease;
}

.vc-hero__btn-inner i {
    font-size: 1rem;
    color: var(--btn-accent);
    animation: vcBtnIconPulse 2.4s ease-in-out infinite;
    filter: drop-shadow(0 0 6px var(--btn-glow));
}

@keyframes vcBtnIconPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}

.vc-hero__btn:hover {
    animation-play-state: paused;
    transform: translateY(-10px) scale(1.04);
}

.vc-hero__btn:hover .vc-hero__btn-inner {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14),
                0 14px 36px rgba(0, 0, 0, 0.55),
                0 0 40px var(--btn-glow);
}

.vc-hero__btn:hover .vc-hero__btn-ring {
    opacity: 1;
    animation-duration: 1.2s;
}

.vc-hero__btn--download {
    --btn-accent: #f87171;
    --btn-glow: rgba(248, 113, 113, 0.4);
}

.vc-hero__btn--register {
    --btn-accent: #60a5fa;
    --btn-glow: rgba(96, 165, 250, 0.4);
}

.vc-hero__btn--vote {
    --btn-accent: #f5d372;
    --btn-glow: rgba(245, 211, 114, 0.4);
}

.vc-hero__stats-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    font-family: var(--vc-font-h);
    font-size: 0.78rem;
    color: var(--vc-gold);
    border: 1px solid var(--vc-border);
    border-radius: 30px;
    background: rgba(212, 175, 55, 0.04);
    letter-spacing: 0.06em;
}

.vc-hero__stats-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vc-green);
    box-shadow: 0 0 8px var(--vc-green);
    animation: vcPulse 2s ease-in-out infinite;
}

/* ── Hero Floating Side Icons ───────────────────────────────── */
.vc-hero__side-icons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vc-hero__side-icons--left {
    left: 24px;
}

.vc-hero__side-icons--right {
    right: 24px;
}

.vc-hero__side-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    background: rgba(8, 8, 16, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(212, 175, 55, 0.2);
    color: rgba(255, 255, 255, 0.65);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    position: relative;
}

/* Hero social — circular animated buttons */
.vc-hero__social-btn {
    --social-glow: rgba(255, 255, 255, 0.4);
    --social-color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.28);
    cursor: pointer;
    isolation: isolate;
    animation: vcSocialFloat 3.2s ease-in-out infinite;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.vc-hero__social-btn--facebook { animation-delay: 0s; }
.vc-hero__social-btn--discord  { animation-delay: 0.4s; }
.vc-hero__social-btn--youtube  { animation-delay: 0.8s; }
.vc-hero__social-btn--whatsapp { animation-delay: 1.2s; }

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

.vc-hero__social-btn i {
    position: relative;
    z-index: 2;
    animation: vcSocialIconPop 3.2s ease-in-out infinite;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.vc-hero__social-btn--facebook i { animation-delay: 0s; }
.vc-hero__social-btn--discord i  { animation-delay: 0.4s; }
.vc-hero__social-btn--youtube i  { animation-delay: 0.8s; }
.vc-hero__social-btn--whatsapp i { animation-delay: 1.2s; }

@keyframes vcSocialIconPop {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
}

/* Rotating color ring */
.vc-hero__social-btn::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 0deg, var(--social-glow), rgba(255, 255, 255, 0.5), transparent 55%, var(--social-glow));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    animation: vcSocialSpin 3s linear infinite;
}

@keyframes vcSocialSpin {
    to { transform: rotate(360deg); }
}

/* Pulsing ripple */
.vc-hero__social-btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--social-glow);
    z-index: -1;
    animation: vcSocialRipple 2.4s ease-out infinite;
}

@keyframes vcSocialRipple {
    0%   { transform: scale(1);   opacity: 0.85; }
    70%  { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
}

.vc-hero__social-btn:hover {
    animation-play-state: paused;
    transform: translateY(-16px) scale(1.14);
    border-color: rgba(255, 255, 255, 0.55);
}

.vc-hero__social-btn:hover i {
    animation-play-state: paused;
    transform: scale(1.15);
}

.vc-hero__social-btn:hover::before {
    animation-duration: 1.5s;
}

.vc-hero__social-btn--facebook {
    --social-glow: #1877f2;
    background: radial-gradient(circle at 35% 30%, #4d9bff, #1877f2 55%, #0d5bbf);
    box-shadow: 0 0 22px rgba(24, 119, 242, 0.65), 0 8px 24px rgba(0, 0, 0, 0.45);
}
.vc-hero__social-btn--facebook:hover {
    box-shadow: 0 0 38px rgba(24, 119, 242, 0.9), 0 0 70px rgba(24, 119, 242, 0.35), 0 12px 28px rgba(0, 0, 0, 0.5);
}

.vc-hero__social-btn--discord {
    --social-glow: #5865f2;
    background: radial-gradient(circle at 35% 30%, #7b85ff, #5865f2 55%, #4048c8);
    box-shadow: 0 0 22px rgba(88, 101, 242, 0.65), 0 8px 24px rgba(0, 0, 0, 0.45);
}
.vc-hero__social-btn--discord:hover {
    box-shadow: 0 0 38px rgba(88, 101, 242, 0.9), 0 0 70px rgba(88, 101, 242, 0.35), 0 12px 28px rgba(0, 0, 0, 0.5);
}

.vc-hero__social-btn--youtube {
    --social-glow: #ff0000;
    background: radial-gradient(circle at 35% 30%, #ff4d4d, #ff0000 55%, #cc0000);
    box-shadow: 0 0 22px rgba(255, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.45);
}
.vc-hero__social-btn--youtube:hover {
    box-shadow: 0 0 38px rgba(255, 0, 0, 0.85), 0 0 70px rgba(255, 0, 0, 0.3), 0 12px 28px rgba(0, 0, 0, 0.5);
}

.vc-hero__social-btn--whatsapp {
    --social-glow: #25d366;
    background: radial-gradient(circle at 35% 30%, #3fe07a, #25d366 55%, #1aab52);
    box-shadow: 0 0 22px rgba(37, 211, 102, 0.6), 0 8px 24px rgba(0, 0, 0, 0.45);
}
.vc-hero__social-btn--whatsapp:hover {
    box-shadow: 0 0 38px rgba(37, 211, 102, 0.85), 0 0 70px rgba(37, 211, 102, 0.3), 0 12px 28px rgba(0, 0, 0, 0.5);
}

.vc-hero__social-btn--disabled {
    opacity: 0.35;
    filter: grayscale(0.8);
    cursor: default;
    pointer-events: none;
    animation: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.vc-hero__social-btn--disabled::before,
.vc-hero__social-btn--disabled::after {
    display: none;
}

.vc-hero__social-btn--disabled i {
    animation: none;
}

.vc-hero__side-icon:hover {
    color: var(--vc-gold);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.2), 0 6px 20px rgba(0, 0, 0, 0.35);
    transform: translateY(-3px) scale(1.08);
}

.vc-hero__side-icon--feature {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 16px;
}

.vc-hero__side-icon-label {
    font-family: var(--vc-font-h);
    font-size: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
    margin-top: 1px;
}

/* ── Hero Social Icons ───────────────────────────────────────── */
.vc-hero__social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vc-hero__social--inline {
    justify-content: center;
    margin-top: 28px;
    gap: 16px;
}

.vc-hero__social--rail {
    display: none;
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 18px;
    z-index: 10;
}

@media (min-width: 1025px) {
    .vc-hero__social--inline {
        display: none;
    }

    .vc-hero__social--rail {
        display: flex;
    }
}

/* ═════════════════════════════════════════════════════════════════
   6. SERVER CARDS (REFERENCE MATCHED)
   ═════════════════════════════════════════════════════════════════ */
.vc-servers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin-bottom: 40px;
}

.vc-server {
    position: relative;
    border-radius: 8px;
    overflow: visible; /* To allow the banner rod to stick out */
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 15px 45px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.6);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #050609;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.vc-server::before {
    content: '';
    position: absolute;
    inset: 2px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 6px;
    pointer-events: none;
    z-index: 1;
}

.vc-server:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.15);
    transform: translateY(-4px);
}

.vc-server__bg {
    position: absolute;
    inset: 3px;
    border-radius: 5px;
    background-size: cover;
    background-position: center top;
    z-index: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.8;
}

.vc-server:hover .vc-server__bg {
    transform: scale(1.04);
    opacity: 0.9;
}

.vc-server__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(5, 6, 9, 0.1) 0%,
            rgba(5, 6, 9, 0.4) 45%,
            rgba(3, 4, 7, 0.9) 85%,
            #030407 100%);
    z-index: 1;
    border-radius: 7px;
}

.vc-server__body {
    position: relative;
    z-index: 2;
    padding: 36px 36px 36px 140px; /* Space for the banner on the left */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* ── Banner Container ── */
.vc-banner-container {
    position: absolute;
    top: -12px;
    left: 20px;
    width: 86px;
    z-index: 10;
}

/* Golden rod supporting the banner flag */
.vc-banner-rod {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100px;
    left: -7px;
    height: 10px;
}

.vc-banner-rod-bar {
    width: 84px;
    height: 4px;
    background: linear-gradient(90deg, #785a1a 0%, #d4af37 50%, #785a1a 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    border-radius: 1px;
}

.vc-banner-finial {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffe39a 0%, #b8860b 80%, #785a1a 100%);
    border: 1px solid #573e0c;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Runic Banner Flag Outer Border */
.vc-banner-flag {
    width: 86px;
    height: 156px;
    background: linear-gradient(135deg, #d4af37 0%, #856414 100%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 50% 100%, 0% 90%);
    padding: 1px 2px 2px 2px; /* Emulates a 1px-2px gold border */
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.75));
    margin-top: -2px;
}

.vc-banner-flag-inner {
    width: 100%;
    height: 100%;
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 50% 100%, 0% 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}

.vc-banner-flag--ragnarok .vc-banner-flag-inner {
    background: linear-gradient(180deg, #0e1e3b 0%, #050d1c 100%);
}

.vc-banner-flag--viking .vc-banner-flag-inner {
    background: linear-gradient(180deg, #420a0a 0%, #1f0404 100%);
}

.vc-banner-crest {
    width: 54px;
    height: 80px;
    opacity: 0.95;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    animation: vcCrestFloat 4s ease-in-out infinite;
}

.vc-banner-flag--ragnarok .vc-banner-crest {
    color: #60a5fa;
}

.vc-banner-flag--viking .vc-banner-crest {
    color: #f87171;
}

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

/* Header Row */
.vc-server__header-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 8px;
}

.vc-server__name {
    font-family: var(--vc-font-h);
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
    margin: 0;
    line-height: 1;
}

.vc-server__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.vc-server__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: vcPulse 2s infinite;
}

/* Player Count */
.vc-server__count-block {
    margin-bottom: 20px;
    margin-top: 10px;
}

.vc-server__count {
    font-family: var(--vc-font-h);
    font-size: 3.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.95);
}

.vc-server__count-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #8b8ea8;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 6px;
}

/* Rates Row */
.vc-server__rates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    padding-top: 0;
    border-top: none;
}

.vc-server__rate {
    display: flex;
    flex-direction: column;
}

.vc-server__rate-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 4px;
}

.vc-server__rate-value {
    font-family: var(--vc-font-b);
    font-size: 1.05rem;
    font-weight: 700;
    color: #e2e8f0;
}

/* Action Button */
.vc-server__action {
    display: flex;
    justify-content: flex-start;
}

.vc-server__details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    padding: 11px 0;
    font-family: var(--vc-font-h);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vc-server__details--ragnarok {
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: linear-gradient(180deg, #101f42 0%, #060b17 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 10px rgba(0, 0, 0, 0.5);
}

.vc-server__details--ragnarok:hover {
    background: linear-gradient(180deg, #1a326b 0%, #101f42 100%);
    color: #ffffff;
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25), 0 4px 12px rgba(0,0,0,0.4);
    transform: translateY(-2px);
}

.vc-server__details--viking {
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: linear-gradient(180deg, #450c0c 0%, #200505 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 10px rgba(0, 0, 0, 0.5);
}

.vc-server__details--viking:hover {
    background: linear-gradient(180deg, #6e1515 0%, #450c0c 100%);
    color: #ffffff;
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25), 0 4px 12px rgba(0,0,0,0.4);
    transform: translateY(-2px);
}


/* ═════════════════════════════════════════════════════════════════
   7. STATISTICS BAR (REFERENCE MATCHED UNIFIED STRIP)
   ═════════════════════════════════════════════════════════════════ */
.vc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    background: rgba(6, 7, 10, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.85), inset 0 0 25px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: visible; /* to allow corners or ornaments */
    margin-bottom: 24px;
    padding: 4px;
}

/* Elegant metal corner ornaments */
.vc-corner-ornament {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #d4af37;
    z-index: 5;
    pointer-events: none;
    opacity: 0.8;
}

.vc-corner-ornament::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #d4af37;
    border-radius: 50%;
}

.vc-corner-ornament--tl {
    top: 6px;
    left: 6px;
    border-right: none;
    border-bottom: none;
}
.vc-corner-ornament--tl::after {
    top: -1px;
    left: -1px;
}

.vc-corner-ornament--tr {
    top: 6px;
    right: 6px;
    border-left: none;
    border-bottom: none;
}
.vc-corner-ornament--tr::after {
    top: -1px;
    right: -1px;
}

.vc-corner-ornament--bl {
    bottom: 6px;
    left: 6px;
    border-right: none;
    border-top: none;
}
.vc-corner-ornament--bl::after {
    bottom: -1px;
    left: -1px;
}

.vc-corner-ornament--br {
    bottom: 6px;
    right: 6px;
    border-left: none;
    border-top: none;
}
.vc-corner-ornament--br::after {
    bottom: -1px;
    right: -1px;
}

.vc-stats__col {
    padding: 24px 20px;
    text-align: center;
    border-right: 1px solid rgba(212, 175, 55, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.vc-stats__col:last-child {
    border-right: none;
}

.vc-stats__header {
    font-family: var(--vc-font-h);
    font-size: 0.8rem;
    font-weight: 700;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.vc-stats__servers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.vc-stats__server-block {
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    padding: 12px 8px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 124px;
}

.vc-stats__server-block:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-2px);
}

.vc-stats__server-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: var(--vc-font-h);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.vc-stats__server-label--ragnarok {
    color: #60a5fa;
}

.vc-stats__server-label--viking {
    color: #f87171;
}

.vc-stats__value {
    font-family: var(--vc-font-h);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 3px 6px rgba(0,0,0,0.8);
    margin: 4px 0;
}

.vc-stats__value--sm {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 2px 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.vc-stats-badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6px 0;
    height: 38px;
}

.vc-stats-badge {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.vc-stats__detail {
    font-size: 0.65rem;
    color: #747d96;
    font-weight: 600;
    margin-top: auto;
}

/* ═════════════════════════════════════════════════════════════════ */

/* ═════════════════════════════════════════════════════════════════
   8. GALLERY — Carousel + modal/lightbox
   ═════════════════════════════════════════════════════════════════ */
.vc-gallery-empty {
    text-align: center;
    padding: 48px 24px;
    border: 1px dashed rgba(212, 175, 55, 0.2);
    border-radius: var(--vc-radius);
    color: var(--vc-text-dim);
}

.vc-gallery-empty i {
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.35);
    margin-bottom: 12px;
}

.vc-gallery-carousel {
    position: relative;
    padding: 0 52px;
}

.vc-gallery-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 2px 14px;
}

.vc-gallery-track::-webkit-scrollbar {
    display: none;
}

.vc-gallery-card {
    position: relative;
    flex: 0 0 clamp(240px, 28vw, 320px);
    aspect-ratio: 16 / 10;
    border: 1px solid var(--vc-border);
    border-radius: var(--vc-radius);
    overflow: hidden;
    background: #06070a;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    text-align: start;
}

.vc-gallery-card:hover {
    transform: translateY(-4px);
    border-color: var(--vc-border-hover);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 24px rgba(212, 175, 55, 0.12);
}

.vc-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.vc-gallery-card:hover img {
    transform: scale(1.06);
}

.vc-gallery-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.55) 100%);
    opacity: 0.85;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.vc-gallery-card:hover .vc-gallery-card__overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.vc-gallery-card__action {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 4, 7, 0.78);
    border: 2px solid rgba(212, 175, 55, 0.5);
    color: var(--vc-gold);
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.vc-gallery-card--video .vc-gallery-card__action i {
    margin-left: 3px;
}

.vc-gallery-card:hover .vc-gallery-card__action {
    transform: scale(1.08);
    border-color: var(--vc-gold);
    background: rgba(212, 175, 55, 0.18);
}

.vc-gallery-card__badge {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vc-gold-light);
    background: rgba(3, 4, 7, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.vc-gallery-card__title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 28px 12px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vc-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(3, 4, 7, 0.88);
    color: var(--vc-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.25s ease;
}

.vc-gallery-nav:hover {
    border-color: var(--vc-gold);
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}

.vc-gallery-nav--prev { inset-inline-start: 0; }
.vc-gallery-nav--next { inset-inline-end: 0; }

.vc-gallery-modal,
.vc-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    padding: 24px;
}

.vc-gallery-modal__dialog {
    position: relative;
    width: min(960px, 100%);
}

.vc-gallery-modal__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--vc-radius);
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.12);
}

.vc-gallery-modal__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.vc-gallery-modal__title,
.vc-gallery-lightbox__caption {
    margin-top: 14px;
    text-align: center;
    color: var(--vc-gold-light);
    font-size: 0.92rem;
    font-weight: 600;
}

.vc-gallery-modal__close,
.vc-gallery-lightbox__close {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(3, 4, 7, 0.88);
    color: var(--vc-gold);
    cursor: pointer;
    z-index: 2;
}

.vc-gallery-lightbox img {
    max-width: min(92vw, 1100px);
    max-height: 78vh;
    border-radius: var(--vc-radius);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 80px rgba(212, 175, 55, 0.12);
}

.vc-gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(3, 4, 7, 0.88);
    color: var(--vc-gold);
    cursor: pointer;
}

.vc-gallery-lightbox__nav--prev { inset-inline-start: 24px; }
.vc-gallery-lightbox__nav--next { inset-inline-end: 24px; }

[x-cloak] { display: none !important; }

/* ═════════════════════════════════════════════════════════════════
   9. RANKINGS
   ═════════════════════════════════════════════════════════════════ */
.vc-rankings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.vc-rank-panel {
    border: 1px solid var(--vc-border);
    border-radius: var(--vc-radius);
    background: var(--vc-bg-card);
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(212, 175, 55, 0.03);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.vc-rank-panel:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 175, 55, 0.08);
}

.vc-rank-panel__header {
    font-family: var(--vc-font-h);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--vc-gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 16px 14px;
    text-align: center;
    border-bottom: 1px solid var(--vc-border);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.01) 100%);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.vc-rank-panel__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.vc-rank-server-col {
    padding: 12px 14px 16px;
}

.vc-rank-server-col:first-child {
    border-right: 1px solid rgba(212, 175, 55, 0.12);
}

.vc-rank-server-col__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.vc-rank-entry {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 4px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.vc-rank-entry:last-child {
    border-bottom: none;
}

.vc-rank-pos {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    flex-shrink: 0;
}

.vc-rank-pos--1 {
    background: rgba(251, 191, 36, 0.25);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.vc-rank-pos--2 {
    background: rgba(148, 163, 184, 0.25);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.vc-rank-pos--3 {
    background: rgba(205, 127, 50, 0.25);
    color: #cd7f32;
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.vc-rank-pos--default {
    background: rgba(75, 85, 99, 0.2);
    color: #8892b0;
    border: 1px solid rgba(75, 85, 99, 0.15);
}

.vc-rank-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--vc-text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}

.vc-rank-name:hover {
    color: var(--vc-gold);
}

.vc-rank-val {
    font-family: var(--vc-font-h);
    font-size: 0.72rem;
    color: var(--vc-text-muted);
    white-space: nowrap;
}

/* Last Champion special column */
.vc-champion-col {
    text-align: center;
    padding: 16px 14px 20px;
}

.vc-champion-col:first-child {
    border-right: 1px solid rgba(212, 175, 55, 0.12);
}

.vc-champion__avatar {
    width: 90px;
    height: 110px;
    margin: 0 auto 10px;
    border-radius: var(--vc-radius);
    border: 1px solid var(--vc-border);
    background: linear-gradient(135deg, #090a12 0%, #15090e 100%);
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.25), 0 6px 16px rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vc-gold);
    font-size: 2.6rem;
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s, transform 0.3s;
}

.vc-champion-col:hover .vc-champion__avatar {
    border-color: rgba(212, 175, 55, 0.55);
    transform: translateY(-2px);
}

.vc-champion__avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 80%);
    pointer-events: none;
}

.vc-champion__avatar--ragnarok {
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #060b1e 0%, #030612 100%);
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.3), 0 6px 16px rgba(0, 0, 0, 0.75);
    color: #60a5fa;
}

.vc-champion__avatar--viking {
    border-color: rgba(220, 38, 38, 0.5);
    background: linear-gradient(135deg, #1e0606 0%, #0c0303 100%);
    box-shadow: inset 0 0 20px rgba(220, 38, 38, 0.3), 0 6px 16px rgba(0, 0, 0, 0.75);
    color: #f87171;
}

.vc-champion__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vc-champion__name {
    font-family: var(--vc-font-h);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.vc-champion__title {
    font-size: 0.68rem;
    color: var(--vc-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.vc-champion__date {
    font-size: 0.55rem;
    color: var(--vc-text-dim);
    margin-top: 2px;
}

/* ═════════════════════════════════════════════════════════════════
   10. NEWS
   ═════════════════════════════════════════════════════════════════ */
.vc-news-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.vc-news-card {
    flex: 1;
    border: 1px solid var(--vc-border);
    border-radius: var(--vc-radius);
    background: var(--vc-bg-card);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.vc-news-card:hover {
    border-color: var(--vc-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 175, 55, 0.1);
}

.vc-news-card__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--vc-bg-panel);
}

.vc-news-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vc-news-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.vc-news-card__body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vc-news-card__title {
    font-family: var(--vc-font-h);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.35;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.vc-news-card__date {
    font-size: 0.75rem;
    color: var(--vc-text-muted);
    margin-bottom: 12px;
}

.vc-news-card__link {
    font-family: var(--vc-font-h);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--vc-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.3s;
}

.vc-news-card__link:hover {
    color: var(--vc-gold-light);
}

.vc-news-all-card {
    flex: 0 0 180px;
    border: 1px solid var(--vc-border);
    border-radius: var(--vc-radius);
    background: var(--vc-bg-card);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    display: flex;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.vc-news-all-card:hover {
    border-color: var(--vc-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 175, 55, 0.1);
}

.vc-news-all-card__inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px;
    background: rgba(212, 175, 55, 0.03);
    color: var(--vc-gold);
    font-family: var(--vc-font-h);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.vc-news-all-card__inner i {
    font-size: 2.2rem;
    transition: transform 0.3s;
}

.vc-news-all-card:hover .vc-news-all-card__inner i {
    transform: scale(1.15);
}

/* ═════════════════════════════════════════════════════════════════
   11. EVENTS
   ═════════════════════════════════════════════════════════════════ */
.vc-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.vc-event {
    border: 1px solid var(--vc-border);
    border-radius: var(--vc-radius);
    background: var(--vc-bg-card);
    padding: 20px 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.vc-event:hover {
    border-color: var(--vc-border-hover);
    transform: translateY(-2px);
}

.vc-event__glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0.6;
}

.vc-event__icon {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.vc-event__label {
    font-family: var(--vc-font-h);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.vc-event__cd {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 6px;
}

.vc-event__cd-cell {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 5px 7px;
    font-family: var(--vc-font-h);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    min-width: 32px;
    text-align: center;
}

.vc-event__cd-sep {
    color: var(--vc-text-dim);
    font-size: 0.9rem;
    line-height: 2.2;
}

.vc-event__cd-labels {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--vc-text-dim);
    margin-bottom: 8px;
}

.vc-event__schedule {
    font-size: 0.62rem;
    color: var(--vc-text-dim);
}

.vc-event__winner {
    font-size: 0.62rem;
    margin-top: 4px;
}

/* ═════════════════════════════════════════════════════════════════
   12. ANIMATIONS
   ═════════════════════════════════════════════════════════════════ */
@keyframes vcFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes vcPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes vcKenBurns {
    0%, 100% {
        transform: scale(1.05) translate(0, 0);
    }
    50% {
        transform: scale(1.12) translate(-1%, -1.5%);
    }
}

@keyframes vcEmberRise {
    0% {
        transform: translateY(0) translateX(0) scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-35vh) translateX(15px) scale(1.2);
        opacity: 0.5;
    }
    75% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-80vh) translateX(-15px) scale(0.4);
        opacity: 0;
    }
}

.vc-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.vc-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═════════════════════════════════════════════════════════════════
   13. RESPONSIVE
   ═════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .vc-hero__side-icons--left {
        left: 12px;
    }

    .vc-hero__side-icons--right {
        right: 12px;
    }
}

@media (max-width: 1024px) {
    .vc-hero__side-icons {
        display: none;
    }

    .vc-rankings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vc-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vc-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .vc-stats__col:nth-child(2) {
        border-right: none;
    }

    .vc-stats__col:nth-child(1),
    .vc-stats__col:nth-child(2) {
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
}

@media (max-width: 768px) {
    .vc-servers-grid {
        grid-template-columns: 1fr;
    }

    .vc-hero__logo {
        max-width: 260px;
    }

    .vc-hero__btns {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .vc-hero__btn {
        width: 100%;
        max-width: 280px;
    }

    .vc-hero__subtitle {
        font-size: 0.8rem;
        letter-spacing: 0.15em;
    }

    .vc-heading__text {
        font-size: 1.1rem;
    }

    .vc-heading__line {
        max-width: 60px;
    }

    .vc-gallery-carousel {
        padding: 0 40px;
    }

    .vc-gallery-card {
        flex-basis: clamp(210px, 42vw, 280px);
    }

    .vc-news-row {
        flex-direction: column;
    }

    .vc-news-all-card {
        flex: 1;
        min-height: 120px;
    }

    .vc-rankings-grid {
        grid-template-columns: 1fr;
    }

    .vc-stats {
        grid-template-columns: 1fr;
    }

    .vc-stats__col {
        border-right: none !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .vc-stats__col:last-child {
        border-bottom: none;
    }

    .vc-section {
        padding: 40px 0;
    }

    .vc-events-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .vc-hero__logo {
        max-width: 200px;
    }

    .vc-hero__btn-inner {
        font-size: 0.78rem;
        padding: 0 22px;
    }

    .vc-server__count {
        font-size: 2.4rem;
    }

    .vc-server__name {
        font-size: 1.3rem;
    }

    .vc-events-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================================================== */
/* Reference match override                                                   */
/* Dense dark fantasy portal layout inspired by the supplied reference.        */
/* ========================================================================== */

body {
    background:
        radial-gradient(circle at 50% 0%, rgba(105, 72, 26, 0.14), transparent 32rem),
        linear-gradient(180deg, #04070a 0%, #020304 46%, #050403 100%) !important;
}

.epic-bg {
    opacity: 0;
    pointer-events: none;
}

.epic-content {
    background:
        radial-gradient(circle at 50% 7%, rgba(212, 175, 55, 0.08), transparent 20rem),
        linear-gradient(180deg, rgba(1, 3, 5, 0.2) 0%, rgba(1, 3, 5, 0.96) 38rem, #020304 100%);
}

.nav-glass {
    background: linear-gradient(180deg, rgba(3, 6, 9, 0.98) 0%, rgba(2, 4, 7, 0.98) 100%) !important;
    border-bottom: 1px solid rgba(187, 128, 45, 0.42) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.62) !important;
}

.nav-glass__inner {
    height: 58px !important;
    transition: height 0.3s ease !important;
}

.nav-glass--shrunk .nav-glass__inner {
    height: 48px !important;
}

.nav-glass__brand {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    height: 58px !important;
    width: 170px !important;
    transition: height 0.3s ease, width 0.3s ease !important;
}

.nav-glass--shrunk .nav-glass__brand {
    height: 48px !important;
    width: 140px !important;
}

.nav-glass__logo {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-40%) !important;
    height: 92px !important;
    width: auto !important;
    max-width: none !important;
    filter: drop-shadow(0 0 16px rgba(212, 142, 45, 0.48)) !important;
    transition: height 0.3s ease, transform 0.3s ease !important;
    transform-origin: left center !important;
}

.nav-glass__brand:hover .nav-glass__logo {
    transform: translateY(-40%) scale(1.06) !important;
}

.nav-glass--shrunk .nav-glass__logo {
    height: 72px !important;
    transform: translateY(-40%) !important;
}

.nav-glass--shrunk .nav-glass__brand:hover .nav-glass__logo {
    transform: translateY(-40%) scale(1.06) !important;
}

.nav-link {
    border-radius: 4px !important;
    color: rgba(245, 243, 238, 0.95) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    padding: 0.5rem 0.85rem !important;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link--active {
    color: #f0c76a !important;
    background: rgba(212, 175, 55, 0.05) !important;
    transform: translateY(-2px);
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

.nav-link--active::after,
.nav-link:hover::after {
    width: 50% !important;
    left: 25% !important;
}

.nav-cta {
    border-radius: 3px !important;
    font-size: 11px !important;
    letter-spacing: 0.09em !important;
    text-transform: uppercase;
}

.nav-btn-login {
    border-radius: 3px !important;
    border-color: rgba(205, 147, 59, 0.62) !important;
    background: rgba(2, 4, 7, 0.75) !important;
    color: #eadfc6 !important;
    padding: 10px 23px !important;
    letter-spacing: 0.09em !important;
}

.nav-btn-register {
    border-radius: 3px !important;
    background: linear-gradient(180deg, #f3c66b 0%, #c58b2c 100%) !important;
    color: #1d1004 !important;
    padding: 10px 24px !important;
    box-shadow: inset 0 1px 0 rgba(255, 236, 178, 0.55), 0 0 18px rgba(197, 139, 44, 0.18);
    letter-spacing: 0.09em !important;
}

.vc-container {
    max-width: 1180px;
    padding: 0 18px;
}

.vc-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 0%, rgba(114, 76, 25, 0.07), transparent 24rem),
        linear-gradient(180deg, rgba(3, 6, 8, 0.96), rgba(2, 3, 4, 0.98));
}

.vc-hero__stats-pill {
    border-radius: 4px;
    background: rgba(5, 8, 8, 0.72);
    border-color: rgba(195, 139, 48, 0.58);
    color: #efd381;
    font-size: 0.74rem;
    padding: 8px 21px;
    box-shadow: inset 0 0 18px rgba(201, 146, 56, 0.06), 0 8px 18px rgba(0, 0, 0, 0.42);
}

/* Redundant server and stats overrides removed to allow new styles to apply */

.vc-btn {
    border-radius: 3px;
    padding: 9px 30px;
    font-size: 0.68rem;
    background: rgba(5, 7, 9, 0.82);
}

.vc-rankings-grid {
    gap: 0;
    border: 1px solid rgba(171, 108, 36, 0.62);
    background: rgba(3, 5, 7, 0.92);
    margin-bottom: 14px;
}

.vc-rank-panel {
    position: relative;
    border: 0;
    border-right: 1px solid rgba(171, 108, 36, 0.34);
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(180deg, rgba(8, 10, 13, 0.96), rgba(3, 5, 7, 0.98));
}

.vc-rank-panel:last-child {
    border-right: 0;
}

.vc-rank-panel__header {
    padding: 14px 10px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.vc-rank-server-col {
    padding: 10px 12px 14px;
}

.vc-rank-entry {
    padding: 5px 2px;
    font-size: 0.72rem;
}

.vc-rank-pos {
    width: 17px;
    height: 17px;
    font-size: 0.58rem;
}

.vc-rank-name {
    font-size: 0.72rem;
}

.vc-rank-val {
    font-size: 0.62rem;
}

.vc-champion__avatar {
    width: 80px;
    height: 96px;
    border-radius: 3px;
}

.vc-news-row {
    gap: 2px;
    border: 1px solid rgba(171, 108, 36, 0.62);
    background: rgba(3, 5, 7, 0.92);
    padding: 2px;
}

.vc-news-card,
.vc-news-all-card {
    position: relative;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background: linear-gradient(180deg, rgba(8, 10, 13, 0.98), rgba(3, 5, 7, 0.98));
}

.vc-news-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 106px;
}

.vc-news-card__img-wrap {
    aspect-ratio: auto;
    height: 100%;
}

.vc-news-card__body {
    padding: 13px 14px;
}

.vc-news-card__title {
    font-size: 0.76rem;
    line-height: 1.25;
}

.vc-news-card__date {
    font-size: 0.62rem;
    margin-bottom: 8px;
}

.vc-news-card__link {
    font-size: 0.6rem;
}

.vc-news-all-card {
    flex-basis: 190px;
}

.vc-news-all-card__inner {
    padding: 18px;
    font-size: 0.68rem;
}

footer,
.site-footer {
    margin-top: 34px !important;
    background: linear-gradient(180deg, rgba(4, 4, 5, 0.97) 0%, rgba(1, 1, 2, 0.99) 100%) !important;
}

@media (max-width: 1024px) {
    .nav-glass__inner {
        height: 62px !important;
    }

    .nav-glass--shrunk .nav-glass__inner {
        height: 52px !important;
    }

    .vc-servers-grid,
    .vc-rankings-grid {
        grid-template-columns: 1fr;
    }

    .vc-rank-panel {
        border-right: 0;
        border-bottom: 1px solid rgba(171, 108, 36, 0.34);
    }

    .vc-rank-panel:last-child {
        border-bottom: 0;
    }

    .vc-gallery-carousel {
        padding: 0 34px;
    }
}

@media (max-width: 768px) {
    .vc-hero {
        min-height: 68vh;
    }

    .vc-hero__content {
        transform: none;
        padding-top: 42px;
    }

    .vc-hero__logo {
        max-width: 260px;
    }

    .vc-hero__subtitle {
        font-size: 0.76rem;
        letter-spacing: 0.1em;
    }

    .vc-server {
        min-height: 330px;
    }

    .vc-banner-container {
        transform: scale(0.75);
        transform-origin: top left;
        left: 14px;
        top: -8px;
    }

    .vc-server__body {
        padding: 25px 22px 22px 100px;
    }

    .vc-server__name {
        font-size: 1.45rem;
    }

    .vc-server__count {
        font-size: 2.7rem;
    }

    .vc-stats {
        grid-template-columns: 1fr;
    }

    .vc-gallery-card {
        flex-basis: 82vw;
    }

    .vc-gallery-nav {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .vc-news-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .vc-news-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }
}

/* Keep section wash layers behind their own content only. */
.vc-section {
    isolation: isolate;
}

/* Ambient glow on sides for servers section to fill empty space naturally */
.vc-server-section-ambient {
    position: relative;
    overflow: hidden;
}

.vc-server-section-ambient::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.03) 40%, transparent 70%);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

.vc-server-section-ambient::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.06) 0%, rgba(220, 38, 38, 0.02) 40%, transparent 70%);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

/* ═════════════════════════════════════════════════════════════════
   SINGLE SERVER MODE — adaptive layout when only one realm exists
   ═════════════════════════════════════════════════════════════════ */
.vc-single-server .vc-servers-grid {
    grid-template-columns: 1fr;
    max-width: 960px;
    margin: 0 auto 40px;
}

.vc-single-server .vc-server {
    min-height: 320px;
}

.vc-single-server .vc-server__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    align-content: center;
    padding: 28px 40px 28px 150px;
    gap: 6px 36px;
}

.vc-single-server .vc-server__header-block {
    grid-column: 1;
    grid-row: 1;
}

.vc-single-server .vc-server__count-block {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    text-align: center;
    padding-inline-start: 28px;
    border-inline-start: 1px solid rgba(212, 175, 55, 0.18);
}

.vc-single-server .vc-server__count {
    font-size: 3.4rem;
}

.vc-single-server .vc-server__rates {
    grid-column: 1;
    grid-row: 2;
    max-width: 420px;
}

.vc-single-server .vc-server__action {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 4px;
}

.vc-single-server .vc-server-section-ambient::before {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(59, 130, 246, 0.05) 35%, transparent 70%);
}

.vc-single-server .vc-server-section-ambient::after {
    display: none;
}

.vc-single-server .vc-stats__servers {
    grid-template-columns: 1fr;
}

.vc-single-server .vc-stats__server-block {
    min-height: 96px;
    padding: 16px 12px;
}

.vc-single-server .vc-rank-panel__body {
    grid-template-columns: 1fr;
}

.vc-single-server .vc-rank-server-col:first-child {
    border-right: none;
}

.vc-single-server .vc-rank-server-col {
    padding-top: 16px;
}

@media (max-width: 768px) {
    .vc-single-server .vc-server__body {
        grid-template-columns: 1fr;
        padding: 24px 24px 24px 120px;
        gap: 12px;
    }

    .vc-single-server .vc-server__count-block {
        grid-column: 1;
        grid-row: auto;
        padding-inline-start: 0;
        padding-top: 12px;
        border-inline-start: none;
        border-top: 1px solid rgba(212, 175, 55, 0.12);
    }

    .vc-single-server .vc-server__count {
        font-size: 2.8rem;
    }

    .vc-single-server .vc-server__rates {
        max-width: none;
    }
}
