@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --accent-primary: #0356fc;
    --accent-secondary: #0243c9;
    --accent-primary-rgb: 3, 86, 252;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition-soft: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-secondary);
    border-radius: 10px;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    transform: translate(-50%, -50%);
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(var(--accent-primary-rgb), 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 50%);
    -webkit-mask-image: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 50%);
}

.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(at 0% 0%, rgba(var(--accent-primary-rgb), 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(var(--accent-primary-rgb), 0.05) 0px, transparent 50%);
    z-index: -3;
    pointer-events: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
}

.nav-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent-primary) 50%,
            transparent);
    overflow: hidden;
}

.nav-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent);
    animation: divider-glint 4s linear infinite;
}

@keyframes divider-glint {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-primary);
    letter-spacing: -1px;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo span {
    color: var(--accent-primary);
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-soft);
}

.nav-links a i {
    font-size: 1rem;
    opacity: 0.7;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover i {
    color: var(--accent-primary);
    opacity: 1;
}

.discord-btn {
    background: #5865F2;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-soft);
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.nav-btn {
    background: var(--accent-primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-soft);
    box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-primary-rgb), 0.5);
}

/* Layout — legacy product pages only; .mw-site overrides below */
section {
    padding: 8rem 10% 4rem;
    min-height: 100vh;
}

/* Marketing sections should grow only as tall as their content. */
.mw-site section {
    min-height: 0;
    padding: 0;
    height: auto;
}

.mw-site section.mw-block {
    padding: var(--mw-section-y) 5vw;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 6rem 10% 2rem;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--accent-primary);
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-soft);
    box-shadow: 0 0 30px rgba(var(--accent-primary-rgb), 0.2);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(var(--accent-primary-rgb), 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: var(--transition-soft);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Features Grid */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition-soft);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--accent-primary-rgb), 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    color: var(--accent-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-soft);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-primary);
}

.product-img {
    width: 100%;
    height: 250px;
    background: #151515;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-secondary), transparent);
}

.product-content {
    padding: 2rem;
    flex-grow: 1;
}

.product-tag {
    background: rgba(var(--accent-primary-rgb), 0.15);
    color: var(--accent-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    text-transform: uppercase;
}

.product-features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-category {
    margin-bottom: 1.5rem;
}

.feature-category h4 {
    color: var(--accent-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    border-left: 2px solid var(--accent-primary);
    padding-left: 0.5rem;
}

.product-features {
    list-style: none;
}

.product-features li {
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.product-features li::before {
    content: 'â€¢';
    color: var(--accent-primary);
    font-weight: bold;
}

.pricing-table {
    margin: 1.5rem 0;
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-soft);
}

.price-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--accent-primary-rgb), 0.3);
}

.price-item.active {
    background: rgba(var(--accent-primary-rgb), 0.1);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(var(--accent-primary-rgb), 0.1);
}

.purchase-btn-container {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease, margin 0.3s ease;
    opacity: 0;
}

.purchase-btn-container.visible {
    height: 60px;
    margin-top: 1.5rem;
    opacity: 1;
}

.price-item .duration {
    color: var(--text-secondary);
}

.price-item .price {
    color: var(--text-primary);
    font-weight: 700;
}

.requirement-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-top: 1rem;
}

.requirement-badge span {
    color: var(--accent-primary);
    font-weight: bold;
}

/* Loader Page */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.loader-card {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 4rem 3rem;
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.loader-card .logo {
    position: relative;
    left: 0;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.loader-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.4;
}

.key-input {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    margin: 2rem 0;
    outline: none;
    transition: var(--transition-soft);
}

.key-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(var(--accent-primary-rgb), 0.2);
}

.status-msg {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.5rem;
}

.status-error {
    color: #ff4d4d;
}

.status-success {
    color: #40ff40;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    border-radius: 12px;
    padding: 1.5rem;
}

.faq-item h3 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Footer */
footer {
    padding: 4rem 10%;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Carousel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.carousel-item {
    width: 400px;
    height: 220px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Products Grid (Small Icons) */
.products-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.product-icon-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    transition: var(--transition-soft);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-icon-card:hover {
    border-color: var(--accent-primary);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(var(--accent-primary-rgb), 0.2);
}

.product-icon-card i {
    font-size: 4rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.product-icon-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
}

/* Detail Page */
.detail-header {
    display: flex;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.detail-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.detail-info {
    flex: 1;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--glass-border, rgba(255, 255, 255, .08));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, .08));
}

.detail-grid .feature-category {
    margin: 0;
    border-radius: 0;
    background: rgba(12, 12, 14, .96);
    padding: 1rem 1.1rem;
}

.detail-showcase {
    margin-top: 4rem;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Showcase Gallery */
.gallery-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-soft);
}

.gallery-dot.active {
    background: var(--accent-primary);
    width: 24px;
    border-radius: 6px;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: var(--transition-soft);
    z-index: 10;
}

.gallery-arrow:hover {
    background: var(--accent-primary);
}

.gallery-arrow.prev {
    left: 1.5rem;
}

.gallery-arrow.next {
    right: 1.5rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Auth nav (login / dashboard) */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.nav-auth .auth-chip {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    transition: var(--transition-soft);
    white-space: nowrap;
}

.nav-auth .auth-chip:hover {
    color: var(--text-primary);
    border-color: rgba(var(--accent-primary-rgb), 0.35);
}

.nav-auth .auth-chip-primary {
    background: rgba(var(--accent-primary-rgb), 0.12);
    border-color: rgba(var(--accent-primary-rgb), 0.35);
    color: var(--accent-primary);
}

.nav-auth .auth-chip-primary:hover {
    background: rgba(var(--accent-primary-rgb), 0.2);
    color: #fff;
}

.nav-auth .auth-chip-btn {
    font-family: inherit;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-secondary);
    transition: var(--transition-soft);
}

