/* ===== Mobile Layout ===== */

/* Wrapper */
.wrapper {
    padding: 1rem;
    max-width: 100%;
    box-sizing: border-box;
}

.mobile-break {
    display: block;
}

/* Header */
header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

/* Profile section */
.profile-section {
    margin: 0 0 1rem 0;
}

.profile-image {
    width: 220px;
    height: 220px;
    margin-bottom: 0.5rem;
}

/* Profile text */
.profile-name {
    font-size: 16px;
    line-height: 1.2;
}

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

/* Bio section */
.bio-section {
    max-width: 100%;
    margin-bottom: 1rem;
}

.bio-text {
    font-size: 16px;
    line-height: 1.4;
}

.bio-skills {
    font-size: 14px;
}

/* Top links */
.top-links {
    position: static; /* remove absolute positioning */
    margin: 1rem 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.top-links a {
    font-size: 0.9rem;
}

/* Tabs */
.tabs {
    flex-direction: column;
}

.tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* Game grid */
.game-grid {
    display: grid;
    grid-template-columns: 1fr; /* single column */
    gap: 1rem;
}

/* Game cards */
.game {
    max-width: 100%;
}

.game img {
    width: 100%;
    height: auto;
}

/* Studio section */
.MaronByteStudio-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.logo {
    margin: 0 auto; /* centers container */
    width: 200px;
    height: 200px;
}

/* Studio content text */
.studio-content p,
.studio-content h3,
.studio-content ul {
    font-size: 14px;
}

/* Tools links */
.tools {
    font-size: 0.9rem;
}

/* Ensure tab panels are readable */
.tab-panel {
    min-height: auto;
}
