/* ppuzzle.dev - Memphis Pastel Puzzle Design */

/* ========== CSS Custom Properties ========== */
:root {
    --bg-base: #faf6f0;
    --bg-surface: #f3ece2;
    --accent-pink: #d4a0c4;
    --accent-mint: #a8c8b8;
    --accent-gold: #f2c87d;
    --text-primary: #4a4540;
    --text-headline: #4a3f6b;
    --highlight: #c97d54;
    --border-subtle: #e4ddd4;
    --ghost: #ece6dc;
    --gutter: clamp(12px, 2vw, 24px);
    --row-unit: clamp(80px, 12vh, 140px);
    --wave-amp: 1;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.72;
    color: var(--text-primary);
    background-color: var(--bg-base);
    overflow-x: hidden;
    padding-bottom: 72px;
}

/* ========== Memphis Header Stripes ========== */
.memphis-stripes {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
}

.stripe {
    height: 6px;
    width: 100%;
}

.stripe-pink {
    background-color: var(--accent-pink);
}

.stripe-gold {
    background-color: var(--accent-gold);
}

/* ========== Terrazzo Dots ========== */
.terrazzo-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.terrazzo-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

/* ========== Wave Dividers ========== */
.wave-divider {
    position: relative;
    height: 60px;
    overflow: hidden;
    margin: 0;
}

.wave-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    animation: wave-drift 20s linear infinite;
}

.wave-path-alt {
    animation: wave-drift-reverse 25s linear infinite;
}

@keyframes wave-drift {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes wave-drift-reverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* ========== Sectional Bands ========== */
.sectional-band {
    height: 20px;
    width: 100%;
    margin: 10px 0;
}

.band-zigzag {
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 10px,
        var(--accent-pink) 10px,
        var(--accent-pink) 11px,
        transparent 11px,
        transparent 20px
    ),
    repeating-linear-gradient(
        135deg,
        transparent 0px,
        transparent 7px,
        var(--accent-mint) 7px,
        var(--accent-mint) 8px,
        transparent 8px,
        transparent 14px
    );
}

.band-dotdash {
    background: repeating-linear-gradient(
        90deg,
        var(--accent-gold) 0px,
        var(--accent-gold) 8px,
        transparent 8px,
        transparent 14px,
        var(--accent-gold) 14px,
        var(--accent-gold) 16px,
        transparent 16px,
        transparent 22px
    );
    opacity: 0.5;
}

.band-stepped {
    background: repeating-linear-gradient(
        90deg,
        var(--accent-pink) 0px,
        var(--accent-pink) 4px,
        transparent 4px,
        transparent 8px,
        var(--highlight) 8px,
        var(--highlight) 12px,
        transparent 12px,
        transparent 16px
    );
    opacity: 0.4;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: clamp(40px, 8vh, 80px) var(--gutter);
    padding-top: calc(clamp(40px, 8vh, 80px) + 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: clamp(5rem, 15vw, 12rem);
    color: var(--text-headline);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr 0.8fr 1.2fr 0.8fr;
    grid-auto-rows: var(--row-unit);
    gap: var(--gutter);
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ========== Puzzle Blocks ========== */
.puzzle-block {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: clamp(16px, 3vw, 32px);
    position: relative;
    overflow: hidden;
    contain: layout;
    opacity: 0;
    transform: translateY(40px);
    transition: border-color 0.4s ease;
}

.puzzle-block.animated {
    animation: slideReveal 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.puzzle-block.animated::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    pointer-events: none;
    animation: borderDraw 0.4s ease forwards;
    animation-delay: 0.6s;
}

@keyframes slideReveal {
    from {
        opacity: 0;
        transform: var(--slide-from, translateY(40px));
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

@keyframes borderDraw {
    from { border-color: transparent; }
    to { border-color: var(--block-accent, var(--accent-pink)); }
}

/* Block Corner Folds */
.block-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 12px 12px 0;
    border-color: transparent var(--accent-pink) transparent transparent;
}

.block-corner.corner-mint {
    border-color: transparent var(--accent-mint) transparent transparent;
}

.block-corner.corner-gold {
    border-color: transparent var(--accent-gold) transparent transparent;
}

.block-corner.corner-terracotta {
    border-color: transparent var(--highlight) transparent transparent;
}

/* Stepped border effect */
.puzzle-block::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--block-accent, var(--border-subtle)) 0px,
        var(--block-accent, var(--border-subtle)) 4px,
        transparent 4px,
        transparent 8px
    );
    opacity: 0.5;
}

