/* atomic-city-vi.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&family=Oswald:wght@400;500;700&display=swap');

:root {
    /* Vice City Palette */
    --vi-pink: #ff00bf;
    --vi-teal: #00f0ff;
    --vi-purple: #9d00ff;
    --vi-orange: #ffaa00;
    --vi-bg: #0a0510;
    --vi-panel: rgba(20, 10, 30, 0.95);

    /* Gradients */
    --grad-sunset: linear-gradient(135deg, var(--vi-purple), var(--vi-pink));
    --grad-ocean: linear-gradient(135deg, var(--vi-teal), #00aaff);

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    /* Strong, tall */
    --font-body: 'Inter', sans-serif;
    /* Clean, modern */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
    /* FORCE HIDE SYSTEM CURSOR */
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--vi-bg);
    color: #fff;
    font-family: var(--font-body);
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 10%, #2a0a3a, #0a0510);
    min-height: 100vh;
    width: 100%;
    position: relative;
}


/* Utility to hide loader instantly on navigation */
html.no-loader #loading-screen {
    display: none !important;
}

/* Lenis Smooth Scroll */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--vi-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--grad-sunset);
    border-radius: 4px;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-gradient {
    background: var(--grad-sunset);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-teal {
    color: var(--vi-teal);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    /* Increased to stay above all injected dealership content */
    background: rgba(10, 5, 20, 0.4);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.05);
    animation: navbarFadeIn 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    opacity: 0;
    transform: translateY(-20px);
}

@keyframes navbarFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- PREMIUM NEON GAMING LOGO --- */
.neon-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    position: relative;
    padding: 0.5rem;
    animation: neonEntrance 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
    transform: translateX(-15px);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.neon-logo:hover {
    filter: brightness(1.25);
    transform: translateY(-1px);
}

.neon-logo::before {
    content: '';
    position: absolute;
    inset: -15px -30px;
    background: radial-gradient(ellipse at center, rgba(179, 0, 255, 0.15), transparent 70%);
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.neon-logo:hover::before {
    opacity: 1.5;
}

@keyframes neonEntrance {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.neon-text-main {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ff007f, #b300ff, #00f0ff, #ff007f);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    animation: premiumPulseGlow 4s infinite ease-in-out, textGradientMove 8s linear infinite;
}

.neon-text-sub {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #b300ff, #ff007f, #00f0ff, #b300ff);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    animation: premiumPulseGlow 4s infinite ease-in-out 1s, textGradientMove 8s linear infinite reverse;
}

@keyframes textGradientMove {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 300% center;
    }
}

@keyframes premiumShimmer {

    0%,
    20% {
        background-position: 250% center;
    }

    80%,
    100% {
        background-position: -50% center;
    }
}

@keyframes premiumPulseGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 6px rgba(255, 0, 128, 0.3)) drop-shadow(0 0 12px rgba(179, 0, 255, 0.15));
    }

    50% {
        filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.5)) drop-shadow(0 0 20px rgba(179, 0, 255, 0.25));
    }
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    display: flex;
    gap: 3rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    /* Above mobile menu */
}

.hamburger .line {
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger:hover .line {
    background-color: var(--vi-teal);
    box-shadow: 0 0 10px var(--vi-teal), 0 0 20px var(--vi-teal);
}

/* Mobile Menu Styles */
/* Mobile Menu Styles (Applied Globally) */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        height: 100vh;
        width: 100%;
        /* Full width for better touch targets */
        background: linear-gradient(135deg, rgba(10, 5, 20, 0.98), rgba(20, 0, 30, 0.98));
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        z-index: 999;
        /* Below navbar/hamburger but above content */
        gap: 2rem;
    }

    .nav-links.nav-active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    /* Hamburger Animation */
    .hamburger.toggle .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: var(--vi-pink);
    }

    .hamburger.toggle .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: var(--vi-pink);
    }
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--vi-teal);
}

.btn-cta {
    padding: 0.8rem 2.5rem;
    background: var(--grad-sunset);
    border: none;
    color: #fff;
    font-weight: 900;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    transform: skew(-10deg);
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(255, 0, 191, 0.3);
    cursor: pointer;
    text-decoration: none;
}

.btn-cta:hover {
    transform: skew(-10deg) translateY(-5px) scale(1.05);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -5%;
    background-image: url('https://images.unsplash.com/photo-1596787638656-7f4118742440?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: cinematicZoom 15s ease-out forwards;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(10, 5, 20, 0.8) 100%),
        linear-gradient(to bottom, rgba(10, 5, 20, 0.4), var(--vi-bg));
    z-index: 1;
    pointer-events: none;
}

.hero-dust {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: dustMove 20s linear infinite;
    pointer-events: none;
}

@keyframes cinematicZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

@keyframes dustMove {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(-50px) translateX(25px);
    }
}

.hero-content {
    z-index: 3;
    position: relative;
    background: radial-gradient(circle, rgba(179, 0, 255, 0.15) 0%, transparent 60%);
    padding: 4rem;
    border-radius: 50%;
}

@keyframes title-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.grand-title {
    font-size: 5rem;
    line-height: 1.2;
    padding-right: 0.5em;
    /* Ensure enough space for the italic slant so the 'Y' doesn't clip */
    padding-left: 0.1em;
    margin-right: -0.2em;
    /* Compensate for the padding visually */
    background: linear-gradient(to bottom, #fff, #bbb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    font-weight: 900;
    font-style: italic;
    position: relative;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: titleEntrance 2s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.5s, title-pulse 4s infinite ease-in-out 3s;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.2));
    display: inline-block;
    user-select: none;
    /* Prevents text selection blue highlight */
}

@keyframes headingShimmer {
    0% {
        background-position: -150% center;
    }

    100% {
        background-position: 250% center;
    }
}

@keyframes titleEntrance {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.grand-title span {
    font-size: 3rem;
    display: block;
    color: var(--vi-pink);
    -webkit-text-fill-color: var(--vi-pink);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-transform: none;
    transform: rotate(-3deg) translateY(-10px);
}

.hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleEntrance 2s cubic-bezier(0.19, 1, 0.22, 1) forwards 1s;
}

@keyframes subtitleEntrance {
    0% {
        opacity: 0;
        letter-spacing: 2px;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        letter-spacing: 8px;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    z-index: 3;
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    animation: bounce 2s infinite ease-in-out, fadeInIndicator 1s forwards 2s;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6));
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6));
    }

    50% {
        transform: translateY(-15px);
        filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.9));
    }
}

@keyframes fadeInIndicator {
    to {
        opacity: 1;
    }
}

/* Section & Grid */
.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin: 4rem 0 3rem;
    background: var(--grad-ocean);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
}

/* --- ABOUT US GLASS PANEL --- */
.about-glass-panel {
    background: rgba(20, 10, 30, 0.4);
    backdrop-filter: blur(15px) saturate(1.2);
    border: 1px solid rgba(255, 0, 191, 0.2);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}

.about-text-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-features-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-feature-card {
    flex: 1;
    min-width: 250px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.about-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(20, 10, 30, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    transition: 0.3s;
}

.about-feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
}

.about-feature-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.about-feature-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
}


/* --- FACTIONS (SECTORS) SECTIONS --- */
.faction-card {
    background: rgba(20, 10, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 280px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.faction-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(135deg, rgba(255, 0, 191, 0.1), rgba(0, 240, 255, 0.05));
    transition: opacity 0.5s ease;
    z-index: 1;
}

.faction-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: var(--vi-teal);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.2), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.faction-card:hover::before {
    opacity: 1;
}

