:root {
    --primary: #1a73e8;
    --primary-dark: #155ab6;
    --bg: #f5f7fb;
    --text: #111;
    --muted: #666;
    --card-bg: rgba(255, 255, 255, 0.7);
    --border: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Inter', 'Arial', 'Helvetica', sans-serif;
    background: linear-gradient(180deg, #eaf1ff, #f5f7fb);
    color: var(--text);
    margin: 0;
    padding: 20px;
    line-height: 1.7;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 28px;
    background: var(--card-bg);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
}

/* HERO */

.hero {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    width: 320px;
    max-width: 100%;
}

.tagline {
    color: var(--muted);
    margin-top: 10px;
    font-size: 15px;
}

/* TYPOGRAPHY */

h1, h2, h3 {
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1.2em;
    color: #374151;
}

.section {
    margin: 30px 0;
}

.center {
    text-align: center;
}

.section-desc {
    color: var(--muted);
    max-width: 600px;
}

/* IMAGES */

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    cursor: pointer;
}

/* FEATURED CARDS */

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 20px;
}

.card {
    max-width: 300px;
    background: var(--card-bg);
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    transition: all 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}

.card h3 {
    margin: 10px 0;
}

.author {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin: 6px 0;
}

/* GAME LIST */

.game-list {
    margin: 10px 0 20px 20px;
}

/* LINKS GRID */

.link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.link-card {
    flex: 1 1 220px;
    background: var(--card-bg);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.link-card p {
    font-size: 13px;
    margin-top: 6px;
}

/* BUTTONS */

button {
    font-family: 'Inter', 'Arial', sans-serif;
    padding: 12px 22px;
    background: linear-gradient(135deg, #1a73e8, #4f9cff);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26,115,232,0.3);
}

button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* DOWNLOAD BUTTONS */

.download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.download-button {
    display: inline-block;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #1a73e8, #4f9cff);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.download-button:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* LINKS */

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* FOOTER */

.footer {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-top: 20px;
}

/* NAVBAR (optional if you use it later) */

.navbar {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
}

.navbar a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    position: relative;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}

.navbar a:hover::after {
    width: 100%;
}

/* MISC */

ul {
    padding-left: 20px;
}

/* RESPONSIVE */

@media (max-width: 600px) {
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.5em; }
    h3 { font-size: 1.2em; }

    .container {
        padding: 18px;
        margin: 20px auto;
    }

    .card-grid {
        flex-direction: column;
        align-items: center;
    }

    .link-grid {
        flex-direction: column;
    }
}
