@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

/* CSS Variables for Theme Support */
:root {
    --font-display: 'Orbitron', 'Segoe UI', sans-serif;
    --font-body: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bg-primary: #0a0a0a;
    --bg-card: rgba(20, 20, 25, 0.6);
    --bg-card-dark: rgba(20, 20, 25, 0.7);
    --bg-tertiary: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-color: #d2691e;
    --accent-gradient: linear-gradient(135deg, #d2691e 0%, #cd7f32 100%);
    /* Uniform spacing scale */
    --site-gutter: 1.5rem;
    --site-gutter-sm: 1rem;
    --site-section-y: 3rem;
    --site-section-y-sm: 2rem;
    --site-card-pad: 1.5rem;
    --site-card-pad-lg: 2rem;
    --site-card-pad-xl: 2.5rem;
    --site-stack: 1.5rem;
    --site-content-max: 90rem;
    /* Typography scale (rem-based on 16px root) */
    --font-size-root: 16px;
    --font-size-body: 1.0625rem;
    --font-size-xs: 0.875rem;
    --font-size-sm: 1.0625rem;
    --font-size-base: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.375rem;
    --font-size-2xl: 1.625rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --line-height-body: 1.65;
    --line-height-heading: 1.3;
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: var(--font-size-root);
    background-color: #0a0a0a;
}

/* Better tap highlighting on mobile */
* {
    -webkit-tap-highlight-color: rgba(210, 105, 30, 0.1);
}

[data-theme="light"] {
    --bg-primary: #f5f5f5;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-dark: rgba(255, 255, 255, 0.95);
    --bg-tertiary: rgba(0, 0, 0, 0.05);
    --text-primary: #1a1a1a;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --border-color: rgba(0, 0, 0, 0.1);
}

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

/* Dark theme base - Eye-catching rust orange and black design */
body {
    background-color: #0a0a0a;
    background-image: linear-gradient(135deg, #0a0a0a 0%, #1a0d05 50%, #0a0a0a 100%);
    background-attachment: fixed;
    position: relative;
    color: var(--text-primary);
    min-height: 100vh;
    font-family: var(--font-body);
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
}

/* Readable defaults for main content copy */
main p,
main li,
article p,
article li,
section p,
section li {
    line-height: var(--line-height-body);
}

main p:not([class*="text-"]),
article p:not([class*="text-"]),
section p:not([class*="text-"]) {
    font-size: var(--font-size-base);
}

/* Animated rust orange glow spots */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(210, 105, 30, 0.22) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(205, 127, 50, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(183, 65, 14, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 69, 19, 0.12) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Light mode background */
[data-theme="light"] body {
    background: linear-gradient(135deg, #ffffff 0%, #fdf5e6 50%, #ffffff 100%);
    background-attachment: fixed;
}

[data-theme="light"] body::after {
    background: 
        radial-gradient(circle at 20% 30%, rgba(210, 105, 30, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(205, 127, 50, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(183, 65, 14, 0.08) 0%, transparent 50%);
}

/* Subtle grid pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(210, 105, 30, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(210, 105, 30, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] body::before {
    background-image: 
        linear-gradient(rgba(210, 105, 30, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(210, 105, 30, 0.05) 1px, transparent 1px);
}

main {
    position: relative;
    z-index: 1;
}

/* Glassmorphism navigation - EXACT from scraped data */
.nav-glass {
    background: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 16px;
    position: relative;
    z-index: 1000;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
}

nav.nav-glass .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box;
}

nav.nav-glass .container > div.flex {
    height: auto !important;
    min-height: 3rem;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    flex-wrap: nowrap !important;
    gap: 0.75rem;
}

/* Center the navigation bar on the page with proper margins */
nav.nav-glass {
    margin-left: 16px !important;
    margin-right: 16px !important;
}

@media (min-width: 768px) {
    /* Full-width glass bar so links are never mid-word clipped */
    nav.nav-glass.max-w-7xl {
        width: 100% !important;
        max-width: min(80rem, calc(100vw - 2rem)) !important;
        overflow: visible;
    }

    nav.nav-glass {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .nav-glass {
        padding: 0.5rem 1rem;
    }

    nav.nav-glass .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        width: 100% !important;
        max-width: 100% !important;
    }

    nav.nav-glass .container > div.flex {
        justify-content: flex-start !important;
        gap: 0.4rem;
        min-height: 3rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        flex-wrap: nowrap !important;
    }

    nav.nav-glass .site-nav-desktop {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto;
        flex: 1 1 0;
        min-width: 0;
        width: 100%;
        margin-left: 0.25rem;
        gap: 0.35rem;
        align-items: center;
        max-width: 100%;
    }

    nav.nav-glass .site-nav-links {
        display: flex !important;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding: 0;
        overflow: visible;
    }

    nav.nav-glass .site-nav-links > a {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.78rem;
        padding: 0.25rem 0.28rem;
        line-height: 1.2;
    }

    nav.nav-glass .site-nav-social {
        display: flex !important;
        align-items: center;
        gap: 0.1rem;
        flex-shrink: 0;
        padding-left: 0.4rem;
        padding-right: 0;
        position: relative;
    }

    nav.nav-glass .site-nav-social::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 1.2rem;
        background: rgba(255, 255, 255, 0.14);
    }

    nav.nav-glass .site-nav-social > a {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.78rem;
        padding: 0.2rem 0.28rem;
        line-height: 1.2;
        display: inline-flex !important;
        align-items: center;
        gap: 0.28rem !important;
    }

    nav.nav-glass .site-nav-social .facebook-nav-icon {
        margin-right: 0 !important;
        width: 1em !important;
        height: 1em !important;
    }

    nav.nav-glass .site-nav-actions {
        flex-shrink: 0;
        align-items: center;
        display: flex !important;
        gap: 0.35rem !important;
        padding-left: 0.45rem;
        padding-right: 0.15rem;
        margin-left: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        min-width: max-content;
    }

    nav.nav-glass .site-nav-actions > .btn-primary + .btn-primary {
        margin-left: 0;
    }

    nav.nav-glass .site-nav-actions .btn-primary {
        padding: 0.45rem 0.85rem !important;
        font-size: 0.8125rem !important;
        white-space: nowrap;
        min-height: 2.25rem;
    }

    nav.nav-glass.nav-logged-in .site-nav-actions .btn-primary {
        padding: 0.5rem 0.85rem !important;
        min-height: 2.25rem;
    }

    .site-nav-user-menu .user-nav-welcome {
        max-width: 9rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-nav-user-menu .site-nav-portal-link.btn-primary {
        margin-right: 0.35rem;
        text-decoration: none;
    }

    nav.nav-glass.nav-logged-in .site-nav-user-menu #logout-btn,
    nav.nav-glass.nav-logged-in .site-nav-user-menu .site-nav-portal-link.btn-primary {
        margin-left: 0;
        padding: 0.5rem 0.85rem !important;
        min-height: 2.25rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        border: none;
        cursor: pointer;
        text-decoration: none;
    }

    nav.nav-glass.nav-logged-in .site-nav-user-menu .site-nav-portal-link.btn-primary i,
    nav.nav-glass.nav-logged-in .site-nav-user-menu #logout-btn i {
        margin-right: 0.15rem;
    }

    nav.nav-glass.nav-logged-in .site-nav-actions {
        gap: 0.4rem !important;
        padding-left: 0.55rem;
    }

    nav.nav-glass.nav-logged-in .site-nav-user-menu {
        gap: 0.3rem !important;
    }

    nav.nav-glass .site-nav-brand {
        flex-shrink: 0;
        margin-right: 0.15rem;
    }

    nav.nav-glass .site-nav-brand .gradient-text {
        font-size: 1.25rem;
    }

    /* Short VPS label on mid widths (full text via .nav-label-full) */
    nav.nav-glass .nav-label-short { display: none; }
    nav.nav-glass .nav-label-full { display: inline; }
}

/* Drop longest marketing links before anything clips */
@media (min-width: 768px) and (max-width: 1280px) {
    nav.nav-glass .site-nav-links a[href="/who-is-rax"],
    nav.nav-glass .site-nav-links a[href="/scripts-made-by-rax"] {
        display: none !important;
    }

    nav.nav-glass .site-nav-brand .gradient-text {
        font-size: 1.15rem;
    }

    nav.nav-glass .nav-label-short { display: inline; }
    nav.nav-glass .nav-label-full { display: none; }
}

@media (min-width: 768px) and (max-width: 1100px) {
    nav.nav-glass .site-nav-links > a {
        font-size: 0.75rem;
        padding: 0.25rem 0.3rem;
    }

    nav.nav-glass .site-nav-links {
        gap: 0.15rem 0.3rem;
    }

    nav.nav-glass .site-nav-social {
        padding-left: 0.45rem;
        gap: 0.25rem 0.35rem;
    }

    nav.nav-glass .site-nav-social::before {
        display: none;
    }

    nav.nav-glass .site-nav-actions .btn-primary {
        padding: 0.4rem 0.7rem !important;
        font-size: 0.75rem !important;
        min-height: 2.1rem;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    /* Social text off; icons remain in markup where present */
    nav.nav-glass .site-nav-social > a {
        font-size: 0;
        padding: 0.3rem;
        gap: 0;
    }
    nav.nav-glass .site-nav-social > a i,
    nav.nav-glass .site-nav-social > a svg {
        font-size: 1rem;
        width: 1.1em;
        height: 1.1em;
    }
    nav.nav-glass .site-nav-social > a span {
        display: none;
    }
}

/* Ensure all nav links are clickable */
.nav-glass a {
    position: relative;
    z-index: 1001;
    pointer-events: auto;
    cursor: pointer;
}

/* Nav VPS link ? single line label */
nav.nav-glass a[href="/vps"],
nav.nav-glass a[href="vps"] {
    white-space: nowrap;
}

/* YouTube brand icon (Font Awesome) */
.youtube-icon {
    color: #ff0000;
}

a:hover .youtube-icon,
.footer-link-youtube:hover .youtube-icon {
    color: #ff3333;
}

.discord-icon {
    color: #5865f2;
}

a:hover .discord-icon {
    color: #7289da;
}

.facebook-icon {
    color: #1877f2;
}

a:hover .facebook-icon {
    color: #4293fb;
}

/* Facebook nav link: space between logo and "Facebook" label */
nav a[href*="facebook.com"] {
    gap: 0.45rem;
}
nav a[href*="facebook.com"] > svg {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    margin-right: 0.45rem;
    display: inline-block;
    vertical-align: -0.18em;
}

.social-chip-youtube {
    padding: 1rem 2rem !important;
    gap: 0.75rem;
}

.social-chip-youtube:hover {
    border-color: rgba(255, 0, 0, 0.45) !important;
}

/* Nav auth buttons ? vertical spacing in mobile menu */
#mobile-menu .site-nav-mobile-menu-auth + .site-nav-mobile-menu-auth {
    margin-top: 0.75rem;
}

/* FiveM Dev landing hero */
.fivem-dev-hero {
    padding: 1.75rem;
    border: 1px solid rgba(255, 140, 0, 0.22);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .fivem-dev-hero {
        padding: 2.5rem;
    }
}

.fivem-dev-hero-media {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 140, 0, 0.28);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    background: rgba(10, 10, 10, 0.45);
}

.fivem-dev-hero-video {
    width: 100%;
    display: block;
    min-height: 12rem;
    max-height: 18rem;
    object-fit: contain;
    background: rgba(10, 10, 10, 0.35);
}

@media (min-width: 768px) {
    .fivem-dev-hero-video {
        min-height: 16rem;
        max-height: 22rem;
    }
}

.fivem-dev-hero-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 0.875rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.fivem-dev-hero-profile img {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 140, 0, 0.45);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.fivem-dev-showcase {
    margin-bottom: 2rem;
}

.fivem-dev-meet-rax {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .fivem-dev-meet-rax {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }
}

.fivem-dev-meet-rax img {
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
    display: block;
    border-radius: 1rem;
    border: 1px solid rgba(255, 140, 0, 0.25);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

/* Light mode navigation */
[data-theme="light"] .nav-glass {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Orange accent gradient - EXACT from scraped data */
.gradient-bg {
    background: linear-gradient(135deg, #d2691e 0%, #cd7f32 100%);
}

/* Nav Sign Up ? keep label on one line; do not shrink in crowded flex nav */
nav a.btn-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
    padding: 0.5rem 1.1rem !important;
    min-height: 2.35rem;
}

/* Cart count badge in nav */
.cart-link-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding-left: 0.35rem;
    padding-right: 0.85rem;
    margin-left: 0;
}

@media (min-width: 768px) {
    nav.nav-glass .cart-link-wrap {
        padding-right: 1.35rem;
        margin-right: 0.15rem;
    }
}

/* Nav brand ? title only */
.site-nav-brand {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0;
    padding: 0.2rem 0.65rem 0.2rem 0.25rem;
    border-radius: 12px;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.site-nav-brand:hover {
    opacity: 0.95;
}

.site-nav-brand .gradient-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.1;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
    .site-nav-brand {
        padding: 0.5rem 1rem 0.5rem 0.5rem;
    }

    .site-nav-brand .gradient-text {
        font-size: 1.5rem;
    }
}

@media (min-width: 1280px) {
    .site-nav-brand .gradient-text {
        font-size: 1.625rem;
    }
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: #fff;
    background: #d2691e;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.3);
}
.cart-count-badge.hidden { display: none !important; }
.cart-count-badge-inline { position: static; top: auto; right: auto; margin-left: 6px; }

.gradient-text {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #f08a35 0%, #d2691e 45%, #cd7f32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: 0.045em;
    line-height: 1.08;
    text-wrap: balance;
    filter:
        drop-shadow(0 2px 10px rgba(0, 0, 0, 0.75))
        drop-shadow(0 0 28px rgba(210, 105, 30, 0.35));
}

h1, h2, h3 {
    font-family: var(--font-display);
    letter-spacing: 0.025em;
}

h1 {
    font-weight: 800;
}

h2, h3 {
    font-weight: 700;
}

.accent-text {
    color: #d2691e;
}

/* Glass effect cards - EXACT from scraped data */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.glass-effect-dark {
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

/* Light mode card styling - improved appearance */
[data-theme="light"] .glass-effect-dark {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Alert/notice box - theme-aware, amber/orange to match site accent */
.alert-notice {
    background: rgba(255, 237, 213, 0.95);
    border-left: 4px solid #ea580c;
    color: #9a3412;
}
[data-theme="dark"] .alert-notice {
    background: rgba(67, 20, 7, 0.6);
    border-left-color: #fb923c;
    color: #fed7aa;
}

/* Card hover ? same lift + orange glow as buttons */
.card-hover {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.card-hover:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 60px rgba(210, 105, 30, 0.4),
                0 10px 30px rgba(205, 127, 50, 0.3);
    border-color: rgba(210, 105, 30, 0.6);
    z-index: 10;
}

[data-theme="light"] .card-hover:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 60px rgba(210, 105, 30, 0.35),
                0 10px 30px rgba(205, 127, 50, 0.25),
                0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(210, 105, 30, 0.6);
    background: rgba(255, 255, 255, 1);
    z-index: 10;
}

/* Homepage hero CTA buttons ? glass + accent theme */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1rem 0;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.875rem;
        padding: 1.25rem 1rem 0;
    }
}

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.875rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    text-decoration: none;
    border-radius: 9999px;
    cursor: pointer;
    white-space: nowrap;
    isolation: isolate;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease;
}

@media (min-width: 768px) {
    .hero-cta {
        min-height: 3.25rem;
        padding: 1rem 1.75rem;
        font-size: 1.0625rem;
        letter-spacing: 0;
    }
}

.hero-cta > * {
    position: relative;
    z-index: 2;
}

.hero-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 48%);
    pointer-events: none;
    z-index: 1;
}

