/* ========================================
   Carved Arrow — Shared Styles
   ========================================
   Common styles used across all pages.
   Page-specific styles remain inline.
   ======================================== */

/* ===== CSS VARIABLES (Design Tokens) ===== */
:root {
    /* Colors */
    --color-forest-dark: #1e4a32;
    --color-forest-mid: #2d6b4a;
    --color-forest-light: #3a8a5c;
    --color-meadow: #4a9a6a;
    --color-meadow-light: #5aaa7a;
    --color-gold: #d4a54a;
    --color-gold-light: #e8c46a;
    --color-parchment: #f0e0c0;
    --color-parchment-light: #fff5e0;
    --color-teal: #5fb8c0;
    --color-teal-light: #7fd8e0;
    --color-text-primary: #e8d5b7;
    --color-text-secondary: #b0d8b0;
    --color-text-muted: #6b8b6b;
    --color-bg-panel: rgba(26, 58, 40, 0.7);
    --color-bg-input: rgba(15, 35, 25, 0.8);
    --color-border-subtle: rgba(212, 165, 74, 0.15);
    --color-border-accent: rgba(212, 165, 74, 0.3);

    /* Fonts */
    --font-pixel: 'VT323', monospace;
    --font-heading: 'Silkscreen', cursive;

    /* Spacing */
    --spacing-xs: 0.4rem;
    --spacing-sm: 0.6rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Borders */
    --radius-sm: 0px;
    --radius-md: 4px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Hide browser default scrollbar */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

* {
    scrollbar-width: none;
}

/* ===== BASE BODY ===== */
body {
    font-family: var(--font-pixel);
    background: var(--color-forest-dark);
    color: var(--color-text-primary);
    overflow-x: hidden;
    cursor: none;
}

/* ===== CUSTOM DYNAMIC CURSOR ===== */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 40px;
    pointer-events: none;
    z-index: 10000;
    transition: opacity var(--transition-fast);
    transform-origin: center center;
    will-change: transform, left, top;
}

.custom-cursor img {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 6px rgba(212, 165, 74, 0.5));
}

.custom-cursor.clicking {
    transition: transform 0.06s ease-in;
}

/* Hide system cursor — custom cursor handles all states */
* {
    cursor: none !important;
}

/* Disable custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    * {
        cursor: auto !important;
    }
    .custom-cursor {
        display: none !important;
    }
}

/* ===== FLUID ANIMATED BACKGROUND ===== */
.fluid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(95, 184, 192, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(212, 165, 74, 0.08) 0%, transparent 50%),
        linear-gradient(160deg, #2d6b4a 0%, #1e4a32 20%, #2d6b4a 50%, #3a8a5c 80%, #2d6b4a 100%);
    background-size: 300% 300%, 300% 300%, 100% 100%;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

/* ===== FLOATING PARTICLES ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.particles.visible {
    opacity: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(212, 165, 74, 0.5);
    border-radius: 0;
    animation: float linear infinite;
    box-shadow: 0 0 6px rgba(212, 165, 74, 0.3);
}

.particle:nth-child(3n) {
    background: rgba(95, 184, 192, 0.5);
    box-shadow: 0 0 6px rgba(95, 184, 192, 0.3);
}

.particle:nth-child(5n) {
    background: rgba(232, 196, 106, 0.4);
    box-shadow: 0 0 4px rgba(232, 196, 106, 0.2);
}

@keyframes float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ===== WAVE ===== */
.wave-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(95, 184, 192, 0.03));
    border-radius: 0;
}

