@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
    --bg-color: #1A3636;
    --bg-darker: #112424;
    --primary-color: #FFD700;
    --text-light: #e0e0e0;
    --text-white: #ffffff;
    --accent-teal: #2A9D8F;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

section[id] {
    scroll-margin-top: 90px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
}

a {
    color: var(--primary-color);
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.85;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: rgba(17, 36, 36, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(42, 157, 143, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-container:hover {
    opacity: 1;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: contain;
    background-color: var(--accent-teal);
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-img {
    transform: scale(1.12);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
}

.brand-name span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Page content */
main {
    flex: 1;
    padding: 3rem 5% 5rem;
}

.page-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    font-style: italic;
    margin: 0 0 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: #b0c4c0;
    margin: 0;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.05rem;
}

.page-content p {
    margin-bottom: 1.25rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    background-color: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.credits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credits-list a {
    display: block;
    background-color: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-light);
    transition: border-color 0.3s, background-color 0.3s;
}

.credits-list a:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.03);
    opacity: 1;
}

/* Hero (home) */
.hero {
    text-align: center;
    padding: 1rem 20px 6rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #b0c4c0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 15px 30px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.philosophy {
    background-color: var(--bg-darker);
    padding: 5rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.philosophy p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.philosophy .highlight {
    font-weight: 600;
    color: var(--text-white);
}

.featured-game {
    padding: 6rem 5%;
    display: flex;
    justify-content: center;
    background-color: var(--bg-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.game-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    width: 100%;
    gap: 4rem;
    align-items: center;
}

.game-info {
    flex: 1;
    min-width: 300px;
}

.tag {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.game-info h2 {
    font-size: 3.5rem;
    color: var(--text-white);
    margin: 0 0 0.5rem;
    line-height: 1.1;
}

.game-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.game-info p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #b0c4c0;
}

.game-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-store {
    background-color: var(--primary-color);
    color: #000;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-store:hover {
    background-color: #e6c200;
    opacity: 1;
}

.btn-trailer {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-trailer:hover {
    border-color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.btn-store.disabled,
.btn-trailer.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-store.disabled {
    background-color: rgba(255, 215, 0, 0.35);
    color: rgba(0, 0, 0, 0.5);
}

.btn-trailer.disabled {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.4);
}

/* Team section */
.team {
    background-color: var(--bg-darker);
    padding: 6rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.team-content {
    max-width: 800px;
    margin: 0 auto;
}

.team h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.team p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b0c4c0;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background-color: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.75rem 1.25rem 1.5rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.team-card:hover {
    border-color: rgba(255, 215, 0, 0.25);
    transform: translateY(-4px);
}

.team-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin: 0 auto 1rem;
    display: block;
    background-color: var(--accent-teal);
}

.team-avatar-fallback {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-white);
    background: linear-gradient(135deg, var(--accent-teal), var(--bg-color));
}

.team-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    color: var(--text-white);
}

.team-role {
    margin: 0;
    font-size: 0.8rem;
    color: #667875;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact section (homepage) */
.contact-section {
    background-color: var(--bg-darker);
    padding: 6rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-panel {
    max-width: 1100px;
    margin: 0 auto;
    background-color: rgba(26, 54, 54, 0.85);
    border: 1px solid rgba(42, 157, 143, 0.25);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-panel-fallback p {
    color: #b0c4c0;
    line-height: 1.7;
    margin: 0;
}

.contact-form-col {
    flex: 2;
    min-width: 280px;
}

.contact-sidebar {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-white);
    margin: 0 0 2rem;
    line-height: 1.2;
}

.contact-heading span {
    color: var(--primary-color);
}

.contact-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #667875;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background-color: rgba(17, 36, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 14px 16px;
    color: var(--text-white);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.4);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-send {
    width: 100%;
    background-color: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 16px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.btn-send:hover {
    background-color: #e6c200;
}

.contact-sidebar h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin: 0 0 0.75rem;
}

.contact-sidebar p,
.contact-sidebar a {
    margin: 0;
    color: var(--text-white);
    text-decoration: none;
    font-size: 1rem;
}

.contact-sidebar a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.contact-location {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    color: var(--text-white);
    opacity: 0.85;
    transition: color 0.3s, opacity 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.social-links svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.game-image {
    flex: 1;
    background-color: #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    width: inherit;
}

.game-image img {
    width: 100%;
    height: auto;
    display: block;
}

.game-image-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #3d2c23 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.badges {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}

.badge {
    background-color: var(--primary-color);
    color: #000;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-dark {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-white);
}

/* Footer */
footer {
    background-color: var(--bg-darker);
    text-align: center;
    padding: 3rem 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #667875;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--primary-color);
    opacity: 1;
}

/* Cookie banner */
#cookies.hidden {
    display: none !important;
}

#cookies {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 20px;
    background: rgba(26, 54, 54, 0.75);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    z-index: 1000;
    max-width: 480px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--text-white);
}

#cookies hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    margin: 1rem 0;
}

#cookies .cookie-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#cookies .cookie-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

#cookies .cookie-title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.4;
}

#cookies .cookie-body {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

#cookies .confirm {
    background: rgba(50, 205, 50, 0.85);
    border: 2px solid rgb(5, 105, 5);
    padding: 10px 24px;
    color: white;
    min-width: 120px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.3s;
}

#cookies .confirm:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .nav-links {
        display: none;
    }

    .game-container {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-panel {
        padding: 2rem 1.5rem;
    }

    .contact-heading {
        font-size: 1.8rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    #cookies {
        left: 0;
        right: 0;
        max-width: none;
        border-radius: 0;
    }
}