.nav-auth .auth-chip-btn:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* Auth & dashboard pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 5.5rem;
}

.auth-site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    z-index: 10;
}

.auth-site-footer .auth-site-copy {
    position: absolute;
    left: 1.5rem;
    bottom: 1rem;
    font-weight: 500;
    pointer-events: none;
}

@media (max-width: 640px) {
    .auth-site-footer {
        padding-bottom: 2.4rem;
    }

    .auth-site-footer .auth-site-copy {
        left: 1.25rem;
        bottom: 0.55rem;
        font-size: 0.75rem;
    }
}

.auth-site-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    transition: var(--transition-soft);
}

.auth-site-footer a:hover {
    color: #5865f2;
}

.auth-site-footer .auth-site-brand {
    font-weight: 600;
}

.auth-site-footer .auth-site-brand img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
}

.auth-card h1 {
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
    color: var(--accent-primary);
}

.auth-card .sub {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.auth-field {
    margin-bottom: 1.1rem;
}

.auth-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.45rem;
}

.auth-field input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-soft);
}

.auth-field input.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.02em;
}

.auth-field input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.12);
}

.auth-error {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    min-height: 1.2em;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

.btn-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: none;
    background: #5865f2;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-soft);
}

.btn-discord:hover {
    background: #4752c4;
    color: #fff;
}

.auth-footer {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
}

.dashboard-wrap {
    padding: 7rem 4% 4rem;
    max-width: 1600px;
    width: min(1600px, 96vw);
    margin: 0 auto;
}

.dashboard-hero {
    margin-bottom: 2.5rem;
}

.dashboard-hero h1 {
    font-size: 2.25rem;
    color: var(--accent-primary);
    margin-bottom: 0.35rem;
}

.dashboard-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.dash-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.75rem 2rem;
}

.dash-panel h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.dash-panel .key-input {
    margin: 0;
}

.dash-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    -webkit-overflow-scrolling: touch;
}

.dash-panel--licenses {
    width: 100%;
    overflow: visible;
}

.dash-panel--licenses .dash-table-wrap {
    width: 100%;
}

.dash-table {
    width: 100%;
    min-width: 1080px;
    border-collapse: collapse;
    font-size: 0.9rem;
    table-layout: auto;
}

.dash-table th {
    text-align: left;
    padding: 0.65rem 0.85rem;
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
}

.dash-table td {
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    vertical-align: top;
    white-space: normal;
    word-break: break-word;
    line-height: 1.45;
}

.dash-table .mono {
    font-family: ui-monospace, monospace;
    font-size: 0.82rem;
    color: #b8c5d6;
    white-space: normal;
    word-break: break-all;
    max-width: none;
}

.badge-ok {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.35);
}

.badge-warn {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(241, 196, 15, 0.12);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.35);
}

.roadmap-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem 1.75rem;
    margin-top: 1rem;
}

.roadmap-card ul {
    margin: 0.75rem 0 0 1.1rem;
    color: var(--text-secondary);
}

.roadmap-card li {
    margin-bottom: 0.5rem;
}

/* Mobile menu toggle (injected by main.js on public pages) */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-soft);
}

.nav-toggle:hover {
    border-color: rgba(var(--accent-primary-rgb), 0.4);
    color: var(--accent-primary);
}

@media (max-width: 900px) {
    nav {
        padding: 0.85rem 5%;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.35rem;
        min-width: 0;
        flex: 1;
    }

    .logo img {
        height: 36px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 5% 1rem;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--glass-border);
        z-index: 999;
        max-height: calc(100vh - 62px);
        overflow-y: auto;
    }

    nav.nav-open .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 0.85rem 0.5rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-right {
        gap: 0.45rem;
        flex-shrink: 0;
        max-width: 55%;
    }

    .discord-btn {
        padding: 0.5rem 0.65rem;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .nav-auth .auth-menu-btn,
    .nav-auth .auth-chip {
        font-size: 0.72rem;
        padding: 0.4rem 0.55rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .auth-menu-btn .auth-menu-name {
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    section {
        padding: 6rem 5% 3rem;
    }

    .hero {
        padding: 5rem 5% 2rem;
        min-height: auto !important;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 10vw, 3rem);
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        gap: 0.75rem;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-icon-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-icon-card {
        padding: 2rem 1.5rem;
    }

    .detail-header {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .detail-info h1 {
        font-size: 2rem !important;
    }

    .detail-image {
        width: 100%;
        height: 220px !important;
    }

    .gallery-container {
        height: min(56vw, 320px);
    }

    .dashboard-wrap {
        padding: 5.5rem 5% 3rem;
    }

    .dashboard-topbar h1 {
        font-size: 1.5rem;
    }

    .dash-table {
        font-size: 0.85rem;
        min-width: 760px;
    }

    .dash-table th,
    .dash-table td {
        padding: 0.65rem 0.65rem;
    }

    .dash-table .mono {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .discord-btn {
        font-size: 0;
        gap: 0;
        padding: 0.5rem;
        min-width: 40px;
        justify-content: center;
    }

    .discord-btn i {
        font-size: 1.05rem;
    }

    .nav-auth .auth-chip {
        padding: 0.4rem 0.5rem;
    }

    .nav-auth .auth-chip span,
    .nav-auth .auth-chip:not(.auth-chip-primary) {
        font-size: 0;
    }

    .nav-auth .auth-chip i {
        font-size: 0.9rem;
        margin: 0;
    }
}

.auth-back {
    position: fixed;
    top: 1.35rem;
    left: 1.35rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(5, 5, 5, 0.85);
    color: var(--text-secondary);
    text-decoration: none;
    z-index: 1002;
    transition: var(--transition-soft);
}

.auth-back:hover {
    color: var(--text-primary);
    border-color: rgba(var(--accent-primary-rgb), 0.4);
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    position: relative;
}

.dashboard-topbar h1 {
    line-height: 1.2;
    word-break: break-word;
    max-width: 100%;
    flex: 1 1 auto;
    min-width: 12rem;
}

.dash-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.dash-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(8, 8, 8, 0.9);
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
    transition: var(--transition-soft);
}

.dash-link-btn:hover {
    color: var(--text-primary);
    border-color: rgba(var(--accent-primary-rgb), 0.35);
    background: rgba(12, 12, 12, 0.95);
}

.dash-link-btn-danger {
    color: #ff8888;
    border-color: rgba(255, 107, 107, 0.35);
}

.dash-link-btn-danger:hover {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.6);
}

.dash-link-btn-sm {
    padding: 0.32rem 0.65rem;
    font-size: 0.75rem;
    border-radius: 10px;
}

.dash-meta-line {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 0.65rem;
    line-height: 1.5;
    word-break: break-word;
}

.dash-inline-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0.25rem;
}

.dash-row-form {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.dash-key-input {
    flex: 1 1 220px;
    min-width: 0;
    margin: 0 !important;
    height: 40px;
    padding: 0 0.9rem;
    font-size: 0.9rem;
    border-radius: 12px;
}

#redeem-panel .dash-link-btn,
#download-panel .dash-link-btn {
    height: 40px;
    min-width: 132px;
    flex: 0 0 auto;
}

#download-panel .dash-row-form {
    min-height: 40px;
}

