/* Global Styles */
:root {
    --bg-color: #0d0d0d;
    --text-color: #e0e0e0;
    --accent-color: #00bcd4;
    /* Cyan accent */
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3 {
    margin-top: 0;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 1rem 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 224px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(0, 188, 212, 0.4));
    animation: fadeInDown 1.2s ease-out;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.hero-logo:hover {
    transform: scale(1.05) rotate(1deg);
    filter: drop-shadow(0 0 30px rgba(0, 188, 212, 0.6));
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.15) 0%, rgba(13, 13, 13, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero p {
    font-size: 1.25rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 1rem;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Game Card */
.game-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.game-description {
    font-size: 0.95rem;
    color: #bbb;
    margin-bottom: 1.5rem;
    flex: 1;
}

.game-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: #000;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.game-link:hover {
    background-color: #fff;
    transform: scale(1.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid var(--card-border);
    margin-top: 4rem;
}