:root {
    --sculk-bg: #141217;
    --sculk-nav-bg: #1b1720;
    --sculk-subnav-bg: #221d28;
    --sculk-footer-bg: #16131b;
    --sculk-card-bg: #1d1824;

    --gold-accent: #f59e0b;
    --gold-bright: #fbbf24;
    --gold-light: #ffd479;
    --gold-glow: rgba(245, 158, 11, 0.35);

    --purple-accent: #a855f7;
    --purple-glow: rgba(168, 85, 247, 0.3);
    --cyan-accent: #38bdf8;
    --green-accent: #22c55e;

    --text-white: #ffffff;
    --text-light: #f3f0f7;
    --text-muted: #9c93a8;
    --text-dim: #6b6375;

    --font-ios: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'SF Pro', system-ui, -apple-system-body, sans-serif;
    --font-heading: var(--font-ios);
    --font-body: var(--font-ios);
    --font-logo: 'Daydream', cursive, sans-serif;
    --font-pill: var(--font-ios);
    --font-mc: 'Minecraft', monospace;

    --card-border: rgba(255, 255, 255, 0.1);
    --card-border-hover: rgba(255, 212, 121, 0.55);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--sculk-bg);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.smoky-bg-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.smoke-puff {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.08;
    pointer-events: none;
    animation: smokeDrift 28s ease-in-out infinite alternate;
}

.smoke-puff-1 {
    width: 900px;
    height: 600px;
    top: -100px;
    left: 10%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(56, 189, 248, 0.12) 45%, transparent 75%);
}

.smoke-puff-2 {
    width: 1000px;
    height: 700px;
    bottom: -150px;
    right: 5%;
    opacity: 0.06;
    animation-duration: 36s;
    animation-delay: -14s;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.18) 0%, rgba(139, 92, 246, 0.14) 50%, transparent 75%);
}

.smoke-puff-3 {
    width: 600px;
    height: 450px;
    top: 45%;
    left: -150px;
    opacity: 0.05;
    animation-duration: 30s;
    animation-delay: -7s;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
}

@keyframes smokeDrift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-35px, 25px) scale(1.08); }
    100% { transform: translate(40px, -20px) scale(0.95); }
}

.mc-font-normal {
    font-family: 'Minecraft', monospace !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 0.5px;
}

.sculk-header {
    background: var(--sculk-nav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.sculk-nav-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 28px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.nav-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    user-select: none;
    transition: transform 0.2s ease;
}

.nav-brand-logo:hover {
    transform: scale(1.03);
}

.nav-brand-text {
    font-family: var(--font-logo);
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow:
        0 1px 0 #cbd5e1,
        0 2px 0 #94a3b8,
        0 3px 0 #475569,
        0 5px 12px rgba(0, 0, 0, 0.85);
    display: inline-block;
}

.nav-menu-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu-item a {
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 0;
    position: relative;
}

.nav-menu-item a:hover {
    color: var(--text-white);
}

.nav-menu-item.active a {
    color: var(--gold-light);
}

.nav-menu-item.active a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-bright);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--gold-glow);
}

.nav-menu-item.store-link a {
    color: #ffd479;
}

.nav-menu-item.store-link a:hover {
    color: #ffe6a6;
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-sculk-gold {
    background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
    color: #1a1002;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    text-decoration: none;
    font-family: 'Minecraft', monospace !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-sculk-gold span {
    font-family: 'Minecraft', monospace !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.btn-sculk-gold:hover {
    background: linear-gradient(180deg, #fcd34d 0%, #eab308 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.55);
}

.btn-sculk-gold:active {
    transform: translateY(0);
}

.pulse-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 8px #22c55e;
    flex-shrink: 0;
}

.ip-separator {
    opacity: 0.6;
    margin: 0 2px;
}

.ip-online-count {
    color: #2b1802;
    font-size: 0.92rem;
}

.mobile-sculk-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
}

.sculk-subnav {
    background: var(--sculk-subnav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 10;
}

.sculk-subnav-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 28px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subnav-left-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.subnav-left-links a {
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-light);
    transition: color 0.18s ease;
}

.subnav-left-links a:hover {
    color: var(--gold-light);
}

.subnav-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.subnav-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.subnav-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.sculk-hero-section {
    flex: 1;
    padding: 38px 24px 48px;
    max-width: 1420px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 5;
}

.sculk-banner-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 64px 64px 54px;
    box-shadow: 0 32px 90px -15px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
    background-color: #0b0910;
}

.sculk-banner-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/home-bg.webp');
    background-size: cover;
    background-position: 72% 35%;
    opacity: 0.52;
    filter: brightness(0.72) contrast(1.08);
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.sculk-banner-card:hover .sculk-banner-bg {
    transform: scale(1.02);
    opacity: 0.62;
}

.sculk-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        /* Darker smoky foundation at the bottom so the shop buttons pop as main priority */
        linear-gradient(180deg,
            rgba(11, 8, 16, 0.22) 0%,
            rgba(11, 8, 16, 0.38) 42%,
            rgba(8, 6, 12, 0.82) 72%,
            rgba(6, 4, 10, 0.96) 95%
        ),
        /* Shadow behind top-left headline to keep text 100% crisp */
        radial-gradient(ellipse 750px 480px at 15% 25%, rgba(10, 8, 15, 0.82) 0%, transparent 80%),
        /* Atmospheric smoky vignette framing the looming Warden on the right */
        radial-gradient(circle at 72% 40%, transparent 32%, rgba(7, 5, 10, 0.55) 75%, rgba(6, 4, 9, 0.88) 100%);
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.sculk-banner-overlay::before {
    content: '';
    position: absolute;
    inset: -30px;
    background:
        radial-gradient(ellipse 550px 280px at 30% 65%, rgba(147, 51, 234, 0.1) 0%, transparent 65%),
        radial-gradient(ellipse 600px 320px at 75% 42%, rgba(14, 165, 233, 0.08) 0%, transparent 65%),
        radial-gradient(circle 500px at 50% 90%, rgba(9, 7, 13, 0.85) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 2;
    animation: bannerSmokeHaze 20s ease-in-out infinite alternate;
}

@keyframes bannerSmokeHaze {
    0% { transform: scale(1) translate(0, 0); opacity: 0.65; }
    50% { transform: scale(1.04) translate(-14px, 8px); opacity: 0.88; }
    100% { transform: scale(0.98) translate(10px, -6px); opacity: 0.7; }
}

.banner-top-content {
    position: relative;
    z-index: 5;
    max-width: 820px;
}

.banner-store-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
}

.banner-store-title .text-gold {
    color: var(--gold-light);
    text-shadow: 0 0 36px rgba(251, 191, 36, 0.48);
}

.banner-store-sub {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: #e4dbeb;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
    max-width: 680px;
}

.banner-bottom-row {
    position: relative;
    z-index: 5;
    margin-top: 64px;
}

.big-buttons-grid {
    display: flex;
    align-items: stretch;
    gap: 36px;
    max-width: 1040px;
    width: 100%;
}

.big-shop-card {
    flex: 1;
    min-width: 0;
    min-height: 220px;
    background: rgba(22, 17, 30, 0.92);
    border: 1px solid rgba(251, 191, 36, 0.32);
    border-radius: 18px;
    padding: 26px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.85), 0 0 24px rgba(245, 158, 11, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.big-shop-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 25%, rgba(251, 191, 36, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.big-shop-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-border-hover);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.9), 0 0 38px rgba(245, 158, 11, 0.45);
    background: rgba(30, 24, 42, 0.98);
}