#redeem-err,
#dl-msg {
    margin-top: 0.75rem;
    min-height: 1.2em;
}

#dl-msg {
    color: var(--text-secondary);
}

.dash-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.75);
}

.dash-modal[hidden] {
    display: none !important;
}

.dash-modal-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    max-width: 400px;
    width: 100%;
}

.dash-modal-card h3 {
    margin: 0 0 1rem;
    color: var(--accent-primary);
}

.dash-modal-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dash-modal-option {
    width: 100%;
    justify-content: flex-start;
    white-space: normal;
    word-break: break-all;
    text-align: left;
    height: auto;
    min-height: 40px;
    padding: 0.7rem 0.85rem;
}

.dash-modal-cancel {
    margin-top: 1rem;
    width: 100%;
}

.trial-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0.85rem 0 1rem;
}

.trial-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    text-align: left;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(8, 8, 8, 0.9);
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-soft);
}

.trial-option:hover {
    color: var(--text-primary);
    border-color: rgba(var(--accent-primary-rgb), 0.35);
}

.trial-option.is-selected {
    color: var(--text-primary);
    border-color: rgba(var(--accent-primary-rgb), 0.55);
    background: rgba(var(--accent-primary-rgb), 0.08);
    box-shadow: inset 0 0 0 1px rgba(var(--accent-primary-rgb), 0.2);
}

.trial-option-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: inherit;
}

.trial-option-meta {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.invite-code {
    word-break: break-all;
    max-width: 28rem;
    cursor: pointer;
}

.invite-code .invite-code-value {
    display: none;
}

.invite-code:hover .invite-code-mask,
.invite-code:focus-visible .invite-code-mask {
    display: none;
}

.invite-code:hover .invite-code-value,
.invite-code:focus-visible .invite-code-value {
    display: inline;
}

#upgrade-buy {
    margin-top: 0.25rem;
}

.trial-status-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(8, 8, 8, 0.55);
    margin: 0.75rem 0 0;
}

.trial-status-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.trial-status-card .dash-link-btn {
    align-self: flex-start;
}

@media (max-width: 900px) {
    .trial-picker {
        grid-template-columns: 1fr;
    }
}

/* Topbar auth dropdown (main site only) */
.auth-menu-wrap {
    position: relative;
}

.auth-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-secondary);
    padding: 0.45rem 0.85rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-soft);
    white-space: nowrap;
}

.auth-menu-btn:hover {
    color: var(--text-primary);
    border-color: rgba(var(--accent-primary-rgb), 0.35);
}

.auth-menu-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(var(--accent-primary-rgb), 0.2);
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    border: 1px solid rgba(var(--accent-primary-rgb), 0.35);
}

.auth-menu-popout {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 225px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(5, 5, 5, 0.95);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    padding: 0.45rem;
    display: none;
    z-index: 1003;
}

.auth-menu-popout.open {
    display: block;
}

.auth-menu-head {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.35rem 0.4rem 0.55rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 0.35rem;
}

.auth-menu-head strong {
    font-size: 0.9rem;
}

.auth-menu-head p {
    color: var(--text-secondary);
    font-size: 0.76rem;
}

.auth-menu-item {
    width: 100%;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    text-align: left;
    padding: 0.5rem 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-soft);
}

.auth-menu-item i {
    width: 16px;
    color: var(--text-secondary);
}

.auth-menu-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(var(--accent-primary-rgb), 0.35);
}

.auth-menu-item-danger {
    color: #ff8a8a;
}

.auth-menu-item-danger i {
    color: #ff8a8a;
}

.auth-menu-item-danger:hover {
    color: #ff6b6b;
}

.auth-menu-item-danger:hover i {
    color: #ff6b6b;
}

.key-copy {
    cursor: pointer;
    user-select: none;
    white-space: normal;
    word-break: break-all;
}

.key-copy.copied {
    color: #2ecc71;
}

#account-email,
#discord-status {
    word-break: break-word;
    line-height: 1.5;
}