/* ========== Ghost Cells ========== */
.ghost-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.15;
    transition: opacity 0.4s ease, transform 0.4s ease;
    cursor: pointer;
}

.ghost-cell:hover {
    opacity: 0.35;
    animation: wobble 0.6s ease;
}

.ghost-cell.solidified svg * {
    fill: var(--accent-pink);
    stroke: var(--accent-pink);
    transition: all 0.3s ease;
}

.ghost-cell.solidified {
    opacity: 0.8;
    animation: solidifyFade 2s ease forwards;
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg) scale(1.08); }
    25% { transform: rotate(2deg) scale(1.08); }
    75% { transform: rotate(-2deg) scale(1.08); }
}

@keyframes solidifyFade {
    0% { opacity: 0.8; }
    30% { opacity: 0.8; }
    100% { opacity: 0.15; }
}

.ghost-cell svg {
    width: 50%;
    height: 50%;
    max-width: 60px;
    max-height: 60px;
}

/* ========== Hero Grid Placement ========== */
.block-hero-title {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
    --block-accent: var(--accent-pink);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.block-hero-desc {
    grid-column: 1 / 4;
    grid-row: 3 / 5;
    --block-accent: var(--accent-mint);
}

.block-hero-shape {
    grid-column: 5 / 7;
    grid-row: 1 / 4;
    --block-accent: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-hero-small {
    grid-column: 4 / 6;
    grid-row: 4 / 5;
    --block-accent: var(--highlight);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-grid .ghost-cell:nth-child(5) {
    grid-column: 6 / 7;
    grid-row: 4 / 5;
}

.hero-grid .ghost-cell:nth-child(6) {
    grid-column: 4 / 5;
    grid-row: 5 / 6;
}

.hero-grid .ghost-cell:nth-child(7) {
    grid-column: 5 / 7;
    grid-row: 5 / 6;
}

/* ========== Typography ========== */
h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    letter-spacing: -0.03em;
    color: var(--text-headline);
    line-height: 1.1;
    margin-bottom: 0.3em;
}

h1 .dot {
    color: var(--accent-pink);
}

.hero-tagline {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-primary);
    opacity: 0.8;
}

.section-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--highlight);
    margin-bottom: 0.5em;
}

.section-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 4vw, 3rem);
    letter-spacing: -0.03em;
    color: var(--text-headline);
    line-height: 1.15;
}

h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-headline);
    margin-bottom: 0.4em;
}

p {
    max-width: 62ch;
}

.code-snippet {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 0.9em;
    background: #f7f2ec;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 16px 20px;
    display: block;
    line-height: 1.7;
    color: #7b6d8a;
}

/* ========== Squiggle ========== */
.squiggle {
    position: absolute;
    width: 120px;
    top: -8px;
    right: 20px;
    opacity: 0.6;
}

.squiggle svg {
    width: 100%;
    height: auto;
}

/* ========== Geometric Tokens ========== */
.geometric-token {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.token-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-pink);
}

.token-triangle {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid var(--accent-mint);
}

.token-square {
    width: 13px;
    height: 13px;
    background: var(--accent-gold);
}

.token-pentagon {
    width: 16px;
    height: 16px;
    background: var(--highlight);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.token-diamond {
    width: 14px;
    height: 14px;
    background: var(--text-headline);
    transform: rotate(45deg);
}

.label-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--highlight);
}

/* ========== Hero Geometry ========== */
.hero-geo {
    width: 80%;
    max-width: 200px;
    height: auto;
    animation: geoSpin 30s linear infinite;
}

@keyframes geoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========== Content Sections ========== */
.content-section {
    position: relative;
    padding: clamp(40px, 6vh, 80px) var(--gutter);
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
}

.content-section:nth-child(odd) {
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
}