.wave:nth-child(1) { animation: wave 8s linear infinite; opacity: 0.5; }
.wave:nth-child(2) { animation: wave 12s linear infinite reverse; opacity: 0.3; bottom: -10px; }
.wave:nth-child(3) { animation: wave 15s linear infinite; opacity: 0.2; bottom: -20px; }

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HEADER ===== */
/* ===== HEADER ENTRANCE ANIMATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: rgba(30, 74, 50, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--color-meadow);
    opacity: 0;
    transform: scale(0.96) translateY(-6px);
    transition: none;
}

.header.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.header-logo img {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 6px rgba(95, 184, 192, 0.3));
}

.header-logo-text {
    font-family: var(--font-pixel);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-gold);
    letter-spacing: 3px;
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.header-nav a {
    font-family: var(--font-pixel);
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color var(--transition-normal);
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-teal);
    transition: width var(--transition-normal);
}

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

.header-nav a:hover::after {
    width: 100%;
}

/* ===== DROPDOWN MENU ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    cursor: pointer;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 180px;
    background: var(--color-bg-secondary);
    border: 2px solid var(--color-border);
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--color-bg-secondary);
    border-left: 2px solid var(--color-border);
    border-top: 2px solid var(--color-border);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-family: var(--font-pixel);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast), background var(--transition-fast);
    white-space: nowrap;
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown-menu a:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-dropdown-menu .dropdown-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    image-rendering: pixelated;
}

.nav-dropdown-menu .dropdown-icon.games-icon {
    filter: drop-shadow(0 0 4px rgba(212, 165, 74, 0.5));
}

.nav-dropdown-menu .dropdown-icon.uiux-icon {
    filter: drop-shadow(0 0 4px rgba(95, 184, 192, 0.5));
}

@media (hover: hover) {
    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* ===== SCROLL REVEAL + PARALLAX ===== */
.scroll-reveal {
    --parallax-y: 0px;
    --reveal-y: 30px;
    --reveal-opacity: 0;
    transform: translateY(calc(var(--parallax-y) + var(--reveal-y)));
    opacity: var(--reveal-opacity);
    transition: opacity 0.8s ease;
}

/* Entrance-animated elements should not be hidden by scroll-reveal */
.scroll-reveal.entrance-animate {
    --reveal-y: 0px;
    --reveal-opacity: 1;
    transform: none;
    opacity: 0; /* Let the entrance animation control opacity */
}

.scroll-reveal.revealed {
    --reveal-y: 0px;
    --reveal-opacity: 1;
}

/* ===== SHIMMER TEXT ANIMATION ===== */
@keyframes shimmer {
    to { background-position: 300% center; }
}