#pick-game-list button {
    white-space: normal;
    word-break: break-all;
    line-height: 1.4;
}


/* =========================================================
   Riptide marketing frontend — cards, detail, motion
   ========================================================= */

:root {
  --mw-bg: #070707;
  --mw-panel: #101010;
  --mw-line: #292929;
  --mw-text: #f3f1ed;
  --mw-muted: #aaa8a3;
  --mw-accent: #0356fc;
  --mw-product-accent: #0356fc;
  --mw-section-y: clamp(2.5rem, 4vw, 4.25rem);
  --mw-block-gap: clamp(1.5rem, 3vw, 2.5rem);
}

.mw-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--mw-bg);
  color: var(--mw-text);
  font-family: Sora, Inter, system-ui, sans-serif;
  position: relative;
}

.mw-site > .mw-nav,
.mw-site > .mw-page,
.mw-site > .mw-detail-main,
.mw-site > .mw-footer,
.mw-site > main:not(.mw-page):not(.mw-detail-main) {
  position: relative;
  z-index: 1;
}

.mw-site > .mw-page,
.mw-site > .mw-detail-main,
.mw-site > main.mw-section {
  flex: 1 0 auto;
}

/* Unified fixed background for all marketing pages */
.mw-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mw-site .mesh-gradient,
.mw-site .grid-bg,
.mw-site .bg-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mw-site .mesh-gradient {
  background-image:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(3, 86, 252, .07) 0, transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(3, 86, 252, .05) 0, transparent 50%),
    linear-gradient(180deg, #080808 0%, #070707 50%, #060606 100%);
}

.mw-site .grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: none;
  -webkit-mask-image: none;
  opacity: .55;
}

.mw-site .bg-glow {
  width: 55vw;
  height: 55vw;
  top: var(--mouse-y, 40%);
  left: var(--mouse-x, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(3, 86, 252, .1) 0%, transparent 68%);
  filter: blur(90px);
  opacity: .85;
}

.mw-page {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.mw-page-body {
  display: flex;
  flex-direction: column;
}

.mw-block {
  padding: var(--mw-section-y) 5vw;
  border-top: 1px solid rgba(255, 255, 255, .05);
  background: linear-gradient(135deg, rgba(255, 255, 255, .018), transparent 45%);
}

.mw-page-body > .mw-block:first-child {
  border-top: 0;
}

.mw-block-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.mw-block-inner--center {
  text-align: center;
}

.mw-block-head {
  margin-bottom: var(--mw-block-gap);
  max-width: 620px;
}

.mw-block-head--center {
  margin-left: auto;
  margin-right: auto;
}

.mw-block-head .mw-overline {
  display: block;
  margin-bottom: .85rem;
}

.mw-block-head h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
}

.mw-block-head .mw-lede {
  margin-top: 0;
}

.mw-block--split .mw-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.mw-split-copy .mw-block-head {
  margin-bottom: 2rem;
}

.mw-block--cta {
  border-top-color: rgba(3, 86, 252, .15);
  background: linear-gradient(180deg, transparent 0%, rgba(3, 86, 252, .04) 100%);
}

.mw-block--cta .mw-cta {
  justify-content: center;
  margin-top: .5rem;
}

.mw-site h1,
.mw-site h2,
.mw-site h3,
.mw-site h4,
.mw-brand b,
.mw-card-overlay,
.mw-discord-card strong {
  font-family: Outfit, Sora, sans-serif;
  font-weight: 800;
  letter-spacing: -.04em;
}

/* Nav */
.mw-nav {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  isolation: isolate;
  background: linear-gradient(90deg, rgba(9, 9, 10, .96), rgba(14, 10, 11, .88), rgba(9, 9, 10, .96));
  backdrop-filter: blur(18px) saturate(125%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.mw-nav:after {
  content: '';
  position: absolute;
  z-index: -1;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, #0356fc 20%, #6f9dff 50%, #0356fc 80%, transparent 100%);
  background-size: 220% 100%;
  box-shadow: 0 0 14px rgba(3, 86, 252, .72);
  animation: mwNavSweep 3.8s linear infinite;
}

.mw-nav.scrolled {
  background: rgba(8, 8, 9, .94);
  box-shadow: 0 10px 38px rgba(0, 0, 0, .34);
  border-color: rgba(3, 86, 252, .18);
}



.mw-brand {
  color: #fff;
  text-decoration: none;
  font-size: 1.16rem;
  letter-spacing: -.04em;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.mw-nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mw-nav a,
.mw-nav button {
  color: #f7f5f0;
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.mw-nav .mw-btn {
  padding: .65rem 1rem;
  border: 1px solid #4a4946;
  color: #fff;
  font-weight: 700;
  font-family: Sora, Inter, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mw-nav .mw-btn:hover {
  transform: translateY(-1px);
  border-color: #6a6966;
}

.mw-nav .mw-btn.primary {
  background: var(--mw-accent);
  border-color: var(--mw-accent);
}

.mw-nav .mw-btn-danger {
  border-color: rgba(255, 107, 107, .45);
  color: #ff8a8a;
}

.mw-nav .mw-btn-danger:hover {
  border-color: rgba(255, 107, 107, .7);
  background: rgba(255, 107, 107, .1);
  color: #fff;
}

.mw-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mw-login {
  display: inline-flex !important;
  align-items: center;
  gap: .45rem;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(8, 8, 8, .9) !important;
  color: #c8c8c8 !important;
  padding: .45rem .85rem !important;
  border-radius: 12px !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .18s, background .18s, color .18s;
}

.mw-login:hover {
  color: #fff !important;
  border-color: rgba(3, 86, 252, .4) !important;
  background: rgba(12, 12, 12, .95) !important;
}

.mw-menu,
.mw-mobile {
  display: none;
}

.mw-products-menu {
  display: none;
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  left: 50%;
  width: min(900px, calc(100vw - 10vw));
  transform: translateX(-50%);
  background: #0d0d0d;
  border: 1px solid var(--mw-line);
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 30px 70px #000;
}

.mw-products-menu.open {
  display: block;
  animation: mwDrop .25s ease both;
}

.mw-products-menu [data-products] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1rem;
}

.product-mini {
  min-height: 140px;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  text-decoration: none;
  color: #fff;
  border: 1px solid #303030;
  transition: border-color .25s, transform .25s;
}

.product-mini:hover {
  border-color: var(--product);
  transform: translateY(-3px);
}

.product-mini span {
  color: var(--product);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.product-mini small {
  color: #bbb;
}

.mw-logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 0 13px rgba(3, 86, 252, .42));
  animation: mwLogoFloat 5s ease-in-out infinite;
}

.mw-nav-links .mw-chevron {
  color: var(--mw-accent);
}

.mw-login i,
.mw-btn i {
  margin-right: 7px;
}

.mw-login i {
  color: var(--mw-accent);
}

.mw-chevron {
  font-size: .65em;
  margin-left: 6px !important;
  transition: transform .25s;
}

.mw-nav button[aria-expanded='true'] .mw-chevron {
  transform: rotate(180deg);
}

/* Trust strip */
.mw-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
}

.mw-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9a9893;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}

.mw-trust-item i {
  color: var(--mw-accent);
  font-size: .85rem;
}

/* Hero */
.mw-hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 76px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.mw-hero-media {
  position: absolute;
  inset: 0;
  background: #0a0a0a;
  overflow: hidden;
}

.mw-hero-media.has-video {
  animation: none;
}

.mw-hero-video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .7s ease, width .8s ease, height .8s ease;
}

