:root {
    --bg-dark: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0a0;
    --accent: #c9a961;
    --accent-dark: #9b7d3e;
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Crimson Pro', serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 100vw;
    margin: 0 auto;
    padding: 40px;
}

/* Header */
.site-header {
    padding: 0px 5vw;
    border-bottom: 1px solid var(--border);
    background-color: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    text-align: left;
}

.logo-container a {
    display: inline-block;
    margin-left: 0px;
}

.logo {
    max-height: 90px;
    height: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--accent);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .site-header {
        padding: 30px 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo-container {
        text-align: center;
    }
    
    .main-nav {
        gap: 25px;
    }
    
    .main-nav a {
        font-size: 0.9rem;
    }
}

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(10, 10, 10, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 80px;
}

.slide-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--accent);
}

.slide-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* Slide Navigation */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 3rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slide-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

.slide-nav.prev {
    left: 40px;
}

.slide-nav.next {
    right: 40px;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* Section Title */
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: var(--accent);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--accent);
}

/* Featured Games */
.featured-games {
    padding: 120px 0;
    background: var(--bg-dark);
}

.featured-grid {
    display: grid;
    gap: 60px;
}

.game-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.game-image img {
    width: 100%;
    height: auto;
    border: 0px solid var(--border);
}

.game-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.availability {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.game-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.game-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

/* All Projects */
.all-projects {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.projects-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

.projects-carousel {
    flex: 1;
    overflow: hidden;
}

.projects-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    flex: 0 0 calc((100% - 60px) / 3); /* 3 items per row with gaps */
    aspect-ratio: 4/4;
    border-radius: 90px;
}

.project-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.9);
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 80px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image img {
    transform: scale(1);
}

.project-overlay h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--accent);
}

.project-overlay p {
    color: var(--text-secondary);
}

/* Carousel Navigation */
.carousel-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 3rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Projects Indicators */
.projects-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.project-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-indicator.active,
.project-indicator:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .project-card {
        flex: 0 0 calc((100% - 30px) / 2); /* 2 items on tablets */
    }
}

@media (max-width: 768px) {
    .project-card {
        flex: 0 0 100%; /* 1 item on mobile */
    }
    
    .carousel-nav {
        font-size: 2rem;
        padding: 8px 15px;
    }
    
    .projects-carousel-wrapper {
        gap: 15px;
    }
}

/* Development Blog */
.dev-blog {
    padding: 120px 0;
    background: var(--bg-dark);
}

.blog-grid {
    display: grid;
    gap: 50px;
}

.blog-post {
    border-bottom: 1px solid var(--border);
    padding-bottom: 40px;
}

.blog-post:last-child {
    border-bottom: none;
}

.post-date {
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.post-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.post-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-dark);
}

/* About */
.about {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.about-content {
    max-width: 900px;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.about-text .intro {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 300;
}

/* Contact */
.contact {
    padding: 120px 0;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
}

.contact-item h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--accent);
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent);
}

/* Footer */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    background: var(--bg-dark);
}

.site-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .slide-content h2 {
        font-size: 3rem;
    }

    .game-card {
        grid-template-columns: 1fr;
    }

    .slide-overlay {
        padding: 60px 30px;
    }

    .slide-nav.prev {
        left: 20px;
    }

    .slide-nav.next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .projects-track {
        grid-template-columns: 1fr;
    }

    .slide-nav {
        font-size: 2rem;
        padding: 8px 15px;
    }

    .hero-slideshow {
        height: 60vh;
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .slide-overlay {
        padding: 40px 20px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .site-header {
        padding: 30px 10px;
    }
}