.faction-overlay {
    z-index: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease;
}

.faction-card:hover .faction-overlay {
    transform: translateY(-5px);
}

.faction-icon {
    font-size: 3.5rem;
    color: var(--vi-teal);
    margin-bottom: 1.2rem;
    transition: color 0.4s ease, transform 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.3));
}

.faction-card:hover .faction-icon {
    color: var(--vi-pink);
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 0, 191, 0.5));
}

.faction-overlay h3 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
    transition: 0.3s;
    letter-spacing: 1px;
}

.faction-overlay p {
    font-size: 1rem;
    color: #888;
    margin-top: 0.8rem;
    transition: 0.3s;
    opacity: 0.8;
}

.faction-card:hover h3 {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.faction-card:hover p {
    color: #ccc;
    opacity: 1;
}


/* Job Details Specifics */
.job-detail-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 4rem;
    padding-bottom: 5rem;
    justify-content: center;
    background-color: var(--vi-bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.job-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 5, 16, 0.3), var(--vi-bg));
    z-index: 1;
}

/* Cyberpunk Scanlines */
.job-detail-hero::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

.job-title-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100vw;
    /* Prevent from breaking viewport */
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    text-align: center;
    /* keep it centered within its bounds */
}

.job-title-large {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    background: var(--grad-ocean);
    /* Added missing gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    word-break: break-word;
    white-space: normal;
}

.job-desc-large {
    font-size: 2rem;
    max-width: 800px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-left: 4px solid var(--vi-pink);
}

/* Custom Dealership Hero & About Containers */
.job-about-container {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(20, 10, 30, 0.9), rgba(10, 5, 20, 0.95));
    /* Prevents black flash */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.job-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 3rem;
    max-width: 900px;
}

/* Tabs */
/* Tabs - Cyberpunk Style */
.tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    /* Reduced gap */
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 240, 255, 0.1);
    position: relative;
}

.tab-nav::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 2px;
    background: var(--vi-teal);
    box-shadow: 0 0 10px var(--vi-teal);
}

.tab-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    padding: 0.8rem 2rem;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    letter-spacing: 2px;
}

.tab-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    color: #fff;
    border-color: var(--vi-teal);
}

.tab-btn.active {
    background: var(--vi-teal);
    color: #000;
    border-color: var(--vi-teal);
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Content Structures */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Car Card */
.car-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.car-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--vi-pink);
    transform: translateY(-5px);
}

/* Custom Cursor */
body {
    cursor: none;
    /* Hide default cursor */
}

#custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--vi-pink);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    /* Start centered on the dot */
    transform-origin: center center;
    pointer-events: none;
    z-index: 999999;
    transition: width 0.2s, height 0.2s, background 0.2s;
    /* Removed transform to avoid overriding JS */
    mix-blend-mode: difference;
    left: 0;
    top: 0;
}

#cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--vi-teal);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    pointer-events: none;
    z-index: 1000000;
    left: 0;
    top: 0;
    transition: transform 0.1s;
}

#custom-cursor.hovered {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 153, 0.1);
    border-color: var(--vi-teal);
}

#cursor-dot.hovered {
    background: var(--vi-pink);
}

/* Hide custom cursor on mobile/touch devices */
@media (hover: none) {

    #custom-cursor,
    #cursor-dot {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }
}

/* Rules Page Refinement */
.rules-layout {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    gap: 3rem;
    min-height: 60vh;
}

.rules-sidebar {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 120px;
    height: fit-content;
    background: rgba(10, 5, 20, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.rule-nav-btn {
    background: transparent;
    border: 1px solid transparent;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 8px 8px 0;
    color: #aaa;
    padding: 1.2rem 1.5rem;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.rule-nav-btn i {
    margin-right: 12px;
    font-size: 1.4rem;
    color: var(--vi-teal);
    transition: 0.3s;
    opacity: 0.8;
}

.rule-nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.4s ease;
    z-index: 0;
}

.rule-nav-btn>* {
    position: relative;
    z-index: 2;
}

.rule-nav-btn:hover {
    color: #fff;
    border-left-color: var(--vi-teal);
    transform: translateX(5px);
}

.rule-nav-btn:hover::before {
    transform: translateX(0);
}

.rule-nav-btn:hover i {
    color: var(--vi-pink);
    opacity: 1;
    transform: scale(1.1);
}

.rule-nav-btn.active {
    background: rgba(255, 0, 191, 0.05);
    color: #fff;
    border-left: 3px solid var(--vi-pink);
    box-shadow: inset 20px 0 30px -20px rgba(255, 0, 191, 0.2);
    font-weight: bold;
}

.rule-nav-btn.active i {
    color: var(--vi-pink);
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 0, 191, 0.5);
}

/* Connect Section */
.connect-section {
    padding: 6rem 2rem;
    text-align: center;
    background: transparent;
    /* Changed to transparent to let body gradient show or use single gradient */
    position: relative;
    z-index: 5;
    margin-bottom: 2rem;
}

.rules-content {
    flex: 1;
    background: rgba(15, 8, 25, 0.65);
    backdrop-filter: blur(15px);
    padding: 3rem 4rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 240, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.rules-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--vi-pink), var(--vi-teal), var(--vi-blue));
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.rule-tab h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.rule-tab h2 i {
    color: var(--vi-pink);
    filter: drop-shadow(0 0 10px rgba(255, 0, 191, 0.4));
}

.rule-list li {
    font-size: 1.15rem;
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 1.5rem;
}

.rule-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.rule-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--vi-teal);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--vi-teal);
    transition: 0.3s;
}

.rule-list li:hover::before {
    background: var(--vi-pink);
    box-shadow: 0 0 10px var(--vi-pink);
    transform: scale(1.5);
}

.rule-list strong {
    color: #fff;
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

/* Boosting Classes Grid UI */
.boosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.boost-class-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--vi-teal);
    border-radius: 8px;
    padding: 1.5rem;
    transition: 0.3s;
}

