/* Base Styles & Color Palette */
:root {
    --bg-color: #202030;
    --surface-color: #262635;
    --text-main: #f1f2f6;
    --text-muted: #a4b0be;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

h1,
h2,
h3 {
    color: #ffffff;
    margin-top: 0;
}

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

/* Header */
header {
    text-align: center;
    padding: 2rem 20px 0 20px;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    width: 110%;
    height: 130%;
    background-image: url("background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px) saturate(0.4);
    z-index: 0;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150%;
    background: linear-gradient(180deg, rgba(7, 7, 10, 0.5) 0%, var(--surface-color) 100%);
    z-index: 1;
}

.top-bar,
.header-content {
    position: relative;
    z-index: 2;
}

.top-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 0.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.company-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-content h1 {
    font-size: 2.2rem;
    color: #ffee54;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 45px !important;
}

.game_logo {
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

/* Hero / Video Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 0 20px;
}

.video-wrapper {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    height: 100%;
    border: none;
}

/* Store Buttons */
.store-links {
    display: flex;
    width: 100%;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-store {
    width: 20%;
}

.btn-store img {
    width: 100%;
}

/* Content Sections */
.section {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.section-alt {
    background-color: var(--surface-color);
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

.text-content p {
    margin-bottom: 1.5rem;
}

/* Photo Gallery */
.gallery {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 2rem;
}

.gallery img {
    flex: 1;
    /* Makes all images share the row equally */
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.02);
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 2rem;
    background-color: #111118;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        padding: 2rem 20px 0 20px;
    }

    header h1 {
        display: flex;
        align-content: center;
        justify-content: center;
        gap: 10px;
    }

    .game_logo {
        width: 180px;
        margin-top: 10px;
        margin-bottom: 0;
    }

    .header-content h1 {
        font-size: 1.5rem;
        height: 45px !important;
    }

    .store-links {
        gap: 10px;
        flex-wrap: wrap;
    }

    .store-links a {
        width: calc(50% - 10px);
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section {
        padding: 2rem 0;
    }

    .gallery {
        flex-direction: column;
    }
}