@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,400&display=swap');

:root {
    /* 0resmon Premium Color Palette */
    --brand-red: #0066ff; /* Cyan/Teal */
    --brand-red-hover: #0055cc; /* Slightly darker cyan for hover */
    --brand-primary: #0066ff;
    --bg-dark: #0b0c10; /* Pure Dark */
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-light: rgba(255, 255, 255, 0.05);
    --border-medium: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.4);
    --text-gray: rgba(255, 255, 255, 0.6);

    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --container-width: 1400px;
    --header-height: 85px;
    --announcement-height: 0px;
}

/* Base Reset & Background */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    padding-top: calc(var(--header-height) + var(--announcement-height));
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Text Decor */
body::before {
    content: "";
    display: none;
}

.container-custom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 80px;
    width: 100%;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Announcement Bar */
.announcement-bar {
    height: var(--announcement-height);
    background: var(--brand-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    letter-spacing: 0.05em;
}

/* Header Config */
.site-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    z-index: 99999;
    background: transparent;
    height: var(--header-height);
    transition: all 0.3s ease;
    pointer-events: none; /* Let clicks pass through empty spaces */
}

.site-header > * {
    pointer-events: auto; /* Re-enable clicks on content */
}

.header-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    height: 100%;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation */
.nav-pill-hover {
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    text-decoration: none;
}

.nav-pill-hover:hover,
.nav-pill-hover.active {
    background: var(--brand-red);
    color: white;
    border-color: var(--brand-red);
}

.sub-header-bar {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: var(--header-height);
    z-index: 9998;
}

/* Buttons */
.btn-solid-white {
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

.btn-solid-white:hover {
    background: #e6e6e6;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-solid-red {
    background: var(--brand-red);
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 12px;
    border: none;
}

.btn-solid-red:hover {
    background: var(--brand-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

/* Product Grid - 3 Column Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 30px;
    box-sizing: border-box;
}

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

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
}

/* Product Card */
.store-product {
    background: #050505;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 !important;
    gap: 0 !important;
}

.store-product:hover {
    transform: translateY(-4px);
    border-color: #333 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.store-product strong {
    font-weight: inherit;
    color: inherit;
    font-size: inherit;
}

.card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.store-product:hover .card-hover-overlay {
    opacity: 1;
    pointer-events: all;
}

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

.card-desc-clamp * {
    font-size: inherit !important;
    color: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    font-weight: normal !important;
    line-height: inherit !important;
    display: inline !important;
}

.card-desc-clamp img,
.card-desc-clamp iframe,
.card-desc-clamp table,
.card-desc-clamp ul,
.card-desc-clamp li,
.card-desc-clamp br {
    display: none !important;
}

/* Badges */
.discount-badge-red {
    background: var(--brand-red);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 900;
}

.framework-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Glass Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 16px;
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 99, 235, 0.1);
}

/* Utils */
.text-brand {
    color: var(--brand-red);
}

.section-glow {
    position: relative;
}

.section-glow::before {
    content: "";
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Package Page Specific */
.package-grid-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1100px) {
    .package-grid-layout {
        grid-template-columns: 1fr;
    }

    .package-sidebar {
        order: -1;
    }
}

/* =========================================================
   COMPREHENSIVE RESPONSIVE OVERRIDES
========================================================= */

/* Large tablets / small desktops */
@media (max-width: 1100px) {
    .container-custom {
        padding: 0 40px;
    }
}

/* Tablets */
@media (max-width: 900px) {
    :root {
        --header-height: 70px;
    }

    .container-custom {
        padding: 0 24px;
    }

    /* Hero section â€” stack columns vertically */
    .hero-grid-bg {
        padding: 1rem 1.5rem 3rem !important;
    }

    /* Why Choose Us â€” single column */
    #about-us > div:last-child {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    #about-us > div:last-child > div:first-child {
        grid-row: auto !important;
    }

    /* Discord CTA â€” stack */
    .discord-cta {
        flex-direction: column !important;
        padding: 3rem 2.5rem !important;
        text-align: center !important;
        gap: 2rem !important;
    }

    /* Footer â€” 2-column */
    .footer-grid-4col {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }

    /* Footer copyright row */
    .footer-copyright-row {
        flex-direction: column !important;
        gap: 1rem !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    :root {
        --header-height: 65px;
    }

    .container-custom {
        padding: 0 16px;
    }

    /* Footer â€” 1-column */
    .footer-grid-4col {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Discord CTA */
    .discord-cta {
        padding: 2rem 1.5rem !important;
    }

    .discord-cta h2 {
        font-size: 2.2rem !important;
    }

    /* Why Choose Us title */
    #about-us h2 {
        font-size: 2.8rem !important;
    }

    /* Stats bar */
    .stats-bar-hover {
        flex-direction: column !important;
        gap: 1.2rem !important;
        width: 100% !important;
        padding: 1.5rem !important;
    }

    /* Dividers in stats bar */
    .stats-bar-hover > div[style*="width: 1px"] {
        width: 100% !important;
        height: 1px !important;
    }

    /* Hero heading */
    .hero-text-content h1 {
        font-size: 42px !important;
    }

    /* Buttons */
    .hero-text-content > div[style*="display: flex; gap: 1rem"] {
        flex-direction: column !important;
    }

    /* Package title */
    .container-custom h1[style*="4.5rem"] {
        font-size: 2.5rem !important;
    }

    .package-grid-layout {
        gap: 1.5rem !important;
    }

    /* YouTube card width */
    .youtube-card-wide {
        width: 300px !important;
    }

    /* Payment card */
    .payment-card-small {
        width: 260px !important;
    }
}

.accordion-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.accordion-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.btn-add-cart {
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-add-cart:hover {
    background: var(--brand-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 85, 255, 0.3);
}

.sidebar-info-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

/* Gallery */
.thumbnail-item {
    border: 2px solid transparent;
    opacity: 0.6;
}

.thumbnail-item.active {
    border-color: var(--brand-red);
    opacity: 1;
}

/* Footer overrides */
footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: white !important;
}

/* Swiper / YouTube Slider */
.youtube-slider-track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
}

.youtube-card-wide {
    flex: 0 0 31%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
}

.yt-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.youtube-card-wide:hover .yt-play-overlay {
    opacity: 1;
}

