/* ===========================================
   LOS SANTOS AFTER DARK - World of Darkness Theme
   AGGRESSIVE OVERRIDES FOR MOBIRISE
   =========================================== */

/* ===== Local WoD Fonts ===== */
@font-face {
    font-family: 'Balthazar';
    src: url('../fonts/WoD/Balth___.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Abbess';
    src: url('../fonts/WoD/ABBESS__.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Decayed';
    src: url('../fonts/WoD/DECCD___.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Perceval Bold';
    src: url('../fonts/WoD/PERCBOLD.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Google Fonts Import - Reliable CDN */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&family=Sorts+Mill+Goudy:ital@0;1&display=swap');

/* ===== CSS Variables ===== */
:root {
    --vtm-crimson: #8B0000;
    --vtm-blood: #C41E3A;
    --vtm-blood-glow: rgba(196, 30, 58, 0.6);
    --wta-green: #2F4F2F;
    --wta-feral: #3CB371;
    --c20-purple: #4A0E4E;
    --c20-dream: #9932CC;
    --h20-silver: #C0C0C0;
    --h20-steel: #708090;
    --wod-black: #0A0A0A;
    --wod-void: #0D0D0D;
    --wod-shadow: #1A1A1A;
    --wod-bone: #E8E8E8;
    --wod-pale: #F5F5F5;
    /* Purple & Silver accent colors */
    --purple-primary: #8B5CF6;
    --purple-light: #A78BFA;
    --purple-dark: #6D28D9;
    --purple-glow: rgba(139, 92, 246, 0.6);
    --silver-primary: #C0C0C0;
    --silver-light: #E8E8E8;
    /* Font families */
    --font-heading: 'Sorts Mill Goudy', 'Times New Roman', serif;
    --font-body: 'Crimson Text', Georgia, serif;
    --font-accent: 'Abbess', 'Balthazar', serif;
    --font-decayed: 'Decayed', 'Times New Roman', serif;
}

/* ===== GLOBAL OVERRIDES ===== */
html, body {
    background-color: #0A0A0A !important;
    color: #E8E8E8 !important;
    font-family: var(--font-body) !important;
}

body {
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(109, 40, 217, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(167, 139, 250, 0.05) 0%, transparent 60%),
        #0A0A0A !important;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}

/* ===== PURPLE RAIN EFFECT ===== */
.particles-container {
    display: none;
}

.rain {
    position: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.rain.back-row {
    z-index: 1;
    bottom: 60px;
    opacity: 0.5;
}

.drop {
    position: absolute;
    bottom: 100%;
    width: 15px;
    height: 120px;
    pointer-events: none;
    animation: drop 0.5s linear infinite;
}

@keyframes drop {
    0% {
        transform: translateY(0vh);
    }
    75% {
        transform: translateY(90vh);
    }
    100% {
        transform: translateY(90vh);
    }
}

.stem {
    width: 1px;
    height: 60%;
    margin-left: 7px;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0), rgba(139, 92, 246, 0.45));
    animation: stem 0.5s linear infinite;
}

@keyframes stem {
    0% {
        opacity: 1;
    }
    65% {
        opacity: 1;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.splat {
    width: 15px;
    height: 10px;
    border-top: 2px dotted rgba(139, 92, 246, 0.6);
    border-radius: 50%;
    opacity: 1;
    transform: scale(0);
    animation: splat 0.5s linear infinite;
}

@keyframes splat {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    80% {
        opacity: 1;
        transform: scale(0);
    }
    90% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

.hero-section {
    position: relative !important;
    overflow: visible !important;
}

/* ===== SECTION BACKGROUNDS ===== */
section,
section[data-bs-version],
[class*="cid-"] {
    background-color: rgba(13, 13, 13, 0.95) !important;
    background: rgba(13, 13, 13, 0.95) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: 
        radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(88, 28, 135, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.95) 100%) !important;
    padding: 0 !important;
}

/* Glowing orb behind hero text */
.hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 500px !important;
    height: 300px !important;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.3) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%) !important;
    filter: blur(40px) !important;
    animation: orbPulse 5s ease-in-out infinite !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

@keyframes orbPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.hero-section .text-wrapper {
    position: relative !important;
    z-index: 1 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.hero-section .mbr-section-btn {
    margin-top: 40px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Hero Eyebrow - Premier label */
.hero-eyebrow {
    font-family: 'Cinzel', serif !important;
    font-size: 0.85rem !important;
    letter-spacing: 5px !important;
    text-transform: uppercase !important;
    color: #c9a55a !important;
    margin-bottom: 25px !important;
    animation: heroFadeIn 0.8s ease-out !important;
    text-shadow: 0 0 20px rgba(201, 165, 90, 0.5) !important;
}

.hero-tagline {
    font-family: 'Crimson Text', serif !important;
    font-size: 1.35rem !important;
    max-width: 620px !important;
    margin: 30px auto 0 !important;
    opacity: 0.95 !important;
    color: #b8bdd4 !important;
    font-style: italic !important;
    line-height: 1.7 !important;
    animation: heroFadeIn 1.2s ease-out 0.4s backwards !important;
}

/* ===== PURPLE TEXT - TITLE ACCENT ===== */
.gold-text {
    background: linear-gradient(90deg, #E8E8E8, #A78BFA, #8B5CF6, #A78BFA, #E8E8E8) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
    animation: purple-shimmer 3s ease-in-out infinite !important;
    background-size: 300% 100% !important;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.4)) !important;
}

@keyframes purple-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== TYPOGRAPHY - GOTHIC FONTS ===== */
h1, h2, h3, h4, h5, h6,
.mbr-section-title,
[class*="display-1"],
[class*="display-2"],
[class*="display-5"] {
    font-family: var(--font-heading) !important;
    color: #E8E8E8 !important;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3), 0 2px 4px rgba(0,0,0,0.8) !important;
    letter-spacing: 2px !important;
}

.mbr-text,
.mbr-section-subtitle,
[class*="display-4"],
[class*="display-7"],
p, li, span {
    font-family: var(--font-body) !important;
    color: #C0C0C0 !important;
    line-height: 1.8 !important;
}

/* ===== GRADIENT TEXT - PURPLE THEME ===== */
.gradient-text {
    background: linear-gradient(90deg, #6D28D9, #8B5CF6, #6D28D9) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
    animation: purple-shimmer 3s ease-in-out infinite !important;
    background-size: 200% 100% !important;
}

@keyframes blood-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== NAVIGATION ===== */
.navbar,
.menu,
.menu1,
nav.navbar,
[class*="menu"] nav {
    background-color: rgba(10, 10, 10, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3) !important;
}

/* Centered Nav Links */
.navbar .container {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.navbar-brand {
    position: fixed !important;
    left: 45px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
}

.navbar-brand .gold-text,
.navbar-caption .gold-text {
    font-family: 'Balthazar', serif !important;
    font-size: 1.5rem !important;
    letter-spacing: 3px !important;
}

/* Hero title with split fonts */
.hero-title-top {
    font-family: 'Sorts Mill Goudy', serif !important;
    font-size: 6rem !important;
    letter-spacing: 12px !important;
    display: block !important;
    line-height: 1.1 !important;
    margin-bottom: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 0 !important;
    text-transform: uppercase !important;
    animation: heroFadeIn 1.2s ease-out, pulseGlow 4s ease-in-out infinite 1.2s !important;
}

.hero-title-bottom {
    font-family: 'Balthazar', serif !important;
    font-size: 5rem !important;
    letter-spacing: 8px !important;
    display: block !important;
    line-height: 1.1 !important;
    margin-top: 5px !important;
    padding-top: 0 !important;
    animation: heroFadeIn 1.2s ease-out 0.3s backwards, flicker 6s infinite 1.5s !important;
}

/* Hero entrance animation */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Pulsing glow effect */
@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 35px rgba(139, 92, 246, 0.8)) drop-shadow(0 0 70px rgba(139, 92, 246, 0.5)) drop-shadow(0 0 100px rgba(167, 139, 250, 0.3));
    }
}

@keyframes flicker {
    0%, 100% {
        opacity: 1;
        color: #E8E8E8;
        text-shadow: 
            0 0 40px rgba(192, 192, 192, 0.5),
            0 0 80px rgba(139, 92, 246, 0.3),
            0 0 5px rgba(255, 255, 255, 0.8);
        filter: brightness(1) hue-rotate(0deg);
    }
    8% {
        opacity: 0.3;
        color: #B8A8C8;
        text-shadow: 0 0 2px rgba(180, 160, 200, 0.3);
        filter: brightness(0.4) hue-rotate(-10deg);
    }
    9% {
        opacity: 0.85;
        color: #D0E0D8;
        text-shadow: 0 0 15px rgba(200, 220, 210, 0.4);
        filter: brightness(0.9) hue-rotate(5deg);
    }
    12% {
        opacity: 0.4;
        color: #C8B8D0;
        text-shadow: none;
        filter: brightness(0.5) hue-rotate(-5deg);
    }
    15% {
        opacity: 1;
        color: #E8E8E8;
        text-shadow: 
            0 0 40px rgba(192, 192, 192, 0.5),
            0 0 80px rgba(139, 92, 246, 0.3);
        filter: brightness(1) hue-rotate(0deg);
    }
    45% {
        opacity: 1;
        color: #E8E8E8;
        text-shadow: 
            0 0 40px rgba(192, 192, 192, 0.5),
            0 0 80px rgba(139, 92, 246, 0.3);
        filter: brightness(1) hue-rotate(0deg);
    }
    47% {
        opacity: 0.25;
        color: #A898B8;
        text-shadow: 0 0 2px rgba(160, 140, 180, 0.2);
        filter: brightness(0.3) hue-rotate(-15deg);
    }
    50% {
        opacity: 0.5;
        color: #C8D8C8;
        text-shadow: 0 0 8px rgba(180, 200, 180, 0.3);
        filter: brightness(0.6) hue-rotate(8deg);
    }
    52% {
        opacity: 0.35;
        color: #B0A0C0;
        text-shadow: none;
        filter: brightness(0.4) hue-rotate(-8deg);
    }
    55% {
        opacity: 0.2;
        color: #9888A8;
        text-shadow: none;
        filter: brightness(0.25) hue-rotate(-12deg);
    }
    58% {
        opacity: 0.6;
        color: #D0D8D0;
        text-shadow: 0 0 10px rgba(190, 210, 190, 0.3);
        filter: brightness(0.7) hue-rotate(5deg);
    }
    60% {
        opacity: 0.75;
        color: #E0E0E0;
        text-shadow: 0 0 20px rgba(200, 200, 200, 0.4);
        filter: brightness(0.85) hue-rotate(2deg);
    }
    65% {
        opacity: 1;
        color: #E8E8E8;
        text-shadow: 
            0 0 40px rgba(192, 192, 192, 0.5),
            0 0 80px rgba(139, 92, 246, 0.3),
            0 0 5px rgba(255, 255, 255, 0.8);
        filter: brightness(1) hue-rotate(0deg);
    }
}

.navbar-collapse.justify-content-center {
    justify-content: center !important;
}

.nav-centered {
    margin: 0 auto !important;
}

.navbar-nav .nav-link,
.nav-link,
.navbar .nav-link,
.menu .nav-link {
    font-family: 'Cinzel', serif !important;
    color: #C0C0C0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
}

.navbar-nav .nav-link:hover,
.nav-link:hover,
.menu .nav-link:hover {
    color: #8B5CF6 !important;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.7) !important;
}

.navbar-caption,
.navbar-brand .navbar-caption {
    font-family: var(--font-heading) !important;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-primary:active,
a.btn-primary,
.btn.btn-primary {
    background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 50%, #6D28D9 100%) !important;
    border: 1px solid #8B5CF6 !important;
    color: #FFFFFF !important;
    font-family: var(--font-heading) !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255,255,255,0.2) !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    min-width: fit-content !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn.btn-primary:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 50%, #8B5CF6 100%) !important;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.8), 0 0 60px rgba(109, 40, 217, 0.5) !important;
    transform: translateY(-3px) !important;
    color: #FFFFFF !important;
}

/* ===== SECONDARY/SILVER BUTTON ===== */
.btn-secondary,
.btn.btn-secondary,
#logout-btn {
    background: linear-gradient(135deg, #C0C0C0 0%, #E0E0E0 50%, #C0C0C0 100%) !important;
    border: 1px solid #D0D0D0 !important;
    color: #1a1a1a !important;
    font-family: var(--font-heading) !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.3), inset 0 1px 0 rgba(255,255,255,0.3) !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
}

.btn-secondary:hover,
.btn.btn-secondary:hover,
#logout-btn:hover {
    background: linear-gradient(135deg, #E0E0E0 0%, #FFFFFF 50%, #E0E0E0 100%) !important;
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.6), 0 0 50px rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-3px) !important;
    color: #000 !important;
}

/* ===== PURPLE BUTTON ===== */
.btn-gold,
.btn.btn-gold {
    background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 50%, #6D28D9 100%) !important;
    border: 1px solid #8B5CF6 !important;
    color: #FFFFFF !important;
    font-family: 'Cinzel', serif !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255,255,255,0.2) !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
    padding: 12px 35px !important;
    font-weight: 600 !important;
}

