@import url("https://cdn-uicons.flaticon.com/4.0.0/uicons-brands/css/uicons-brands.css");

:root {
    --bg: #f7f6f2;
    --text: #1a1a1a;
    --muted: #5c5c5c;
    --line: #e2e0d8;
    --accent: #6a5a45;
    --content-line-gap: 1.5rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    text-decoration-thickness: 2px;
}

.wrap {
    max-width: 38rem;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 5vw, 1.75rem) 3.5rem;
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem 1.5rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
}

.header-intro {
    min-width: 0;
}

.header-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.header-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.35rem;
    line-height: 1;
    text-decoration: none;
}

.header-socials a:hover {
    color: var(--accent);
    text-decoration: none;
}

.header-socials i {
    display: block;
}

.name {
    margin: 0 0 0.35rem;
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.tagline {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.tab-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    margin-bottom: var(--content-line-gap);
    border-bottom: 1px solid var(--line);
}

.tab-chip {
    display: inline-block;
    padding: 0.5rem 0.65rem;
    margin-bottom: -1px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    user-select: none;
}

.tab-chip:hover {
    color: var(--text);
}

#tab-about:checked ~ .tab-bar label[for="tab-about"],
#tab-games:checked ~ .tab-bar label[for="tab-games"],
#tab-contact:checked ~ .tab-bar label[for="tab-contact"] {
    font-weight: 600;
    color: var(--text);
    border-bottom-color: var(--accent);
}

.tab-panel {
    display: none;
}

#tab-about:checked ~ #panel-about,
#tab-games:checked ~ #panel-games,
#tab-contact:checked ~ #panel-contact {
    display: block;
}

.tab-panel p {
    margin: 0 0 0.85rem;
}

.tab-panel p:last-child {
    margin-bottom: 0;
}

.game-feed {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.game-post {
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--line);
}

.game-post:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.game-post-title {
    margin: 0 0 0.85rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text);
}

.game-post-embed {
    width: 100%;
    max-width: 552px;
}

.form-embed {
    width: 100%;
    max-width: 640px;
}

.game-post-embed iframe,
.form-embed iframe {
    display: block;
    width: 100%;
    border: 0;
}

.game-post-embed iframe {
    height: 167px;
}

.form-embed iframe {
    height: 691px;
}

.meta {
    font-size: 0.875rem;
    color: var(--muted);
}

footer {
    margin-top: var(--content-line-gap);
    padding-top: var(--content-line-gap);
    border-top: 1px solid var(--line);
    font-size: 0.8rem;
    color: var(--muted);
}
