*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

::selection { background: rgba(139,90,43,0.15); color: #5C3A1E; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #F5EDE3; }
::-webkit-scrollbar-thumb { background: #D4C4A8; border-radius: 3px; }

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Noto+Serif+SC:wght@400;500;600&display=swap');

/* ===== Paper-cut Body ===== */
.fw-body {
    font-family: 'Noto Serif SC', 'Playfair Display', Georgia, serif;
    background: #F8F1E8;
    color: #5C3A1E;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Paper texture overlay */
.fw-body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139,90,43,0.012) 2px,
            rgba(139,90,43,0.012) 3px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(139,90,43,0.008) 3px,
            rgba(139,90,43,0.008) 4px
        );
    pointer-events: none;
    z-index: 0;
}

/* Shadow lines / crease marks */
.fw-body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 600px 400px at 15% 25%, rgba(139,90,43,0.04), transparent),
        radial-gradient(ellipse 500px 500px at 75% 55%, rgba(139,90,43,0.03), transparent),
        radial-gradient(ellipse 400px 300px at 50% 80%, rgba(139,90,43,0.035), transparent);
    pointer-events: none;
    z-index: 0;
    animation: shadowShift 30s ease-in-out infinite;
}

@keyframes shadowShift {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(5px, -3px); }
    66% { transform: translate(-3px, 5px); }
}

/* ===== Navbar ===== */
.fw-navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(248,241,232,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(139,90,43,0.12);
    box-shadow: 0 1px 3px rgba(139,90,43,0.06);
}
.fw-navbar-inner {
    max-width: 1200px; margin: 0 auto;
    height: 56px; display: flex; align-items: center;
    padding: 0 20px; gap: 28px;
}
.fw-logo {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 22px; font-weight: 600; color: #5C3A1E;
    text-decoration: none; letter-spacing: 2px;
    flex-shrink: 0;
    text-shadow: 1px 1px 2px rgba(139,90,43,0.15);
}
.fw-nav-links {
    display: flex; gap: 28px; align-items: center;
}
.fw-nav-link {
    font-size: 13px; font-weight: 400; color: rgba(92,58,30,0.55);
    text-decoration: none; letter-spacing: 0.5px;
    transition: color 0.3s; position: relative;
}
.fw-nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: #8B5A2B;
    transition: width 0.3s;
    box-shadow: 0 0 4px rgba(139,90,43,0.15);
}
.fw-nav-link:hover { color: #8B5A2B; }
.fw-nav-link:hover::after { width: 100%; }
.fw-search-wrap {
    display: flex; align-items: center; gap: 8px;
    margin-left: auto;
}
.fw-search-icon { flex-shrink: 0; }
.fw-search-icon circle, .fw-search-icon line { stroke: rgba(139,90,43,0.35); }
.fw-search-input {
    width: 200px; height: 36px;
    border: 1px solid rgba(139,90,43,0.15);
    background: rgba(255,252,247,0.8);
    padding: 0 12px; font-family: inherit;
    font-size: 13px; color: #5C3A1E; outline: none;
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.fw-search-input:focus {
    border-color: rgba(139,90,43,0.35);
    box-shadow: 0 0 8px rgba(139,90,43,0.08);
}
.fw-search-input::placeholder { color: rgba(139,90,43,0.3); }
.fw-mobile-menu-btn {
    display: none; flex-direction: column; gap: 4px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.fw-mobile-menu-btn span {
    display: block; width: 20px; height: 1.5px; background: #8B5A2B;
    transition: all 0.3s;
}
.fw-mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
.fw-mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.fw-mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); }
.fw-mobile-nav-panel {
    display: none; position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
    background: rgba(248,241,232,0.97);
    backdrop-filter: blur(16px);
    z-index: 99; padding: 20px;
    flex-direction: column; gap: 0;
}
.fw-mobile-nav-panel.open { display: flex; }
.fw-mobile-nav-panel .fw-nav-link {
    display: block; padding: 14px 0; font-size: 15px;
    border-bottom: 1px solid rgba(139,90,43,0.08);
    color: rgba(92,58,30,0.7);
}

/* ===== Hero Paper-cut Section ===== */
.fw-hero-section {
    max-width: 1200px; margin: 0 auto;
    padding: 32px 20px 16px;
    position: relative;
}
.fw-hero-stack {
    position: relative;
    width: 100%;
    height: 280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

/* Paper-cut layered card */
.fw-stack-card {
    position: relative;
    width: 200px; height: 240px;
    cursor: pointer;
    perspective: 800px;
    transition: transform 0.4s ease;
}
.fw-stack-card:hover {
    transform: translateY(-4px);
}

/* Backlight glow behind card */
.fw-stack-card::before {
    content: '';
    position: absolute;
    top: -8px; left: -8px; right: -8px; bottom: -8px;
    background: radial-gradient(ellipse at center, rgba(255,220,160,0.35) 0%, rgba(255,200,120,0.1) 50%, transparent 70%);
    border-radius: 6px;
    z-index: -1;
    animation: backlitPulse 4s ease-in-out infinite;
}

@keyframes backlitPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

/* Paper shadow beneath card */
.fw-stack-card::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 4px; right: 4px;
    height: 12px;
    background: rgba(139,90,43,0.08);
    border-radius: 0 0 50% 50%;
    filter: blur(4px);
    z-index: -2;
}

.fw-stack-card.active {
    z-index: 10 !important;
}
.fw-stack-card.active::before {
    background: radial-gradient(ellipse at center, rgba(255,220,160,0.5) 0%, rgba(255,200,120,0.15) 50%, transparent 70%);
    animation: backlitPulse 3s ease-in-out infinite;
}

.fw-stack-card-link {
    display: block;
    width: 100%; height: 100%;
    text-decoration: none;
    position: relative;
}

/* Paper-cut layers */
.fw-paper-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 4px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease;
    overflow: hidden;
}

