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

:root {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-accent: #0f3460;
    --accent-primary: #e94560;
    --accent-secondary: #f39c12;
    --text-primary: #ffffff;
    --text-secondary: #b8c6db;
    --text-muted: #7c8ba1;
    --border-color: rgba(233, 69, 96, 0.2);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid var(--border-color);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.studio-logo {
    width: 50px;
    height: 50px;

    /*background: linear-gradient(45deg, black, var(--accent-primary));*/
    /*background: black;*/

    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
}

.logo-text {
    font-family: 'Space Mono', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: var(--accent-primary);
}

/* Page Content */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 100px;
}

.page.active {
    display: block;
}

/* Home Page */
.hero {
    padding: 80px 0 120px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 80%, rgba(233, 69, 96, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(243, 156, 18, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 20rem;
    height: 20rem;
    /*background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));*/
    /*border-radius: 20px;*/
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    /*border: 3px solid rgba(255, 255, 255, 0.1);*/
}

.hero h1 {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero .subtitle {
    font-size: 1.4rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero .description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.3);
}

/* Games Page */
.games-header {
    text-align: center;
    padding: 60px 0;
    background: var(--bg-secondary);
}

.page-title {
    font-family: 'Space Mono', monospace;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.page-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.game-showcase {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.game-showcase:nth-child(odd) {
    background: var(--bg-secondary);
}

.game-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.game-info h3 {
    font-family: 'Space Mono', monospace;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
}

.game-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--accent-secondary);
    color: var(--bg-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.game-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.game-visual {
    position: relative;
}

.game-logo-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 15px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: white;
    font-size: 1.5rem;
}

.screenshot-placeholder {
    width: 100%;
    height: 300px;
    background: var(--bg-accent);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.screenshot-grid .screenshot-placeholder {
    height: 180px;
    font-size: 0.9rem;
}

/* About Page */
.about-content {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h3 {
    font-family: 'Space Mono', monospace;
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Contact Page */
.contact-content {
    padding: 80px 0;
    text-align: center;
}

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

.contact-card {
    background: var(--bg-secondary);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.contact-card h4 {
    color: var(--accent-primary);
    font-family: 'Space Mono', monospace;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: .8rem;
    align-self: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-icons a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .game-content,
    .game-content.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .game-links {
        justify-content: center;
    }

    .page-title {
        font-size: 2rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.6s ease forwards;
}

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

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 2px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }
}

.row > .column {
    padding: 0 8px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
    float: left;
    width: 25%;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Caption text */
.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

img.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.trailer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
    background: var(--bg-secondary);
    border-top: 2px solid var(--border-color);
}

.trailer-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.trailer-video iframe {
    max-width: 100%;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}