:root {
    --accent: #FB8500;
    --accent-dark: #d96f00;
    --bg: #f4f4f4;
    --card: #ffffff;
    --text: #222222;
    --muted: #777777;
    --border: #dddddd;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Lato', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon,
.logo-icon img {
    display: block;
}

.logo-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.studio-name {
    font-size: 1.1rem;
    font-weight: 700;
    background: none;
    background-clip: border-box;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: initial;
    color: var(--text);
    margin: 0;
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    flex: 1;
}

.hero {
    background: linear-gradient(135deg, #FFB703, #FB8500);
    color: #4A2C1A;
    padding: 3rem 1.5rem 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border-radius: 3px;
}

.hero h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.game-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 1.25rem;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.game-name {
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.game-description {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.game-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.google-play-btn,
.itch-btn,
.secondary-btn {
    min-height: 48px;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.google-play-btn {
    background: #000;
    color: #fff;
}

.secondary-btn {
    background: var(--accent);
    color: #fff;
}

.itch-btn {
    background: #fa5c5c;
    color: #fff;
}

.google-play-btn:hover,
.itch-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.disabled {
    pointer-events: none;
    opacity: 0.8;
}

.screenshots-section {
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.screenshots-section h2,
.portfolio-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    text-shadow: none;
}

.carousel-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.carousel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: #cccccc;
}

.carousel-track {
    display: flex;
    transition: transform 0.35s ease;
}

.carousel-slide {
    min-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(34, 34, 34, 0.75);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    pointer-events: auto;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bbb;
}

.indicator.active {
    background: var(--accent);
}

footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}

footer a {
    color: var(--accent-dark);
}

@media (max-width: 600px) {
    .header-content {
        padding: 0.6rem 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 1.25rem 1rem 2rem;
    }

    .game-card {
        padding: 1rem;
    }

    .game-buttons {
        flex-direction: column;
    }
}
