/* Cagelink - Dark/Light Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Core palette - Dark (default) */
    --bg-main: #0a0a0b;
    --bg-card: #141416;
    --bg-hover: #1c1c1f;
    --bg-elevated: #222225;

    /* Logo colors */
    --logo-red: #ef4444;
    --logo-gold: #eab308;

    /* Accent */
    --accent: #ffffff;
    --accent-muted: #a1a1aa;

    /* Text */
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Borders */
    --border: #27272a;
    --border-light: #3f3f46;

    /* States */
    --success: #22c55e;
    --success-bg: rgba(34, 197, 94, 0.15);
    --error: #ef4444;
    --error-bg: rgba(239, 68, 68, 0.15);

    /* Path node tints */
    --start-bg: rgba(239, 68, 68, 0.1);
    --target-bg: rgba(234, 179, 8, 0.1);

    /* Spacing */
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 150ms ease;
}

[data-theme="light"] {
    --bg-main: #f5f5f5;
    --bg-card: #ffffff;
    --bg-hover: #f0f0f0;
    --bg-elevated: #e8e8e8;

    --logo-red: #dc2626;
    --logo-gold: #ca8a04;

    --accent: #18181b;
    --accent-muted: #52525b;

    --text-primary: #18181b;
    --text-secondary: #52525b;
    --text-muted: #a1a1aa;

    --border: #e4e4e7;
    --border-light: #d4d4d8;

    --success: #16a34a;
    --success-bg: rgba(22, 163, 74, 0.1);
    --error: #dc2626;
    --error-bg: rgba(220, 38, 38, 0.1);

    --start-bg: rgba(220, 38, 38, 0.08);
    --target-bg: rgba(202, 138, 4, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════
   WIP BANNER
═══════════════════════════════════════════ */
.wip-banner {
    background: linear-gradient(135deg, var(--logo-red), var(--logo-gold));
    color: var(--bg-main);
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.wip-badge {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.wip-text {
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.375rem 0.875rem;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    background: var(--bg-card);
}

.logo-cage {
    color: var(--logo-red);
}

.logo-link {
    color: var(--logo-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-hover);
    border-bottom: 2px solid var(--logo-red);
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.4375rem;
    line-height: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--border-light);
}

.auth-section {
    margin-left: 0.25rem;
}

.nav-toggle { display: none; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-main);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-muted);
}

.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--text-muted);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border);
}

.btn-ghost:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--border-light);
}

.btn-danger {
    color: var(--error);
    border-color: transparent;
}

.btn-danger:hover {
    background: var(--error-bg);
    color: var(--error);
    border-color: var(--error);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
}

/* ═══════════════════════════════════════════
   TOGGLE SWITCH
═══════════════════════════════════════════ */
.toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.toggle-group {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.25rem;
    gap: 0.25rem;
}