.hero-cta-primary {
    color: #fff;
    background: var(--accent-gradient);
    border: 1px solid rgba(255, 180, 100, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 4px 14px rgba(0, 0, 0, 0.28),
        0 0 28px rgba(210, 105, 30, 0.22);
}

.hero-cta-secondary {
    color: var(--text-secondary);
    background: rgba(20, 20, 25, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 4px 14px rgba(0, 0, 0, 0.28);
}

.hero-cta-youtube {
    color: var(--text-secondary);
    background: rgba(20, 20, 25, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 4px 14px rgba(0, 0, 0, 0.28);
}

.hero-cta-youtube .youtube-icon {
    font-size: 1.35rem;
    transition: color 0.35s ease;
}

@media (max-width: 639px) {
    .hero-cta {
        flex: 0 1 auto;
        width: auto;
        max-width: 100%;
        min-width: 0;
        padding-left: 1.125rem;
        padding-right: 1.125rem;
    }

    .hero-cta-primary {
        flex: 0 1 auto;
        width: auto;
        max-width: 100%;
    }
}

/* Orange button — pill shape; flex so icon + label stay vertically centered */
.btn-primary,
button.btn-primary,
a.btn-primary {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    color: #fff;
    border-radius: 9999px !important;
    border: 1px solid rgba(180, 83, 9, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 4px 14px rgba(0, 0, 0, 0.28),
        0 0 20px rgba(146, 64, 14, 0.22);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.03em;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease !important;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1;
    vertical-align: middle;
    cursor: pointer;
}

.btn-primary > i,
button.btn-primary > i,
a.btn-primary > i,
.btn-primary > .fas,
.btn-primary > .fab,
.btn-primary > .far {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Unified button hover ? View All Products lift + orange glow */
.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover,
.hero-cta:hover {
    transform: translateY(-6px) !important;
    color: #fff !important;
    background: linear-gradient(135deg, #c2410c 0%, #b45309 50%, #92400e 100%) !important;
    border-color: rgba(194, 65, 12, 0.5) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 12px 36px rgba(180, 83, 9, 0.45),
        0 6px 20px rgba(146, 64, 14, 0.35) !important;
}

.btn-primary:active,
button.btn-primary:active,
a.btn-primary:active,
.hero-cta:active {
    transform: translateY(-2px) !important;
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.25),
        0 6px 18px rgba(180, 83, 9, 0.38),
        0 3px 10px rgba(146, 64, 14, 0.3) !important;
}

.hero-cta-youtube:hover .youtube-icon {
    color: #fff;
}

/* Ensure hover wins over any continuous animation; keep button visible (animate-on-load starts at opacity: 0) */
.btn-primary.anim-float:hover,
a.btn-primary.anim-float:hover {
    animation: none;
    opacity: 1;
}

/* Text colors - EXACT from scraped data */
.text-muted {
    color: #9ca3af;
}

/* Light mode text colors - better contrast */
[data-theme="light"] .text-muted {
    color: #6b7280;
}

/* Link hover - EXACT from scraped data */
.link-hover:hover {
    color: #d2691e;
}

/* Tailwind text color classes */
.text-gray-300 {
    color: #d1d5db !important;
}

.text-gray-400 {
    color: #9ca3af !important;
}

.text-gray-500 {
    color: #6b7280 !important;
}

.text-gray-600 {
    color: #4b5563 !important;
}

.text-gray-800 {
    color: #1f2937 !important;
}

.text-gray-900 {
    color: #111827 !important;
}

.text-white {
    color: #ffffff !important;
}

/* Hover colors */
.hover\:text-orange-400:hover,
[class*="hover:text-orange-400"]:hover {
    color: #fb923c !important;
}

/* Sub-header styling - EXACT from scraped data */
.sub-header {
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hide scrollbar but allow scrolling - EXACT from scraped data */
.overflow-x-auto::-webkit-scrollbar {
    height: 4px;
}

.overflow-x-auto::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.overflow-x-auto::-webkit-scrollbar-thumb {
    background: rgba(210, 105, 30, 0.3);
    border-radius: 2px;
}

.overflow-x-auto::-webkit-scrollbar-thumb:hover {
    background: rgba(210, 105, 30, 0.5);
}

/* Theme toggle button - EXACT from scraped data */
.theme-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.theme-toggle:hover {
    background: var(--bg-card-dark);
    border-color: #d2691e;
    transform: scale(1.1);
}

/* Theme-aware overrides for common Tailwind classes - EXACT from scraped data */
[data-theme="light"] .text-white {
    color: var(--text-primary) !important;
}

[data-theme="light"] .bg-white {
    background-color: var(--bg-card) !important;
}

[data-theme="light"] .bg-gray-50,
[data-theme="light"] .bg-gray-100 {
    background-color: var(--bg-tertiary) !important;
}

[data-theme="light"] .text-gray-800,
[data-theme="light"] .text-gray-900 {
    color: var(--text-primary) !important;
}

[data-theme="light"] .text-gray-600,
[data-theme="light"] .text-gray-500 {
    color: var(--text-muted) !important;
}

[data-theme="light"] .border-gray-200,
[data-theme="light"] .border-gray-300 {
    border-color: var(--border-color) !important;
}

[data-theme="light"] .border-gray-700,
[data-theme="light"] .border-gray-800 {
    border-color: var(--border-color) !important;
}

/* Smooth transitions for theme changes - EXACT from scraped data */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Ensure all links are clickable */
a[href] {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 10;
}

/* Exclude images and videos from color transitions - EXACT from scraped data */
img, video, svg, canvas {
    transition: none !important;
}

/* Global theme-aware overrides for common patterns - EXACT from scraped data */
[data-theme="light"] .bg-white,
[data-theme="light"] .bg-gray-50,
[data-theme="light"] .bg-gray-100 {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .bg-white {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .bg-gray-50,
[data-theme="dark"] .bg-gray-100 {
    background-color: var(--bg-card-dark) !important;
    color: var(--text-primary) !important;
}

/* Input and form elements - EXACT from scraped data */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: var(--text-muted) !important;
}

/* Logo styling to match Tailwind classes */
.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #d2691e 0%, #cd7f32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation links */
.nav-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fb923c;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 24px;
}

.mobile-link {
    display: block;
    padding: 12px 0;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--accent-color);
}

/* Container */
.container {
    max-width: var(--site-content-max);
    margin: 0 auto;
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-muted);
    max-width: 768px;
    margin: 0 auto 40px;
    line-height: 1.65;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 48px;
    text-align: center;
    background: linear-gradient(135deg, #d2691e 0%, #cd7f32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 24px 48px rgba(210, 105, 30, 0.3);
    border-color: rgba(210, 105, 30, 0.5);
    z-index: 10;
}

.product-image-placeholder {
    width: 100%;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #d2691e;
}

.product-info {
    padding: 20px;
}

p, li, span, div {
    font-size: inherit;
}

.product-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-current {
    font-size: 20px;
    font-weight: bold;
    color: #d2691e;
}

.price-old {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 16px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 24px 48px rgba(210, 105, 30, 0.3);
    border-color: rgba(210, 105, 30, 0.5);
    z-index: 10;
}

/* Package card styles */
.package-card {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 60px rgba(210, 105, 30, 0.4),
                0 10px 30px rgba(205, 127, 50, 0.3);
    border-color: rgba(210, 105, 30, 0.6) !important;
    z-index: 10;
}

/* Selected/current tier card */
.package-card.tier-current,
.tier-current {
    transform: translateY(-10px) scale(1.04) !important;
    box-shadow: 0 18px 56px rgba(249, 115, 22, 0.45),
                0 9px 28px rgba(249, 115, 22, 0.3),
                0 0 0 2px rgba(249, 115, 22, 0.4) !important;
    border-color: #f97316 !important;
    background: var(--bg-card) !important;
    z-index: 5;
}

.package-card.tier-current:hover,
.tier-current:hover {
    transform: translateY(-14px) scale(1.06) !important;
    box-shadow: 0 24px 72px rgba(249, 115, 22, 0.5),
                0 12px 36px rgba(249, 115, 22, 0.35),
                0 0 0 2px rgba(249, 115, 22, 0.5) !important;
    z-index: 15;
}

/* Tier card styles */
.tier-card {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    position: relative;
}

.tier-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 60px rgba(210, 105, 30, 0.4),
                0 10px 30px rgba(205, 127, 50, 0.3);
    border-color: rgba(210, 105, 30, 0.6) !important;
    z-index: 10;
}

/* Make VPS card text larger with proper structure */
.package-card .text-sm {
    font-size: var(--font-size-base) !important;
    display: block;
    line-height: 1.45;
}

.package-card .text-xs {
    font-size: var(--font-size-sm) !important;
    display: block;
    line-height: 1.5;
}

.package-card .font-bold {
    font-size: var(--font-size-lg) !important;
    display: block;
    line-height: 1.35;
}

.package-card .mb-1 {
    margin-bottom: 8px !important;
}

.package-card .mb-2 {
    margin-bottom: 10px !important;
}

.tier-card .text-xs {
    font-size: var(--font-size-sm) !important;
    display: block;
    line-height: 1.45;
}

.tier-card .accent-text {
    font-size: var(--font-size-base) !important;
    display: block;
}

/* Feature / product list check marks */
.check-icon,
i.fas.fa-check-circle,
i.fas.fa-circle-check.check-icon {
    color: #22c55e !important;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    padding: 0.2rem 0.45rem 0.2rem 0.15rem;
    margin-right: 0.875rem !important;
    margin-top: 0.15rem;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5));
}

/* Each check-list row in its own bordered box (site-wide) */
ul:has(> li .check-icon),
ul:has(> li i.fa-circle-check) {
    list-style: none;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

ul:has(> li .check-icon) > li + li,
ul:has(> li i.fa-circle-check) > li + li {
    margin-top: 0 !important;
}

ul > li:has(.check-icon),
ul > li:has(i.fa-circle-check) {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(255, 140, 0, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, background 0.2s ease;
}

ul > li:has(.check-icon):hover,
ul > li:has(i.fa-circle-check):hover {
    border-color: rgba(255, 140, 0, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

ul > li:has(.check-icon) .check-icon,
ul > li:has(i.fa-circle-check) .check-icon {
    margin-top: 0;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: #9ca3af;
    line-height: 1.6;
    font-size: 14px;
}

/* Footer */
footer {
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

/* Center footer content */
footer.nav-glass {
    margin-left: auto !important;
    margin-right: auto !important;
}

footer.nav-glass .container {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

footer.nav-glass .footer-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

footer.nav-glass .footer-grid > div {
    text-align: center;
}

footer.nav-glass .footer-links {
    text-align: center;
}

footer.nav-glass .footer-bottom {
    text-align: center;
}

.footer-brand {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #d2691e 0%, #cd7f32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-heading {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 16px;
    color: #d2691e;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    font-size: 14px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 14px;
}

/* Footer Contact column ? unified contact chips */
.footer-links:has(a[href*="john@raxdevelopment"]) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    max-width: 19rem;
    margin: 0 auto;
    padding: 0;
}

.footer-links:has(a[href*="john@raxdevelopment"]) li {
    width: 100%;
    margin-bottom: 0;
}

.footer-links:has(a[href*="john@raxdevelopment"]) .footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.9rem 1.35rem;
    border-radius: 10px;
    border: 1px solid rgba(180, 83, 9, 0.38);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    color: #d1d5db;
    font-size: 0.9375rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.footer-links:has(a[href*="john@raxdevelopment"]) .footer-link:hover {
    color: #f3f4f6;
    border-color: rgba(210, 105, 30, 0.65);
    background: rgba(180, 83, 9, 0.14);
    transform: translateY(-1px);
}

.footer-links:has(a[href*="john@raxdevelopment"]) a[href*="john@"]:not(:has(i))::before,
.footer-links:has(a[href*="john@raxdevelopment"]) a[href^="tel:"]:not(:has(i))::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    font-size: 0.95rem;
    width: 1.125rem;
    text-align: center;
    flex-shrink: 0;
    color: #d2691e;
}

.footer-links:has(a[href*="john@raxdevelopment"]) a[href*="john@"]:not(:has(i))::before {
    content: "\f0e0";
}

.footer-links:has(a[href*="john@raxdevelopment"]) a[href^="tel:"]:not(:has(i))::before {
    content: "\f095";
}

.footer-links:has(a[href*="john@raxdevelopment"]) .fa-discord {
    color: #5865f2;
    font-size: 1.05rem;
}

.footer-links:has(a[href*="john@raxdevelopment"]) .footer-link-youtube:hover {
    border-color: rgba(255, 0, 0, 0.45);
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info-list > li,
ul > li.flex.items-center:has(.fa-envelope),
ul > li.flex.items-center:has(.fa-phone),
ul > li.flex.items-center:has(.fab.fa-discord) {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 140, 0, 0.22);
    background: rgba(255, 255, 255, 0.04);
}

.contact-info-list > li i,
ul > li.flex.items-center:has(.fa-envelope) i,
ul > li.flex.items-center:has(.fa-phone) i,
ul > li.flex.items-center:has(.fab.fa-discord) i {
    margin-right: 0 !important;
    padding: 0.2rem 0.35rem;
    flex-shrink: 0;
}

/* Scripts Made By RAX ? under construction */
.under-construction-banner {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 2.5rem;
    border-radius: 1.25rem;
    border: 2px solid rgba(255, 140, 0, 0.55);
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.18) 0%, rgba(30, 30, 30, 0.95) 45%, rgba(20, 20, 20, 0.98) 100%);
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.15);
}

.under-construction-banner__icon {
    font-size: 4rem;
    color: #ff8c00;
    margin-bottom: 1.25rem;
    display: block;
}

.under-construction-banner__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.under-construction-banner__title .gradient-text {
    display: block;
    margin-top: 0.35rem;
}

.under-construction-banner__lead {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.under-construction-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

/* Icon + label CTAs: force space between glyph and text (gap alone is unreliable with FA) */
.rax-icon-btn,
a.rax-icon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    column-gap: 0 !important;
    gap: 0 !important;
}

.rax-icon-btn > i,
a.rax-icon-btn > i {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    width: 1.15em !important;
    text-align: center !important;
}

.rax-icon-btn > span,
a.rax-icon-btn > span {
    margin: 0 !important;
    padding-left: 0.85rem !important;
    line-height: 1.15 !important;
}

.scripts-catalog-pending {
    display: none !important;
}

/* Scripts Made By RAX catalog */
.rax-scripts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .rax-scripts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.rax-script-card {
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    overflow: hidden;
}

.rax-script-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.rax-script-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.rax-script-video iframe,
.rax-script-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.rax-yt-facade .rax-yt-play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #000;
    display: block;
}

.rax-yt-facade .rax-yt-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rax-yt-facade .rax-yt-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ff0000;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
    pointer-events: none;
    transition: transform 0.15s ease;
}

.rax-yt-facade .rax-yt-play:hover .rax-yt-play-icon {
    transform: scale(1.08);
}

.rax-script-video video {
    object-fit: contain;
    background: #000;
}

.rax-script-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    height: 12rem;
    color: var(--text-muted);
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
}