.boost-class-card:hover {
    transform: translateY(-5px);
    border-color: var(--vi-pink);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.boost-class-card h4 {
    color: var(--vi-teal);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.boost-class-card ul {
    list-style: none;
    padding: 0;
}

.boost-class-card ul li {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 0.8rem;
    padding-left: 0;
    border: none;
    line-height: 1.4;
}

.boost-class-card ul li::before {
    display: none;
    /* Remove default rule-list dots inside the card */
}

.boost-class-card ul li span {
    color: #fff;
    font-weight: bold;
    margin-right: 5px;
}

@media (max-width: 900px) {
    .rules-layout {
        flex-direction: column;
    }

    .rules-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }

    .rule-nav-btn {
        flex: 0 0 200px;
        clip-path: none;
    }
}

.car-price {
    font-size: 1.5rem;
    color: var(--vi-teal);
    font-weight: bold;
    margin-top: 0.5rem;
}

.subnav-link {
    color: #ccc;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: 0.3s;
}

.subnav-link:hover {
    color: var(--vi-teal);
    border: 1px solid var(--vi-teal);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* PD Tables */
.pd-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.pd-table th,
.pd-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.pd-table th {
    color: var(--vi-pink);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.pd-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Hierarchy Tree */
.rank-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(90deg, rgba(20, 10, 30, 0.9), rgba(0, 0, 0, 0.6));
    padding: 1.5rem;
    border-left: 4px solid var(--vi-teal);
    margin-bottom: 1rem;
    border-radius: 0 12px 12px 0;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.rank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.rank-card:hover {
    transform: translateX(10px);
    border-left-color: var(--vi-pink);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.rank-card:hover::before {
    transform: translateX(100%);
}

.rank-badge {
    background: var(--vi-teal);
    color: #000;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem;
    background: #000;
    margin-top: 5rem;
    border-top: 1px solid #222;
}

@media (max-width: 768px) {

    /* Typography Adjustments */
    .grand-title {
        font-size: 3rem;
        /* Significantly reduced */
        line-height: 1.1;
    }

    .grand-title span {
        font-size: 2rem;
        transform: rotate(-2deg) translateY(-5px);
    }

    .section-title {
        font-size: 2.5rem;
        margin: 3rem 0 2rem;
    }

    .job-title-large {
        font-size: 2.5rem;
    }

    .job-desc-large {
        font-size: 1.1rem;
    }

    /* Layout Adjustments */
    .hero-content {
        width: 90%;
        padding: 0 1rem;
    }

    .container {
        flex-direction: column;
        padding: 0 1rem;
    }

    .about-content,
    .about-image {
        min-width: 100%;
        text-align: center;
    }

    .about-content h2 {
        text-align: center !important;
    }

    .features-grid {
        justify-content: center;
    }

    /* Faction Grid - 1 column on mobile */
    .faction-grid {
        grid-template-columns: 1fr;
        /* Stack cards */
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    /* Padding Adjustments */
    .job-detail-hero {
        padding: 2rem 0;
        height: 50vh;
        align-items: center;
        /* Center content vertically */
        justify-content: center;
        text-align: center;
    }

    section {
        padding: 3rem 1rem !important;
        /* Override inline styles */
    }

    /* Misc */
    .tab-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .tab-btn {
        font-size: 1.2rem;
    }

    .video-bg {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .grand-title {
        font-size: 2.2rem;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .neon-text-main,
    .neon-text-sub {
        font-size: 1.2rem;
    }

    .neon-logo::after {
        font-size: 1.2rem;
    }

    .btn-cta {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 1s ease-out;
}

#intro-video {
    width: 60%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    /* Slight rounding if it helps */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    /* Dark shadow instead of pink glow for contrast */
}

.loading-bar {
    width: 60%;
    max-width: 600px;
    height: 6px;
    background: #111;
    margin-top: 3rem;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: var(--grad-sunset);
    box-shadow: 0 0 20px var(--vi-pink);
    transition: width 5s linear;
}

#loading-text {
    margin-top: 1rem;
    font-family: var(--font-heading);
    letter-spacing: 3px;
    color: #555;
    font-size: 0.9rem;
    text-transform: uppercase;
    animation: text-blink 1s infinite alternate;
}

@keyframes text-blink {
    from {
        color: #555;
    }

    to {
        color: #aaa;
    }
}

/* 3D Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(100px) scale(0.9);
    /* More pronounced movement */
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Tab Switch Logic */
.rule-tab {
    display: none;
    /* Make initial state hidden but ready for animation */
    opacity: 0;
    transform: translateY(20px);
}

.rule-tab.active-tab {
    display: block;
    animation: slideUpFade 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Particles Container */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

footer {
    opacity: 0;
}

footer.reveal.active {
    opacity: 1;
}

/* Spinner for Loading Screen */
.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--vi-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(255, 0, 191, 0.2);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Protocols Styling */
.protocol-section {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 3px solid var(--vi-teal);
    border-radius: 0 8px 8px 0;
}

.protocol-section h3 {
    color: var(--vi-teal);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.protocol-list {
    list-style: none;
    padding-left: 0.5rem;
}

.protocol-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
    color: #ccc;
}

.protocol-list li::before {
    content: '>';
    color: var(--vi-pink);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.protocol-list strong {
    color: #fff;
}

/* Protocol Navigation (Sidebar Style) */
.protocol-container {
    display: flex;
    gap: 2rem;
    text-align: left;
    min-height: 400px;
}

.protocol-sidebar {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 2rem;
}

.protocol-content {
    flex: 1;
}

.protocol-nav-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    transition: 0.3s;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.protocol-nav-btn:hover,
.protocol-nav-btn.active {
    background: var(--vi-teal);
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    transform: translateX(5px);
}

.protocol-tab {
    display: none;
    animation: fadeIn 0.4s ease;
}

.protocol-tab.active {
    display: block;
}

@media (max-width: 768px) {
    .protocol-container {
        flex-direction: column;
    }

    .protocol-sidebar {
        flex: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 2rem;
    }
}

/* --- CINEMATIC TITLE ANIMATION --- */
@keyframes cinematicReveal {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
        letter-spacing: -2px;
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: 1px;
        filter: blur(0);
    }
}

@keyframes heroTextPulse {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.3);
    }

    50% {
        text-shadow: 0 0 20px rgba(0, 240, 255, 0.8), 0 0 40px rgba(0, 240, 255, 0.5);
    }
}

.hero-title-anim {
    animation: cinematicReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards,
        heroTextPulse 3s infinite ease-in-out 1.5s !important;
    /* Pulse starts after reveal */
    opacity: 0;
    /* Star hidden for reveal */
    animation-fill-mode: forwards;
}

/* --- GALLERY ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-img {
    width: 100%;
    height: 160px;
    /* Increased from 100px */
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    /* Hidden initially for animation */
    animation: fadeInUp 0.6s ease forwards;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--vi-teal);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
    z-index: 2;
}

/* Community Icon Cards & Discord Role Text */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--vi-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 0, 191, 0.3);
    transition: 0.3s;
}

.faction-card:hover .icon-circle {
    box-shadow: 0 0 25px rgba(255, 0, 191, 0.6);
    transform: scale(1.1);
    border-color: #fff;
}

.discord-role-text {
    font-size: 0.9rem;
    color: var(--vi-teal);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-family: inherit;
    font-weight: bold;
}

/* Loading Bar Styles */
/* ===== Loading Screen ===== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000000;
    /* Must be higher than navbar (99999) */
    transition: opacity 0.8s ease-out;
}

/* Logo */
#loading-screen img {
    max-width: 400px;
    width: 80%;
    height: auto;
    object-fit: contain;
    margin-bottom: 60px;
}

/* Loading Bar */
.loading-bar {
    width: 40%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    /* Ensure it stays in flow or positioned correctly */
}

/* Progress */
.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--vi-teal), var(--vi-pink));
    box-shadow: 0 0 15px var(--vi-pink);
    border-radius: 10px;
    transition: width 4s ease-in-out;
    /* Slow 4s fill as requested */
}

/* Loading Text */
#loading-text {
    margin-top: 20px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    letter-spacing: 3px;
    font-size: 14px;
    opacity: 0.8;
}

/* -------------------------------------------------- */
/* JOB DETAILS - NEW UI DESIGN (GTA VI Modern)        */
/* -------------------------------------------------- */

.job-content-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 60vh;
}

.job-about-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

.job-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-left: 4px solid var(--vi-pink);
    border-radius: 0 10px 10px 0;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--vi-teal);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    /* Fixed overlap issue */
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

/* Service Cards Grid */
.job-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--vi-pink);
}

.service-card .icon-box {
    font-size: 2rem;
    color: var(--vi-pink);
    margin-bottom: 1rem;
    transition: 0.3s;
}

.service-card:hover .icon-box {
    color: var(--vi-teal);
    transform: scale(1.1);
}

.service-card h4 {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Contact Box */
.job-contact-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.9));
    border: 1px solid var(--vi-teal);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    margin-top: 1rem;
}