.btn-gold.btn-sm,
.btn.btn-gold.btn-sm {
    padding: 8px 22px !important;
    font-size: 0.85rem !important;
    letter-spacing: 1.5px !important;
}

.btn-gold:hover,
.btn.btn-gold:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 50%, #8B5CF6 100%) !important;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.8), 0 0 60px rgba(109, 40, 217, 0.5) !important;
    transform: translateY(-3px) !important;
    color: #FFFFFF !important;
}

.btn-white,
.btn-white-outline,
.btn.btn-white {
    background: transparent !important;
    border: 2px solid #C0C0C0 !important;
    color: #C0C0C0 !important;
    box-shadow: none !important;
}

.btn-white:hover,
.btn.btn-white:hover {
    background: rgba(192, 192, 192, 0.15) !important;
    border-color: #E8E8E8 !important;
    color: #E8E8E8 !important;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.3) !important;
}

/* ===== CARDS & ITEMS ===== */
.item-wrapper,
.card,
.features1 .item-wrapper,
[class*="features"] .item-wrapper,
.faction-card {
    background: linear-gradient(180deg, #1A1A1A 0%, #0D0D0D 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    border-radius: 0 !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.item-wrapper::before,
.features1 .item-wrapper::before,
.faction-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, #8B5CF6, transparent) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none !important;
}

.item-wrapper:hover::before,
.faction-card:hover::before {
    opacity: 1 !important;
}

.item-wrapper:hover,
.faction-card:hover {
    border-color: rgba(139, 92, 246, 0.5) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(139, 92, 246, 0.15) !important;
    transform: translateY(-8px) !important;
}

/* ===== STANDARDIZED FACTION IMAGES ===== */
.faction-img,
.item-img {
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #0D0D0D !important;
}

.faction-img img,
.item-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: grayscale(40%) contrast(1.1) brightness(0.9) !important;
    transition: all 0.4s ease !important;
}

