:root {
    --bg: #050508;
    --text: #e0e5ff;
    --text-dim: #8b92bf;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    
    --fast-clues-color: #ff9900;
    --neon-slide-color: #00f0ff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 153, 0, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.05), transparent 25%);
}

.hub-container {
    width: 100%;
    max-width: 1000px;
    padding: 40px 20px;
    text-align: center;
}

.hub-header {
    margin-bottom: 60px;
}

.hub-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff, #8b92bf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hub-header p {
    font-size: 1.25rem;
    color: var(--text-dim);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.game-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 30px;
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(20px);
}

.card-content {
    position: relative;
    z-index: 2;
}

.game-card .icon {
    font-size: 4rem;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.game-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.game-card p {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--hover-color, transparent) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Hover Effects */
.game-card:hover {
    transform: translateY(-10px);
}

.game-card:hover .icon {
    transform: scale(1.1);
}

.game-card:hover .card-glow {
    opacity: 0.15;
}

/* Specific Game Styles */
.game-card.fast-clues:hover {
    border-color: var(--fast-clues-color);
    box-shadow: 0 10px 40px rgba(255, 153, 0, 0.1);
}
.game-card.fast-clues { --hover-color: var(--fast-clues-color); }
.game-card.fast-clues:hover h2 { color: var(--fast-clues-color); text-shadow: 0 0 15px rgba(255, 153, 0, 0.4); }

.game-card.neon-slide:hover {
    border-color: var(--neon-slide-color);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
}
.game-card.neon-slide { --hover-color: var(--neon-slide-color); }
.game-card.neon-slide:hover h2 { color: var(--neon-slide-color); text-shadow: 0 0 15px rgba(0, 240, 255, 0.4); }

@media (max-width: 768px) {
    .hub-header h1 { font-size: 2.5rem; }
    .games-grid { grid-template-columns: 1fr; gap: 24px; }
}