.job-contact-box h3 {
    margin: 0;
    color: var(--vi-teal);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-details p {
    margin: 0.3rem 0;
    font-size: 1.1rem;
}

.contact-action {
    background: var(--vi-pink);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(255, 0, 191, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 191, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 191, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 191, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .job-services-grid {
        grid-template-columns: 1fr;
    }

    .job-contact-box {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .job-contact-box h3,
    .contact-action {
        width: 100%;
        justify-content: center;
    }
}

/* --- PREMIUM MENU STYLES (Revamped) --- */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 4rem 2rem;
    /* Large vertical gap for floating elements */
    padding: 3rem 1rem;
}

.menu-item-card {
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 60px;
    /* Push card down to allow image float */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.menu-item-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -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;
    pointer-events: none;
}

.menu-item-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 30, 35, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 170, 0, 0.15);
    /* Orange glow for burgershot feel */
    border-color: rgba(255, 170, 0, 0.3);
}

/* Floating Image Container */
.menu-item-img-box {
    position: relative;
    top: -50px;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Radial glow behind image */
    background: radial-gradient(circle, rgba(255, 170, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 2;
    margin-bottom: -30px;
    /* Pull content up slightly */
    transition: 0.4s ease;
}

.menu-item-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-item-card:hover .menu-item-img {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.6));
}

.menu-item-info {
    width: 100%;
    z-index: 1;
}

.menu-item-info h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin: 0.5rem 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.menu-item-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--vi-orange);
    text-shadow: 0 0 15px rgba(255, 170, 0, 0.6);
    margin-top: 0.5rem;
    display: inline-block;
}

/* --- THE EXPERIENCE SECTION --- */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    padding: 1rem;
}

.experience-card {
    background: rgba(20, 10, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.experience-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.experience-card h3 {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experience-card p {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
}

.exp-icon-box {
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(20, 10, 30, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: 0.3s;
}

.experience-card:hover .exp-icon-box {
    transform: scale(1.1);
}

/* Accent Colors */
.accent-yellow .exp-icon-box {
    color: var(--vi-orange);
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.2);
}

.experience-card.accent-yellow:hover {
    box-shadow: 0 15px 40px rgba(255, 170, 0, 0.15);
    border-color: rgba(255, 170, 0, 0.4);
}

.accent-purple .exp-icon-box {
    color: var(--vi-purple);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.2);
}

.experience-card.accent-purple:hover {
    box-shadow: 0 15px 40px rgba(157, 0, 255, 0.15);
    border-color: rgba(157, 0, 255, 0.4);
}

.accent-blue .exp-icon-box {
    color: var(--vi-teal);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.experience-card.accent-blue:hover {
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.4);
}

.accent-green .exp-icon-box {
    color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.experience-card.accent-green:hover {
    box-shadow: 0 15px 40px rgba(0, 255, 0, 0.15);
    border-color: rgba(0, 255, 0, 0.4);
}

.accent-red .exp-icon-box {
    color: #ff0040;
    box-shadow: 0 0 15px rgba(255, 0, 64, 0.2);
}

.experience-card.accent-red:hover {
    box-shadow: 0 15px 40px rgba(255, 0, 64, 0.15);
    border-color: rgba(255, 0, 64, 0.4);
}

.full-width-card {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.full-width-card .exp-icon-box {
    margin-bottom: 0;
    width: 80px;
    height: 80px;
    font-size: 2rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .full-width-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .full-width-card .exp-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

.experience-card {
    background: rgba(20, 10, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.experience-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.experience-card h3 {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experience-card p {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
}

.exp-icon-box {
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(20, 10, 30, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: 0.3s;
}

.experience-card:hover .exp-icon-box {
    transform: scale(1.1);
}

/* Accent Colors */
.accent-yellow .exp-icon-box {
    color: var(--vi-orange);
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.2);
}

.experience-card.accent-yellow:hover {
    box-shadow: 0 15px 40px rgba(255, 170, 0, 0.15);
    border-color: rgba(255, 170, 0, 0.4);
}

.accent-purple .exp-icon-box {
    color: var(--vi-purple);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.2);
}

.experience-card.accent-purple:hover {
    box-shadow: 0 15px 40px rgba(157, 0, 255, 0.15);
    border-color: rgba(157, 0, 255, 0.4);
}

.accent-blue .exp-icon-box {
    color: var(--vi-teal);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.experience-card.accent-blue:hover {
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.4);
}

.accent-green .exp-icon-box {
    color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.experience-card.accent-green:hover {
    box-shadow: 0 15px 40px rgba(0, 255, 0, 0.15);
    border-color: rgba(0, 255, 0, 0.4);
}

.accent-red .exp-icon-box {
    color: #ff0040;
    box-shadow: 0 0 15px rgba(255, 0, 64, 0.2);
}

.experience-card.accent-red:hover {
    box-shadow: 0 15px 40px rgba(255, 0, 64, 0.15);
    border-color: rgba(255, 0, 64, 0.4);
}

.full-width-card {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.full-width-card .exp-icon-box {
    margin-bottom: 0;
    width: 80px;
    height: 80px;
    font-size: 2rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .full-width-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .full-width-card .exp-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* --- DEALERSHIP CATALOGUE --- */
.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.vehicle-card {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.9), rgba(10, 5, 15, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.2);
}

.vehicle-img-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vehicle-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-img-box img {
    transform: scale(1.05);
}

.vehicle-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--vi-teal);
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.vehicle-card:hover .vehicle-tag {
    background: var(--vi-orange);
    color: #000;
}

.vehicle-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vehicle-details h4 {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    margin: 0;
}

.vehicle-price {
    font-size: 1.2rem;
    color: var(--vi-green);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.vehicle-specs {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 1rem;
}

.vehicle-specs i {
    color: var(--vi-pink);
    margin-right: 4px;
}

.btn-buy {
    width: 100%;
    background: transparent;
    border: 1px solid var(--vi-orange);
    color: var(--vi-orange);
    padding: 0.7rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-radius: 2px;
    letter-spacing: 1px;
}

.btn-buy:hover {
    background: var(--vi-orange);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 123, 0, 0.3);
    transform: scale(1.02);
}


@media (max-width: 600px) {
    .catalogue-grid {
        grid-template-columns: 1fr;
    }
}

/* --- NEW APPLY GRID --- */
.apply-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.apply-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.apply-card {
    background: rgba(20, 10, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.apply-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: rgba(30, 20, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.apply-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: 0.3s;
}

.apply-card h3 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: #fff;
}

.apply-card p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.btn-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.apply-card:hover .btn-arrow {
    background: var(--vi-pink);
    transform: scale(1.1);
}

/* Card Specific Colors */
.discord-card-new {
    border-top: 4px solid #7289da;
}

.discord-card-new i,
.discord-card-new:hover h3 {
    color: #7289da;
}

.pd-card {
    border-top: 4px solid #007bff;
}

.pd-card i,
.pd-card:hover h3 {
    color: #007bff;
}

.ems-card {
    border-top: 4px solid #dc3545;
}

.ems-card i,
.ems-card:hover h3 {
    color: #dc3545;
}

.visa-card-new {
    border-top: 4px solid var(--vi-pink);
}

.visa-card-new i,
.visa-card-new:hover h3 {
    color: var(--vi-pink);
}


/* --- NO LOADER CLASS (For Internal Navigation) --- */
.no-loader #loading-screen {
    display: none !important;
}

/* --- LOADING BAR STYLES --- */
.loading-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: var(--grad-sunset);
    box-shadow: 0 0 10px var(--vi-pink);
    transition: width 0.5s ease-out;
    /* Default transition, overridden by JS */
}

/* --- GHOST WHEELS REDESIGN (ABOUT TABS) --- */
.gw-container {
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.gw-hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gw-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
}

.gw-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.job-title-wrapper {
    z-index: 2;
    max-width: 800px;
}

.job-title-large {
    font-size: 5.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 900;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 6px;
    background: linear-gradient(135deg, #fff, #bbb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease;
}

.job-title-large:hover {
    color: #00ffff !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: initial !important;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 40px rgba(0, 255, 255, 0.4);
    filter: none;
    transform: scale(1.02);
}

.job-desc-large {
    font-size: 1.5rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: all 0.5s ease;
}

.job-desc-large:hover {
    color: var(--vi-pink);
    text-shadow: 0 0 15px rgba(255, 0, 191, 0.8);
}

.gw-title {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.gw-gold-text {
    color: #FFD700;
    /* Gold */
}

.gw-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gw-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid #FFD700;
    color: #fff;
    border-radius: 50px;
    /* Pillow shape from screenshot */
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.gw-btn:hover {
    background: #FFD700;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

/* Features Grid */
.gw-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gw-feature-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.gw-feature-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gw-icon {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.gw-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.gw-card-desc {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

/* Stats Row */
.gw-stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 3rem 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.gw-stat-item {
    text-align: center;
}

.gw-stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #FFD700;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.gw-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Call to Action / Footer of About */
.gw-cta-section {
    text-align: center;
    margin-top: 2rem;
}

.gw-cta-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.gw-location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gw-loc-card {
    background: rgba(30, 30, 30, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gw-loc-icon {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
}

@media (max-width: 768px) {
    .gw-title {
        font-size: 2.5rem;
    }

    .gw-hero {
        height: 50vh;
    }

    .gw-stats-row {
        flex-direction: column;
    }
}

/* KM Customs New Catalogue Card Style */
.mech-catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mech-card {
    background: #0a0510;
    /* Dark background */
    border: 1px solid rgba(255, 170, 0, 0.2);
    /* Subtle orange border */
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.mech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 170, 0, 0.15);
    border-color: var(--vi-orange);
}

.mech-img-box {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.mech-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mech-card:hover .mech-img-box img {
    transform: scale(1.1);
}

.mech-speed-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--vi-orange);
    color: #000;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.mech-details {
    padding: 1.5rem;
    text-align: center;
}

.mech-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mech-price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mech-price-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 170, 0, 0.1);
}

.mech-price-label {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: bold;
}

.mech-price-value {
    font-size: 1.1rem;
    color: var(--vi-orange);
    font-weight: bold;
    font-family: var(--font-heading);
}

/* Button style for purchase if needed, or just info */
.mech-action-btn {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--vi-orange);
    color: var(--vi-orange);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 8px;
}

.mech-action-btn:hover {
    background: var(--vi-orange);
    color: #000;
}

/* Police Marquee Animation - Seamless & Transparent */
.police-marquee-wrap {
    width: 100%;
    overflow: hidden;
    background: transparent;
    border-top: 1px solid rgba(255, 0, 191, 0.4);
    border-bottom: 1px solid rgba(255, 0, 191, 0.4);
    padding: 10px 0;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 0 15px rgba(255, 0, 191, 0.1);
}

.police-marquee-content {
    display: flex;
    width: max-content;
    animation: scroll-marquee-seamless 30s linear infinite;
}

.police-marquee-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #ff00bf;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 0, 191, 0.6);
    white-space: nowrap;
    padding-right: 50px;
    /* Space between the repeating sentences */
}

@keyframes scroll-marquee-seamless {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-33.3333%, 0, 0);
        /* Shifts exactly one unit out of the three duplicated texts */
    }
}

/* Tactical Radio Dashboard */
.tactical-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.8), transparent);
    border-left: 4px solid #b026ff;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.tactical-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(176, 38, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(176, 38, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
    pointer-events: none;
}

.header-badge {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    background: rgba(176, 38, 255, 0.1);
    border: 1px solid #b026ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b026ff;
    font-size: 1.8rem;
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.4);
    animation: badge-pulse 2s infinite alternate;
}

@keyframes badge-pulse {
    from {
        box-shadow: 0 0 10px rgba(176, 38, 255, 0.2);
    }

    to {
        box-shadow: 0 0 25px rgba(176, 38, 255, 0.7);
    }
}

.header-title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(176, 38, 255, 0.5);
    margin: 0;
}

.tactical-radio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    padding: 2rem;
    border-radius: 12px;
    background-color: #030712;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1400px) {
    .tactical-radio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    .tactical-radio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .tactical-radio-grid {
        grid-template-columns: 1fr;
    }
}