.item-wrapper:hover .item-img img,
.faction-card:hover .faction-img img {
    filter: grayscale(0%) contrast(1.15) brightness(1) !important;
    transform: scale(1.05) !important;
}

/* ===== CARD CONTENT ===== */
.item-content {
    background: transparent !important;
    padding: 20px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.item-content .mbr-text {
    flex-grow: 1 !important;
    min-height: 80px !important;
}

/* ===== CARD FOOTER ROW - ALIGNED ===== */
.card-footer-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 15px 20px !important;
    border-top: 1px solid rgba(139, 92, 246, 0.15) !important;
    margin-top: auto !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
}

.card-footer-row .mbr-section-btn {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.card-footer-row .mbr-section-btn .btn {
    white-space: nowrap !important;
    padding: 8px 16px !important;
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
}

.card-footer-row .item-footer {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* ===== FACTION TAGS ===== */
.faction-tag {
    display: inline-block !important;
    padding: 6px 14px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: var(--font-heading) !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
}

.tag-vtm { background: rgba(139,0,0,0.5) !important; border: 1px solid rgba(196,30,58,0.5) !important; }
.tag-wta { background: rgba(47,79,47,0.5) !important; border: 1px solid rgba(60,179,113,0.5) !important; }
.tag-c20 { background: rgba(74,14,78,0.5) !important; border: 1px solid rgba(153,50,204,0.5) !important; }
.tag-h20 { background: rgba(112,128,144,0.5) !important; border: 1px solid rgba(192,192,192,0.5) !important; }
.tag-fera { background: rgba(139,69,19,0.5) !important; border: 1px solid rgba(210,105,30,0.5) !important; }
.tag-mortal { background: rgba(80,80,80,0.5) !important; border: 1px solid rgba(128,128,128,0.5) !important; }

.item-title,
.item-wrapper .item-title {
    font-family: var(--font-heading) !important;
    color: #E8E8E8 !important;
}

/* ===== BADGES ===== */
.badge,
.hashtags .badge,
span.badge {
    background: linear-gradient(135deg, #6D28D9, #8B5CF6) !important;
    color: #FFFFFF !important;
    font-family: var(--font-heading) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 0 !important;
    padding: 0.4em 0.8em !important;
    font-size: 0.65rem !important;
    border: 1px solid rgba(139, 92, 246, 0.5) !important;
    font-weight: 600 !important;
}

/* Center badges in splat cards */
.hashtags {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
}

/* Override mobirise badge margins that break centering */
.hashtags .badge,
.cid-v5i2btONUK .hashtags .badge,
[class*="cid-"] .hashtags .badge {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

.hashtags .badge:first-child,
.cid-v5i2btONUK .hashtags .badge:first-child,
[class*="cid-"] .hashtags .badge:first-child {
    margin-left: 0 !important;
}

/* Center hashtags within item-content */
.item-content .hashtags {
    margin-top: auto !important;
    padding-top: 10px !important;
}

.badge-vtm { background: linear-gradient(135deg, #8B0000, #C41E3A) !important; color: #F5F5F5 !important; }
.badge-wta { background: linear-gradient(135deg, #2F4F2F, #3CB371) !important; color: #F5F5F5 !important; }
.badge-c20 { background: linear-gradient(135deg, #4A0E4E, #9932CC) !important; color: #F5F5F5 !important; }
.badge-h20 { background: linear-gradient(135deg, #708090, #C0C0C0) !important; color: #0A0A0A !important; }

/* ===== SCROLLING BANNER - BOTTOM POSITION ===== */
#custom-html-4,
[id^="custom-html"] {
    background: #0A0A0A !important;
}

.banner-wrapper {
    background: #0A0A0A !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    border-top: 1px solid rgba(139, 92, 246, 0.4) !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.4) !important;
}

.bottom-banner {
    margin-top: 0 !important;
}

.banner-wrapper::before,
.banner-wrapper::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 200px !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

.banner-wrapper::before {
    left: 0 !important;
    background: linear-gradient(90deg, #0A0A0A 0%, transparent 100%) !important;
}

.banner-wrapper::after {
    right: 0 !important;
    background: linear-gradient(90deg, transparent 0%, #0A0A0A 100%) !important;
}

.scrolling-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: transparent !important;
    padding: 25px 0 !important;
    overflow: hidden !important;
}

.scrolling-text {
    display: inline-block !important;
    white-space: nowrap !important;
    font-family: var(--font-heading) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: 6px !important;
    text-transform: uppercase !important;
    color: #8B5CF6 !important;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5) !important;
    animation: scroll-smooth 30s linear infinite !important;
    padding-right: 50px !important;
}

@keyframes scroll-smooth {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== MODAL STYLING ===== */
/* Ensure modals are clickable and work properly */
.modal.mbr-popup {
    z-index: 99999 !important;
}

.modal-content,
.modal-dialog .modal-content,
[class*="cid-"] .modal-content {
    background: linear-gradient(180deg, #1A1A1A 0%, #0D0D0D 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.4) !important;
    border-radius: 0 !important;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.3), 0 30px 60px rgba(0,0,0,0.9) !important;
    pointer-events: auto !important;
}

.modal-header,
[class*="cid-"] .modal-header {
    border-bottom: 1px solid rgba(139, 92, 246, 0.3) !important;
    background: rgba(139, 92, 246, 0.05) !important;
    padding: 20px 30px !important;
}

.modal-body,
[class*="cid-"] .modal-body {
    color: #C0C0C0 !important;
    padding: 25px 30px 30px 30px !important;
}

.modal-footer {
    border-top: 1px solid rgba(139, 92, 246, 0.3) !important;
}

/* Modal close button - silver/white color - override mobirise green */
.modal .close,
.modal-header .close,
.modal button.close,
[class*="cid-"] .modal-header .close,
.mbr-popup .modal-header .close {
    color: #C0C0C0 !important;
    opacity: 0.8 !important;
    text-shadow: none !important;
    padding: 0.5rem !important;
    font-size: 1rem !important;
}

/* Make the close button SVG smaller */
.modal .close svg,
.modal-header .close svg,
.modal button.close svg,
[class*="cid-"] .modal-header .close svg,
.mbr-popup .modal-header .close svg {
    width: 14px !important;
    height: 14px !important;
}

.modal .close:hover,
.modal-header .close:hover,
.modal button.close:hover,
[class*="cid-"] .modal-header .close:hover,
.mbr-popup .modal-header .close:hover {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

/* Override the green SVG fill from mobirise */
.modal .close svg,
.modal-header .close svg,
.modal button.close svg,
[class*="cid-"] .modal-header .close svg,
.mbr-popup .modal-header .close svg,
.cid-v5k6e19rFs .modal-header .close svg,
.cid-v5kc0fzOeu .modal-header .close svg,
.cid-v5kckHN9cd .modal-header .close svg,
.cid-v5kcD0va7i .modal-header .close svg,
.cid-v5kd6Zg1se .modal-header .close svg,
.cid-v5kdfFTosE .modal-header .close svg {
    fill: #C0C0C0 !important;
}

.modal .close:hover svg,
.modal-header .close:hover svg,
.modal button.close:hover svg,
[class*="cid-"] .modal-header .close:hover svg,
.mbr-popup .modal-header .close:hover svg {
    fill: #FFFFFF !important;
}

/* Enhanced Modal Typography */
.modal-title,
.modal-header .modal-title,
.mbr-popup .modal-title {
    font-family: 'Cinzel', serif !important;
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    color: #e8e8e8 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
}

.modal-body h5.modal-title {
    font-size: 1rem !important;
    color: #c9a55a !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2) !important;
}

.modal-body p {
    font-family: 'Crimson Text', serif !important;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    color: #b0b0b0 !important;
}

.modal-body strong {
    color: #e8e8e8 !important;
}

.modal-body em {
    color: #a0a0a0 !important;
}

/* Modal hashtags/badges */
.modal-body .hashtags {
    margin-top: 15px !important;
}

.modal-body .hashtags .badge {
    background: rgba(139, 92, 246, 0.15) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    color: #b8bdd4 !important;
    font-family: 'Cinzel', serif !important;
    font-size: 0.7rem !important;
    letter-spacing: 1px !important;
    padding: 6px 12px !important;
    margin: 4px !important;
}

.btn-close {
    filter: invert(1) !important;
    opacity: 0.7 !important;
}

.btn-close:hover {
    opacity: 1 !important;
}

/* Ensure Learn More buttons are clickable */
.card-footer-row,
.card-footer-row .mbr-section-btn,
.card-footer-row .item-footer,
.card-footer-row .btn {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

/* Fix mobirise item-wrapper overlays blocking clicks */
.cid-v5i2btONUK .item-wrapper::before,
[class*="cid-"] .item-wrapper::before {
    pointer-events: none !important;
}

/* Modal trigger buttons */
[data-bs-toggle="modal"],
[data-toggle="modal"] {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Ensure modals display properly when shown */
.modal.show {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.modal.show .modal-dialog {
    pointer-events: auto !important;
}

.modal-backdrop.show {
    opacity: 0.8 !important;
}

/* ===== FOOTER ===== */
.footer3,
footer,
[class*="footer"] {
    background: linear-gradient(180deg, #0D0D0D 0%, #050505 100%) !important;
    border-top: 1px solid rgba(139, 92, 246, 0.3) !important;
}

/* ===== LINKS ===== */
a:not(.btn):not(.nav-link) {
    color: #8B5CF6 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

a:not(.btn):not(.nav-link):hover {
    color: #A78BFA !important;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5) !important;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 12px;
    background: #0A0A0A;
}

::-webkit-scrollbar-track {
    background: #1A1A1A;
    border-left: 1px solid rgba(139, 92, 246, 0.15);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6D28D9, #8B5CF6);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8B5CF6, #A78BFA);
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(139, 92, 246, 0.5);
    color: #FFFFFF;
}

::-moz-selection {
    background: rgba(139, 92, 246, 0.5);
    color: #FFFFFF;
}

/* ===== IMAGES - REMOVED OLD FILTER (NOW IN CARD STYLING) ===== */

/* ===== HEADER HERO SECTION ===== */
.header3,
[class*="header"] {
    background: 
        radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.1) 0%, transparent 60%),
        #0D0D0D !important;
}

/* ===== INPUT FIELDS ===== */
input, textarea, select {
    background-color: #1A1A1A !important;
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
    color: #E8E8E8 !important;
    border-radius: 0 !important;
    font-family: 'Crimson Text', serif !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3) !important;
    outline: none !important;
}

/* ===== HAMBURGER MENU ===== */
.navbar-toggler .hamburger span {
    background-color: #8B5CF6 !important;
}

/* Mobile navbar fix - prevent hamburger overlapping brand */
@media (max-width: 991px) {
    .navbar .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
    
    .navbar-brand {
        flex-shrink: 1 !important;
        min-width: 0 !important;
        max-width: calc(100% - 60px) !important;
    }
    
    .navbar-brand .navbar-caption {
        font-size: 1rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .navbar-toggler {
        flex-shrink: 0 !important;
        margin-left: auto !important;
        position: relative !important;
        z-index: 100 !important;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .scrolling-text {
        font-size: 0.75rem !important;
        letter-spacing: 3px !important;
    }
    
    h1, .display-1 {
        letter-spacing: 1px !important;
        font-size: 2rem !important;
    }
    
    .banner-wrapper::before,
    .banner-wrapper::after {
        width: 80px !important;
    }
    
    .faction-img,
    .item-img {
        height: 180px !important;
    }
    
    .hero-section {
        min-height: 50vh !important;
        padding: 80px 0 60px !important;
    }
    
    .hero-section::before {
        width: 300px !important;
        height: 200px !important;
    }
    
    .hero-title-top {
        font-size: 3rem !important;
        letter-spacing: 6px !important;
    }
    
    .hero-title-bottom {
        font-size: 2.5rem !important;
        letter-spacing: 4px !important;
        margin-top: 10px !important;
    }
    
    .card-footer-row {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
        text-align: center !important;
    }
}

/* ===== ANIMATIONS ===== */
.pulse-purple {
    animation: purple-pulse 2s infinite;
}

@keyframes purple-pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 35px rgba(139, 92, 246, 0.7), 0 0 50px rgba(109, 40, 217, 0.4); }
}

/* ===== IFRAME EMBEDS ===== */
iframe {
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
    border-radius: 0 !important;
}

/* ===== MISC OVERRIDES ===== */
.mbr-overlay {
    background-color: rgba(10, 10, 10, 0.9) !important;
}

hr {
    border-color: rgba(139, 92, 246, 0.25) !important;
}

/* ===== FEATURES ROW ALIGNMENT ===== */
.features1 .row,
[class*="features"] .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

.features1 .item,
[class*="features"] .item {
    display: flex !important;
    margin-bottom: 30px !important;
}

/* ===== RAIN SECTION OVERLAY ===== */
.rain-section {
    position: relative !important;
}

.rain-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, 
            transparent 0%, 
            rgba(255,255,255,0.015) 50%, 
            transparent 51%, 
            transparent 100%);
    background-size: 2px 12px;
    animation: rain 0.3s linear infinite;
    pointer-events: none;
    opacity: 0.3;
}

/* ===== SECTION SEPARATOR ===== */
.section-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(192, 192, 192, 0.5) 50%, transparent 100%);
    margin: 0;
    position: relative;
}

.section-separator::before {
    content: '☽';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #0D0D0D;
    padding: 0 20px;
    color: #C0C0C0;
    font-size: 1.2rem;
}

/* ===== ABOUT US SECTION ===== */
.about-section {
    background: rgba(13, 13, 13, 0.98) !important;
    padding: 20px 0 60px !important;
}

/* About Section - Clean Consistent Styling */
.section-header {
    font-family: var(--font-heading) !important;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
    font-weight: 400 !important;
    color: #E8E8E8 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.sub-header {
    font-family: var(--font-heading) !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: #E8E8E8 !important;
    letter-spacing: 1px;
}

.about-content,
.about-systems {
    color: #C0C0C0;
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-content p,
.about-systems p {
    margin-bottom: 1.2rem;
}

.lead-text {
    font-size: 1.3rem !important;
    color: #E8E8E8 !important;
    margin-bottom: 1.5rem !important;
}

.closing-text {
    font-size: 1.1rem !important;
    color: #E8E8E8 !important;
    margin-top: 2rem !important;
    padding: 20px !important;
    border-left: 3px solid #8B5CF6 !important;
    background: rgba(139, 92, 246, 0.05) !important;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(109, 40, 217, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-left: 4px solid #8B5CF6;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0;
}

.highlight-title {
    font-family: var(--font-heading) !important;
    font-size: 1.2rem !important;
    font-weight: 400 !important;
    margin-bottom: 15px !important;
    color: #E8E8E8;
}

.highlight-note {
    font-style: italic;
    color: #A0A0A0;
    margin-bottom: 0 !important;
}

.highlight-box p {
    margin-bottom: 0.8rem;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.about-systems h3 {
    margin-top: 40px;
}

/* ===== About Section - Modern ===== */
.about-section-modern {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #121212 50%, #0a0a0a 100%);
    position: relative;
}

.about-modern-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.about-eyebrow {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 5px;
    color: #c9a55a;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(201, 165, 90, 0.5);
}

.about-modern-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #e8e8e8;
    letter-spacing: 2px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.about-modern-subtitle {
    font-family: 'Crimson Text', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #a0a0a0;
    margin: 0;
}

.about-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.about-feature {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.about-feature::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

.about-feature:last-child::after {
    display: none;
}

.about-feature-number {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(139, 92, 246, 0.2);
    line-height: 1;
    margin-bottom: 15px;
}

.about-feature-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #c9a55a;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-feature-text {
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    color: #909090;
    line-height: 1.6;
    margin: 0;
}

.about-warning-strip {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 40px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.08), transparent);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.warning-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.warning-icon {
    font-size: 1.2rem;
    color: #c9a55a;
}

.warning-text {
    font-family: 'Crimson Text', serif;
    font-size: 1.05rem;
    color: #c0c0c0;
    margin: 0;
}

.warning-text strong {
    color: #e8e8e8;
}

.warning-note {
    font-family: 'Crimson Text', serif;
    font-size: 0.9rem;
    font-style: italic;
    color: #707070;
    margin: 0;
}

@media (max-width: 991px) {
    .about-features-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-feature::after {
        display: none;
    }
    
    .about-modern-title {
        font-size: 1.8rem;
    }
    
    .warning-content {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== SPLAT FLIP CARDS ===== */
.splat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0 40px;
}

.splat-flip-card {
    background-color: transparent;
    width: 100%;
    height: 420px;
    perspective: 1000px;
}

.splat-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.splat-flip-card:hover .splat-flip-inner {
    transform: rotateY(180deg);
}

.splat-flip-front,
.splat-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 1px solid rgba(139, 92, 246, 0.3);
    overflow: hidden;
}

/* Front of card - Image */
.splat-flip-front {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.splat-flip-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: contain;
    background-position: center 20%;
    background-repeat: no-repeat;
    filter: grayscale(30%) contrast(1.1) brightness(0.9);
    transition: all 0.4s ease;
}

.splat-flip-card:hover .splat-flip-image {
    filter: grayscale(0%) contrast(1.15) brightness(1);
    transform: scale(1.05);
}

.splat-flip-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(10, 10, 10, 0.85) 70%, rgba(10, 10, 10, 0.98) 100%);
    pointer-events: none;
}

.splat-flip-title-wrap {
    position: relative;
    z-index: 5;
    padding: 25px;
    text-align: center;
}

.splat-flip-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c9a55a;
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.splat-flip-badge-warning {
    background: rgba(180, 60, 60, 0.2);
    border-color: rgba(180, 60, 60, 0.4);
    color: #e05050;
}

.splat-flip-badge-limited {
    background: rgba(201, 165, 90, 0.15);
    border-color: rgba(201, 165, 90, 0.3);
    color: #c9a55a;
}

.splat-flip-badge-beginner {
    background: rgba(80, 160, 80, 0.15);
    border-color: rgba(80, 160, 80, 0.3);
    color: #70c070;
}

.splat-flip-title {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #e8e8e8;
    letter-spacing: 3px;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

.splat-flip-hint {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    font-family: 'Crimson Text', serif;
    font-size: 0.75rem;
    font-style: italic;
    color: rgba(139, 92, 246, 0.5);
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.splat-flip-card:hover .splat-flip-hint {
    opacity: 0;
}

/* Back of card - Description */
.splat-flip-back {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.12) 0%, #0a0a0a 30%, #121212 100%);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.splat-flip-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8B5CF6, transparent);
}

.splat-flip-back::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8B5CF6, transparent);
}

.splat-flip-back-content {
    text-align: center;
}

.splat-flip-back-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #c9a55a;
    letter-spacing: 3px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.splat-flip-text {
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.splat-flip-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.splat-flip-tag {
    padding: 5px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #b8bdd4;
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.splat-flip-tag-warning {
    background: rgba(180, 60, 60, 0.15);
    border-color: rgba(180, 60, 60, 0.3);
    color: #e05050;
}

.splat-flip-tag-gold {
    background: rgba(201, 165, 90, 0.1);
    border-color: rgba(201, 165, 90, 0.25);
    color: #c9a55a;
}

.splat-flip-tag-green {
    background: rgba(80, 160, 80, 0.1);
    border-color: rgba(80, 160, 80, 0.25);
    color: #70c070;
}

.splat-flip-btn {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #c9a55a;
    padding: 12px 30px;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.splat-flip-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.7);
    color: #e8d59c;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.35);
}

/* Splat Grid Responsive */
@media (max-width: 1199px) {
    .splat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .splat-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .splat-flip-card {
        height: 380px;
    }
    
    .splat-flip-text {
        font-size: 0.95rem;
    }
}

/* ===== Discord CTA Section ===== */
.discord-cta-section {
    padding: 80px 0 !important;
    background: linear-gradient(180deg, #0a0a0a 0%, #121212 50%, #0a0a0a 100%) !important;
    position: relative;
    overflow: hidden;
}

.discord-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
}

.discord-cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
}

.discord-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.cta-decoration {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
    flex-shrink: 0;
}

.cta-decoration::before,
.cta-decoration::after {
    content: '';
    position: absolute;
    background: rgba(139, 92, 246, 0.5);
}

.cta-decoration-left::before {
    top: 50%;
    left: -20px;
    width: 40px;
    height: 1px;
}

.cta-decoration-left::after {
    left: 50%;
    top: -20px;
    width: 1px;
    height: 40px;
}

.cta-decoration-right::before {
    top: 50%;
    right: -20px;
    width: 40px;
    height: 1px;
}

.cta-decoration-right::after {
    right: 50%;
    top: -20px;
    width: 1px;
    height: 40px;
}

.cta-content {
    text-align: center;
    flex: 1;
}

.cta-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 5px;
    color: #c9a55a;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(201, 165, 90, 0.4);
}

.cta-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #e8e8e8;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.cta-subtitle {
    font-family: 'Crimson Text', serif;
    font-size: 1.15rem;
    color: #a0a0a0;
    margin-bottom: 20px;
    font-style: italic;
}

.cta-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-feature {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #b8bdd4;
    text-transform: uppercase;
}

.cta-divider {
    color: rgba(139, 92, 246, 0.5);
    font-size: 0.6rem;
}

.btn-cta-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(109, 40, 217, 0.3) 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.5) !important;
    color: #e8e8e8 !important;
    padding: 15px 40px !important;
    font-family: 'Cinzel', serif !important;
    font-size: 0.85rem !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.4s ease !important;
}

.btn-cta-discord:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.35) 0%, rgba(109, 40, 217, 0.45) 100%) !important;
    border-color: rgba(139, 92, 246, 0.8) !important;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4) !important;
    transform: translateY(-3px) !important;
    color: #fff !important;
}

.btn-cta-discord .socicon-discord {
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .cta-decoration {
        display: none;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .cta-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 8px;
    }
    
    .cta-divider {
        display: none;
    }
}

/* ===== Global Button Overrides ===== */
.btn-danger,
.btn.btn-danger,
button.btn-danger {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0) !important;
    border: 1px solid #D0D0D0 !important;
    color: #1a1a1a !important;
}

.btn-danger:hover,
.btn.btn-danger:hover,
button.btn-danger:hover {
    background: linear-gradient(135deg, #E0E0E0, #C0C0C0) !important;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.4) !important;
    color: #000 !important;
}

/* ===== CR1 IMAGE FIX - Center position ===== */
.faction-card:first-child .faction-img img,
[data-slide-to="0"] {
    object-position: center center !important;
}

/* ===== Navigation Dropdown Styling ===== */
.navbar-dropdown .dropdown-menu {
    background: rgba(13, 13, 13, 0.98) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    border-radius: 8px !important;
    padding: 10px 0 !important;
    margin-top: 10px !important;
    min-width: 160px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.1) !important;
    backdrop-filter: blur(10px);
}

.navbar-dropdown .dropdown-menu .dropdown-item {
    color: #b0b0b0 !important;
    padding: 10px 20px !important;
    font-family: 'Cinzel', serif !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
}

.navbar-dropdown .dropdown-menu .dropdown-item:hover,
.navbar-dropdown .dropdown-menu .dropdown-item:focus {
    color: #fff !important;
    background: rgba(139, 92, 246, 0.2) !important;
    padding-left: 25px !important;
}

.navbar-dropdown .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 2px;
    border-top-color: #b0b0b0;
    transition: transform 0.2s ease;
}

.navbar-dropdown .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Supporter link special styling */
.navbar-dropdown .nav-link[href="supporter.html"] {
    color: #c084fc !important;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.3);
    transition: all 0.3s ease !important;
}

.navbar-dropdown .nav-link[href="supporter.html"]:hover {
    color: #e879f9 !important;
    text-shadow: 0 0 15px rgba(232, 121, 249, 0.5);
}

/* Mobile dropdown adjustments */
@media (max-width: 991px) {
    .navbar-dropdown .dropdown-menu {
        background: rgba(13, 13, 13, 0.95) !important;
        border: none !important;
        border-left: 2px solid rgba(139, 92, 246, 0.3) !important;
        margin-left: 15px !important;
        margin-top: 0 !important;
        box-shadow: none !important;
    }
    
    .navbar-dropdown .dropdown-menu .dropdown-item {
        padding: 8px 15px !important;
    }
}
