/* global */
:root {
    --red: #ff3131;
    --dark: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--dark);
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

/* navbar */
.navbar {
    width: 100%;
    background: rgba(0,0,0,0.95);
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    width: 95%;
    max-width: 1800px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 100px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    margin: 0 15px;
    opacity: 0.7;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a.active {
    opacity: 1;
    border-bottom: 2px solid var(--red);
    padding-bottom: 5px;
}

.btn-red-nav {
    background: var(--red);
    border: none;
    padding: 10px 22px;
    color: white;
    font-weight: 800;
    border-radius: 5px;
    cursor: pointer;
}

/* about content */
.about-page {
    margin-top: 120px;
}

.main-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 80px;
}

.dev-profiles-section {
    max-width: 1200px;
    margin: auto;
    padding: 0 40px;
}

.dev-profile-row {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
    flex-wrap: wrap;
    position: relative;
}

.dev-profile-row.mirrored {
    flex-direction: row-reverse;
}

.dev-image-wrapper {
    width: 60%;
    max-width: 600px;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
    position: relative;
    z-index: 1;
    margin: auto;
}

.dev-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dev-info-card {
    width: 50%;
    max-width: 500px;
    background: #050505;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    margin-left: -80px;
    z-index: 2;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border-radius: 8px;
}

.dev-profile-row.mirrored .dev-info-card {
    margin-left: 0;
    margin-right: -80px;
}

.dev-name {
    font-size: 28px;
    font-weight: 900;
}

.dev-role {
    color: #0070f3;
    font-size: 13px;
    margin-bottom: 15px;
}

.dev-bio {
    color: #aaa;
}

.more-text {
    display: none;
}

/* read more button */
.btn-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 10px 20px;
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: rgba(255,49,49,0.1);
    box-shadow: 0 0 18px rgba(255, 49, 49, 0.6);
    color: #fff;
    transform: translateY(-2px);
}

.btn-read-more:active {
    transform: translateY(0);
}

/* footer */
.main-footer {
    background: #000;
    padding: 80px 8% 60px;
    border-top: 1px solid #111;
    color: #fff;
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    justify-items: center;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
    gap: 12px;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
}

.indie-label {
    color: var(--red);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

.studio-description {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
}

.location {
    color: #555;
    font-size: 13px;
}

.footer-links,
.footer-connect {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links h4,
.footer-connect h4 {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.platform-icons,
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.platform-icons a,
.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 16px;
    transition: 0.3s;
}

.platform-icons a:hover,
.social-icons a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.discord-btn {
    background: #5865F2;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
}

.discord-btn:hover {
    background: #4752c4;
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #888;
}

/* our vision & our games */
.content-block-section {
    max-width: 1200px;
    margin: 120px auto;
    padding: 0 40px;
}

.block-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.info-block {
    background: #050505;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.info-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.05), transparent 60%);
    opacity: 0.2;
}

.block-title {
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: #ffffff;
}

.block-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #a1a1a1;
    max-width: 420px;
}

/* studio philosophy */
.philosophy-section {
    padding: 140px 40px;
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.philosophy-label {
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.philosophy-text {
    font-size: 26px;
    font-weight: 500;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* responsive */
@media (max-width: 900px) {
    .block-grid {
        grid-template-columns: 1fr;
    }

    .block-title {
        font-size: 22px;
    }

    .philosophy-text {
        font-size: 22px;
    }

    .dev-profile-row {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .dev-image-wrapper,
    .dev-info-card {
        width: 90%;
        margin: 0;
    }

    .dev-info-card {
        margin-top: -60px;
    }
}