.tactical-radio-card {
    background: linear-gradient(145deg, #0f172a, #000000);
    border: 1px solid rgba(176, 38, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: inset 0 0 20px rgba(176, 38, 255, 0.02), 0 4px 6px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    outline: none;
    backdrop-filter: blur(10px);
}

.tactical-radio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(176, 38, 255, 0.08);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.code-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.signal-icon {
    color: rgba(176, 38, 255, 0.4);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.code-meaning {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tactical-radio-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: #b026ff;
    box-shadow: inset 0 0 30px rgba(176, 38, 255, 0.15), 0 15px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(176, 38, 255, 0.3);
}

.tactical-radio-card:hover::before {
    opacity: 1;
}

.tactical-radio-card:hover .signal-icon {
    color: #b026ff;
    text-shadow: 0 0 10px #b026ff;
}

.tactical-radio-card:hover .code-number {
    color: #b026ff;
    text-shadow: 0 0 15px rgba(176, 38, 255, 0.6);
}

.tactical-radio-card:hover .code-meaning {
    color: #e2e8f0;
}

.tactical-radio-card:hover .code-meaning {
    color: #e2e8f0;
}

/* Subtle Equalizer in header */
.tactical-eq {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
    margin-left: auto;
    position: relative;
    z-index: 1;
}

.eq-bar {
    width: 6px;
    background: #b026ff;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 8px #b026ff;
    animation: eq-anim 1s infinite alternate ease-in-out;
    transform-origin: bottom;
}

.eq-bar:nth-child(1) {
    height: 12px;
    animation-duration: 0.8s;
}

.eq-bar:nth-child(2) {
    height: 24px;
    animation-duration: 1.1s;
    animation-delay: 0.2s;
}

.eq-bar:nth-child(3) {
    height: 15px;
    animation-duration: 0.9s;
    animation-delay: 0.4s;
}

.eq-bar:nth-child(4) {
    height: 28px;
    animation-duration: 1.2s;
    animation-delay: 0.1s;
}

.eq-bar:nth-child(5) {
    height: 18px;
    animation-duration: 0.7s;
    animation-delay: 0.5s;
}

@keyframes eq-anim {
    0% {
        transform: scaleY(0.4);
    }

    100% {
        transform: scaleY(1);
    }
}

/* Tactical Protocols Layout */
.protocol-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.6), rgba(0, 0, 0, 0.8));
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.protocol-sidebar {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-right: 1px solid rgba(0, 255, 255, 0.1);
    padding-right: 2rem;
}

.protocol-nav-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    padding: 1rem 1.5rem;
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    line-height: 1.3;
}

.protocol-icon-wrap {
    width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.protocol-text-wrap {
    flex: 1;
}

.protocol-nav-btn i {
    color: rgba(0, 255, 255, 0.4);
    transition: all 0.3s;
}

.protocol-nav-btn:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.2);
    color: #fff;
    transform: translateX(5px);
}

.protocol-nav-btn:hover i {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.protocol-nav-btn.active {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.15), transparent);
    border-left: 3px solid #00ffff;
    border-color: rgba(0, 255, 255, 0.3);
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    font-weight: 700;
}

