:root {
    --bg: #fff4d6;
    --primary: #ff9f1c;
    --secondary: #2ec4b6;
    --card: #ffffff;
    --text: #333;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 30px 20px;
    text-align: center;
    color: white;
}

header h1 {
    font-family: "Barriecito", cursive;
    font-size: 42px;
    margin: 0 0 10px;
}

header p {
    margin: 0;
    font-size: 18px;
}

/* Tabs */
nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    background-color: #ffe6b3;
    padding: 12px;
}

nav button {
    font-family: "Barriecito", cursive;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 30px;
    transition: background 0.2s, transform 0.1s;
}

nav button:hover {
    transform: scale(1.05);
}

nav button.active {
    background-color: var(--primary);
    color: white;
}

/* Layout */
main {
    max-width: 1000px;
    margin: auto;
    padding: 24px;
}

.tab {
    display: none;
}

.tab.active {
    display: block;
}

section {
    margin-bottom: 40px;
}

/* Cards */
.card {
    background-color: var(--card);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card h2 {
    font-family: "Barriecito", cursive;
    font-size: 28px;
    margin-top: 0;
}

/* Trailer */
.trailer iframe {
    width: 100%;
    height: 420px;
    border: none;
    border-radius: 16px;
}

/* Screenshots */
.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.screenshots img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Credits */
.credits-list li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    opacity: 0.7;
}