/* ===== FADE IN ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== ENTRANCE ANIMATION (page load bounce) ===== */
@keyframes growBounce {
    0% { opacity: 0; transform: scale(0.92) translateY(8px); }
    60% { opacity: 1; transform: scale(1.02) translateY(-1px); }
    80% { opacity: 1; transform: scale(0.99) translateY(0.5px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes scrollGrowBounce {
    0% { opacity: 0; transform: scale(0.94) translateY(6px); }
    60% { opacity: 1; transform: scale(1.015) translateY(-0.5px); }
    80% { opacity: 1; transform: scale(0.995) translateY(0.3px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.entrance-animate {
    opacity: 0;
    animation: growBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ===== SCROLL-TRIGGERED BOUNCE ===== */
.scroll-bounce {
    opacity: 0;
}

.scroll-bounce.revealed {
    animation: scrollGrowBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Prevent scroll-reveal from fighting with scroll-bounce */
.scroll-reveal.scroll-bounce {
    --reveal-y: 0px;
    --reveal-opacity: 1;
    transform: none;
    opacity: 0;
}

.scroll-reveal.scroll-bounce.revealed {
    --reveal-y: 0px;
    --reveal-opacity: 1;
}

/* ===== STAGGER DELAYS ===== */
.entrance-animate[data-entrance="1"] { animation-delay: 0.05s; }
.entrance-animate[data-entrance="2"] { animation-delay: 0.12s; }
.entrance-animate[data-entrance="3"] { animation-delay: 0.19s; }
.entrance-animate[data-entrance="4"] { animation-delay: 0.26s; }
.entrance-animate[data-entrance="5"] { animation-delay: 0.33s; }
.entrance-animate[data-entrance="6"] { animation-delay: 0.40s; }
.entrance-animate[data-entrance="7"] { animation-delay: 0.47s; }
.entrance-animate[data-entrance="8"] { animation-delay: 0.54s; }
.entrance-animate[data-entrance="9"] { animation-delay: 0.61s; }
.entrance-animate[data-entrance="10"] { animation-delay: 0.68s; }

/* ===== REDUCED MOTION ===== */
body.a11y-reduced-motion .entrance-animate {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    opacity: 1 !important;
    transform: none !important;
}

body.a11y-reduced-motion .scroll-bounce {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    opacity: 1 !important;
    transform: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .header-nav { gap: 1rem; }
    .header-logo-text { font-size: 1rem; }
}

/* ===== CATEGORY CARDS (waiting-room.html) ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 800px;
    width: 100%;
    padding: 0 1rem;
}

.category-card {
    background: rgba(26, 58, 40, 0.7);
    border: 2px solid;
    padding: 2.5rem 2rem;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid;
    pointer-events: none;
    transition: border-color 0.35s ease;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.6s ease;
}

/* Pixel corner decorations */
.category-card .corner-tl,
.category-card .corner-br {
    position: absolute;
    width: 12px;
    height: 12px;
    border-style: solid;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.category-card .corner-tl {
    top: -2px;
    left: -2px;
    border-width: 3px 0 0 3px;
}

.category-card .corner-br {
    bottom: -2px;
    right: -2px;
    border-width: 0 3px 3px 0;
}

/* Category icon */
.category-card .cat-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.35s ease;
}

.category-card .cat-icon svg {
    width: 100%;
    height: 100%;
}

/* Category title */
.category-card .cat-title {
    font-family: 'Silkscreen', cursive;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
    transition: text-shadow 0.35s ease;
}

/* Category description */
.category-card .cat-desc {
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    transition: opacity 0.35s ease;
}

/* Arrow indicator */
.category-card .cat-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 24px;
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid;
    transition: all 0.35s ease;
    position: relative;
}

.category-card .cat-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* ===== GAMES CATEGORY (gold theme) ===== */
.category-card.games {
    border-color: #d4a54a;
    box-shadow: 0 0 15px rgba(212, 165, 74, 0.08);
}

.category-card.games::before {
    border-color: rgba(212, 165, 74, 0.15);
}

.category-card.games .corner-tl,
.category-card.games .corner-br {
    border-color: #5fb8c0;
}

.category-card.games .cat-icon svg {
    filter: drop-shadow(0 0 8px rgba(212, 165, 74, 0.3));
}

.category-card.games .cat-title {
    color: #d4a54a;
}

.category-card.games .cat-desc {
    color: #b0d8b0;
}

.category-card.games .cat-arrow {
    border-color: #d4a54a;
    color: #e8c46a;
    background: linear-gradient(135deg, rgba(212, 165, 74, 0.15), rgba(95, 184, 192, 0.1));
}

/* ===== UI/UX CATEGORY (teal theme) ===== */
.category-card.ui-ux {
    border-color: #5fb8c0;
    box-shadow: 0 0 15px rgba(95, 184, 192, 0.08);
}

.category-card.ui-ux::before {
    border-color: rgba(95, 184, 192, 0.15);
}

.category-card.ui-ux .corner-tl,
.category-card.ui-ux .corner-br {
    border-color: #d4a54a;
}

.category-card.ui-ux .cat-icon svg {
    filter: drop-shadow(0 0 8px rgba(95, 184, 192, 0.3));
}

.category-card.ui-ux .cat-title {
    color: #5fb8c0;
}

.category-card.ui-ux .cat-desc {
    color: #b0d8b0;
}

.category-card.ui-ux .cat-arrow {
    border-color: #5fb8c0;
    color: #7fd8e0;
    background: linear-gradient(135deg, rgba(95, 184, 192, 0.15), rgba(212, 165, 74, 0.1));
}

/* ===== CATEGORY CARD HOVER ===== */
@media (hover: hover) {
    .category-card:hover::after {
        left: 100%;
    }

    .category-card:hover {
        transform: translateY(-6px);
    }

    .category-card:hover .corner-tl,
    .category-card:hover .corner-br {
        opacity: 1;
    }

    .category-card:hover .cat-icon {
        transform: scale(1.08);
    }

    .category-card:hover .cat-arrow svg {
        transform: translateX(4px);
    }

    .category-card.games:hover {
        box-shadow: 0 0 25px rgba(212, 165, 74, 0.2), 0 0 50px rgba(212, 165, 74, 0.06);
    }

    .category-card.games:hover::before {
        border-color: rgba(212, 165, 74, 0.4);
    }

    .category-card.games:hover .cat-arrow {
        background: linear-gradient(135deg, rgba(212, 165, 74, 0.25), rgba(95, 184, 192, 0.2));
        box-shadow: 0 0 12px rgba(212, 165, 74, 0.2);
    }

    .category-card.ui-ux:hover {
        box-shadow: 0 0 25px rgba(95, 184, 192, 0.2), 0 0 50px rgba(95, 184, 192, 0.06);
    }

    .category-card.ui-ux:hover::before {
        border-color: rgba(95, 184, 192, 0.4);
    }

    .category-card.ui-ux:hover .cat-arrow {
        background: linear-gradient(135deg, rgba(95, 184, 192, 0.25), rgba(212, 165, 74, 0.2));
        box-shadow: 0 0 12px rgba(95, 184, 192, 0.2);
    }
}

/* ===== SHOWCASE WINDOW (ui-ux.html) ===== */
.showcase-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 4rem;
}

.showcase-window {
    width: 100%;
    max-width: 720px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    animation: windowBreathe 4s ease-in-out infinite;
}

@keyframes windowBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.005); }
}

/* Window title bar */
.window-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    position: relative;
}

.window-titlebar-text {
    font-family: 'Silkscreen', cursive;
    font-size: 0.7rem;
    letter-spacing: 1px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Window dots */
.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Window body */
.window-body {
    padding: 2rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Placeholder content */
.window-placeholder {
    text-align: center;
}

.window-placeholder .placeholder-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    opacity: 0.4;
}

.window-placeholder .placeholder-title {
    font-family: 'Silkscreen', cursive;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.window-placeholder .placeholder-desc {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    opacity: 0.6;
}

/* ===== WINDOW THEME: GOLD ===== */
.showcase-window.gold {
    border: 2px solid rgba(212, 165, 74, 0.4);
    box-shadow: 0 4px 20px rgba(212, 165, 74, 0.08), 0 0 0 1px rgba(212, 165, 74, 0.1);
    background: rgba(26, 58, 40, 0.85);
}

.showcase-window.gold .window-titlebar {
    background: rgba(212, 165, 74, 0.12);
    border-bottom: 1px solid rgba(212, 165, 74, 0.2);
}

.showcase-window.gold .window-titlebar-text {
    color: #d4a54a;
}

.showcase-window.gold .window-dot:nth-child(1) { background: #d4a54a; }
.showcase-window.gold .window-dot:nth-child(2) { background: #e8c46a; }
.showcase-window.gold .window-dot:nth-child(3) { background: #c4953a; }

.showcase-window.gold .window-body {
    background: rgba(15, 35, 25, 0.6);
}

.showcase-window.gold .placeholder-title { color: #d4a54a; }
.showcase-window.gold .placeholder-desc { color: #b0d8b0; }

/* ===== WINDOW THEME: TEAL ===== */
.showcase-window.teal {
    border: 2px solid rgba(95, 184, 192, 0.4);
    box-shadow: 0 4px 20px rgba(95, 184, 192, 0.08), 0 0 0 1px rgba(95, 184, 192, 0.1);
    background: rgba(26, 58, 40, 0.85);
}

.showcase-window.teal .window-titlebar {
    background: rgba(95, 184, 192, 0.12);
    border-bottom: 1px solid rgba(95, 184, 192, 0.2);
}

.showcase-window.teal .window-titlebar-text {
    color: #5fb8c0;
}

.showcase-window.teal .window-dot:nth-child(1) { background: #5fb8c0; }
.showcase-window.teal .window-dot:nth-child(2) { background: #7fd8e0; }
.showcase-window.teal .window-dot:nth-child(3) { background: #4a9aa2; }

.showcase-window.teal .window-body {
    background: rgba(15, 35, 25, 0.6);
}

.showcase-window.teal .placeholder-title { color: #5fb8c0; }
.showcase-window.teal .placeholder-desc { color: #b0d8b0; }

/* ===== WINDOW THEME: MEADOW ===== */
.showcase-window.meadow {
    border: 2px solid rgba(74, 154, 106, 0.4);
    box-shadow: 0 4px 20px rgba(74, 154, 106, 0.08), 0 0 0 1px rgba(74, 154, 106, 0.1);
    background: rgba(26, 58, 40, 0.85);
}

.showcase-window.meadow .window-titlebar {
    background: rgba(74, 154, 106, 0.12);
    border-bottom: 1px solid rgba(74, 154, 106, 0.2);
}

.showcase-window.meadow .window-titlebar-text {
    color: #4a9a6a;
}

.showcase-window.meadow .window-dot:nth-child(1) { background: #4a9a6a; }
.showcase-window.meadow .window-dot:nth-child(2) { background: #5aaa7a; }
.showcase-window.meadow .window-dot:nth-child(3) { background: #3a8a5c; }

.showcase-window.meadow .window-body {
    background: rgba(15, 35, 25, 0.6);
}

.showcase-window.meadow .placeholder-title { color: #4a9a6a; }
.showcase-window.meadow .placeholder-desc { color: #b0d8b0; }

/* ===== WINDOW HOVER ===== */
@media (hover: hover) {
    .showcase-window.gold:hover {
        border-color: rgba(212, 165, 74, 0.6);
        box-shadow: 0 6px 24px rgba(212, 165, 74, 0.15), 0 0 0 1px rgba(212, 165, 74, 0.25);
    }

    .showcase-window.teal:hover {
        border-color: rgba(95, 184, 192, 0.6);
        box-shadow: 0 6px 24px rgba(95, 184, 192, 0.15), 0 0 0 1px rgba(95, 184, 192, 0.25);
    }

    .showcase-window.meadow:hover {
        border-color: rgba(74, 154, 106, 0.6);
        box-shadow: 0 6px 24px rgba(74, 154, 106, 0.15), 0 0 0 1px rgba(74, 154, 106, 0.25);
    }

    .showcase-window:hover .window-dot {
        transform: scale(1.2);
    }

    .showcase-window:hover .window-dot:nth-child(1) {
        box-shadow: 0 0 6px currentColor;
    }
}

/* ===== REDUCED MOTION: WINDOWS ===== */
body.a11y-reduced-motion .showcase-window {
    animation: none !important;
}

/* ===== RESPONSIVE: CATEGORY GRID ===== */
@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .category-card {
        padding: 2rem 1.5rem;
    }
    .category-card .cat-icon {
        width: 56px;
        height: 56px;
    }
}

/* ===== RESPONSIVE: SHOWCASE WINDOWS ===== */
@media (max-width: 480px) {
    .showcase-window {
        max-width: 100%;
    }
    .window-body {
        padding: 1.5rem;
        min-height: 220px;
    }
}

/* ===== RESPONSIVE: DROPDOWN ===== */
@media (max-width: 480px) {
    .nav-dropdown-menu {
        left: auto;
        right: 0;
        transform: translateY(8px);
        min-width: 160px;
    }
    .nav-dropdown-menu::before {
        left: auto;
        right: 16px;
        transform: rotate(45deg);
    }
    @media (hover: hover) {
        .nav-dropdown:hover .nav-dropdown-menu {
            transform: translateY(0);
        }
    }
    .nav-dropdown.open .nav-dropdown-menu {
        transform: translateY(0);
    }
}