.protocol-nav-btn.active i {
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff;
}

.protocol-content {
    flex: 1;
    position: relative;
    padding-left: 1rem;
}

.protocol-tab {
    display: none;
    animation: fadeSlideUp 0.4s ease forwards;
}

.protocol-tab.active {
    display: block;
}

.protocol-section h3 {
    font-size: 2.5rem;
    color: #00ffff;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.protocol-section h4 {
    font-size: 1.4rem;
    color: #ff00bf;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.protocol-section p {
    color: #e2e8f0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.protocol-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.protocol-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 1rem;
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.protocol-list li::before {
    content: '>>';
    position: absolute;
    left: 1rem;
    top: 1.1rem;
    color: #00ffff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: -1px;
}

.protocol-list li:hover {
    background: rgba(0, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.1);
    transform: translateX(5px);
    color: #fff;
}

.protocol-list li strong {
    color: #00ffff;
    font-weight: 700;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .protocol-container {
        flex-direction: column;
        padding: 1rem;
    }

    .protocol-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(0, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .protocol-content {
        padding-left: 0;
        padding-top: 1rem;
    }
}

/* --- Police Hero (Animated Command Center) --- */

.police-hero {
    position: relative;
    overflow: hidden;
    background-color: #0a0f1a !important;
    /* Fully dark tactical background */
    border-bottom: 2px solid rgba(176, 38, 255, 0.4);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.9), 0 0 30px rgba(176, 38, 255, 0.2);
    z-index: 1;
}

/* Background Grid Animation */
.police-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(176, 38, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(176, 38, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    animation: panGrid 60s linear infinite;
    pointer-events: none;
}

/* Scanline Effect */
.police-hero::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom, transparent, rgba(176, 38, 255, 0.4), transparent);
    z-index: -1;
    animation: scanline 6s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.5;
}

/* Inner Radial Glow */
.police-hero .hero-content-wrap {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.police-hero .hero-content-wrap::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.15) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: neonPulse 5s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

/* Main Title Typography */
.police-title {
    color: #ffffff !important;
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    margin: 0;
    position: relative;
    /* Neon Glow */
    filter: drop-shadow(0 0 15px rgba(176, 38, 255, 0.5));
    animation: titleEntrance 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transition: all 0.5s ease;
}

.police-title:hover {
    color: #00ffff !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: initial !important;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 40px rgba(0, 255, 255, 0.4);
    filter: none;
    transform: scale(1.02);
}

/* Subtle Shimmer Sweep on Title */
.police-title::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: lightSweep 8s infinite 2s;
    pointer-events: none;
}


/* Subtitle */
.police-hero .job-desc-large {
    color: rgba(216, 180, 254, 0.9) !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 12px;
    padding: 0.5rem 0;
    text-transform: uppercase;
    animation: titleEntrance 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
    transition: all 0.5s ease;
    /* Will fade in via animation */
}

.police-hero .job-desc-large:hover {
    color: #ff00bf !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: initial !important;
    text-shadow: 0 0 15px rgba(255, 0, 191, 0.8) !important;
}

/* Animations block */
@keyframes textColorShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes panGrid {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -400px -400px;
    }
}

@keyframes scanline {
    0% {
        top: -10%;
    }

    100% {
        top: 110%;
    }
}

@keyframes neonPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes titleEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lightSweep {
    0% {
        background-position: -200% center;
        opacity: 0;
    }

    20% {
        background-position: 200% center;
        opacity: 1;
    }

    40%,
    100% {
        background-position: 200% center;
        opacity: 0;
    }
}

.police-tab-btn {
    background: rgba(10, 5, 20, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.1);
    color: #888;
    text-transform: uppercase;
    font-weight: 500;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    border-radius: 0;
    transition: all 0.3s;
}

.police-tab-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    color: #fff;
    border-color: #00ffff;
}

.police-tab-btn.active {
    background: #00ffff !important;
    color: #000 !important;
    border-color: #00ffff !important;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5) !important;
    font-weight: 700 !important;
}

.police-hero .tab-nav {
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
}

.police-hero .tab-nav::after {
    background: #00ffff;
    box-shadow: 0 0 10px #00ffff;
}

/* Tactical Hierarchy Dashboard */
.tactical-hierarchy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    padding: 2rem;
    border-radius: 12px;
    background-color: #030712;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.tactical-rank-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(0, 0, 0, 0.9));
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    min-height: 120px;
    /* Ensure uniform size */
}

.tactical-rank-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #00ffff;
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(0, 255, 255, 0.15);
}

.tactical-rank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #00ffff;
    box-shadow: 0 0 10px #00ffff;
    transition: width 0.3s ease;
}

.tactical-rank-card:hover::before {
    width: 8px;
}

.rank-id-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    z-index: 2;
}

.rank-info-box {
    flex: 1;
    z-index: 2;
}

.rank-title {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.rank-category {
    color: #94a3b8;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
}

.tactical-rank-card:hover .rank-title {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.tactical-rank-card:hover .rank-category {
    color: #00ffff;
}

/* Tactical About Us & Recruitment Section */
.tactical-about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.tactical-description {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(0, 0, 0, 0.8));
    border-left: 4px solid #ff00bf;
    padding: 2rem;
    border-radius: 4px;
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    box-shadow: 0 0 20px rgba(255, 0, 191, 0.1);
}

.tactical-description strong {
    color: #ff00bf;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.tactical-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.tactical-service-card {
    background: rgba(10, 5, 20, 0.8);
    border: 1px solid rgba(255, 0, 191, 0.2);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.tactical-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ff00bf;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tactical-service-card:hover {
    transform: translateY(-5px);
    border-color: #ff00bf;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 0, 191, 0.1);
}

.tactical-service-card:hover::before {
    transform: scaleX(1);
}

.tactical-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background: rgba(255, 0, 191, 0.1);
    color: #ff00bf;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px dashed rgba(255, 0, 191, 0.3);
    transition: all 0.3s ease;
}

.tactical-service-card:hover .tactical-icon-box {
    background: #ff00bf;
    color: #000;
    border-color: #ff00bf;
    box-shadow: 0 0 20px #ff00bf;
}

.tactical-service-info h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.tactical-service-info p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Tactical Recruitment Box */
.tactical-contact-box {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(0, 0, 0, 0.9));
    border: 1px solid #00ffff;
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    box-shadow: inset 0 0 40px rgba(0, 255, 255, 0.05), 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Police Recruitment Tactical UI */
.tactical-recruitment-container {
    max-width: 1400px;
    margin: 0 auto;
    font-family: var(--font-body);
}

.tactical-recruitment-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.tactical-recruitment-header h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.tactical-recruitment-header p {
    color: #00ffff;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.tactical-recruitment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.tactical-req-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(5, 10, 20, 0.95));
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 3rem;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.6);
}

.tactical-req-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #00ffff;
    box-shadow: 0 0 15px #00ffff;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.tactical-req-box h3 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding-bottom: 1rem;
}

.tactical-req-box h3 i {
    color: #00ffff;
}

.tactical-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
    padding: 1.2rem 3rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    width: 100%;
}

.tactical-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.tactical-action-btn:hover::before {
    left: 100%;
}

.tactical-action-btn:hover {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    transform: translateY(-3px);
}

.tactical-contact-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20px;
    width: 100px;
    height: 3px;
    background: #00ffff;
    box-shadow: 0 0 10px #00ffff;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-header i {
    font-size: 2.5rem;
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff;
}