/* Bottom layer - darkest paper */
.fw-paper-layer-back {
    background: #E8D5BC;
    z-index: 1;
    box-shadow: 2px 2px 6px rgba(139,90,43,0.1);
}

/* Middle layer - medium paper */
.fw-paper-layer-mid {
    background: #F2E6D4;
    z-index: 2;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    box-shadow: 1px 1px 4px rgba(139,90,43,0.08);
}

/* Top layer - lightest paper with image */
.fw-paper-layer-front {
    background: #FFF9F0;
    z-index: 3;
    top: 12px; left: 12px; right: 12px; bottom: 12px;
    box-shadow: 1px 1px 3px rgba(139,90,43,0.06);
    transform-origin: left center;
}

/* When card is flipped/lifted */
.fw-stack-card.lifted .fw-paper-layer-front {
    transform: rotateY(-160deg);
    box-shadow: 4px 2px 8px rgba(139,90,43,0.15);
}

.fw-stack-card.lifted .fw-paper-layer-mid {
    transform: translate(0, -4px);
    box-shadow: 2px 4px 10px rgba(139,90,43,0.12);
}

.fw-stack-card.lifted .fw-paper-layer-back {
    box-shadow: 2px 6px 14px rgba(139,90,43,0.15);
}

/* Card image on front layer */
.fw-stack-card-thumb {
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 40px;
    overflow: hidden;
    border-radius: 2px;
}
.fw-stack-card-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    filter: sepia(0.1) contrast(0.95) brightness(1.02);
    transition: filter 0.4s;
}
.fw-stack-card:hover .fw-stack-card-thumb img {
    filter: sepia(0.05) contrast(1) brightness(1.05);
}

/* Paper cutout decorative border on front layer */
.fw-paper-layer-front::before {
    content: '';
    position: absolute;
    top: 4px; left: 4px; right: 4px; bottom: 4px;
    border: 1px dashed rgba(139,90,43,0.12);
    border-radius: 2px;
    pointer-events: none;
    z-index: 5;
}

/* Cutout pattern on middle layer */
.fw-paper-layer-mid::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 40px; height: 40px;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 1px solid rgba(139,90,43,0.1);
    z-index: 1;
}

.fw-paper-layer-mid::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 24px; height: 24px;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 1px solid rgba(139,90,43,0.08);
    z-index: 1;
}

/* Cutout pattern on back layer */
.fw-paper-layer-back::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 60px; height: 60px;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 1px solid rgba(139,90,43,0.08);
}

