:root {
    --bg-dark: #0f172a;
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --primary: #818cf8;
    --primary-glow: rgba(129, 140, 248, 0.4);
    --accent: #f472b6;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-family: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Background Aesthetics */
.background-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 50vw;
    height: 50vw;
    background: var(--primary);
    top: -20%;
    left: -20%;
}

.orb-2 {
    width: 40vw;
    height: 40vw;
    background: var(--accent);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 30vw;
    height: 30vw;
    background: #22d3ee;
    top: 40%;
    left: 40%;
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 50px);
    }
}

.hub-container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary);
    background: -webkit-linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.game-tile {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.game-tile:hover:not(.locked) {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 0 20px var(--primary-glow);
    border-color: rgba(129, 140, 248, 0.3);
}

.tile-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.game-tile:hover:not(.locked) .tile-icon {
    transform: scale(1.1) rotate(5deg);
}

.tile-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tile-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.play-indicator {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.game-tile:hover:not(.locked) .play-indicator {
    opacity: 1;
    transform: translateY(0);
}

.game-tile.locked {
    opacity: 0.6;
    cursor: not-allowed;
    border-style: dashed;
}

.game-tile.locked .tile-icon {
    filter: grayscale(1);
}

footer {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: auto;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .hub-container {
        padding: 1.5rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .game-tile {
        padding: 1.5rem;
    }
}