.contact-header h3 {
    color: #00ffff;
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.contact-details-grid {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.detail-value {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.status-open {
    color: #00ffaa;
    text-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
}

/* =========================================
   BLACK HELL EXOTICS (BH V2)
   ========================================= */

.bh2-container {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: transparent;
}

/* Accent Color */
.bh2-accent {
    color: #d4af37;
    /* Refined Gold */
}

/* Immersive Hero */
.bh2-hero-wrapper {
    position: relative;
    height: 60vh;
    min-height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 4rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.bh2-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    /* Slight scale for parallax potential */
    z-index: 1;
}

.bh2-hero-overlay {
    position: absolute;
    inset: 0;
    /* Radial gradient to draw focus to center content */
    background: radial-gradient(circle at center, rgba(10, 5, 15, 0.4) 0%, rgba(5, 2, 8, 0.9) 100%);
    z-index: 2;
}

.bh2-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 2rem;
}

.bh2-subtitle {
    color: #d4af37;
    font-size: 1rem;
    letter-spacing: 8px;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.bh2-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 200;
    /* Thin, elegant font weight */
    color: #fff;
    letter-spacing: 2px;
    margin: 0 0 1rem 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.bh2-desc {
    color: #a0aab5;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}

.bh2-cta-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 3rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.bh2-cta-btn:hover {
    background: #d4af37;
    color: #000;
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Philosophy Section (Split Content) */
.bh2-philosophy-section {
    max-width: 1400px;
    margin: 0 auto 5rem auto;
    padding: 0 2rem;
}

.bh2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

/* Very subtle gold glow in the background of the box */
.bh2-grid::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.bh2-text-col,
.bh2-stats-col {
    position: relative;
    z-index: 1;
}

.bh2-text-col h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.bh2-text-col p {
    color: #8fa0af;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

.bh2-stats-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 3rem;
}

.bh2-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #d4af37;
    font-weight: 200;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.bh2-stat-label {
    color: #a0aab5;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Categories Strip */
.bh2-categories-strip {
    max-width: 1400px;
    margin: 0 auto 5rem auto;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.bh2-cat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: #667685;
    transition: all 0.3s ease;
    cursor: default;
}

.bh2-cat:last-child {
    border-right: none;
}

.bh2-cat i {
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.bh2-cat span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 3px;
}

.bh2-cat:hover {
    color: #fff;
}

.bh2-cat:hover i {
    color: #d4af37;
    transform: translateY(-5px);
}

/* Location Footer */
.bh2-location-footer {
    text-align: center;
    padding-bottom: 4rem;
}

.bh2-loc-details h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bh2-loc-details p {
    color: #8fa0af;
    letter-spacing: 1px;
}

/* =========================================
   DEALERSHIP CATALOGUE UI (PREMIUM V2)
   ========================================= */

.bh2-catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
    max-width: 1500px;
    margin: 0 auto;
}

.bh2-vehicle-card {
    background: linear-gradient(180deg, rgba(20, 25, 30, 0.9), rgba(10, 12, 15, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bh2-vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.05), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.bh2-vehicle-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
}

.bh2-vehicle-img-box {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #000;
}

.bh2-vehicle-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    opacity: 0.9;
}

.bh2-vehicle-card:hover .bh2-vehicle-img-box img {
    transform: scale(1.08);
    opacity: 1;
}

.bh2-vehicle-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    padding: 5px 12px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    z-index: 2;
    border-radius: 2px;
}

.bh2-vehicle-details {
    padding: 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.bh2-vehicle-details h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin: 0 0 0.5rem 0;
    letter-spacing: 2px;
    font-weight: 300;
}

.bh2-vehicle-price {
    font-family: var(--font-heading);
    color: #d4af37;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    font-weight: 200;
}

.bh2-btn-buy {
    width: 100%;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bh2-btn-buy:hover {
    background: #d4af37;
    color: #000;
    border-color: #d4af37;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   Golden Rule Card Animated Neon Border (Used in index.html)
   ========================================================================== */
.golden-rule-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    background: rgba(20, 10, 30, 0.8);
    overflow: hidden;
    /* Soft outer pink glow to fulfill "pulsing soft glow" requirement */
    box-shadow: 0 0 20px rgba(255, 0, 191, 0.2);
}

.golden-rule-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent 60%,
            var(--vi-pink) 90%,
            var(--vi-blue) 100%);
    animation: rotate-neon-border 5s linear infinite;
    z-index: 0;
}

.golden-rule-card::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: rgba(20, 10, 30, 0.95);
    border-radius: 9px;
    z-index: 1;
}

.golden-rule-card>* {
    position: relative;
    z-index: 2;
}

.golden-rule-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.golden-rule-icon {
    font-size: 2.5rem;
    color: var(--vi-teal);
    margin-bottom: 1rem;
    transition: color 0.5s ease, transform 0.5s ease;
    display: inline-block;
}

.golden-rule-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: #fff;
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.golden-rule-highlight {
    color: var(--vi-pink);
    transition: color 0.5s ease;
}

.golden-rule-text {
    color: #ccc;
    font-size: 1.1rem;
    transition: color 0.5s ease;
}

/* Hover effects */
.golden-rule-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.3);
}

.golden-rule-card:hover .golden-rule-icon {
    color: var(--vi-pink);
    transform: rotate(15deg) scale(1.1);
}

.golden-rule-card:hover .golden-rule-title {
    color: var(--vi-teal);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.golden-rule-card:hover .golden-rule-highlight {
    color: #fff;
}

.golden-rule-card:hover .golden-rule-text {
    color: #fff;
}

@keyframes rotate-neon-border {
    100% {
        transform: rotate(360deg);
    }
}

/* --- PREMIUM CARD HOVER --- */
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2) !important;
    border-color: var(--vi-teal) !important;
}

.premium-card:hover i {
    color: var(--vi-teal) !important;
    transform: scale(1.1);
}

.premium-card:hover h3 {
    color: var(--vi-teal) !important;
}

.premium-card i {
    transition: all 0.3s ease;
    display: inline-block;
}

