:root {
    --bg-color: #0d0f14;
    --text-primary: #ffffff;
    --text-secondary: #8b949e;
    --accent-blue: #00d2ff;
    --accent-gold: #ffd700;
    --accent-red: #ff5252;
    --panel-bg: rgba(255, 255, 255, 0.045);
    --panel-border: rgba(255, 255, 255, 0.1);
    --panel-shadow: 0 10px 34px rgba(0, 0, 0, 0.38);
}

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

html,
body {
    min-height: 100%;
    background: var(--bg-color);
}

body {
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.trainer-home {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background:
        linear-gradient(140deg, rgba(0, 210, 255, 0.14), transparent 38%),
        linear-gradient(320deg, rgba(255, 82, 82, 0.14), transparent 42%),
        var(--bg-color);
}

.home-shell {
    width: 100%;
    max-width: 760px;
}

.home-header {
    text-align: center;
    margin-bottom: 1.6rem;
}

.home-header h1 {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.home-header h1 span {
    color: var(--accent-gold);
}

.home-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 0.35rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.game-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 1.3rem;
    box-shadow: var(--panel-shadow);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.game-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.065);
}

.badugi-card:hover {
    border-color: rgba(0, 210, 255, 0.65);
}

.td27-card:hover {
    border-color: rgba(255, 215, 0, 0.65);
}

.game-kicker {
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.game-card strong {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
}

.game-card span:last-child {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.35;
}

@media (max-width: 640px) {
    .trainer-home {
        padding: 1rem;
        align-items: stretch;
    }

    .home-shell {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .home-header h1 {
        font-size: 2rem;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        min-height: 142px;
        border-radius: 10px;
    }
}