.mw-hero-video.is-ready {
  opacity: 1;
  width: 112%;
  height: 112%;
}

.mw-hero-media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .88) 0%, rgba(5, 5, 5, .52) 34%, rgba(5, 5, 5, .08) 58%, transparent 72%),
    linear-gradient(180deg, transparent 68%, rgba(5, 5, 5, .35) 100%);
  pointer-events: none;
  z-index: 1;
}

.mw-hero-media:not(.has-video) {
  background-size: cover;
  background-position: center;
  animation: mwslow 16s ease-in-out infinite alternate;
}

.mw-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) .7px, transparent .7px);
  background-size: 5px 5px;
  opacity: .08;
  mix-blend-mode: soft-light;
  animation: mwGrain .25s steps(2) infinite;
  z-index: 1;
}

.mw-hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 90vw);
  margin-left: clamp(5vw, 10vw, 12vw);
  display: grid;
  gap: 1.1rem;
  padding: 3rem 0 4rem;
}

.mw-hero-copy {
  max-width: 530px;
  color: var(--mw-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.mw-hero-content > * {
  animation: mwEnter .75s both;
}

.mw-hero-content > *:nth-child(2) { animation-delay: .08s; }
.mw-hero-content > *:nth-child(3) { animation-delay: .16s; }
.mw-hero-content > *:nth-child(4) { animation-delay: .24s; }
.mw-hero-content > *:nth-child(5) { animation-delay: .32s; }

.mw-overline {
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--mw-accent);
  font-weight: 800;
}

.mw-hero h1,
.mw-detail-features h2 {
  font: 800 clamp(2.5rem, 5.2vw, 4.8rem) / .95 Outfit, sans-serif;
  letter-spacing: -.05em;
  margin: 0;
}

.mw-hero h1 em {
  font-style: normal;
  color: var(--mw-accent);
}

.mw-lede,
.mw-community p,
.mw-detail-lede {
  max-width: 540px;
  color: var(--mw-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.mw-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: .5rem 0 0;
}

.mw-btn {
  padding: .5rem .95rem;
  color: #c8c8c8;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(8, 8, 8, .9);
  border-radius: 12px;
  font-weight: 600;
  font-size: .88rem;
  font-family: Sora, Inter, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.mw-btn:hover {
  color: #fff;
  border-color: rgba(3, 86, 252, .4);
  background: rgba(12, 12, 12, .95);
}

.mw-btn.primary {
  background: rgba(8, 8, 8, .9);
  color: #e8e8e8;
  border-color: rgba(3, 86, 252, .45);
}

.mw-btn.primary:hover {
  color: #fff;
  border-color: rgba(3, 86, 252, .7);
  background: rgba(3, 86, 252, .1);
}

.mw-status {
  font-size: .78rem;
  color: #bbb;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mw-status i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #68d391;
  margin-right: 7px;
  box-shadow: 0 0 0 0 rgba(104, 211, 145, .5);
  animation: mwPing 2.4s ease-out infinite;
}

.mw-status span {
  color: #777;
  margin-left: 6px;
}

.mw-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--mw-section-y) 5vw;
  width: 100%;
}

.mw-section h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
}

.mw-textlink {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  margin-top: .55rem;
  transition: color .2s;
}

.mw-textlink:hover {
  color: var(--mw-accent);
}

/* Product cards */
.mw-featured,
.mw-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.mw-card {
  background: #0c0c0c;
  border: 1px solid var(--mw-line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 440px;
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition: border-color .25s, box-shadow .25s, transform .25s ease, opacity .25s ease;
}

.mw-card:not(.in-view) {
  transition:
    opacity .55s ease var(--stagger, 0ms),
    transform .55s ease var(--stagger, 0ms);
}

.mw-card.in-view,
.mw-reveal.in-view {
  opacity: 1;
  transform: none;
}

.mw-card:hover {
  border-color: color-mix(in srgb, var(--product) 65%, #444);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .42);
}

.mw-card-media {
  position: relative;
  display: block;
  height: 220px;
  flex: 0 0 220px;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  text-decoration: none;
  overflow: hidden;
  transition: transform .45s ease;
}

.mw-card:hover .mw-card-media {
  transform: scale(1.04);
}

.mw-card-media:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--product, var(--mw-accent));
  z-index: 2;
}