.rax-script-video-placeholder i {
    font-size: 2.5rem;
    color: #ff8c00;
}

.rax-script-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.rax-script-desc,
.rax-script-benefits {
    line-height: 1.6;
    color: var(--text-secondary);
    font-size: 1rem;
}

.rax-script-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.85rem 1.5rem;
    text-align: center;
    width: fit-content;
}

.rax-script-buy-soon {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* Homepage / feature contact chips */
a.inline-flex.items-center:has(.fa-envelope),
a.inline-flex.items-center:has(.fa-phone),
a.inline-flex.items-center:has(.fab.fa-discord) {
    padding: 0.9rem 1.25rem !important;
    gap: 0.75rem !important;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-link:hover {
    color: #d2691e;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* Support for Tailwind grid classes */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    [class*="md:grid-cols-2"],
    [class*="md\\:grid-cols-2"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    [class*="md:grid-cols-3"],
    [class*="md\\:grid-cols-3"] {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    
    [class*="md:grid-cols-4"],
    [class*="md\\:grid-cols-4"] {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1024px) {
    [class*="lg:grid-cols-4"],
    [class*="lg\\:grid-cols-4"] {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

.gap-6 {
    gap: var(--site-stack);
}

.gap-8 {
    gap: 32px;
}

/* Additional utility classes */
.rounded-2xl {
    border-radius: 16px;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Light mode shadows - softer and more visible */
[data-theme="light"] .shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.overflow-hidden {
    overflow: hidden;
}

.w-full {
    width: 100%;
}

.h-48 {
    height: 140px;
}

.object-cover {
    object-fit: cover;
}

/* Larger image size for hero/featured items */
.h-96 {
    height: 280px;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: var(--site-card-pad);
}

.p-8 {
    padding: var(--site-card-pad-lg);
}

.p-10 {
    padding: var(--site-card-pad-xl);
}

.text-2xl {
    font-size: var(--font-size-2xl);
}

.text-3xl {
    font-size: var(--font-size-3xl);
}

.text-4xl {
    font-size: var(--font-size-4xl);
}

.text-5xl {
    font-size: var(--font-size-5xl);
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-12 {
    margin-bottom: 48px;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-14 {
    padding-top: var(--site-section-y);
    padding-bottom: var(--site-section-y);
}

.py-8 {
    padding-top: var(--site-section-y-sm);
    padding-bottom: var(--site-section-y-sm);
}

.pt-16 {
    padding-top: 4rem;
}

.pb-10 {
    padding-bottom: 2.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-6 {
    margin-bottom: var(--site-stack);
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-10 {
    gap: 2.5rem;
}

.font-extrabold {
    font-weight: 800;
}

.font-bold {
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.text-xs {
    font-size: var(--font-size-xs);
}

.text-sm {
    font-size: var(--font-size-sm);
}

.text-base {
    font-size: var(--font-size-base);
}

.text-lg {
    font-size: var(--font-size-lg);
}

.text-xl {
    font-size: var(--font-size-xl);
}

.mb-2 {
    margin-bottom: 8px;
}

.line-through {
    text-decoration: line-through;
}

/* Light mode line-through - darker color for better visibility */
[data-theme="light"] .line-through {
    color: #9ca3af;
    opacity: 0.7;
}

.items-center {
    align-items: center;
}

.space-x-2 > * + * {
    margin-left: 8px;
}

/* Responsive Design - Mobile Optimizations */
@media (max-width: 768px) {
    /* Typography ? keep readable on mobile (same scale as desktop) */
    html {
        font-size: var(--font-size-root);
    }
    
    body {
        font-size: var(--font-size-body);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
        line-height: 1.12;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.5;
        padding: 0;
    }
    
    .section-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    /* Grid layouts ? single column except homepage product cards (keeps 2-col tablet layout) */
    .products-grid,
    .grid:not(.homepage-product-grid) {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    /* Navigation ? match desktop proportions */
    .nav-glass {
        margin-left: 16px;
        margin-right: 16px;
        padding: 0.65rem 0.85rem;
        border-radius: 20px;
    }
    
    /* Logo adjustments on mobile */
    nav a.flex.items-center img {
        height: 48px !important;
    }
    
    nav a.flex.items-center span {
        font-size: 18px;
    }
    
    /* Mobile menu improvements */
    #mobile-menu {
        padding: 16px;
        border-radius: 12px;
        margin-top: 8px;
    }
    
    #mobile-menu a {
        padding: 12px 8px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    /* Touch-friendly buttons */
    .btn-primary,
    button.btn-primary,
    a.btn-primary {
        padding: 14px 20px !important;
        font-size: 15px !important;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Card spacing */
    .glass-effect,
    .glass-effect-dark {
        padding: 16px;
        margin: 12px 0;
    }
    
    /* Package/tier cards on mobile */
    .package-card,
    .tier-card {
        padding: 10px !important;
        margin-bottom: 10px;
    }
    
    /* Make cards more compact */
    .package-card > div,
    .tier-card > div {
        margin-bottom: 4px;
    }
    
    .package-card > div:last-child,
    .tier-card > div:last-child {
        margin-bottom: 0;
    }
    
    /* Category headers on mobile */
    .category-header h3 {
        font-size: 20px !important;
    }
    
    /* Container padding uses site spacing variables (see end of styles.css) */
    
    /* Hero section adjustments */
    main.container {
        padding-top: var(--site-section-y-sm);
        padding-bottom: var(--site-section-y-sm);
    }
    
    /* Max width containers on mobile */
    .max-w-7xl {
        max-width: 100%;
    }
    
    /* Section padding scales down via :root vars in site spacing block */
    
    .px-4 {
        padding-left: var(--site-gutter-sm) !important;
        padding-right: var(--site-gutter-sm) !important;
    }
    
    .px-6 {
        padding-left: var(--site-gutter) !important;
        padding-right: var(--site-gutter) !important;
    }
    
    /* Logo sizing on mobile */
    nav a.flex.items-center img {
        height: 48px !important;
        padding: 4px;
    }
    
    nav a.flex.items-center span {
        font-size: 20px;
    }
    
    /* Better spacing for product cards */
    .product-card,
    .card-hover {
        margin-bottom: 16px;
    }
    
    /* Same card hover as desktop */
    .card-hover:hover,
    .package-card:hover,
    .tier-card:hover,
    .product-card:hover {
        transform: translateY(-12px) scale(1.05);
    }
    
    .package-card.tier-current:hover,
    .tier-current:hover {
        transform: translateY(-12px) scale(1.05);
    }
    
    /* Card text on mobile ? still readable */
    .package-card .text-sm {
        font-size: var(--font-size-base) !important;
        line-height: 1.45 !important;
    }
    
    .package-card .text-xs {
        font-size: var(--font-size-sm) !important;
        line-height: 1.45 !important;
    }
    
    .package-card .font-bold {
        font-size: var(--font-size-lg) !important;
        line-height: 1.35 !important;
    }
    
    /* Reduce spacing between lines in cards */
    .package-card .mb-1 {
        margin-bottom: 4px !important;
    }
    
    .package-card .mb-2 {
        margin-bottom: 6px !important;
    }
    
    /* Tier cards */
    .tier-card .text-xs {
        font-size: var(--font-size-sm) !important;
        line-height: 1.45 !important;
    }
    
    .tier-card .accent-text {
        font-size: var(--font-size-base) !important;
        line-height: 1.45 !important;
    }
    
    /* Adjust pricing card text on mobile */
    .price-current {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    .product-name {
        font-size: var(--font-size-lg);
        line-height: 1.35;
        margin-bottom: 6px !important;
    }
    
    .price-old {
        font-size: var(--font-size-base);
    }
    
    /* Feature cards on mobile */
    .feature-title {
        font-size: var(--font-size-xl) !important;
        line-height: 1.35;
    }
    
    .feature-description {
        font-size: var(--font-size-sm) !important;
        line-height: 1.55;
    }
    
    .feature-icon {
        font-size: 40px !important;
        margin-bottom: 10px !important;
    }
    
    /* Mobile-friendly footer */
    .footer-links li {
        margin-bottom: 8px;
        font-size: var(--font-size-base);
    }
    
    .footer-brand {
        font-size: var(--font-size-2xl);
        margin-bottom: 12px;
    }
    
    .footer-heading {
        font-size: var(--font-size-lg);
        margin-bottom: 12px;
        margin-top: 20px;
    }
    
    .footer-link {
        font-size: var(--font-size-base);
    }
    
    .footer-bottom {
        font-size: var(--font-size-sm);
    }
    
    /* Ensure text is readable */
    p, li {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Mobile: same readable text scale */
    .text-xs {
        font-size: var(--font-size-xs);
    }
    
    .text-sm {
        font-size: var(--font-size-sm);
    }
    
    .text-base {
        font-size: var(--font-size-base);
    }
    
    /* Touch target sizing for mobile */
    a, button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    /* Mobile form inputs */
    input, textarea, select {
        font-size: 16px !important; /* Prevents iOS zoom */
        padding: 12px;
    }
    
    /* VPS page mobile fixes */
    #package-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    /* Ensure buttons are easily tappable */
    .btn-primary {
        min-height: 48px;
        padding: 14px 20px !important;
    }
    
    /* Make dropdowns easier to use */
    select {
        min-height: 48px;
        -webkit-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d2691e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 40px;
    }
    
    /* Improve spacing in config summary */
    #config-summary,
    #config-price {
        font-size: 14px !important;
    }
    
    /* Better layout for two-column sections on mobile */
    .grid.md\:grid-cols-2,
    [class*="md:grid-cols-2"] {
        gap: 12px !important;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Utility Classes */
/* Note: .hidden is defined above in responsive section */

.mt-4 {
    margin-top: 16px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-8 {
    margin-bottom: 32px;
}

.mt-10 {
    margin-top: 40px;
}

.mx-4 {
    margin-left: 16px;
    margin-right: 16px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-7xl {
    max-width: var(--site-content-max);
}

.max-w-6xl {
    max-width: 80rem;
}

.max-w-5xl {
    max-width: 72rem;
}

.max-w-4xl {
    max-width: 64rem;
}

.max-w-3xl {
    max-width: 56rem;
}

.max-w-2xl {
    max-width: 48rem;
}

.px-4 {
    padding-left: var(--site-gutter-sm);
    padding-right: var(--site-gutter-sm);
}

.px-6 {
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-12 {
    padding-top: var(--site-section-y);
    padding-bottom: var(--site-section-y);
}

.space-x-3 > * + * {
    margin-left: 12px;
}

.space-x-6 > * + * {
    margin-left: 24px;
}

.space-y-2 > * + * {
    margin-top: 8px;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

/* Logo - keep icon and text on same line */
nav a.flex.items-center {
    display: flex !important;
    align-items: center !important;
    white-space: nowrap;
    flex-shrink: 0;
}

nav a.flex.items-center span {
    white-space: nowrap;
    flex-shrink: 0;
}

nav a.flex.items-center div {
    flex-shrink: 0;
}

/* Logo image styling - bigger with padding */
nav a.flex.items-center img {
    height: 64px !important;
    width: auto !important;
    padding: 8px;
    object-fit: contain;
    margin-right: 4px;
}

.h-20 {
    height: auto;
    min-height: 3rem;
}

nav.nav-glass .h-20 {
    height: auto !important;
    min-height: 3rem;
}

.font-semibold {
    font-weight: 600;
}

.inline-block {
    display: inline-block;
}

/* Tailwind responsive utilities */
.hidden {
    display: none !important;
}

@media (min-width: 768px) {
    /* Show elements with md:flex on desktop */
    [class*="md:flex"] {
        display: flex !important;
    }
    
    /* Hide elements with md:hidden on desktop */
    [class*="md:hidden"] {
        display: none !important;
    }
    
    .md\:mx-auto,
    [class*="md:mx-auto"] {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Fix for hidden md:flex pattern - show on desktop */
    .hidden[class*="md:flex"],
    [class*="hidden"][class*="md:flex"] {
        display: flex !important;
    }
}

/* Ensure navigation links are always visible on desktop */
@media (min-width: 768px) {
    /* Force navigation menu to show on desktop - multiple selectors to catch all variations */
    nav div.hidden[class*="md:flex"],
    nav div[class*="hidden"][class*="md:flex"],
    nav .hidden.md\:flex,
    nav div.container > div > div.hidden[class*="md:flex"] {
        display: flex !important;
        visibility: visible !important;
    }
    
    /* Navigation links styling */
    nav a.text-gray-300,
    nav a[class*="text-gray-300"] {
        color: #d1d5db !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative;
        z-index: 1001;
    }
    
    /* Ensure all navigation items are visible */
    nav a[href] {
        display: inline-block !important;
        visibility: visible !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative;
        z-index: 1001;
    }
    
    /* Sign Up button */
    nav a.btn-primary {
        display: inline-flex !important;
        visibility: visible !important;
        white-space: nowrap;
        flex-shrink: 0;
    }

    nav div[class*="hidden"][class*="md:flex"]:not(.site-nav-desktop) {
        flex-shrink: 0;
        flex-wrap: nowrap;
    }
}

/* Force navigation visibility - override any hidden classes on desktop */
@media (min-width: 768px) {
    /* Target navigation menu with hidden md:flex */
    nav div[class*="hidden"][class*="md:flex"]:not(.site-nav-desktop) {
        display: flex !important;
    }
    
    /* Override inline styles if present */
    nav div[class*="hidden"][class*="md:flex"]:not(.site-nav-desktop)[style*="display: none"] {
        display: flex !important;
    }

    /* Keep links + auth/cart inside the glass bar — links column takes remaining width */
    nav.nav-glass .site-nav-desktop,
    nav.nav-glass div.site-nav-desktop[class*="md:flex"],
    nav.nav-glass.nav-logged-in .site-nav-desktop,
    nav.nav-glass.nav-logged-in div.site-nav-desktop[class*="md:flex"] {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto;
    }
}

/* Looping logo videos - no controls, behave like images */
.logo-video {
    display: block;
    background: #0a0a0a;
}
.logo-video::-webkit-media-controls {
    display: none !important;
}
.logo-video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* Homepage full-page background image (index.html only) - extends to very top to avoid black bar */
.homepage-bg-wrap {
    position: fixed;
    top: calc(-1 * env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100% + env(safe-area-inset-top, 0px));
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0d05 0%, #0a0a0a 50%, #1a0d05 100%);
}
.homepage-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
}
.homepage-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.5);
    pointer-events: none;
}

/* Homepage intro video — site stays visible behind a centered player */
html.rax-intro-active,
html.rax-intro-active body {
    overflow: hidden;
}
html.rax-intro-active #rax-zoom-toggle,
html.rax-intro-active #rax-zoom-tip {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.rax-intro {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}
.rax-intro[hidden],
.rax-intro.is-done {
    display: none !important;
}
.rax-intro.is-hiding {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.rax-intro-panel {
    position: relative;
    width: min(1380px, 96vw); /* ~150% of previous 920px player */
    aspect-ratio: 16 / 9;
    max-height: min(90vh, 780px);
    border-radius: 1rem;
    overflow: hidden;
    background: #0a0a0a;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.rax-intro-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0a0a0a;
    display: block;
}
.rax-intro-poster {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}
.rax-intro-poster.is-hidden {
    display: none !important;
}
.rax-intro-waiting .rax-intro-video {
    opacity: 0;
}
.rax-intro-gate {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: block;
    padding: 0;
    background: transparent;
}
.rax-intro-gate[hidden] {
    display: none !important;
}
.rax-intro-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    width: clamp(4.5rem, 10vw, 6.5rem);
    height: clamp(4.5rem, 10vw, 6.5rem);
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.rax-intro-play:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translate(-50%, -50%) scale(1.06);
}
.rax-intro-play.is-loading {
    opacity: 0.7;
    pointer-events: none;
}
.rax-intro-play.is-loading .rax-intro-play-triangle {
    opacity: 0.55;
}
.rax-intro-play-triangle {
    display: block;
    width: 0;
    height: 0;
    margin-left: 0.35rem;
    border-style: solid;
    border-width: 0.85rem 0 0.85rem 1.4rem;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.92);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.rax-intro-gate-actions {
    position: absolute;
    left: 50%;
    top: 34%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.rax-intro-watch,
.rax-intro-skip-gate,
.rax-intro-skip {
    appearance: none;
    border-radius: 999px;
    cursor: pointer;
    font: 600 0.9rem/1.2 system-ui, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85rem 1.45rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.rax-intro-watch {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 107, 53, 0.95);
    color: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    animation: rax-intro-watch-pulse 2.2s ease-in-out infinite;
}
.rax-intro-watch:hover {
    background: #ff6b35;
}
.rax-intro-skip-gate {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.9);
}
.rax-intro-skip-gate:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.55);
}
.rax-intro-skip {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.85;
    animation: rax-intro-skip-fade 28s linear forwards;
}
.rax-intro-skip[hidden] {
    display: none !important;
}
.rax-intro-skip:hover,
.rax-intro-skip:focus-visible {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    outline: none;
    animation-play-state: paused;
}
@keyframes rax-intro-watch-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
@keyframes rax-intro-skip-fade {
    0% { opacity: 0.9; }
    35% { opacity: 0.65; }
    70% { opacity: 0.4; }
    100% { opacity: 0.22; }
}
@media (max-width: 640px) {
    .rax-intro {
        padding: 0.85rem;
        align-items: center;
    }
    .rax-intro-panel {
        width: min(100%, 96vw);
        max-height: min(70vh, 420px);
    }
    /* Keep Watch + Skip on one visible row (was clipping Skip off-screen) */
    .rax-intro-gate-actions {
        top: 20%;
        left: 50%;
        transform: translate(-50%, 0);
        width: calc(100% - 0.75rem);
        max-width: calc(100% - 0.75rem);
        flex-wrap: nowrap;
        gap: 0.4rem;
        padding: 0.4rem 0.45rem;
        border-radius: 999px;
        box-sizing: border-box;
        z-index: 6;
    }
    .rax-intro-watch,
    .rax-intro-skip-gate {
        flex: 0 1 auto;
        font-size: 0.68rem;
        letter-spacing: 0.04em;
        padding: 0.6rem 0.7rem;
        white-space: nowrap;
        min-width: 0;
    }
    .rax-intro-skip-gate {
        flex: 0 0 auto;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: rgba(0, 0, 0, 0.65);
        border-color: rgba(255, 255, 255, 0.55);
    }
    .rax-intro-play {
        width: 3.75rem;
        height: 3.75rem;
        top: 58%;
    }
    .rax-intro-play-triangle {
        border-width: 0.65rem 0 0.65rem 1.05rem;
        margin-left: 0.25rem;
    }
    /* Playing-state Skip: keep visible on small screens */
    .rax-intro-skip {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.72rem;
        padding: 0.55rem 0.85rem;
        opacity: 1;
        animation: none;
        background: rgba(0, 0, 0, 0.65);
        z-index: 7;
    }
}

/* Homepage section — same intro buttons, much larger */
.rax-intro-page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto 2.5rem;
    max-width: 56rem;
}
.rax-intro-page-watch,
.rax-intro-page-skip {
    appearance: none;
    border-radius: 999px;
    cursor: pointer;
    font: 800 clamp(1.15rem, 3.2vw, 1.75rem)/1.1 system-ui, sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: clamp(1.1rem, 2.4vw, 1.55rem) clamp(2rem, 5vw, 3.25rem);
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.rax-intro-page-watch {
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 107, 53, 0.95);
    color: #fff;
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.35);
}
.rax-intro-page-watch:hover {
    background: #ff6b35;
    transform: scale(1.03);
}
.rax-intro-page-skip {
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.95);
}
.rax-intro-page-skip:hover {
    background: rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.65);
    transform: scale(1.03);
}
@media (max-width: 640px) {
    .rax-intro-page-actions {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    .rax-intro-page-watch,
    .rax-intro-page-skip {
        width: 100%;
        max-width: 22rem;
        text-align: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .rax-intro-skip {
        animation: none;
        opacity: 0.55;
    }
}

/* Homepage service cards ? 3?2 desktop; 2?6 on mobile only */
.homepage-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .homepage-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .homepage-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.homepage-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.homepage-card-video {
    height: 12rem;
    object-fit: contain;
    flex-shrink: 0;
    background: rgba(10, 10, 10, 0.35);
}

.homepage-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.5rem 1.5rem;
}

.homepage-card-cta {
    display: inline-block;
    margin-top: auto;
    padding-top: 0.75rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
}

@media (min-width: 768px) {
    .homepage-card-video {
        height: 13rem;
    }

    .homepage-card-cta {
        font-size: 1.125rem;
    }
}

.homepage-view-all {
    margin-top: 3rem;
    padding-top: 2.5rem;
}

.homepage-view-all-btn {
    display: inline-block;
    padding: 1.125rem 2.25rem 1rem;
    font-size: 1.0625rem;
}

@media (min-width: 768px) {
    .homepage-view-all {
        margin-top: 3.5rem;
        padding-top: 3rem;
    }

    .homepage-view-all-btn {
        padding: 1.25rem 2.5rem 1.125rem;
        font-size: 1.125rem;
    }
}

/* Shop page product cards */
.shop-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .shop-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .shop-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.shop-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    border: 1px solid rgba(255, 140, 0, 0.12);
}

.shop-card-photo {
    position: relative;
    height: 11rem;
    overflow: hidden;
    background: #0a0a0a;
}

.shop-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.35s ease;
}

.shop-product-card:hover .shop-card-photo img {
    transform: scale(1.04);
}

.shop-card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .shop-card-photo {
        height: 12rem;
    }
}

.shop-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.shop-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.5rem 1.5rem;
}

.shop-card-body h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.shop-card-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.875rem;
}

.shop-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.875rem;
}

.shop-card-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 0.375rem;
    background: rgba(255, 140, 0, 0.1);
    color: #fdba74;
    border: 1px solid rgba(255, 140, 0, 0.15);
}

.shop-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    flex: 1;
}

.shop-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 0.4rem;
}

.shop-card-features li:last-child {
    margin-bottom: 0;
}

.shop-card-features li i {
    color: #f97316;
    font-size: 0.7rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-card-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ff8c00;
    line-height: 1.2;
}

.shop-card-price small {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

.shop-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.shop-product-card:hover .shop-card-cta {
    background: rgba(255, 140, 0, 0.15);
    border-color: rgba(255, 140, 0, 0.35);
    color: #fdba74;
}

@media (max-width: 480px) {
    .shop-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-card-cta {
        justify-content: center;
    }
}

/* ==========================================================================
   YouTube temporarily hidden site-wide ? delete this block to restore
   ========================================================================== */
a[href*="youtube.com"],
a[href*="youtu.be"],
.hero-cta-youtube,
.social-chip-youtube,
.footer-link-youtube {
    display: none !important;
}

footer .footer-links li:has(> a[href*="youtube.com"]),
footer .footer-links li:has(> a[href*="youtu.be"]) {
    display: none !important;
}

nav .site-nav-social a[href*="youtube"],
#mobile-menu a[href*="youtube.com"],
#mobile-menu a[href*="youtu.be"],
.site-nav-links a[href*="youtube.com"],
.site-nav-links a[href*="youtu.be"] {
    display: none !important;
}

.rax-script-video-placeholder {
    display: none !important;
}

/* Homepage testimonials ? compact quote cards */
.home-testimonials-wrap {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--site-gutter-sm);
    padding-right: var(--site-gutter-sm);
}

@media (min-width: 768px) {
    .home-testimonials-wrap {
        max-width: 42rem;
    }
}

.home-testimonials-grid {
    gap: 1rem;
}

@media (min-width: 768px) {
    .home-testimonials-grid {
        gap: 0.875rem;
    }
}

.home-testimonials-grid .glass-effect-dark {
    padding: 1rem 1.125rem !important;
}

.home-testimonials-grid p.text-lg {
    font-size: var(--font-size-base);
    line-height: 1.55;
}

#fit-quiz #quiz-result-text {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-body);
    color: var(--text-secondary);
}
@media (min-width: 768px) {
    #fit-quiz #quiz-result-text {
        font-size: var(--font-size-xl);
    }
}

/* Fit quiz (index + fivem-dev) */
#fit-quiz {
    padding-top: 1.5rem;
    padding-bottom: var(--site-section-y);
}

#fit-quiz > .container > h2 {
    margin-bottom: 0.5rem;
}

#fit-quiz > .container > p.text-lg.text-center {
    margin-bottom: 1.25rem;
}