/* --- DEEP MOBILE FIXES (Added for Audit) --- */
@media (max-width: 1024px) {
    .bh2-title {
        font-size: 4rem !important;
    }

    .bh2-grid {
        grid-template-columns: 1fr !important;
        padding: 2.5rem !important;
        gap: 2.5rem !important;
    }

    .tactical-recruitment-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {

    /* Fix Black Hell Title and Layout */
    .bh2-title {
        font-size: 3rem !important;
    }

    .bh2-stats-col {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2rem !important;
    }

    .bh2-categories-strip {
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }

    .bh2-cat {
        flex: 1 1 40% !important;
        border-right: none !important;
        padding: 1rem 0;
    }

    .bh2-hero-wrapper {
        height: 50vh !important;
        margin-bottom: 2rem !important;
    }

    /* Fix Police Recruitment Layout */
    .tactical-recruitment-header h2 {
        font-size: 2.2rem !important;
    }

    .tactical-req-box {
        padding: 2rem !important;
    }

    .tactical-contact-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 2rem !important;
    }

    .contact-details-grid {
        gap: 1.5rem !important;
    }

    /* General Padding Fixes */
    .about-glass-panel {
        padding: 2rem !important;
    }

    .job-about-container {
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .bh2-title {
        font-size: 2.5rem !important;
    }

    .bh2-stat-num {
        font-size: 2rem !important;
    }

    .bh2-cat {
        flex: 1 1 100% !important;
    }

    .grand-title {
        font-size: 2.5rem !important;
    }
}
 / *   - - -   R U L E S   P A G E   L A Y O U T   - - -   * / 
 . r u l e s - l a y o u t   { 
         d i s p l a y :   f l e x ; 
         g a p :   3 r e m ; 
         m a x - w i d t h :   1 4 0 0 p x ; 
         m a r g i n :   0   a u t o ; 
         p a d d i n g :   2 r e m ; 
         a l i g n - i t e m s :   f l e x - s t a r t ; 
 } 
 
 . r u l e s - s i d e b a r   { 
         w i d t h :   2 8 0 p x ; 
         f l e x - s h r i n k :   0 ; 
         p o s i t i o n :   s t i c k y ; 
         t o p :   1 2 0 p x ; 
         d i s p l a y :   f l e x ; 
         f l e x - d i r e c t i o n :   c o l u m n ; 
         g a p :   1 r e m ; 
         b a c k g r o u n d :   r g b a ( 2 0 ,   1 0 ,   3 0 ,   0 . 4 ) ; 
         b a c k d r o p - f i l t e r :   b l u r ( 1 0 p x ) ; 
         p a d d i n g :   1 . 5 r e m ; 
         b o r d e r - r a d i u s :   1 6 p x ; 
         b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
 } 
 
 . r u l e - n a v - b t n   { 
         w i d t h :   1 0 0 % ; 
         p a d d i n g :   1 r e m   1 . 5 r e m ; 
         b a c k g r o u n d :   t r a n s p a r e n t ; 
         b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 ) ; 
         c o l o r :   # a a a ; 
         t e x t - a l i g n :   l e f t ; 
         f o n t - f a m i l y :   ' O s w a l d ' ,   s a n s - s e r i f ; 
         f o n t - s i z e :   1 r e m ; 
         b o r d e r - r a d i u s :   8 p x ; 
         c u r s o r :   p o i n t e r ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   1 r e m ; 
 } 
 
 . r u l e - n a v - b t n   i   { 
         w i d t h :   2 0 p x ; 
         t e x t - a l i g n :   c e n t e r ; 
 } 
 
 . r u l e - n a v - b t n : h o v e r , 
 . r u l e - n a v - b t n . a c t i v e   { 
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   0 ,   1 9 1 ,   0 . 1 ) ; 
         c o l o r :   # f f f ; 
         b o r d e r - c o l o r :   # f f 0 0 b f ; 
         b o x - s h a d o w :   0   0   1 5 p x   r g b a ( 2 5 5 ,   0 ,   1 9 1 ,   0 . 2 ) ; 
 } 
 
 . r u l e s - c o n t e n t   { 
         f l e x - g r o w :   1 ; 
 } 
 
 . r u l e - t a b   { 
         d i s p l a y :   n o n e ; 
         a n i m a t i o n :   f a d e I n   0 . 5 s   e a s e   f o r w a r d s ; 
 } 
 
 . r u l e - t a b . a c t i v e - t a b   { 
         d i s p l a y :   b l o c k ; 
 } 
 
 / *   - - -   A P P L Y   P A G E   L A Y O U T   - - -   * / 
 . a p p l y - c o n t a i n e r   { 
         p a d d i n g :   4 r e m   2 r e m ; 
         m a x - w i d t h :   1 2 0 0 p x ; 
         m a r g i n :   0   a u t o ; 
 } 
 
 . a p p l y - g r i d   { 
         d i s p l a y :   g r i d ; 
         g r i d - t e m p l a t e - c o l u m n s :   r e p e a t ( a u t o - f i t ,   m i n m a x ( 3 0 0 p x ,   1 f r ) ) ; 
         g a p :   2 r e m ; 
 } 
 
 . a p p l y - c a r d   { 
         b a c k g r o u n d :   r g b a ( 2 0 ,   1 0 ,   3 0 ,   0 . 6 ) ; 
         b a c k d r o p - f i l t e r :   b l u r ( 1 0 p x ) ; 
         b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 8 ) ; 
         b o r d e r - r a d i u s :   2 0 p x ; 
         p a d d i n g :   3 r e m   2 r e m ; 
         t e x t - a l i g n :   c e n t e r ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
         t r a n s i t i o n :   a l l   0 . 4 s   c u b i c - b e z i e r ( 0 . 1 9 ,   1 ,   0 . 2 2 ,   1 ) ; 
         p o s i t i o n :   r e l a t i v e ; 
         o v e r f l o w :   h i d d e n ; 
 } 
 
 . a p p l y - c a r d : h o v e r   { 
         t r a n s f o r m :   t r a n s l a t e Y ( - 8 p x ) ; 
         b o r d e r - c o l o r :   # 0 0 f 0 f f ; 
         b a c k g r o u n d :   r g b a ( 2 0 ,   1 0 ,   3 0 ,   0 . 8 ) ; 
         b o x - s h a d o w :   0   1 5 p x   4 0 p x   r g b a ( 0 ,   2 4 0 ,   2 5 5 ,   0 . 2 ) ; 
 } 
 
 . a p p l y - c a r d   i   { 
         f o n t - s i z e :   3 r e m ; 
         m a r g i n - b o t t o m :   1 . 5 r e m ; 
         d i s p l a y :   b l o c k ; 
         c o l o r :   # 0 0 f 0 f f ; 
         t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   e a s e ; 
 } 
 
 . a p p l y - c a r d : h o v e r   i   { 
         t r a n s f o r m :   s c a l e ( 1 . 1 ) ; 
         c o l o r :   # f f 0 0 b f ; 
 } 
 
 . a p p l y - c a r d   h 3   { 
         f o n t - s i z e :   1 . 5 r e m ; 
         c o l o r :   # f f f ; 
         m a r g i n - b o t t o m :   0 . 5 r e m ; 
         f o n t - f a m i l y :   ' O s w a l d ' ,   s a n s - s e r i f ; 
 } 
 
 . a p p l y - c a r d   p   { 
         c o l o r :   # a a a ; 
         f o n t - s i z e :   0 . 9 r e m ; 
         m a r g i n - b o t t o m :   1 . 5 r e m ; 
 } 
 
 . b t n - a r r o w   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         w i d t h :   4 0 p x ; 
         h e i g h t :   4 0 p x ; 
         b o r d e r - r a d i u s :   5 0 % ; 
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 ) ; 
         m a r g i n :   0   a u t o ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
 } 
 
 . a p p l y - c a r d : h o v e r   . b t n - a r r o w   { 
         b a c k g r o u n d :   # f f 0 0 b f ; 
         c o l o r :   # f f f ; 
         t r a n s f o r m :   r o t a t e ( - 4 5 d e g ) ; 
 } 
 
 @ m e d i a   ( m a x - w i d t h :   1 0 2 4 p x )   { 
         . r u l e s - l a y o u t   { 
                 f l e x - d i r e c t i o n :   c o l u m n ; 
         } 
         
         . r u l e s - s i d e b a r   { 
                 w i d t h :   1 0 0 % ; 
                 p o s i t i o n :   r e l a t i v e ; 
                 t o p :   0 ; 
                 m a r g i n - b o t t o m :   2 r e m ; 
                 f l e x - d i r e c t i o n :   r o w ; 
                 o v e r f l o w - x :   a u t o ; 
                 p a d d i n g :   1 r e m ; 
                 s c r o l l b a r - w i d t h :   n o n e ; 
         } 
         
         . r u l e s - s i d e b a r : : - w e b k i t - s c r o l l b a r   { 
                 d i s p l a y :   n o n e ; 
         } 
         
         . r u l e - n a v - b t n   { 
                 f l e x - s h r i n k :   0 ; 
                 w i d t h :   a u t o ; 
                 w h i t e - s p a c e :   n o w r a p ; 
         } 
 } 
  
 