.fw-stack-card-info {
    position: absolute;
    bottom: 6px; left: 8px; right: 8px;
    text-align: center;
    z-index: 4;
}
.fw-stack-card-title {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 12px; font-weight: 500; line-height: 1.3;
    color: #5C3A1E;
    white-space: nowrap; overflow: hidden; text-shadow: 0 0 2px rgba(255,249,240,0.8);
    text-overflow: ellipsis;
}
.fw-stack-card.active .fw-stack-card-title {
    font-size: 13px;
    color: #3E2510;
}

.fw-stack-card-type { display: none; }
.fw-stack-card-color-bar { display: none; }

.fw-stack-card-tentacle { display: none; }

.fw-hero-silk { display: none; }

/* Hero particles become paper confetti */
.fw-hero-particle {
    position: absolute;
    width: 4px; height: 4px;
    background: rgba(139,90,43,0.12);
    animation: confettiFloat 10s ease-in-out infinite;
}
.fw-hero-particle:nth-child(odd) {
    background: rgba(180,140,90,0.1);
    border-radius: 1px;
    transform: rotate(45deg);
}
.fw-hero-particle:nth-child(even) {
    background: rgba(210,180,140,0.12);
    border-radius: 0;
}
@keyframes confettiFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(8px, -12px) rotate(90deg); opacity: 0.6; }
    50% { transform: translate(-5px, -8px) rotate(180deg); opacity: 0.4; }
    75% { transform: translate(6px, -10px) rotate(270deg); opacity: 0.5; }
}

/* ===== Categories ===== */
.fw-categories-section {
    max-width: 1200px; margin: 0 auto;
    padding: 16px 20px 0;
}
.fw-categories-scroll {
    display: flex; gap: 0; overflow-x: auto;
    border-bottom: 1px solid rgba(139,90,43,0.1);
}
.fw-categories-scroll::-webkit-scrollbar { height: 2px; }
.fw-categories-scroll::-webkit-scrollbar-thumb { background: rgba(139,90,43,0.15); border-radius: 1px; }
.fw-category-item {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 20px; text-decoration: none;
    cursor: pointer; white-space: nowrap;
    transition: all 0.3s;
}
.fw-cat-line {
    width: 2px; height: 20px;
    background: var(--cat-color);
    transition: all 0.3s;
    border-radius: 1px;
    opacity: 0.5;
}
.fw-category-item:hover .fw-cat-line {
    width: 20px; height: 2px;
    opacity: 1;
    box-shadow: 0 0 6px var(--cat-color);
}
.fw-cat-label {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 12px; color: rgba(92,58,30,0.5); letter-spacing: 1px; text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s;
}
.fw-category-item:hover .fw-cat-label {
    color: #8B5A2B;
}

/* ===== Main ===== */
.fw-main {
    max-width: 1200px; margin: 0 auto;
    padding: 0 20px;
    position: relative; z-index: 1;
}

/* ===== Section ===== */
.fw-sector {
    margin-top: 28px;
}
.fw-section-header {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; cursor: pointer;
    background: rgba(255,249,240,0.7);
    border: 1px solid rgba(139,90,43,0.1);
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(139,90,43,0.04);
}
.fw-section-header:hover {
    background: rgba(255,249,240,0.9);
    border-color: rgba(139,90,43,0.18);
    box-shadow: 0 2px 6px rgba(139,90,43,0.06);
}
.fw-section-line {
    width: 8px; height: 8px;
    background: rgba(139,90,43,0.2);
    border-radius: 1px;
    transition: all 0.4s;
    flex-shrink: 0;
    transform: rotate(45deg);
}
.fw-sector.open .fw-section-line {
    width: 10px; height: 10px;
    background: rgba(139,90,43,0.35);
    box-shadow: 0 0 6px rgba(139,90,43,0.15);
}
.fw-section-title {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 18px; font-weight: 500; color: #5C3A1E;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(139,90,43,0.08);
}
.fw-section-right {
    margin-left: auto; display: flex; align-items: center; gap: 12px;
}
.fw-section-more {
    font-size: 12px; color: rgba(92,58,30,0.4); text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
}
.fw-section-more:hover { color: #8B5A2B; }
.fw-section-arrow {
    font-size: 10px; color: rgba(92,58,30,0.4);
    transition: transform 0.3s;
}
.fw-sector.open .fw-section-arrow { transform: rotate(180deg); }
.fw-section-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fw-sector.open .fw-section-content {
    max-height: 20000px;
}

/* ===== Game Grid ===== */
.fw-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 0;
}
.fw-game-card {
    background: rgba(255,249,240,0.6);
    border: 1px solid rgba(139,90,43,0.08);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease, opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(10px);
    box-shadow: 0 1px 3px rgba(139,90,43,0.04);
}
.fw-game-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.fw-game-card:hover {
    background: rgba(255,249,240,0.85);
    border-color: rgba(139,90,43,0.15);
    box-shadow: 0 3px 12px rgba(139,90,43,0.08);
    transform: translateY(-2px);
}
.fw-game-card:active {
    transform: translateY(0);
}
.fw-card-link {
    display: block; text-decoration: none; color: #5C3A1E;
}
.fw-card-image {
    width: 100%; aspect-ratio: 1/1; overflow: hidden;
    position: relative;
}
.fw-card-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}
.fw-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    filter: sepia(0.05) contrast(0.95) brightness(0.98);
    transition: filter 0.4s, transform 0.4s;
}
.fw-game-card:hover .fw-card-image img {
    filter: sepia(0) contrast(1) brightness(1.02);
    transform: scale(1.03);
}
.fw-card-info {
    padding: 10px 12px;
}
.fw-card-title {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 13px; font-weight: 400; color: #5C3A1E;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    letter-spacing: 0.3px;
}

