:root {
    --bg-dark: #0f0c29;
    --bg-gradient: linear-gradient(301deg, #0f0c29, #302b63, #24243e);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --neon-blue: #00f2ff;
    --neon-pink: #ff00ff;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-main: 'Inter', sans-serif;
    --sidebar-width: 300px;
}

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

body {
    font-family: var(--font-main);
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-right: var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    padding: 2rem 1rem;
    z-index: 100;
}

.sidebar h1 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(to right, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-brand-group {
    margin-bottom: 2rem;
}

.nav-brand-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--neon-blue);
}

.nav-item {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.2), transparent);
    border-left: 3px solid var(--neon-blue);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 3rem 4rem;
    perspective: 1000px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out;
}

.hero-image-container {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.2);
    border: var(--glass-border);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-img {
    transform: scale(1.05);
}

.hero-info {
    flex: 1;
}

.hero-year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-brand {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Content Sections */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-descriptions {
    grid-column: 1 / -1;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.text-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #e0e0e0;
}

.text-content strong {
    color: var(--neon-pink);
}

.specs-list,
.curiosities-list,
.games-list {
    list-style: none;
}

.specs-list li,
.curiosities-list li,
.games-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.specs-list li:last-child,
.curiosities-list li:last-child,
.games-list li:last-child {
    border-bottom: none;
}

.bullet {
    color: var(--neon-blue);
    font-weight: bold;
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Index Grid */
.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.index-card {
    text-decoration: none;
    color: inherit;
    display: block;
    background: var(--glass-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: var(--glass-border);
}

.index-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

.index-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.index-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.index-info {
    padding: 0.5rem 1rem 1rem;
}

.index-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.index-year {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

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

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: 100vh;
        position: fixed;
        left: -100%;
        top: 0;
        z-index: 1000;
        border-right: none;
        border-bottom: var(--glass-border);
        transition: left 0.3s ease;
        background: rgba(15, 12, 41, 0.95);
    }

    .sidebar.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
        background: var(--glass-bg);
        border: var(--glass-border);
        color: white;
        padding: 0.5rem 1rem;
        font-size: 1.5rem;
        border-radius: 8px;
        cursor: pointer;
        backdrop-filter: blur(5px);
    }

    .main-content {
        margin-left: 0;
        padding: 2rem 1rem;
        padding-top: 4rem;
        /* Space for menu toggle */
    }

    .hero {
        flex-direction: column;
    }
}

.menu-toggle {
    display: none;
}

.tags {
    display: none !important;
}