.mw-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--product, var(--mw-accent));
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: .35rem .55rem;
  border-radius: 3px;
  text-transform: uppercase;
  font-family: Sora, Inter, sans-serif;
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mw-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  font: 800 clamp(1.2rem, 1.9vw, 1.6rem) / 1.1 Outfit, sans-serif;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .8);
  text-transform: uppercase;
}

.mw-card-status {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ddd;
  background: rgba(0, 0, 0, .55);
  border-left: 2px solid var(--product, var(--mw-accent));
  padding: .3rem .5rem;
  font-family: Sora, Inter, sans-serif;
}

.mw-card-body {
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.mw-card-body small {
  color: var(--product, var(--mw-accent));
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .65rem;
  font-weight: 700;
}

.mw-card-body h3 {
  font: 800 1.25rem / 1.2 Outfit, sans-serif;
  margin: .45rem 0 .5rem;
  letter-spacing: -.03em;
  min-height: 1.5rem;
}

.mw-card-body p {
  color: var(--mw-muted);
  font-size: .86rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.5em * 3);
}

.mw-card-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.mw-card-meta {
  margin: 0;
}

.mw-card-meta b {
  font-size: .9rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: .01em;
}

.mw-card-cta {
  display: block;
  text-align: center;
  padding: .75rem 1rem;
  border: 1px solid #3a3a3a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .86rem;
  font-family: Sora, Inter, sans-serif;
  background: #121212;
  border-radius: 8px;
  transition: border-color .18s, background .18s, transform .18s;
}

.mw-card-cta:hover {
  border-color: #fff;
  background: #181818;
  transform: translateY(-1px);
}

/* Shared products grid (home + /products) */
.mw-featured,
.mw-products-grid {
  align-items: stretch;
}

.mw-featured .mw-card,
.mw-products-grid .mw-card {
  height: 100%;
}


.mw-products-page {
  padding-top: calc(76px + var(--mw-section-y));
  padding-bottom: var(--mw-section-y);
}

.mw-products-page .mw-block-head {
  margin-bottom: var(--mw-block-gap);
}

.mw-media,
.mw-reel {
  display: none;
}

.mw-discord-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(23, 26, 49, .9), rgba(16, 16, 16, .95));
  border: 1px solid rgba(66, 71, 120, .6);
  min-height: 260px;
  padding: 2rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 10px;
}

.mw-discord-card:before {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #5865f2;
  filter: blur(65px);
  opacity: .33;
  right: -35px;
  top: -35px;
  animation: mwGlow 4s ease-in-out infinite;
}

.mw-discord-card > i {
  position: relative;
  font-size: 2rem;
  color: #b8c0ff;
  margin-bottom: auto;
}

.mw-discord-card > * {
  position: relative;
}

.mw-discord-card b {
  color: #8b9cff;
  letter-spacing: .15em;
  font-size: .7rem;
}

.mw-discord-card strong {
  font: 800 1.85rem / 1.15 Outfit, sans-serif;
  letter-spacing: -.03em;
}

.mw-discord-card span {
  color: #aaa;
  font-size: .9rem;
}

.mw-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}

.mw-bento article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mw-line);
  border-radius: 12px;
  padding: 1.6rem;
  background: rgba(12, 12, 12, .65);
  backdrop-filter: blur(6px);
  transition: transform .22s, border-color .22s;
}

.mw-bento article i {
  display: block;
  color: var(--mw-accent);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.mw-bento article b {
  display: block;
  margin-bottom: .7rem;
  font-size: 1rem;
  font-family: Sora, Inter, sans-serif;
  font-weight: 700;
}

.mw-bento article p {
  color: var(--mw-muted);
  font-size: .86rem;
  line-height: 1.45;
  margin-top: .25rem;
}

.mw-bento article:hover {
  border-color: var(--mw-accent);
  transform: translateY(-4px);
}

/* FAQ accordion */
.mw-faq-list {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.mw-faq-item {
  border: 1px solid var(--mw-line);
  border-radius: 10px;
  background: #0c0c0c;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: border-color .2s, opacity .25s ease, transform .25s ease;
}

.mw-faq-item:not(.in-view) {
  transition:
    opacity .5s ease var(--stagger, 0ms),
    transform .5s ease var(--stagger, 0ms);
}

.mw-faq-item.in-view {
  opacity: 1;
  transform: none;
}

.mw-faq-item[open] {
  border-color: color-mix(in srgb, var(--mw-accent) 45%, #333);
}

.mw-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: Sora, Inter, sans-serif;
}

.mw-faq-item summary::-webkit-details-marker {
  display: none;
}

.mw-faq-item summary:after {
  content: '+';
  color: var(--mw-accent);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}

.mw-faq-item[open] summary:after {
  content: '–';
}

.mw-faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.05rem;
  color: var(--mw-muted);
  font-size: .9rem;
  line-height: 1.55;
  max-width: none;
}

.mw-footer {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--mw-line);
  padding: 2rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #898783;
  font-size: .8rem;
  gap: 15px;
  flex-wrap: wrap;
  background: rgba(7, 7, 7, .92);
  backdrop-filter: blur(12px);
}

.mw-footer a {
  color: #bbb;
  text-decoration: none;
}

