/* ===== Reset ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Background ===== */
body {
    font-family: Arial, sans-serif;
    color: #e5e7eb;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background: linear-gradient(270deg, #0a0a0a, #0f172a, #111827);
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* subtle blobs (reduced intensity) */
.bg::before,
.bg::after {
    content: "";
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
}

.bg::before {
    background: #0ff;
    top: 15%;
    left: 10%;
}

.bg::after {
    background: #a78bfa;
    bottom: 10%;
    right: 10%;
}

/* ===== Header ===== */
.site-header {
    text-align: center;
    padding: 50px 20px 20px;
}

.site-header h1 {
    font-size: 2.8rem;

    background: linear-gradient(90deg, #0ff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-header p {
    color: #9ca3af;
    margin-top: 8px;
}

/* ===== Main Layout ===== */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* ===== Grid ===== */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 280px));
    gap: 20px;
    width: 100%;
    max-width: 700px;
}

/* ===== Cards ===== */
.game-card {
    padding: 20px;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.1);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.game-card h2 {
    margin-bottom: 6px;
}

.game-card p {
    color: #9ca3af;
    margin-bottom: 16px;
    font-size: 14px;
}

/* ===== Button (NEW STYLE) ===== */
.btn {
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;

    color: #0ff;
    text-decoration: none;
    font-weight: 500;

    border: 1px solid rgba(0, 255, 255, 0.4);
    background: rgba(0, 255, 255, 0.05);

    transition: 
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
}

/* contained glow */
.btn:hover {
    background: rgba(0, 255, 255, 0.15);
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.4),
                0 0 10px rgba(0, 255, 255, 0.2);
}

/* press effect */
.btn:active {
    transform: scale(0.97);
    box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.6);
}

/* disabled */
.btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ===== Footer ===== */
.site-footer {
    text-align: center;
    padding: 20px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer a {
    color: #9ca3af;
    margin: 0 10px;
    text-decoration: none;
}

.site-footer a:hover {
    color: #0ff;
}