/* =========================================================
   MOONIDK — COZY CORNER OFFICIAL STYLESHEET
   Version: 3.1 (Atmospheric Cozy & Refined Modern Glass Edition)
   ========================================================= */

/* 1. Google Fonts Integration */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Pixelify+Sans:wght@400;500;600;700&display=swap');

/* 2. Color Palette & Global Variables */
:root {
    --bg-base: #181412;
    --bg-darker: #241d19;
    --bg-card: rgba(32, 26, 22, 0.88);
    --bg-card-hover: rgba(42, 34, 29, 0.95);
    --accent-warm: #c59f8a;
    --accent-light: #dec1ad;
    --text-highlight: #f8dfb6;
    --text-main: #f5ede6;
    --text-muted: #bdaaa0;
    --border-glass: rgba(224, 172, 126, 0.18);
    --border-glow: rgba(248, 223, 182, 0.38);
    --glass-navbar: rgba(28, 22, 19, 0.88);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
}

/* 3. Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100vh;
}

/* 4. Atmospheric Cozy Background (Vibrant, Warm, Alive) */
body {
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    /* Rich layered ambient warm radial glows */
    background-image:
        radial-gradient(circle at 50% -5%, rgba(224, 172, 126, 0.22) 0%, transparent 55%),
        radial-gradient(circle at 10% 30%, rgba(184, 151, 133, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 90% 60%, rgba(248, 223, 182, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 35% 85%, rgba(197, 159, 138, 0.10) 0%, transparent 45%),
        linear-gradient(180deg, #201a17 0%, #15110f 100%);
    background-attachment: fixed;
}

/* Animated Ambient Glow Spheres */
.ambient-glow-wrapper {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.6;
    will-change: transform;
    animation: floatAmbient 16s ease-in-out infinite alternate;
}

.ambient-orb-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(224, 172, 126, 0.3) 0%, rgba(224, 172, 126, 0) 70%);
    top: -80px;
    left: 20%;
    animation-duration: 20s;
}

.ambient-orb-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(248, 223, 182, 0.22) 0%, rgba(248, 223, 182, 0) 70%);
    top: 40%;
    right: -60px;
    animation-duration: 24s;
    animation-delay: -6s;
}

.ambient-orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 151, 133, 0.25) 0%, rgba(184, 151, 133, 0) 70%);
    bottom: -100px;
    left: 8%;
    animation-duration: 22s;
    animation-delay: -12s;
}

@keyframes floatAmbient {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 20px) scale(1.08);
    }

    100% {
        transform: translate(-25px, -30px) scale(0.94);
    }
}