.mw-footer .mw-logo-img {
  width: 24px;
  height: 24px;
}

.mw-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .6s ease var(--stagger, 0ms),
    transform .6s ease var(--stagger, 0ms);
}

/* =========================================================
   Product detail — distinct layout (small previews)
   ========================================================= */
.mw-detail-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--mw-bg);
}

.mw-detail-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(3, 86, 252, .06) 0, transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(3, 86, 252, .04) 0, transparent 50%),
    linear-gradient(180deg, #08080a 0%, #070709 50%, #060606 100%);
}

.mw-detail-bg:after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .45;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 56px 56px;
}

.mw-detail-page > .mesh-gradient,
.mw-detail-page > .grid-bg,
.mw-detail-page > .bg-glow {
  display: none;
}

.mw-detail-page > .mw-nav,
.mw-detail-page > .mw-detail-main,
.mw-detail-page > .mw-footer {
  position: relative;
  z-index: 1;
}

.mw-detail-main {
  flex: 1 0 auto;
  padding-top: 76px;
  padding-bottom: var(--mw-section-y);
  display: flex;
  flex-direction: column;
  gap: var(--mw-section-y);
}

.mw-detail-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.mw-detail-copy h1 {
  font: 800 clamp(2.1rem, 3.8vw, 3.2rem) / 1.05 Outfit, sans-serif;
  letter-spacing: -.04em;
  margin: .35rem 0 .55rem;
}

.mw-detail-lede {
  margin-bottom: .5rem;
}

.mw-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: .65rem 0 .1rem;
}

.mw-price-chip {
  background: rgba(255, 255, 255, .03);
  border: 1px solid #333;
  color: #ddd;
  padding: .65rem .9rem;
  min-width: 100px;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  text-align: left;
  font-family: Sora, Inter, sans-serif;
  transition: border-color .18s, background .18s, transform .18s;
}

.mw-price-chip span {
  font-size: .68rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.mw-price-chip strong {
  font-size: 1rem;
  color: #fff;
}

.mw-price-chip:hover {
  border-color: #666;
  transform: translateY(-2px);
}

.mw-price-chip.is-active {
  border-color: var(--mw-product-accent, var(--mw-accent));
  background: color-mix(in srgb, var(--mw-product-accent, var(--mw-accent)) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mw-product-accent, var(--mw-accent)) 35%, transparent);
}

.mw-detail-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: mwEnter .7s .12s both;
}

.mw-detail-preview {
  position: relative;
  display: block;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  border: 1px solid var(--mw-line);
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  transition: background-image .3s ease, transform .25s ease, border-color .25s;
  cursor: zoom-in;
  padding: 0;
  font: inherit;
  color: inherit;
}

.mw-detail-preview:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--mw-product-accent, var(--mw-accent)) 40%, #333);
}

.mw-preview-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(8, 8, 8, .78);
  color: #ddd;
  font-size: .85rem;
  pointer-events: none;
}

.mw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(8px);
}

.mw-lightbox[hidden] {
  display: none !important;
}

.mw-lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
  background: #0a0a0a;
}

.mw-lightbox-close,
.mw-lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(8, 8, 8, .9);
  color: #ddd;
  cursor: pointer;
  border-radius: 12px;
  transition: border-color .18s, color .18s, background .18s;
}

.mw-lightbox-close:hover,
.mw-lightbox-nav:hover {
  color: #fff;
  border-color: rgba(3, 86, 252, .45);
  background: rgba(12, 12, 12, .95);
}

.mw-lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  font-size: 1.15rem;
  z-index: 2;
}

.mw-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 1rem;
  z-index: 2;
}

.mw-lightbox-nav.prev { left: 1rem; }
.mw-lightbox-nav.next { right: 1rem; }

@media (max-width: 700px) {
  .mw-lightbox-nav.prev { left: .5rem; }
  .mw-lightbox-nav.next { right: .5rem; }
  .mw-lightbox img { max-height: 78vh; }
}

.mw-preview-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}

.mw-preview-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  border: 1px solid #333;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: .6;
  transition: opacity .18s, border-color .18s, transform .18s;
  padding: 0;
}

.mw-preview-thumb:hover {
  opacity: .9;
  transform: translateY(-2px);
}

.mw-preview-thumb.is-active {
  opacity: 1;
  border-color: var(--mw-product-accent, var(--mw-accent));
  box-shadow: 0 0 0 1px var(--mw-product-accent, var(--mw-accent));
}

.mw-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}

.mw-spec {
  border: 1px solid var(--mw-line);
  border-radius: 8px;
  padding: .75rem .9rem;
  background: rgba(255, 255, 255, .02);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease var(--stagger, 0ms), transform .45s ease var(--stagger, 0ms);
}

.mw-spec.in-view,
.mw-detail-aside .mw-spec {
  opacity: 1;
  transform: none;
}

.mw-spec span {
  display: block;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: .3rem;
}

.mw-spec b {
  font-size: .88rem;
  color: #eee;
  font-weight: 600;
  font-family: Sora, Inter, sans-serif;
}

.mw-detail-features {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--mw-section-y) 5vw 0;
  border-top: 1px solid rgba(255, 255, 255, .05);
  width: 100%;
}

.mw-detail-features h2 {
  margin-bottom: var(--mw-block-gap);
}

.mw-detail-showcase {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 5vw 0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.mw-detail-showcase .mw-block-head {
  margin-bottom: 1.25rem;
}

.mw-detail-showcase .mw-block-head h2 {
  margin: .35rem 0 0;
  font: 800 clamp(1.6rem, 3vw, 2rem) / 1.1 Outfit, sans-serif;
  letter-spacing: -.03em;
}

.mw-showcase-video {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--mw-line);
  background: #101010;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.mw-showcase-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 960px) {
  .mw-showcase-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mw-showcase-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  background: #101010;
}