/* ========== Masonry Grid ========== */
.masonry-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr 0.8fr 1.2fr 0.8fr;
    grid-auto-rows: var(--row-unit);
    gap: var(--gutter);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* About Section Placement */
.block-about-title {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
    --block-accent: var(--accent-pink);
}

.block-about-text {
    grid-column: 1 / 4;
    grid-row: 2 / 4;
    --block-accent: var(--accent-mint);
}

.block-about-code {
    grid-column: 4 / 7;
    grid-row: 1 / 3;
    --block-accent: var(--accent-gold);
}

.ghost-about-1 {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
}

.block-about-stats {
    grid-column: 5 / 7;
    grid-row: 3 / 5;
    --block-accent: var(--highlight);
}

.ghost-about-2 {
    grid-column: 4 / 5;
    grid-row: 4 / 5;
}

/* Categories Section Placement */
.block-cat-title {
    grid-column: 1 / 5;
    grid-row: 1 / 2;
    --block-accent: var(--accent-pink);
}

.block-cat-logic {
    grid-column: 1 / 3;
    grid-row: 2 / 4;
    --block-accent: var(--accent-mint);
}

.block-cat-algo {
    grid-column: 3 / 5;
    grid-row: 2 / 4;
    --block-accent: var(--accent-gold);
}

.ghost-cat-1 {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
}

.block-cat-pattern {
    grid-column: 5 / 7;
    grid-row: 2 / 4;
    --block-accent: var(--highlight);
}

.block-cat-crypto {
    grid-column: 1 / 4;
    grid-row: 4 / 6;
    --block-accent: var(--accent-pink);
}

.ghost-cat-2 {
    grid-column: 4 / 6;
    grid-row: 4 / 5;
}

/* Category Card Styles */
.cat-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

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

.cat-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-headline);
    margin-bottom: 8px;
}

.cat-desc {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.65;
}

/* Featured Section Placement */
.block-feat-title {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
    --block-accent: var(--accent-gold);
}

.block-feat-1 {
    grid-column: 1 / 3;
    grid-row: 2 / 4;
    --block-accent: var(--accent-pink);
}

.block-feat-2 {
    grid-column: 3 / 5;
    grid-row: 2 / 4;
    --block-accent: var(--accent-mint);
}

.ghost-feat-1 {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
}

.block-feat-3 {
    grid-column: 5 / 7;
    grid-row: 2 / 4;
    --block-accent: var(--highlight);
}

.block-feat-4 {
    grid-column: 1 / 4;
    grid-row: 4 / 6;
    --block-accent: var(--accent-gold);
}

.ghost-feat-2 {
    grid-column: 4 / 5;
    grid-row: 4 / 5;
}

/* Featured Card Styles */
.feat-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--highlight);
}

.feat-name {
    margin-bottom: 8px;
}

.feat-desc {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.65;
    margin-bottom: 16px;
}

.feat-difficulty {
    display: flex;
    gap: 4px;
    align-items: center;
}

.diff-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-pink);
    background: transparent;
}

.diff-dot.filled {
    background: var(--accent-pink);
}

/* Process Section Placement */
.block-proc-title {
    grid-column: 1 / 5;
    grid-row: 1 / 2;
    --block-accent: var(--accent-mint);
}

.block-proc-1 {
    grid-column: 1 / 3;
    grid-row: 2 / 4;
    --block-accent: var(--accent-pink);
}

.block-proc-2 {
    grid-column: 3 / 5;
    grid-row: 2 / 4;
    --block-accent: var(--accent-gold);
}

.block-proc-3 {
    grid-column: 5 / 7;
    grid-row: 2 / 4;
    --block-accent: var(--highlight);
}

.ghost-proc-1 {
    grid-column: 5 / 6;
    grid-row: 1 / 2;
}

.block-proc-4 {
    grid-column: 2 / 6;
    grid-row: 4 / 6;
    --block-accent: var(--accent-pink);
}

.proc-number {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--text-headline);
    opacity: 0.12;
    line-height: 1;
    margin-bottom: 8px;
}

.proc-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--text-headline);
    margin-bottom: 8px;
}

.proc-desc {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.65;
}

/* Stat Items */
.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Footer Section */
.footer-section {
    padding-bottom: 100px;
}