/* Star Dust / Twinkling Sky Background Layer */
.ambient-stars {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(2px 2px at 40px 60px, rgba(248, 223, 182, 0.75), transparent),
        radial-gradient(1.5px 1.5px at 120px 180px, rgba(248, 223, 182, 0.6), transparent),
        radial-gradient(2.5px 2.5px at 230px 90px, rgba(255, 240, 215, 0.85), transparent),
        radial-gradient(1.5px 1.5px at 350px 300px, rgba(248, 223, 182, 0.65), transparent),
        radial-gradient(2px 2px at 480px 140px, rgba(248, 223, 182, 0.7), transparent),
        radial-gradient(3px 3px at 620px 240px, rgba(255, 245, 230, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 780px 90px, rgba(248, 223, 182, 0.6), transparent),
        radial-gradient(2px 2px at 920px 320px, rgba(248, 223, 182, 0.75), transparent),
        radial-gradient(2.5px 2.5px at 1080px 160px, rgba(255, 240, 215, 0.85), transparent),
        radial-gradient(1.5px 1.5px at 1240px 280px, rgba(248, 223, 182, 0.65), transparent);
    background-repeat: repeat;
    background-size: 1300px 550px;
    opacity: 0.85;
    animation: starsTwinkle 6s ease-in-out infinite alternate;
}

@keyframes starsTwinkle {
    0% {
        opacity: 0.6;
        transform: translateY(0);
    }

    50% {
        opacity: 0.95;
    }

    100% {
        opacity: 0.7;
        transform: translateY(-4px);
    }
}

/* Custom Cozy Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #181412;
}

::-webkit-scrollbar-thumb {
    background: #3f332c;
    border-radius: var(--radius-sm);
    border: 2px solid #181412;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-warm);
}

/* Typography Defaults */
h1,
h2,
h3,
.logo,
.btn,
.nav-links a {
    font-family: 'Pixelify Sans', sans-serif;
    letter-spacing: 0.5px;
}

/* Entry Animations */
.animate-up {
    opacity: 0;
    animation: fadeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

/* =========================================================
   5. SLEEK FLOATING GLASS NAVIGATION BAR
   ========================================================= */
.nav-wrapper {
    position: sticky;
    top: 1rem;
    z-index: 1000;
    width: 100%;
    padding: 0 1.25rem;
    display: flex;
    justify-content: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1080px;
    min-height: 58px;
    padding: 0.45rem 1.25rem;
    background: var(--glass-navbar);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    box-shadow:
        0 10px 30px -5px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

nav:hover {
    border-color: rgba(248, 223, 182, 0.3);
    box-shadow:
        0 14px 36px -5px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Logo (Clean - No Circular Frame) */
.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.75rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: lowercase;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.logo-gif {
    height: 32px;
    width: 32px;
    border-radius: 4px;
    object-fit: cover;
    border: none;
    box-shadow: none;
    display: block;
}

.logo-text {
    color: var(--text-highlight);
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

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

/* Nav Links Tab Container */
.nav-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(18, 14, 12, 0.55);
    padding: 0.25rem 0.35rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(224, 172, 126, 0.12);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    text-transform: lowercase;
    padding: 0.38rem 0.95rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.nav-links a:hover {
    color: var(--text-highlight);
    background: rgba(224, 172, 126, 0.12);
}

.nav-links a.active {
    color: #ffffff;
    background: rgba(224, 172, 126, 0.22);
    border-color: rgba(248, 223, 182, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    font-weight: 600;
}

/* User Auth Section */
.user-auth-section {
    display: flex;
    align-items: center;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 14, 12, 0.65);
    padding: 4px 10px 4px 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.user-pill:hover {
    border-color: var(--border-glow);
    background: rgba(26, 20, 18, 0.8);
}

.user-pill-avatar {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid rgba(224, 172, 126, 0.3);
}

.user-pill-name {
    color: var(--text-highlight);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Pixelify Sans', sans-serif;
}

.user-pill-logout {
    color: #ff7575;
    text-decoration: none;
    font-size: 0.95rem;
    margin-left: 2px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.user-pill-logout:hover {
    color: #ff4747;
    transform: scale(1.12);
}

.login-btn {
    padding: 0.42rem 1.1rem !important;
    font-size: 0.92rem !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(224, 172, 126, 0.12) !important;
    border: 1px solid rgba(248, 223, 182, 0.28) !important;
    color: var(--text-highlight) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.login-btn:hover {
    background: var(--accent-warm) !important;
    color: #181412 !important;
    border-color: var(--text-highlight) !important;
    box-shadow: 0 4px 14px rgba(197, 159, 138, 0.35) !important;
    transform: translateY(-1px);
}

/* =========================================================
   6. BUTTONS (CLEAN MODERN RADIUS)
   ========================================================= */
.btn {
    padding: 0.72rem 1.55rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid transparent;
    text-transform: lowercase;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, #c59f8a 0%, #b88f78 100%);
    color: #181412;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(248, 223, 182, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f8dfb6 0%, #c59f8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    color: #181412;
}

.btn-outline {
    background: rgba(30, 24, 21, 0.6);
    border: 1px solid var(--accent-warm);
    color: var(--text-highlight);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: var(--accent-warm);
    color: #181412;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* 7. Page Container & Headings */
.page-container {
    padding: 4.5rem 5% 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    background: linear-gradient(135deg, #fff7eb 0%, #f8dfb6 55%, #c59f8a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    line-height: 1.15;
}

.hero-subtitle {
    color: var(--accent-light);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.section-title {
    font-size: 2.7rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8dfb6 60%, #c59f8a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    text-transform: lowercase;
}

/* Project Cards (Portfolio & Hub) */
.project-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.project-card .btn-container {
    margin-top: auto;
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* Grid Layouts */
.grid-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-top: 3rem;
}

.grid-portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

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

/* =========================================================
   8. STORE & SMP CARDS
   ========================================================= */
.smp-ip-box {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2.2rem;
    border-radius: var(--radius-md);
    text-align: center;
    margin: 3rem auto;
    max-width: 520px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.smp-ip-box h2 {
    color: var(--text-highlight);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.smp-ip-box #server-ip {
    font-family: 'Pixelify Sans', monospace;
    font-size: 1.85rem;
    color: var(--accent-warm);
    margin: 1rem 0;
    display: block;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(248, 223, 182, 0.25);
}

/* Store Cards */
.store-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2.2rem 1.8rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.store-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.store-card.featured {
    border: 1.5px solid var(--accent-warm);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.store-card.featured:hover {
    transform: translateY(-8px);
    border-color: var(--text-highlight);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.store-badge {
    background: var(--accent-warm);
    color: #181412;
    font-family: 'Pixelify Sans', sans-serif;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-sm);
    margin: 0 auto 1.2rem auto;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.store-card h2 {
    color: var(--text-highlight);
    margin-bottom: 0.5rem;
    font-size: 1.85rem;
}

.store-card h3 {
    color: var(--accent-warm);
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
}

.store-card ul {
    list-style: none;
    color: var(--accent-light);
    margin-bottom: 2rem;
    text-align: left;
    flex: 1;
}

.store-card ul li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.store-card .btn {
    width: 100%;
    margin-top: auto;
}

/* About Discord Widget Card */
.about-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

/* About Journey Content & Discord Elements */
.about-journey-text {
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    line-height: 1.75;
    font-size: 1.05rem;
}

.about-journey-text strong {
    color: var(--text-highlight);
    font-weight: 600;
}

/* Discord Hammertime Timestamp styling */
.discord-timestamp {
    color: var(--text-highlight);
    font-weight: 600;
    cursor: default;
    transition: color 0.2s ease;
}

.discord-timestamp:hover {
    color: #ffffff;
}

/* =========================================================
   9. MODERN SOCIAL LINKS (CLEAN CARDS - NO CIRCLE SLOP)
   ========================================================= */
.social-grid {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.2rem;
    max-width: 460px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.1rem;
    background: rgba(28, 22, 19, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.social-card-icon {
    font-size: 1.35rem;
    color: var(--accent-warm);
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.social-card-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.social-card-name {
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 1.05rem;
    color: var(--text-highlight);
    line-height: 1.2;
}

.social-card-handle {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}

.social-card-arrow {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.45;
    transition: all 0.2s ease;
    margin-left: auto;
}

.social-card:hover {
    background: rgba(42, 34, 29, 0.85);
    border-color: rgba(248, 223, 182, 0.35);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.social-card:hover .social-card-icon {
    transform: scale(1.1);
}

.social-card:hover .social-card-arrow {
    opacity: 1;
    color: var(--text-highlight);
    transform: translate(2px, -2px);
}

/* Subtle platform accents on hover */
.social-card.youtube:hover .social-card-icon {
    color: #ff5555;
}

.social-card.twitch:hover .social-card-icon {
    color: #bb86fc;
}

.social-card.tiktok:hover .social-card-icon {
    color: #69c9d0;
}

.social-card.instagram:hover .social-card-icon {
    color: #f472b6;
}

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

/* Fallback simple social icon row (Clean modern rounded rect) */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.social-icon {
    font-size: 1.25rem;
    color: var(--accent-light);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(28, 22, 19, 0.7);
    border: 1px solid var(--border-glass);
}

.social-icon:hover {
    color: var(--text-highlight);
    background: rgba(224, 172, 126, 0.2);
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   10. AUTO-SCROLLING GALLERY (SEAMLESS INFINITE LOOP)
   ========================================================= */
.gallery-section {
    padding: 3rem 0 5rem 0;
    overflow: hidden;
    background-color: transparent;
    width: 100%;
    position: relative;
    z-index: 1;
}

.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    user-select: none;
    padding: 28px 0; /* Generous headroom so hover zoom/expansion is never clipped */
    margin: -10px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.marquee-track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 1.5rem;
    padding-right: 1.5rem; /* Gap between track 1 and track 2 */
    animation: marqueeScroll var(--marquee-duration, 35s) linear infinite;
    will-change: transform;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.marquee-item {
    width: 300px;
    height: 195px;
    background-color: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid var(--border-glass);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    z-index: 1;
    overflow: hidden;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.marquee-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 14, 12, 0) 35%, rgba(18, 14, 12, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 1.1rem;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    text-align: left;
}

.highlight-overlay-title {
    color: var(--text-highlight);
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.highlight-overlay-author {
    color: var(--accent-light);
    font-size: 0.85rem;
    margin-top: 3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.highlight-overlay-author i {
    color: var(--accent-warm);
}

.marquee-item:hover {
    transform: scale(1.08) translateY(-4px);
    border-color: var(--text-highlight);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(248, 223, 182, 0.2);
    z-index: 20;
}

.marquee-item:hover img {
    transform: scale(1.03);
}

.marquee-item:hover .marquee-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   11. LIGHTBOX MODAL (MODERN CARD DESIGN)
   ========================================================= */
.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 8, 7, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    cursor: zoom-out;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(248, 223, 182, 0.15);
    max-width: 720px;
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: default;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.lightbox.active .lightbox-card {
    transform: scale(1);
}

.lightbox-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(18, 14, 12, 0.75);
    border: 1px solid var(--border-glass);
    color: var(--text-highlight);
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
    background: var(--accent-warm);
    color: #181412;
    transform: scale(1.08);
}

.lightbox-image-wrapper {
    width: 100%;
    max-height: 480px;
    background: #110e0c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-image-wrapper img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    display: block;
}

.lightbox-details {
    padding: 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: rgba(28, 22, 19, 0.95);
    border-top: 1px solid var(--border-glass);
}

.lightbox-title {
    color: var(--text-highlight);
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 1.7rem;
    line-height: 1.2;
    margin: 0;
}

.lightbox-desc {
    color: var(--accent-light);
    font-size: 0.98rem;
    line-height: 1.5;
    margin: 0;
}

.lightbox-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(224, 172, 126, 0.12);
}

.lightbox-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid rgba(224, 172, 126, 0.3);
}

.lightbox-author-info {
    display: flex;
    flex-direction: column;
}

.lightbox-author-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1;
}

.lightbox-author-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-highlight);
    font-family: 'Pixelify Sans', sans-serif;
}

/* 12. Footer */
footer {
    text-align: center;
    padding: 3.5rem 2rem;
    background-color: transparent;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glass);
    position: relative;
    z-index: 1;
}

footer p {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* =========================================================
   13. HAMBURGER MENU & MOBILE RESPONSIVENESS 
   ========================================================= */
.hamburger-menu {
    display: none;
    font-size: 1.4rem;
    color: var(--text-highlight);
    cursor: pointer;
    z-index: 100;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    background: rgba(18, 14, 12, 0.65);
    border: 1px solid var(--border-glass);
    transition: all 0.2s ease;
}

.hamburger-menu:hover {
    background: rgba(224, 172, 126, 0.2);
    border-color: var(--border-glow);
}

@media (max-width: 860px) {
    .nav-wrapper {
        top: 0.6rem;
        padding: 0 0.8rem;
    }

    nav {
        border-radius: var(--radius-md);
        padding: 0.5rem 1rem;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-content {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 100%;
        background: rgba(26, 20, 18, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 1.25rem;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-glass);
        z-index: 99;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
        gap: 12px;
    }

    .nav-content.show {
        display: flex !important;
        animation: fadeIn 0.25s ease forwards;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        background: transparent;
        padding: 0;
        border: none;
        gap: 6px;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.7rem;
    }

    .user-auth-section {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 6px;
        padding-top: 12px;
        border-top: 1px solid var(--border-glass);
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .grid-about,
    .grid-portfolio,
    .grid-store {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }
}

/* =========================================================
   14. FAQ ACCORDION 
   ========================================================= */
.faq-section {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
    border-color: var(--border-glow);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-highlight);
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.25s ease;
}

.faq-question:hover {
    color: #fff;
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--accent-warm);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(18, 14, 12, 0.5);
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--accent-light);
    font-size: 1.05rem;
}

.faq-item.active {
    border-color: var(--accent-warm);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--text-highlight);
}

/* =========================================================
   15. VTUBER LIVE STAGE & ANIMATION
   ========================================================= */
.vtuber-stage-wrapper {
    margin: 3.5rem auto 4rem auto;
    max-width: 860px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.vtuber-stage-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 10%;
    width: 80%;
    height: 35px;
    background: radial-gradient(ellipse, rgba(248, 223, 182, 0.25) 0%, transparent 70%);
    filter: blur(14px);
    pointer-events: none;
    z-index: -1;
}

.vtuber-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: radial-gradient(circle at 50% 120%, rgba(224, 172, 126, 0.25) 0%, rgba(24, 19, 17, 0.97) 75%);
    border: 1px solid var(--border-glass);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.vtuber-stage:hover {
    border-color: rgba(248, 223, 182, 0.5);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
}

.vtuber-stage.bounce {
    animation: vtuberBounce 0.5s ease;
}

@keyframes vtuberBounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(0.985) translateY(3px);
    }

    60% {
        transform: scale(1.01) translateY(-4px);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

.vtuber-frame-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.vtuber-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    will-change: opacity;
    transform: translateZ(0);
    transition: none;
}

.vtuber-base-layer {
    opacity: 1 !important;
    z-index: 1;
}

#vt-blink {
    z-index: 2;
}

#vt-talk {
    z-index: 3;
}

#vt-talk-blink {
    z-index: 4;
}

.vtuber-layer.active {
    opacity: 1;
}

/* Floating Message Card */
.vtuber-message-card {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    z-index: 15;
    max-width: 400px;
    background: rgba(22, 17, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.vtuber-message-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.msg-avatar-wrapper {
    flex-shrink: 0;
}

.msg-avatar {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--text-highlight);
    display: block;
}

.msg-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.msg-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.msg-author {
    color: var(--text-highlight);
    font-weight: 600;
    font-size: 0.92rem;
    font-family: 'Pixelify Sans', sans-serif;
    letter-spacing: 0.5px;
}

.msg-badge {
    background: linear-gradient(135deg, #c59f8a, #f8dfb6);
    color: #181412;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    text-transform: lowercase;
    font-family: 'Pixelify Sans', sans-serif;
}

.msg-time {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: auto;
}

.msg-text {
    color: #fff8f0;
    font-size: 0.92rem;
    line-height: 1.4;
    margin: 0;
    word-break: break-word;
    font-family: 'Inter', sans-serif;
}

/* Poke Cue */
.vtuber-poke-pill {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 10;
    background: rgba(22, 17, 15, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    color: var(--text-highlight);
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.vtuber-stage:hover .vtuber-poke-pill {
    background: var(--accent-warm);
    color: #181412;
    border-color: var(--text-highlight);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(197, 159, 138, 0.4);
}

@media (max-width: 768px) {
    .vtuber-stage-wrapper {
        margin: 2.5rem auto 3rem auto;
    }

    .vtuber-message-card {
        max-width: 92%;
        top: 10px;
        right: 10px;
        left: auto;
        padding: 8px 10px;
        gap: 8px;
    }

    .msg-avatar {
        width: 30px;
        height: 30px;
    }

    .msg-author {
        font-size: 0.85rem;
    }

    .msg-text {
        font-size: 0.84rem;
    }

    .vtuber-poke-pill {
        bottom: 10px;
        right: 10px;
        font-size: 0.78rem;
        padding: 4px 10px;
    }
}