.mw-detail-main .mw-block--cta {
  width: 100%;
  margin-top: auto;
}

.mw-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  align-items: stretch;
  border: 1px solid var(--mw-line);
  background: var(--mw-line);
}

.mw-feature-block {
  border: 0;
  border-radius: 0;
  padding: 1rem 1.1rem;
  background: rgba(12, 12, 14, .96);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(10px);
  transition: background .22s ease, opacity .25s ease, transform .25s ease;
  margin: 0;
}

.mw-feature-block:not(.in-view) {
  transition:
    opacity .5s ease var(--stagger, 0ms),
    transform .5s ease var(--stagger, 0ms);
}

.mw-feature-block.in-view,
.mw-feature-block.mw-reveal.in-view {
  opacity: 1;
  transform: none;
}

.mw-feature-block.in-view:hover {
  background: rgba(18, 14, 14, .98);
  transform: none;
}

.mw-feature-block h4 {
  color: var(--mw-product-accent, var(--mw-accent));
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .9rem;
  border-left: 2px solid var(--mw-product-accent, var(--mw-accent));
  padding-left: .55rem;
}

.mw-feature-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mw-feature-block li {
  color: var(--mw-muted);
  font-size: .9rem;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.mw-feature-block li:last-child {
  border-bottom: 0;
}

.mw-feature-block li:before {
  content: '•';
  color: var(--mw-product-accent, var(--mw-accent));
  margin-right: .45rem;
}

/* Keyframes */
@keyframes mwslow {
  to { transform: scale(1.06); }
}

@keyframes mwEnter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes mwDrop {
  from { opacity: 0; transform: translateY(-10px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@keyframes mwNavSweep {
  from { background-position: 200% 0; }
  to { background-position: -20% 0; }
}

@keyframes mwLogoFloat {
  50% { transform: translateY(-3px) rotate(-3deg); }
}

@keyframes mwGlow {
  50% { transform: scale(1.17); opacity: .5; }
}

@keyframes mwGrain {
  0% { transform: translate(0, 0); }
  50% { transform: translate(2%, -1%); }
  100% { transform: translate(-1%, 2%); }
}

@keyframes mwPulse {
  50% { border-color: rgba(3, 86, 252, .55); color: #fff; }
}

@keyframes mwPing {
  0% { box-shadow: 0 0 0 0 rgba(104, 211, 145, .45); }
  70% { box-shadow: 0 0 0 8px rgba(104, 211, 145, 0); }
  100% { box-shadow: 0 0 0 0 rgba(104, 211, 145, 0); }
}

/* Responsive */
@media (max-width: 980px) {
  .mw-featured,
  .mw-products-grid,
  .mw-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mw-block--split .mw-split {
    grid-template-columns: 1fr;
  }

  .mw-detail-shell {
    grid-template-columns: 1fr;
  }

  .mw-detail-preview {
    height: 220px;
    max-width: 420px;
  }

  .mw-bento {
    grid-template-columns: 1fr 1fr;
  }

  .mw-trust {
    gap: 12px 24px;
  }
}

@media (max-width: 760px) {
  .mw-nav {
    height: 64px;
    padding: 0 6vw;
  }

  .mw-nav-links,
  .mw-login {
    display: none !important;
  }

  .mw-menu {
    display: block;
  }

  .mw-mobile.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #090909;
    flex-direction: column;
    padding: 25px;
    gap: 20px;
    border-bottom: 1px solid var(--mw-line);
  }

  .mw-products-menu {
    left: 4%;
    right: 4%;
    width: auto;
    transform: none;
  }

  .mw-products-menu [data-products] {
    grid-template-columns: 1fr;
  }

  .mw-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 64px;
  }

  .mw-hero-video.is-ready {
    width: 118%;
    height: 118%;
  }

  .mw-hero-content {
    margin-left: 7vw;
    padding: 2rem 0 3rem;
  }

  .mw-featured,
  .mw-products-grid,
  .mw-feature-grid {
    grid-template-columns: 1fr;
  }

  .mw-bento {
    grid-template-columns: 1fr;
  }

  .mw-card-media {
    height: 180px;
  }

  .mw-logo-img {
    width: 26px;
    height: 26px;
  }

  .mw-hero:after {
    display: none;
  }

  .mw-preview-strip {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  }

  .mw-spec-grid {
    grid-template-columns: 1fr;
  }

  .mw-block {
    padding: clamp(4rem, 10vw, 5.5rem) 6vw;
  }

  .mw-block-head {
    margin-bottom: clamp(2rem, 6vw, 2.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mw-logo-img,
  .mw-hero-content > *,
  .mw-marquee,
  .mw-status i,
  .mw-hero-media,
  .mw-detail-aside {
    animation: none !important;
  }

  .mw-card,
  .mw-reveal,
  .mw-product,
  .mw-faq-item,
  .mw-feature-block,
  .mw-spec {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* SellAuth buy CTA */
.mw-buy-note {
  margin: .75rem 0 0;
  color: var(--mw-muted);
  font-size: .82rem;
  line-height: 1.4;
  max-width: 34rem;
}

.mw-btn.sellauth-button {
  cursor: pointer;
  font: inherit;
  background: var(--mw-accent);
  border-color: var(--mw-accent);
}

.mw-btn.sellauth-button:disabled,
.mw-btn.sellauth-button[aria-disabled='true'] {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.mw-btn.sellauth-button.is-loading {
  opacity: .7;
  pointer-events: none;
}

.mw-btn.sellauth-button .icon {
  flex-shrink: 0;
}
