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

html {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    color: #2a2a2a;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Header ─── */

header {
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

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

header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-contact {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-contact:hover {
    color: #1a1a1a;
}

/* ─── Main ─── */

main {
    background-color: #fafafa;
    flex: 1;
}

section {
    padding: 80px 0;
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* ─── Game Card ─── */

.portfolio {
    background-color: #fafafa;
}

.game-card {
    display: flex;
    align-items: center;
    gap: 0;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 0;
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.game-card-image {
    flex-shrink: 0;
    width: 240px;
    background-color: #f0f0f0;
}

.game-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-content {
    padding: 36px 40px;
}

.game-card-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.game-card-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ─── Button ─── */

.btn {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    padding: 10px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.game-card:hover .btn {
    background: #333;
    transform: translateY(-1px);
}

/* ─── Footer ─── */

footer {
    background-color: #fafafa;
    color: #aaa;
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
}

/* ─── Mobile ─── */

@media (max-width: 640px) {
    header {
        padding: 16px 0;
    }

    header h1 {
        font-size: 1.2rem;
    }

    section {
        padding: 56px 0;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: 28px;
    }

    .game-card {
        flex-direction: column;
        max-width: 360px;
    }

    .game-card-image {
        width: 100%;
        max-height: 320px;
        overflow: hidden;
    }

    .game-card-content {
        padding: 28px;
        text-align: center;
    }
}
