/* CSS Variables */
:root {
    --red: #d40417;
    --red-hover: rgba(212, 4, 23, 0.1);
    --black-1: #1e1e1e;
    --black-2: #414141;
    --xam: #707070;
    --white: #ffffff;
    --bg-light: #fdfdfd;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black-1);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* Header */
.header {
    padding: 1rem 0;
    background-color: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 60px;
    width: auto;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
}

.nav-desktop a {
    font-size: 18px;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-desktop a:hover {
    color: var(--red);
}

.menu-toggle {
    display: none;
    font-size: 24px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    background-color: white;
    overflow: hidden;
    transition: width 0.3s ease;
    z-index: 200;
    box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    width: 300px;
}

.mobile-menu-content {
    padding: 2.5rem 1.25rem;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 2rem;
}

.close-icon {
    margin-right: 1rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-nav a {
    font-size: 18px;
    font-weight: 400;
}

/* Hero Section */
.hero {
    background-color: var(--black-1);
    color: white;
    padding: 5rem 0;
}

.hero-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    flex: 1;
    text-align: right;
    padding-right: 100px;
}

.hero-title {
    font-size: 70px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--red);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 46px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.75rem;
}

.hero-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.btn-discover {
    display: inline-block;
    padding: 0.5rem 2rem;
    border: 2px solid var(--red);
    border-radius: 1.5rem;
    color: var(--red);
    font-size: 20px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-discover:hover {
    background-color: var(--red-hover);
}

.hero-video {
    flex: 1;
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 100px;
    height: 2px;
    background-color: var(--red);
    margin: 0 auto;
}

.section-header-left {
    margin-bottom: 1.75rem;
}

.section-header-left .section-title {
    text-align: left;
}

.title-underline-left {
    width: 200px;
    height: 2px;
    background-color: var(--red);
}

/* Partners Section */
.partners {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Game Studio Section */
.game-studio {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.studio-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.studio-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 64px;
}

.placeholder-image {
    width: 100%;
    max-width: 471px;
    height: 394px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.studio-text {
    flex: 1;
    padding-right: 64px;
}

.studio-heading {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.studio-description {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1.25rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.5rem 1.75rem;
    border: 2px solid var(--red);
    border-radius: 1.5rem;
    color: var(--red);
    font-size: 20px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-outline:hover {
    background-color: var(--red-hover);
}

/* Game Publishing Section */
.game-publishing {
    padding: 5rem 0;
    background: linear-gradient(90deg, #fdfdfd 50%, rgba(253, 253, 253, 0.82) 76%, rgba(253, 253, 253, 0) 100%);
}

.publishing-content {
    max-width: 50%;
}

.publishing-heading {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.75rem;
}

.publishing-description {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1.75rem;
}

.features-list {
    padding-left: 4rem;
    margin-bottom: 1.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
    color: var(--xam);
    font-size: 20px;
}

.feature-item svg {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

/* Our Games Section */
.our-games {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.games-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

/* About Team Section */
.about-team {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.team-intro {
    display: flex;
    gap: 4rem;
    margin-bottom: 5rem;
}

.team-text {
    flex: 1;
    padding: 0 64px;
    display: flex;
    align-items: center;
}

.team-text p {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
}

.team-text .highlight {
    color: var(--red);
}

.team-image {
    flex: 1;
}

.team-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.team-description {
    max-width: 36rem;
    margin: 0 auto 5rem;
    text-align: center;
    padding: 0 1.25rem;
}

.team-description p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.team-member {
    text-align: center;
    padding: 0 10px;
}

.member-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.member-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 0.75rem;
}

.member-role {
    font-size: 20px;
    font-weight: 500;
}

/* Footer Contact Section */
.footer-contact .section-title {
    color: var(--red);
}

.contact-content {
    margin-top: 4rem;
}

.contact-info {
    max-width: 50%;
    padding: 0 0.5rem;
}

.contact-lead {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.contact-item svg {
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: var(--black-2);
    color: white;
    padding: 3rem 0 3rem;
}

.footer-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.footer-logo {
    flex: 0 0 auto;
    padding-right: 3rem;
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 120px;
    width: auto;
}

.footer-divider {
    width: 2px;
    background-color: white;
    align-self: stretch;
    margin: 0 1rem;
}

.footer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-links h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 4rem;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav-col a {
    font-size: 18px;
    font-weight: 400;
    transition: color 0.3s;
}

.footer-nav-col a:hover {
    color: var(--red);
}

.footer-contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    font-size: 16px;
    align-items: flex-start;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

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

    .hero-title {
        font-size: 60px;
    }

    .hero-subtitle {
        font-size: 36px;
    }

    .hero-content {
        padding-right: 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .studio-heading,
    .publishing-heading {
        font-size: 32px;
    }

    .team-text p {
        font-size: 24px;
    }

    .contact-lead {
        font-size: 24px;
    }
}

@media (max-width: 820px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .team-text p {
        font-size: 20px;
    }
}

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

    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-container {
        flex-direction: column-reverse;
    }

    .hero-content {
        text-align: center;
        padding-right: 0;
        margin-top: 4rem;
    }

    .hero-content .btn-discover {
        margin: 0 auto;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .studio-content {
        flex-direction: column-reverse;
    }

    .studio-image {
        padding-right: 0;
    }

    .studio-text {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .publishing-content {
        max-width: 100%;
    }

    .features-list {
        padding-left: 2rem;
    }

    .team-intro {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .team-text {
        padding: 0;
    }

    .team-text p {
        text-align: center;
        font-size: 14px;
    }

    .team-image .placeholder-image {
        margin-top: 3rem;
    }

    .team-members .team-member {
        margin-bottom: 4.5rem;
    }

    .contact-info {
        max-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-logo {
        padding-right: 0;
        justify-content: center;
    }

    .footer-logo img {
        height: 80px;
    }

    .footer-divider {
        display: none;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
        gap: 2rem;
    }
}

@media (max-width: 425px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 26px;
    }

    .hero-text,
    .btn-discover,
    .studio-description,
    .publishing-description,
    .feature-item,
    .team-description p,
    .member-role,
    .footer-nav-col a {
        font-size: 12px;
    }

    .section-title {
        font-size: 18px;
    }

    .studio-heading,
    .publishing-heading {
        font-size: 24px;
    }

    .member-name {
        font-size: 14px;
    }

    .contact-lead,
    .contact-item {
        font-size: 14px;
    }

    .footer-contact-item {
        font-size: 12px;
    }

    .member-avatar {
        width: 150px;
        height: 150px;
        font-size: 36px;
    }

    .placeholder-image {
        height: 300px;
        font-size: 18px;
    }
}