.big-shop-card:hover::before {
    opacity: 1;
}

.card-thumbnail-wrap {
    width: 100%;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.big-shop-card:hover .card-thumbnail-wrap {
    transform: scale(1.12);
}

.card-thumbnail-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.75));
}

.card-label-row {
    position: relative;
    z-index: 2;
    text-align: center;
}

.card-main-title {
    font-family: var(--font-heading);
    font-size: 1.32rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.big-shop-card:hover .card-main-title {
    color: var(--gold-light);
}

.card-sub-hint {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.sculk-disclaimer-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-dim);
    margin: 24px auto 44px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 5;
}

.sculk-disclaimer-note a {
    color: var(--text-muted);
    text-decoration: underline;
}

.sculk-disclaimer-note a:hover {
    color: var(--gold-light);
}

.clean-page-container {
    max-width: 1200px;
    margin: 32px auto 60px;
    padding: 0 24px;
    position: relative;
    z-index: 5;
    flex: 1;
}

.clean-card-shell {
    background: var(--sculk-card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 44px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.clean-page-header {
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 24px;
}

.clean-page-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.clean-page-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.clean-tab-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.clean-tab-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.clean-tab-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.clean-tab-pill.active {
    background: var(--gold-accent);
    color: #1a1002;
    border-color: var(--gold-bright);
    box-shadow: 0 4px 14px var(--gold-glow);
}

.clean-items-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.clean-item-card {
    background: #17131e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 22px 26px;
    transition: border-color 0.2s ease;
}

.clean-item-card:hover {
    border-color: rgba(251, 191, 36, 0.35);
}

.clean-item-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clean-item-body {
    color: #d1c9db;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cmd-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px 10px;
    font-family: var(--font-mc);
    font-size: 0.88rem;
    color: var(--cyan-accent);
    margin: 4px 2px;
}

.clean-severity-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 8px;
    border-radius: 5px;
    margin-left: auto;
}

.tag-critical {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.tag-moderate {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.tag-info {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.sculk-footer {
    background: var(--sculk-footer-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    padding: 36px 28px 30px;
    position: relative;
    z-index: 10;
}

.sculk-footer-inner {
    max-width: 1340px;
    margin: 0 auto;
}

.footer-nav-row {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.footer-nav-row a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.18s ease;
}

.footer-nav-row a:hover {
    color: var(--text-white);
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-brand-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo-text {
    font-family: var(--font-logo);
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

.footer-legal-copy {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-social-icon {
    color: var(--text-muted);
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-icon:hover {
    color: var(--text-white);
    transform: translateY(-2px);
}

.sculk-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1f1b2c;
    border: 1px solid var(--gold-bright);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sculk-toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .sculk-banner-card {
        padding: 40px 32px;
    }

    .banner-store-title {
        font-size: 2.8rem;
    }

    .big-buttons-grid {
        flex-direction: column;
        max-width: 100%;
        gap: 18px;
    }

    .big-shop-card {
        max-width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        padding: 18px 24px;
        gap: 20px;
    }

    .card-thumbnail-wrap {
        width: 68px;
        height: 68px;
    }

    .card-label-row {
        text-align: left;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu-links {
        display: none;
    }

    .mobile-sculk-toggle {
        display: block;
    }

    .subnav-left-links {
        display: none;
    }

    .sculk-subnav-inner {
        justify-content: flex-end;
    }

    .banner-store-title {
        font-size: 2.2rem;
    }

    .banner-store-sub {
        font-size: 1.1rem;
    }
}
