/* ===== Global Settings ===== */
:root {
    --bg-color: #1c1b22;
    --accent-color: #fd6e60;
    --text-color: #fed8b2;
}

/* Fonts */
.press-start-2p-regular {
    font-family: "Press Start 2P", system-ui;
    font-weight: 400;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'Noto Serif', serif;
    font-optical-sizing: auto;
    font-weight: 400;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Header */
header {
    display: flex;
    align-items: flex-start;
    padding: 1rem 2rem;
    position: relative;
}

/* Profile section */
.profile-section {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 1rem;
}

.profile-name {
    font-family: "Press Start 2P", system-ui;
    font-size: 20px;
    color: var(--accent-color);
    margin: 0;
    line-height: 1.2;
}

.profile-title {
    font-size: 25px;
    margin: 0;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
}

/* Bio section */
.bio-section {
    max-width: 650px;
}

.bio-text {
    font-size: 20px;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.bio-skills {
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
}

/* Links top-right */
.top-links {
    position: absolute;
    top: 1rem;
    right: 2rem;
    display: flex;
    gap: 1.5rem;
}

.top-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    background: #333;
}

.tab-btn {
    font-family: "Press Start 2P", system-ui;
    text-transform: uppercase;
    background: none;
    border: none;
    padding: 1rem 2rem;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1rem;
}

.tab-btn.active {
    color: var(--accent-color);
    background: #555;
}

/* Common Tab Content */
.tab-content {
    position: relative;   /* relative container for absolute panels */
    min-height: 400px;    /* or whatever your tallest tab needs */
    overflow: hidden;     /* prevents extra scroll from tall tabs */
}

.tab-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

/* Text and content inside games and studio */
.game-text p,
.bio-text,
.bio-skills,
.studio-content p,
.studio-content h3,
.studio-content ul,
.tools {
    margin: 0.5rem 0;
}
.tools {
    color: var(--accent-color);
}

h3 {
    color: var(--accent-color);
}