/* ===== Footer (Craft Knife + Paper Confetti) ===== */
.fw-footer {
    background: rgba(232,213,188,0.4);
    border-top: 1px solid rgba(139,90,43,0.1);
    padding: 48px 20px 24px;
    margin-top: 48px;
    position: relative; z-index: 1;
}
.fw-footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
    position: relative; z-index: 1;
}
.fw-footer-heading {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 12px; font-weight: 500; color: rgba(92,58,30,0.45);
    margin-bottom: 14px; letter-spacing: 2px; text-transform: uppercase;
}
.fw-footer-desc {
    color: rgba(92,58,30,0.4);
    font-size: 13px; line-height: 1.7; font-weight: 400;
}
.fw-footer-links { display: flex; flex-direction: column; gap: 8px; }
.fw-footer-links a {
    color: rgba(92,58,30,0.4); text-decoration: none; font-size: 13px;
    transition: all 0.3s; cursor: pointer; font-weight: 400;
    display: inline-block;
    position: relative;
}
.fw-footer-links a:hover { color: #8B5A2B; }
.fw-footer-links a:active { transform: translateY(1px); }

/* Three craft knives */
.fw-footer-jellyfish {
    display: flex; align-items: flex-start; justify-content: center; gap: 32px;
    padding-top: 8px;
}
.fw-jellyfish {
    display: flex; flex-direction: column; align-items: center;
    cursor: pointer;
    position: relative;
}
/* Craft knife blade */
.fw-jellyfish-dome {
    width: 24px; height: 8px;
    background: linear-gradient(to bottom, #C0C0C0, #A0A0A0);
    border-radius: 2px 12px 2px 2px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
/* Knife tip */
.fw-jellyfish-dome::after {
    content: '';
    position: absolute;
    right: -6px; top: 50%;
    width: 0; height: 0;
    border-left: 6px solid #B0B0B0;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    transform: translateY(-50%);
}
.fw-jellyfish-glow {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,220,160,0.8);
    top: 50%; left: 30%;
    transform: translateY(-50%);
    animation: knifeGlint 3s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255,220,160,0.5);
}
@keyframes knifeGlint {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
/* Knife handle */
.fw-jellyfish-tentacles {
    display: flex; flex-direction: column; align-items: center;
}
.fw-jellyfish-tentacle {
    width: 10px; height: 4px;
    background: linear-gradient(to bottom, #8B5A2B, #6B3A1B);
    border-radius: 1px;
    margin-top: 1px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.fw-jellyfish-tentacle:nth-child(1) { width: 12px; }
.fw-jellyfish-tentacle:nth-child(2) { width: 14px; }
.fw-jellyfish-tentacle:nth-child(3) { width: 16px; }
.fw-jellyfish-tentacle:nth-child(4) { width: 18px; }
.fw-jellyfish-tentacle:nth-child(5) { width: 20px; border-radius: 1px 1px 3px 3px; }

/* Paper confetti falling */
.fw-footer-current {
    position: absolute;
    bottom: 60px; left: 0; right: 0;
    height: 40px;
    pointer-events: none;
    overflow: hidden;
}

.fw-footer-confetti {
    position: absolute;
    width: 4px; height: 4px;
    opacity: 0;
    animation: confettiFall 6s ease-in-out infinite;
}
.fw-footer-confetti:nth-child(1) {
    left: 10%; background: rgba(139,90,43,0.15);
    animation-delay: 0s; transform: rotate(30deg);
}
.fw-footer-confetti:nth-child(2) {
    left: 25%; background: rgba(180,140,90,0.12);
    animation-delay: 1.2s; transform: rotate(-45deg); border-radius: 1px;
}
.fw-footer-confetti:nth-child(3) {
    left: 40%; background: rgba(210,180,140,0.1);
    animation-delay: 2.4s; transform: rotate(60deg);
}
.fw-footer-confetti:nth-child(4) {
    left: 55%; background: rgba(139,90,43,0.12);
    animation-delay: 0.8s; transform: rotate(-30deg); border-radius: 50%;
}
.fw-footer-confetti:nth-child(5) {
    left: 70%; background: rgba(180,140,90,0.1);
    animation-delay: 1.8s; transform: rotate(45deg);
}
.fw-footer-confetti:nth-child(6) {
    left: 85%; background: rgba(210,180,140,0.12);
    animation-delay: 3s; transform: rotate(-60deg); border-radius: 1px;
}
.fw-footer-confetti:nth-child(7) {
    left: 15%; background: rgba(139,90,43,0.1);
    animation-delay: 3.5s; transform: rotate(15deg);
}
.fw-footer-confetti:nth-child(8) {
    left: 60%; background: rgba(180,140,90,0.15);
    animation-delay: 2s; transform: rotate(-15deg); border-radius: 50%;
}

@keyframes confettiFall {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.3; }
    100% { transform: translateY(40px) rotate(360deg); opacity: 0; }
}

.fw-footer-bottom {
    max-width: 1200px; margin: 28px auto 0;
    padding-top: 20px; border-top: 1px solid rgba(139,90,43,0.08);
    text-align: center; position: relative; z-index: 1;
}
.fw-footer-bottom p { color: rgba(92,58,30,0.3); font-size: 13px; font-weight: 400; }

/* ===== Mobile Bottom Nav ===== */
.fw-bottom-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(248,241,232,0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(139,90,43,0.1);
    z-index: 100;
    padding: 8px 0;
    box-shadow: 0 -1px 4px rgba(139,90,43,0.06);
}
.fw-bottom-nav a {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; text-decoration: none; color: rgba(92,58,30,0.4);
    font-size: 10px; font-weight: 400;
    transition: color 0.3s;
}
.fw-bottom-nav a:hover { color: #8B5A2B; }
.fw-bottom-nav-icon { font-size: 16px; }
.fw-bottom-nav-active { color: #8B5A2B !important; }

/* ===== Detail Page ===== */
.fw-detail-header {
    background: rgba(248,241,232,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(139,90,43,0.1);
    padding: 16px 20px;
}
.fw-back-btn {
    font-size: 13px; font-weight: 400; color: rgba(92,58,30,0.5);
    text-decoration: none; transition: color 0.3s;
}
.fw-back-btn:hover { color: #8B5A2B; }
.fw-detail-main {
    max-width: 900px; margin: 0 auto;
    padding: 24px 20px;
    position: relative; z-index: 1;
}
.fw-detail-image {
    width: 100%; max-width: 350px; margin: 24px auto;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(139,90,43,0.1);
    box-shadow: 0 2px 12px rgba(139,90,43,0.08);
}
.fw-detail-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .fw-nav-links { display: none; }
    .fw-search-wrap { display: none; }
    .fw-mobile-menu-btn { display: flex; }
    .fw-bottom-nav {
        display: flex; justify-content: space-around;
    }
    .fw-hero-stack {
        flex-wrap: wrap;
        height: auto;
        gap: 16px;
        padding: 8px 0;
    }
    .fw-stack-card {
        width: 160px; height: 200px;
    }
    .fw-footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .fw-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .fw-stack-card {
        width: 140px; height: 180px;
    }
    .fw-hero-stack {
        gap: 12px;
    }
    .fw-section-title {
        font-size: 16px;
    }
}

/* ===== Bubble highlight - replaced with paper lift effect ===== */
.fw-stack-card .bubble-highlight {
    display: none;
}