.toggle-btn {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn:hover {
    color: var(--text-secondary);
}

.toggle-btn.active {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════ */
.main-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: calc(100vh - 180px);
}

/* ═══════════════════════════════════════════
   GAME PROMPT
═══════════════════════════════════════════ */
.game-prompt {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.game-prompt .start-name {
    color: var(--logo-red);
    font-weight: 700;
}

.game-prompt .target-name {
    color: var(--logo-gold);
    font-weight: 700;
}

/* ═══════════════════════════════════════════
   SCORE BAR
═══════════════════════════════════════════ */
.score-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.score-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.score-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.score-value.score-penalty {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   RESULTS BREAKDOWN
═══════════════════════════════════════════ */
.results-breakdown {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    text-align: left;
}

.breakdown-item {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
}

.breakdown-item strong {
    color: var(--error);
}

.breakdown-item.perfect {
    color: var(--success);
    font-weight: 700;
    text-align: center;
}

/* ═══════════════════════════════════════════
   SEARCH
═══════════════════════════════════════════ */
.search-container {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--border-light);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-height: 280px;
    overflow-y: auto;
    z-index: 50;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.search-result-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--bg-hover);
}

.search-result-item .name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.search-result-item .record {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* ═══════════════════════════════════════════
   PATH SECTION
═══════════════════════════════════════════ */
.path-section {
    margin: 1.5rem 0;
}

.path-track {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.path-node {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.path-node.start {
    border-color: var(--logo-red);
    border-width: 2px;
    background: var(--start-bg);
}

.path-node.target {
    border-color: var(--logo-gold);
    border-width: 2px;
    background: var(--target-bg);
}

.path-node-remove {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.25rem;
}

.path-node-remove:hover {
    color: var(--error);
}

.path-slot {
    border: 2px dashed var(--border-light);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════
   ADD FIGHTER SECTION
═══════════════════════════════════════════ */
.add-fighter-section {
    margin-bottom: 1.5rem;
}

.error-msg {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--error-bg);
    border-radius: var(--radius-sm);
    text-align: center;
}

.game-status-msg {
    font-weight: 600;
    font-size: 0.9375rem;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
}

.game-status-msg.success {
    color: var(--success);
    background: var(--success-bg);
}

/* ═══════════════════════════════════════════
   GAME BOTTOM BAR
═══════════════════════════════════════════ */
.guesses-remaining {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.game-bottom-bar {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Hint badge */
#hints-left {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    background: var(--text-muted);
    color: var(--bg-main);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.375rem;
}

/* ═══════════════════════════════════════════
   LOADING
═══════════════════════════════════════════ */
.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════
   RESULTS
═══════════════════════════════════════════ */
.results-container {
    text-align: center;
    padding: 1rem 0;
}

.results-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.results-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.results-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.result-stat {
    text-align: center;
}

.result-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.result-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.results-path-section {
    margin-bottom: 1.5rem;
}

.results-path-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.results-path-display {
    background: var(--bg-elevated);
    padding: 1rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Wrong guess list */
.wrong-guess-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0;
    font-size: 0.8125rem;
}

.wrong-guess-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-right: 0.25rem;
}

.wrong-guess-name {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

/* ═══════════════════════════════════════════
   MODAL
═══════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal.active { display: flex; }

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover { color: var(--text-primary); }

.modal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   FORM
═══════════════════════════════════════════ */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--border-light);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
    text-align: center;
    padding: 3rem 0 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.hero-title .highlight-red {
    color: var(--logo-red);
}

.hero-title .highlight-gold {
    color: var(--logo-gold);
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

/* ═══════════════════════════════════════════
   CARDS
═══════════════════════════════════════════ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.card-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-body {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.card-body ol {
    padding-left: 1.25rem;
}

.card-body strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 1.25rem 1rem;
}

.feature-card h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════
   DAILY CHALLENGE
═══════════════════════════════════════════ */
.game-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.game-header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.game-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.game-stat {
    text-align: center;
}

.game-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.game-stat-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fighters-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.fighter-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}

.fighter-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    color: var(--text-muted);
}

.fighter-card.start {
    border-color: var(--logo-red);
    border-width: 2px;
}

.fighter-card.start .fighter-label {
    color: var(--logo-red);
}

.fighter-card.target {
    border-color: var(--logo-gold);
    border-width: 2px;
}

.fighter-card.target .fighter-label {
    color: var(--logo-gold);
}

.fighter-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.fighter-record {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.vs-divider {
    display: none;
}

/* ═══════════════════════════════════════════
   PAGE HEADER
═══════════════════════════════════════════ */
.page-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ═══════════════════════════════════════════
   LEADERBOARD
═══════════════════════════════════════════ */
.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 0.75rem;
    text-align: left;
}

.leaderboard-table th {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.leaderboard-table td {
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.leaderboard-table tr:hover td {
    background: var(--bg-hover);
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.8125rem;
}

.rank-badge.gold {
    background: var(--logo-gold);
    color: var(--bg-main);
}

.rank-badge.silver {
    background: #9ca3af;
    color: var(--bg-main);
}

.rank-badge.bronze {
    background: #b45309;
    color: white;
}

/* ═══════════════════════════════════════════
   TABS
═══════════════════════════════════════════ */
.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    background: var(--bg-card);
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.tab {
    flex: 1;
    padding: 0.625rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
}

.tab:hover {
    color: var(--text-secondary);
}

.tab.active {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 1.25rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.footer-note {
    margin-top: 0.25rem;
    font-size: 0.75rem;
}

/* ═══════════════════════════════════════════
   AUTH
═══════════════════════════════════════════ */

.user-name {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.text-success { color: var(--success) !important; }
.text-primary { color: var(--logo-red) !important; }
.text-gold { color: var(--logo-gold) !important; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
    .nav-links { gap: 0; }
    .nav-link { padding: 0.5rem 0.5rem; font-size: 0.8125rem; }
    .game-bottom-bar { gap: 0.375rem; }
    .btn { padding: 0.5rem 0.75rem; font-size: 0.8125rem; }
}
