:root {
    /* Color Palette - Inspired by Clair Obscur's art style */
    --color-background: #0d0d0f;
    --color-background-light: #1a1a1f;
    --color-primary: #d4af37;
    --color-secondary: #8b7355;
    --color-accent: #c9a961;
    --color-text: #e8e4d9;
    --color-text-dark: #a39d8e;
    --color-border: #3a3528;
    --color-shadow: rgba(0, 0, 0, 0.6);

    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 18px;
    overflow-x: hidden;
    position: relative;
}

/* Ornate Frame Border */
.ornate-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.frame-corner {
    position: absolute;
    width: 120px;
    height: 120px;
    opacity: 1;
}

.frame-top-left {
    top: 0;
    left: 0;
    background:
        radial-gradient(circle at 0% 0%, #d4af37 0%, #c9a961 30%, rgba(139, 115, 85, 0.8) 60%, transparent 100%),
        linear-gradient(135deg, #d4af37 0%, #8b7355 50%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    box-shadow:
        inset -15px -15px 40px rgba(212, 175, 55, 0.5),
        0 0 60px rgba(212, 175, 55, 1),
        0 0 100px rgba(212, 175, 55, 0.6);
    filter: brightness(1.3);
}

.frame-top-left::before {
    content: '◆';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 28px;
    color: #d4af37;
    text-shadow: 0 0 30px #d4af37, 0 0 50px rgba(212, 175, 55, 0.8);
}

.frame-top-right {
    top: 0;
    right: 0;
    background:
        radial-gradient(circle at 100% 0%, #d4af37 0%, #c9a961 30%, rgba(139, 115, 85, 0.8) 60%, transparent 100%),
        linear-gradient(225deg, #d4af37 0%, #8b7355 50%, transparent 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    box-shadow:
        inset 15px -15px 40px rgba(212, 175, 55, 0.5),
        0 0 60px rgba(212, 175, 55, 1),
        0 0 100px rgba(212, 175, 55, 0.6);
    filter: brightness(1.3);
}

.frame-top-right::before {
    content: '◆';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: #d4af37;
    text-shadow: 0 0 30px #d4af37, 0 0 50px rgba(212, 175, 55, 0.8);
}

.frame-bottom-left {
    bottom: 0;
    left: 0;
    background:
        radial-gradient(circle at 0% 100%, #d4af37 0%, #c9a961 30%, rgba(139, 115, 85, 0.8) 60%, transparent 100%),
        linear-gradient(45deg, #d4af37 0%, #8b7355 50%, transparent 100%);
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    box-shadow:
        inset -15px 15px 40px rgba(212, 175, 55, 0.5),
        0 0 60px rgba(212, 175, 55, 1),
        0 0 100px rgba(212, 175, 55, 0.6);
    filter: brightness(1.3);
}

.frame-bottom-left::before {
    content: '◆';
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 28px;
    color: #d4af37;
    text-shadow: 0 0 30px #d4af37, 0 0 50px rgba(212, 175, 55, 0.8);
}

.frame-bottom-right {
    bottom: 0;
    right: 0;
    background:
        radial-gradient(circle at 100% 100%, #d4af37 0%, #c9a961 30%, rgba(139, 115, 85, 0.8) 60%, transparent 100%),
        linear-gradient(315deg, #d4af37 0%, #8b7355 50%, transparent 100%);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    box-shadow:
        inset 15px 15px 40px rgba(212, 175, 55, 0.5),
        0 0 60px rgba(212, 175, 55, 1),
        0 0 100px rgba(212, 175, 55, 0.6);
    filter: brightness(1.3);
}

.frame-bottom-right::before {
    content: '◆';
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 28px;
    color: #d4af37;
    text-shadow: 0 0 30px #d4af37, 0 0 50px rgba(212, 175, 55, 0.8);
}

.frame-edge {
    position: absolute;
}

.frame-top,
.frame-bottom {
    height: 6px;
    width: 100%;
    left: 0;
    background:
        linear-gradient(90deg,
            transparent 0%,
            #8b7355 10%,
            #d4af37 25%,
            #c9a961 50%,
            #d4af37 75%,
            #8b7355 90%,
            transparent 100%);
}

.frame-left,
.frame-right {
    width: 6px;
    height: 100%;
    top: 0;
    background:
        linear-gradient(180deg,
            transparent 0%,
            #8b7355 10%,
            #d4af37 25%,
            #c9a961 50%,
            #d4af37 75%,
            #8b7355 90%,
            transparent 100%);
}

.frame-top {
    top: 0;
    box-shadow:
        0 0 40px #d4af37,
        0 0 80px rgba(212, 175, 55, 0.6),
        0 2px 0 rgba(212, 175, 55, 0.8),
        inset 0 -2px 10px rgba(212, 175, 55, 0.5);
}

.frame-bottom {
    bottom: 0;
    box-shadow:
        0 0 40px #d4af37,
        0 0 80px rgba(212, 175, 55, 0.6),
        0 -2px 0 rgba(212, 175, 55, 0.8),
        inset 0 2px 10px rgba(212, 175, 55, 0.5);
}

.frame-left {
    left: 0;
    box-shadow:
        0 0 40px #d4af37,
        0 0 80px rgba(212, 175, 55, 0.6),
        2px 0 0 rgba(212, 175, 55, 0.8),
        inset -2px 0 10px rgba(212, 175, 55, 0.5);
}

.frame-right {
    right: 0;
    box-shadow:
        0 0 40px #d4af37,
        0 0 80px rgba(212, 175, 55, 0.6),
        -2px 0 0 rgba(212, 175, 55, 0.8),
        inset 2px 0 10px rgba(212, 175, 55, 0.5);
}

/* Background Texture */
.background-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        /* Art Nouveau pattern */
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 115, 85, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(201, 169, 97, 0.03) 0%, transparent 40%),
        /* Fine grid */
        repeating-linear-gradient(0deg, rgba(212, 175, 55, 0.02) 0px, transparent 1px, transparent 3px, rgba(212, 175, 55, 0.02) 4px),
        repeating-linear-gradient(90deg, rgba(212, 175, 55, 0.02) 0px, transparent 1px, transparent 3px, rgba(212, 175, 55, 0.02) 4px),
        /* Diagonal stripes */
        repeating-linear-gradient(45deg, transparent 0px, transparent 40px, rgba(212, 175, 55, 0.01) 40px, rgba(212, 175, 55, 0.01) 80px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

@keyframes textureShift {

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

    25% {
        transform: translate(10px, -10px) scale(1.02);
    }

    50% {
        transform: translate(-5px, 15px) scale(0.98);
    }

    75% {
        transform: translate(15px, 5px) scale(1.01);
    }
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.8) 100%),
        radial-gradient(ellipse at 30% 40%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(139, 115, 85, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    position: relative;
    z-index: 10;
}

/* Header */
.site-header {
    text-align: center;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
    animation: fadeInDown 1s ease-out;
}

.header-ornament {
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: 0 auto var(--spacing-md);
    position: relative;
}

.header-ornament::before,
.header-ornament::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 12px;
}

.header-ornament::before {
    left: -20px;
}

.header-ornament::after {
    right: -20px;
}

.site-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
    text-shadow:
        0 0 20px rgba(212, 175, 55, 0.5),
        0 0 40px rgba(212, 175, 55, 0.3),
        2px 2px 4px var(--color-shadow);
    line-height: 1.1;
}

.title-clair {
    display: inline-block;
    color: var(--color-text);
    animation: glowPulse 3s ease-in-out infinite;
}

.title-obscur {
    display: inline-block;
    color: var(--color-primary);
    animation: glowPulse 3s ease-in-out infinite 1.5s;
}

.site-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
}

.header-divider {
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: var(--spacing-md) auto 0;
}

/* Navigation */
.main-nav {
    background: linear-gradient(180deg, var(--color-background-light), rgba(26, 26, 31, 0.8));
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: var(--spacing-sm) 0;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 20px var(--color-shadow);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0px;
    z-index: 100;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.nav-link {
    display: block;
    padding: var(--spacing-xs) var(--spacing-md);
    color: var(--color-text-dark);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    margin: var(--spacing-xl) 0;
    animation: fadeIn 1s ease-out 0.5s both;
}

.hero-frame {
    background: linear-gradient(135deg, rgba(26, 26, 31, 0.9), rgba(13, 13, 15, 0.8));
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-lg);
    position: relative;
    box-shadow:
        0 10px 40px var(--color-shadow),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.hero-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    border-radius: 8px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    text-align: center;
    letter-spacing: 0.08em;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.8;
    color: var(--color-text);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    min-width: 140px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Quick Links Section */
.quick-links {
    margin: var(--spacing-xl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-accent);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.08em;
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    animation: fadeIn 1s ease-out 0.7s both;
}

.info-card {
    flex: 1 1 260px;
    max-width: 350px;
    background: linear-gradient(135deg, rgba(26, 26, 31, 0.8), rgba(13, 13, 15, 0.6));
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-10px);
    box-shadow:
        0 15px 40px var(--color-shadow),
        0 0 30px rgba(212, 175, 55, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    filter: grayscale(0.3) brightness(1.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.info-card:hover .card-icon {
    filter: grayscale(0) brightness(1.5);
    transform: scale(1.1);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-description {
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.card-link {
    display: inline-block;
    color: var(--color-accent);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    min-width: 180px;
    text-align: center;
    transition: all 0.3s ease;
}

.card-link:hover {
    background: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Footer */
.site-footer {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    position: relative;
}

.footer-ornament {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: 0 auto var(--spacing-md);
}

.footer-text {
    color: var(--color-text-dark);
    font-size: 1rem;
    line-height: 1.8;
}

.footer-text small {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes glowPulse {

    0%,
    100% {
        text-shadow:
            0 0 20px rgba(212, 175, 55, 0.5),
            0 0 40px rgba(212, 175, 55, 0.3),
            2px 2px 4px var(--color-shadow);
    }

    50% {
        text-shadow:
            0 0 30px rgba(212, 175, 55, 0.8),
            0 0 60px rgba(212, 175, 55, 0.5),
            2px 2px 4px var(--color-shadow);
    }
}

@keyframes cornerPulse {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1);
    }

    50% {
        opacity: 0.85;
        filter: brightness(1.2);
    }
}

@keyframes edgePulse {

    0%,
    100% {
        opacity: 0.7;
        box-shadow: 0 0 30px var(--color-primary);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 50px var(--color-primary), 0 0 80px rgba(212, 175, 55, 0.5);
    }
}

@keyframes gemSparkle {

    0%,
    100% {
        text-shadow: 0 0 20px var(--color-primary);
        transform: scale(1) rotate(0deg);
    }

    25% {
        text-shadow: 0 0 30px var(--color-primary), 0 0 50px rgba(212, 175, 55, 0.8);
        transform: scale(1.1) rotate(5deg);
    }

    75% {
        text-shadow: 0 0 30px var(--color-primary), 0 0 50px rgba(212, 175, 55, 0.8);
        transform: scale(1.1) rotate(-5deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    .container {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .frame-corner {
        width: 80px;
        height: 80px;
    }

    .frame-corner::before {
        font-size: 16px;
        top: 10px !important;
        left: 10px !important;
        bottom: 10px !important;
        right: 10px !important;
    }

    .frame-top,
    .frame-bottom {
        height: 3px;
    }

    .frame-left,
    .frame-right {
        width: 3px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 300px;
    }

    .collectible-link,
    .trophy-link,
    .card-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    .collectible-item,
    .trophy-item,
    .cd-item,
    .audio-item {
        flex-wrap: nowrap;
    }

    .collectible-info,
    .trophy-info {
        min-width: 150px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-background);
    border-left: 1px solid var(--color-border);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-secondary), var(--color-primary));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Selection */
::selection {
    background: var(--color-primary);
    color: var(--color-background);
}


.main-nav {
    width: 100%;
    background: transparent;
    padding: 0;
    margin: 1.5rem 0;
}

.main-nav .nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.main-nav .nav-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: var(--color-accent, #c9a961);
    text-decoration: none;
    font-family: var(--font-display, 'Cinzel', serif);
    font-size: 1rem;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav .nav-link:hover {
    color: var(--color-primary, #d4af37);
    border-color: var(--color-primary, #d4af37);
    background: rgba(212, 175, 55, 0.1);
}

.main-nav .nav-link.active {
    color: var(--color-primary, #d4af37);
    border-color: var(--color-primary, #d4af37);
    background: rgba(212, 175, 55, 0.15);
}

/* Esconder hambúrguer no desktop */
.hamburger {
    display: none;
}

/* ===================================
   TABLETS E MOBILE - MENU HAMBÚRGUER
   Ativa em telas menores que 900px
   =================================== */

@media (max-width: 900px) {

    /* Mostrar o botão hambúrguer */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
        transition: all 0.3s ease;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background: var(--color-primary, #d4af37);
        border-radius: 10px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    /* Animação do hambúrguer quando ativo (vira X) */
    .hamburger.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    /* Transformar navegação em sidebar */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(26, 26, 31, 0.98), rgba(13, 13, 15, 0.98));
        backdrop-filter: blur(10px);
        border-left: 2px solid var(--color-border, #8b7355);
        padding: 5rem 2rem 2rem;
        margin: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    /* Mostrar navegação quando ativa */
    .main-nav.active {
        right: 0;
    }


    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }


    .main-nav .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        text-align: left;
        border-radius: 8px;
    }

    .main-nav .nav-link:hover,
    .main-nav .nav-link.active {
        transform: translateX(10px);
    }


    .main-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .main-nav.active::before {
        opacity: 1;
        visibility: visible;
    }
}



@media (max-width: 768px) {
    .hamburger {
        top: 1.25rem;
        right: 1.25rem;
    }

    .main-nav {
        width: 260px;
    }
}



@media (max-width: 480px) {
    .hamburger {
        top: 1rem;
        right: 1rem;
        width: 28px;
        height: 23px;
    }

    .hamburger span {
        height: 2.5px;
    }

    .main-nav {
        width: 250px;
        padding: 4rem 1.5rem 1.5rem;
    }

    .main-nav .nav-link {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }
}



@media (max-width: 360px) {
    .main-nav {
        width: 220px;
    }

    .hamburger {
        width: 26px;
        height: 21px;
    }
}


.hamburger:focus {
    outline: 2px solid var(--color-primary, #d4af37);
    outline-offset: 4px;
}

.hamburger:focus:not(:focus-visible) {
    outline: none;
}


@media (prefers-contrast: high) {
    .hamburger span {
        background: #ffffff;
    }

    .main-nav {
        border-left-width: 3px;
    }

    .main-nav .nav-link {
        border-width: 2px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .hamburger,
    .hamburger span,
    .main-nav,
    .main-nav::before,
    .nav-link {
        transition: none;
    }
}

@media (max-width: 900px) {
    .site-header {
        padding: 1rem;
    }

    .site-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .site-subtitle {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
    }
}


@media (max-width: 900px) {
    .main-nav::-webkit-scrollbar {
        width: 6px;
    }

    .main-nav::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.2);
    }

    .main-nav::-webkit-scrollbar-thumb {
        background: rgba(212, 175, 55, 0.3);
        border-radius: 3px;
    }

    .main-nav::-webkit-scrollbar-thumb:hover {
        background: rgba(212, 175, 55, 0.5);
    }
}

.audio-item,
.cd-item,
.trophy-item,
.collectible-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    flex-wrap: nowrap !important;
    /* FORÇA não quebrar */
    overflow: hidden;
    /* CORTA qualquer coisa que saia */
    position: relative;
    /* Controle de posição */
    background: rgba(26, 26, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    color: var(--color-text);
}

/* Ícones - tamanho fixo */
.audio-icon,
.cd-icon,
.trophy-icon,
.collectible-icon {
    font-size: 2rem;
    min-width: 40px;
    max-width: 40px;
    flex-shrink: 0 !important;
    /* NUNCA encolhe */
}

/* Info - pode encolher */
.audio-info,
.cd-info,
.trophy-info,
.collectible-info {
    flex: 1;
    min-width: 0 !important;
    /* Permite comprimir */
    overflow: hidden;
}

/* Nomes - quebram se necessário */
.audio-name,
.cd-name,
.trophy-name,
.collectible-name {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Garantir legibilidade dos troféus */
.trophy-name,
.trophy-link {
    color: var(--color-text) !important;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}

/* Botões - NUNCA encolhem ou saem */
.audio-link,
.cd-link,
.trophy-link,
.collectible-link {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    /* NUNCA encolhe */
    max-width: none;
    /* Remove limite */
}

/* MOBILE - Reduz tamanho do botão */
@media (max-width: 768px) {

    .audio-item,
    .cd-item,
    .trophy-item,
    .collectible-item {
        gap: 0.75rem;
        padding: 0.875rem;
    }

    .audio-link,
    .cd-link,
    .trophy-link,
    .collectible-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {

    .audio-item,
    .cd-item,
    .trophy-item,
    .collectible-item {
        gap: 0.6rem;
        padding: 0.75rem;
    }

    .audio-icon,
    .cd-icon,
    .trophy-icon,
    .collectible-icon {
        font-size: 1.5rem;
        min-width: 32px;
        max-width: 32px;
    }

    /* Botão AINDA MENOR em mobile */
    .audio-link,
    .cd-link,
    .trophy-link,
    .collectible-link {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.7rem !important;
        letter-spacing: 0.02em !important;
    }
}

/* Para telas MUITO pequenas - última chance */
@media (max-width: 380px) {

    .audio-item,
    .cd-item,
    .trophy-item,
    .collectible-item {
        gap: 0.5rem;
        padding: 0.65rem;
    }

    .audio-icon,
    .cd-icon,
    .trophy-icon,
    .collectible-icon {
        font-size: 1.3rem;
        min-width: 28px;
        max-width: 28px;
    }

    .audio-link,
    .cd-link,
    .trophy-link,
    .collectible-link {
        padding: 0.35rem 0.5rem !important;
        font-size: 0.65rem !important;
    }
}