.masonry-footer {
    grid-auto-rows: auto;
}

.block-footer-msg {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
    --block-accent: var(--accent-mint);
}

.block-footer-links {
    grid-column: 4 / 7;
    grid-row: 1 / 2;
    --block-accent: var(--accent-gold);
}

.ghost-footer-1 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.footer-link-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-link-group:hover {
    color: var(--highlight);
}

.footer-copyright {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    font-size: 0.85rem;
    color: var(--text-primary);
    opacity: 0.6;
}

/* ========== Bottom Navigation ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0 20px;
    height: 60px;
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--accent-pink);
    z-index: 200;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 44px;
    min-width: 44px;
}

.nav-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.nav-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-item:hover .nav-icon {
    width: 18px;
    height: 18px;
}

.nav-item:hover .nav-label {
    max-width: 80px;
    opacity: 1;
    margin-left: 8px;
}

.nav-item:hover {
    color: var(--highlight);
}

.nav-item.active {
    color: var(--accent-pink);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-pink);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .hero-grid,
    .masonry-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .block-hero-title { grid-column: 1 / 4; grid-row: 1 / 3; }
    .block-hero-desc { grid-column: 1 / 3; grid-row: 3 / 5; }
    .block-hero-shape { grid-column: 3 / 4; grid-row: 3 / 5; }
    .block-hero-small { grid-column: 1 / 2; grid-row: 5 / 6; }
    .hero-grid .ghost-cell:nth-child(5) { grid-column: 2 / 3; grid-row: 5 / 6; }
    .hero-grid .ghost-cell:nth-child(6) { grid-column: 3 / 4; grid-row: 5 / 6; }
    .hero-grid .ghost-cell:nth-child(7) { display: none; }

    .block-about-title { grid-column: 1 / 4; }
    .block-about-text { grid-column: 1 / 3; }
    .block-about-code { grid-column: 1 / 4; grid-row: 4 / 6; }
    .block-about-stats { grid-column: 3 / 4; grid-row: 2 / 4; }
    .ghost-about-1, .ghost-about-2 { display: none; }

    .block-cat-title { grid-column: 1 / 4; }
    .block-cat-logic { grid-column: 1 / 2; grid-row: 2 / 4; }
    .block-cat-algo { grid-column: 2 / 3; grid-row: 2 / 4; }
    .block-cat-pattern { grid-column: 3 / 4; grid-row: 2 / 4; }
    .block-cat-crypto { grid-column: 1 / 3; grid-row: 4 / 6; }
    .ghost-cat-1 { display: none; }
    .ghost-cat-2 { grid-column: 3 / 4; grid-row: 4 / 5; }

    .block-feat-title { grid-column: 1 / 4; }
    .block-feat-1 { grid-column: 1 / 2; }
    .block-feat-2 { grid-column: 2 / 3; }
    .block-feat-3 { grid-column: 3 / 4; }
    .block-feat-4 { grid-column: 1 / 3; }
    .ghost-feat-1 { display: none; }
    .ghost-feat-2 { grid-column: 3 / 4; grid-row: 4 / 5; }

    .block-proc-title { grid-column: 1 / 4; }
    .block-proc-1 { grid-column: 1 / 2; }
    .block-proc-2 { grid-column: 2 / 3; }
    .block-proc-3 { grid-column: 3 / 4; }
    .block-proc-4 { grid-column: 1 / 3; }
    .ghost-proc-1 { display: none; }

    .block-footer-msg { grid-column: 1 / 3; }
    .block-footer-links { grid-column: 3 / 4; }
}

@media (max-width: 640px) {
    .hero-grid,
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .puzzle-block,
    .ghost-cell {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }

    .hero-grid .ghost-cell,
    .masonry-grid .ghost-cell {
        min-height: 60px;
    }

    .hero {
        min-height: auto;
        padding-top: calc(24px + 12px);
        padding-bottom: 40px;
    }

    .hero-watermark {
        font-size: clamp(4rem, 25vw, 8rem);
    }

    .bottom-nav {
        gap: 0;
        padding: 0 8px;
    }

    .nav-item {
        padding: 8px 10px;
    }
}
