* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --text-primary: #E0E0E0;
    --text-secondary: #B0B0B0;
    --accent-primary: #00FF6A;
    --accent-secondary: #FF007F;
    --border-color: #333333;
    --border-bright: #555555;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

.site-header {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    background-color: var(--bg-secondary);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.top-nav {
    display: flex;
    gap: 40px;
}

.nav-item {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--accent-primary);
}

.nav-item:hover::after {
    width: 100%;
}

.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 32px;
    display: grid;
    grid-template-columns: 1fr 0.43fr;
    gap: 64px;
    align-items: start;
}

.content-area {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.site-menu {
    border: 1px solid var(--border-color);
    padding: 20px;
    background-color: var(--bg-secondary);
}

.site-menu summary {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-primary);
    cursor: pointer;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-menu ul {
    list-style: none;
    margin-top: 16px;
    padding-left: 0;
}

.site-menu li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.site-menu li:last-child {
    border-bottom: none;
}

.body-content {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.image-gallery {
    margin-top: 32px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, transform 0.3s ease;
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: var(--bg-secondary);
}

.gallery-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover img {
    opacity: 0.9;
    transform: scale(1.05);
}

.gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    aspect-ratio: 2 / 1;
}

.gallery-item:nth-child(2) {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    aspect-ratio: 1 / 2;
}

.gallery-item:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    aspect-ratio: 1 / 1;
}

.gallery-item:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    aspect-ratio: 1 / 1;
}

.gallery-item:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    aspect-ratio: 2 / 1;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.widget {
    border: 1px solid var(--border-color);
    padding: 24px;
    background-color: var(--bg-secondary);
}

.widget-heading {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.trending-list {
    list-style: none;
    counter-reset: trending-counter;
    padding-left: 0;
}

.trending-list li {
    counter-increment: trending-counter;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 40px;
}

.trending-list li:last-child {
    border-bottom: none;
}

.trending-list li::before {
    content: counter(trending-counter);
    position: absolute;
    left: 0;
    top: 16px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-secondary);
}

.trending-item {
    color: var(--text-primary);
    cursor: pointer;
    display: inline-block;
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 4px 0;
}

.trending-item:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.picks-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pick-card {
    border: 1px solid var(--border-color);
    padding: 16px;
    background-color: var(--bg-primary);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pick-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 12px rgba(0, 255, 106, 0.2);
}

.pick-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
    background-color: var(--bg-secondary);
    margin-top: 64px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-content a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: var(--accent-secondary);
}

@media (max-width: 1024px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .top-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .main-wrapper {
        padding: 32px 16px;
    }
}

