:root {
    --bg-black: #000000;
    --text-white: #ffffff;
    --accent-yellow: #FFD700;
    --accent-cyan: #00FFFF;
    --accent-green: #00FF00;
    --accent-purple: #8A2BE2;
    --bg-home: radial-gradient(circle, #004000 0%, #000000 100%);
    --bg-gdd: #000000;
    --bg-photos: linear-gradient(to bottom, #FFD700 0%, #000000 70%);
    --bg-blog: #000033;
    --bg-downloads: linear-gradient(180deg, #4B0082 0%, #000000 100%);
    
    --font-pixel: 'Press Start 2P', cursive;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.pixel-font {
    font-family: var(--font-pixel);
    text-transform: uppercase;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
}

/* Header & Nav */
header {
    background-color: var(--bg-black);
    padding: 20px 0;
    border-bottom: 2px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

#logo {
    width: 110px;
    height: auto;
}

.logo-area h1 {
    font-size: 1.5rem;
    color: var(--text-white);
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-item {
    font-family: var(--font-sans);
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.nav-item:not(.reset-btn) {
    color: var(--accent-cyan);
}

.nav-item:not(.reset-btn):hover {
    color: var(--accent-green);
}

.reset-btn {
    background-color: var(--accent-yellow);
    color: var(--bg-black);
    font-family: var(--font-pixel);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.reset-btn:hover {
    filter: brightness(1.2);
}

/* Main Sections */
section {
    min-height: calc(100vh - 150px);
    display: none;
    padding: 60px 20px;
}

section.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* Section Specifics */
#home {
    background: var(--bg-home);
    text-align: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.intro-text h3 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 40px;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.home-featured {
    margin-top: 60px;
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
}

.featured-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

@media (min-width: 768px) {
    .featured-item {
        flex-direction: row;
        text-align: left;
    }
}

.featured-item img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(to bottom, #FF8C00, #FF4500);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    transition: transform 0.2s;
}

.download-btn:hover {
    transform: scale(1.05);
}

/* GDD Grid */
#gdd {
    background-color: var(--bg-gdd);
}

.section-banner {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    border: 2px solid #333;
}

.banner-text {
    font-size: 1.5rem;
    color: var(--accent-green);
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gdd-card {
    background: #111;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.gdd-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-green);
}

.gdd-card img {
    width: 100%;
    margin-top: 20px;
    border-radius: 4px;
}

/* Photo Grid */
#photos {
    background: var(--bg-photos);
}

.section-intro {
    text-align: center;
    font-style: italic;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.photo-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 3px solid #000;
    transition: transform 0.2s;
}

.photo-grid img:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Blog */
#blog {
    background-color: var(--bg-blog);
}

.all-posts {
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.blog-post-card {
    background: #000;
    border: 1px solid #333;
    padding: 40px;
    border-radius: 4px;
}

.blog-post-header {
    margin-bottom: 20px;
}

.author-info {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.author-name {
    font-weight: bold;
}

.post-date {
    color: #888;
}

.blog-post-card h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
}

.blog-post-footer {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #888;
}

/* Downloads */
#downloads {
    background: var(--bg-downloads);
}

.downloads-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.download-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .download-item {
        flex-direction: row;
        text-align: left;
    }
}

.download-item img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
}

.download-info {
    flex: 1;
}