#fit-quiz #quiz-question {
    font-size: 1.375rem;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.25rem;
    min-height: 3rem;
    color: var(--text-primary);
}
@media (min-width: 640px) {
    #fit-quiz #quiz-question {
        font-size: 1.625rem;
        min-height: 3.25rem;
    }
}
@media (min-width: 768px) {
    #fit-quiz #quiz-question {
        font-size: 1.875rem;
        line-height: 1.35;
        max-width: 42rem;
        margin-left: auto;
        margin-right: auto;
    }
}
#fit-quiz #quiz-progress {
    margin-bottom: 1rem;
}

#fit-quiz .quiz-answer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
#fit-quiz #quiz-no {
    margin-left: 1.5rem;
}
@media (max-width: 480px) {
    #fit-quiz #quiz-no {
        margin-left: 0;
        margin-top: 0.75rem;
    }
}
/* Fit-quiz Yes/No buttons (index + fivem-dev) */
.quiz-answer-btn {
    padding: 1rem 2.75rem !important;
    font-size: 1.15rem !important;
    min-height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Page scrollbar ? darker orange, auto-hides when idle (toggled by /js/scrollbar.js) */
html {
    scrollbar-width: thin;
    scrollbar-color: #b45309 transparent;
}
html.rax-scroll-idle {
    scrollbar-color: transparent transparent;
}
html::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
html::-webkit-scrollbar-track {
    background: transparent;
}
html::-webkit-scrollbar-thumb {
    background: #b45309;
    border-radius: 9999px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background 0.25s ease;
}
html::-webkit-scrollbar-thumb:hover {
    background: #c2410c;
    background-clip: padding-box;
}
html.rax-scroll-idle::-webkit-scrollbar-thumb {
    background: transparent;
}
html.rax-scroll-idle::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

/* Site-wide uniform spacing (overrides scattered inline/Tailwind gaps) */
main.container.mx-auto {
    padding-top: var(--site-section-y);
    padding-bottom: var(--site-section-y);
}

.container.mx-auto.px-4,
.container.mx-auto.px-6 {
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
}

nav.nav-glass .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

footer .container,
footer.nav-glass .container {
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
}

.glass-effect-dark.rounded-2xl:not([class*="p-"]):not(.homepage-product-card),
.glass-effect-dark.rounded-xl:not([class*="p-"]) {
    padding: var(--site-card-pad);
}

@media (min-width: 768px) {
    .md\:p-10,
    .md\\:p-10 {
        padding: var(--site-card-pad-xl) !important;
    }

    .md\:p-12,
    .md\\:p-12 {
        padding: 3rem !important;
    }

    .glass-effect-dark.rounded-2xl.p-8.md\:p-10,
    .glass-effect-dark.rounded-2xl.p-8.md\\:p-10 {
        padding: var(--site-card-pad-xl) !important;
    }

    .glass-effect-dark.rounded-2xl.p-8.md\:p-12,
    .glass-effect-dark.rounded-2xl.p-8.md\\:p-12 {
        padding: 3rem !important;
    }
}

@media (max-width: 767px) {
    :root {
        --site-gutter: 1rem;
        --site-section-y: 2.25rem;
        --site-section-y-sm: 1.5rem;
        --site-card-pad: 1.25rem;
    }
}
