/* ==========================================================================
   RUMREN GAMES - MONIFI THEME STYLESHEET
   Brand: Maroon #800020, Accent #db2777, Font Outfit
   Modern Clean Lines, Minimal Corner Radius (4px - 8px)
   ========================================================================== */

:root {
    --bg-color: #f1f5f9;
    --text-color: #1e293b;
    --hint-color: #64748b;
    --link-color: #800020;
    --button-color: #800020;
    --button-hover: #5e0018;
    --button-text-color: #ffffff;
    --secondary-bg-color: #e2e8f0;

    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-card-bg: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glow-color: rgba(128, 0, 32, 0.12);
    --accent-glow: rgba(236, 72, 153, 0.2);
    --accent-color: #db2777;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    /* Reduced corner radius (Gaya Monifi) */
    --radius-xs: 3px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 10px;
    --radius-full: 9999px;
}

[data-theme="dark"] {
    --bg-color: #0b0f19;
    --text-color: #f8fafc;
    --hint-color: #94a3b8;
    --link-color: #f43f5e;
    --button-color: #800020;
    --button-hover: #9e0c31;
    --button-text-color: #ffffff;
    --secondary-bg-color: #020617;

    --glass-bg: rgba(15, 23, 42, 0.88);
    --glass-card-bg: rgba(30, 41, 59, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(236, 72, 153, 0.12);
    --accent-glow: rgba(236, 72, 153, 0.25);
    --accent-color: #f43f5e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    -webkit-tap-highlight-color: transparent;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

body {
    background: radial-gradient(circle at top, var(--secondary-bg-color, #e2e8f0) 0%, var(--bg-color, #f1f5f9) 100%);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 10px 8px;
    padding-bottom: 74px;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* App container */
.app-wrapper {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Glassmorphism Cards with reduced curve */
.glass-card {
    background: var(--glass-card-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-card:hover {
    box-shadow: 0 4px 16px var(--glow-color);
}

/* Header Monifi Style */
.header-card {
    position: sticky;
    top: 6px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 12px rgba(128, 0, 32, 0.06);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #800020, #db2777);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(128, 0, 32, 0.25);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 10px;
    color: var(--hint-color);
    font-weight: 500;
}

.badge-tag {
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    background: rgba(128, 0, 32, 0.1);
    color: var(--button-color);
    border: 1px solid rgba(128, 0, 32, 0.18);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    background: var(--glass-card-bg);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 13px;
}

.icon-btn:hover {
    background: var(--button-color);
    color: #fff;
    border-color: var(--button-color);
}

/* Action Buttons */
.btn-primary {
    background: linear-gradient(135deg, #800020 0%, #9e0c31 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(128, 0, 32, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5e0018 0%, #800020 100%);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--glass-card-bg);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

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

.points-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #b45309;
    padding: 4px 9px;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    font-weight: 700;
}

[data-theme="dark"] .points-chip {
    color: #fbbf24;
}

/* Hero / Featured Game Banner */
.hero-banner {
    position: relative;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #4a0013 0%, #800020 60%, #a30832 100%);
    color: #ffffff;
    padding: 16px 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(128, 0, 32, 0.22);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-banner::after {
    content: '♠ 7 ♥';
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    line-height: 1;
    font-family: sans-serif;
}

.hero-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-desc {
    font-size: 11.5px;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-stats-row {
    display: flex;
    gap: 12px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-val {
    font-size: 13.5px;
    font-weight: 800;
}

.hero-stat-lbl {
    font-size: 9.5px;
    opacity: 0.75;
}

/* Games Grid */
.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding: 0 2px;
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-subtitle {
    font-size: 11px;
    color: var(--hint-color);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.game-card {
    background: var(--glass-card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px var(--glow-color);
    border-color: rgba(128, 0, 32, 0.25);
}

.game-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 8.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-xs);
}

.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-soon {
    background: rgba(100, 116, 139, 0.12);
    color: var(--hint-color);
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.game-icon-box {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.1), rgba(219, 39, 119, 0.1));
    border: 1px solid rgba(128, 0, 32, 0.12);
    color: var(--button-color);
}

.game-name {
    font-size: 13.5px;
    font-weight: 700;
}

.game-desc {
    font-size: 10.5px;
    color: var(--hint-color);
    line-height: 1.35;
    flex-grow: 1;
}

.game-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
}

/* ==========================================================================
   SEVEN SPADE GAME BOARD (MOBILE FIRST & CLEAN BORDERS)
   ========================================================================== */
.game-arena {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.game-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    background: var(--glass-card-bg);
    border: 1px solid var(--glass-border);
}

.turn-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    font-weight: 700;
    background: rgba(128, 0, 32, 0.08);
    color: var(--button-color);
    border: 1px solid rgba(128, 0, 32, 0.16);
}

.pulsing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--button-color);
    box-shadow: 0 0 0 0 rgba(128, 0, 32, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(128, 0, 32, 0.7);
    }

    70% {
        box-shadow: 0 0 0 5px rgba(128, 0, 32, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(128, 0, 32, 0);
    }
}

/* Poker Table Mat (Felt) with minimal radius */
.poker-table-mat {
    background: radial-gradient(circle at center, #1b4b35 0%, #0d281c 85%, #081a12 100%);
    border: 3px solid #2d1810;
    outline: 1px solid rgba(218, 165, 32, 0.4);
    border-radius: var(--radius-lg);
    padding: 8px 6px;
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.65), 0 4px 16px rgba(0, 0, 0, 0.2);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.table-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.04);
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
    text-align: center;
}

/* Opponents Area on Phone */
.opponents-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.bot-seat {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 5px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
    max-width: 105px;
    position: relative;
    transition: all 0.2s ease;
}

.bot-seat.active-turn {
    background: rgba(128, 0, 32, 0.5);
    border-color: #f43f5e;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.4);
}

.bot-avatar {
    width: 26px;
    height: 26px;
    border-radius: var(--radius-xs);
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.bot-name {
    font-size: 10px;
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.bot-card-count {
    font-size: 8.5px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    padding: 1px 5px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    gap: 3px;
}

.bot-pass-badge {
    font-size: 8px;
    color: #fca5a5;
    font-weight: 600;
}

.bot-speech-bubble {
    position: absolute;
    bottom: -24px;
    background: #ffffff;
    color: #0f172a;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: var(--radius-xs);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    animation: popIn 0.25s ease-out;
    z-index: 10;
    pointer-events: none;
}

.bot-speech-bubble::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #ffffff;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(4px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Center Layout: 4 Suit Rows for Sevens */
.sevens-board {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 6px 0;
    position: relative;
    z-index: 2;
}

.suit-lane {
    display: grid;
    grid-template-columns: 24px 1fr 34px 1fr;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 4px 6px;
    min-height: 54px;
}

.suit-badge-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.suit-spades {
    color: #cbd5e1;
}

.suit-hearts {
    color: #f87171;
}

.suit-diamonds {
    color: #38bdf8;
}

.suit-clubs {
    color: #4ade80;
}

.suit-cards-left,
.suit-cards-right {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    min-height: 44px;
}

.suit-cards-left {
    justify-content: flex-end;
}

.suit-cards-right {
    justify-content: flex-start;
}

.suit-center-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 46px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xs);
    background: rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.suit-center-slot.filled {
    border: none;
    background: transparent;
}

/* Card images on board */
.game-card-img {
    width: 34px;
    height: 48px;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    background: #ffffff !important;
    border: 1px solid #cbd5e1;
    flex-shrink: 0;
    margin-left: -14px;
    display: block;
    box-sizing: border-box;
}

.game-card-img:first-child {
    margin-left: 0;
}

/* Player Hand Area (Bottom) */
.player-dock {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 10;
    margin-top: 4px;
}

.player-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 6px;
}

.player-name-tag {
    font-size: 12px;
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 6px;
}

.player-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.player-hand-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 4px 6px;
    overflow-x: auto;
    scrollbar-width: none;
    min-height: 76px;
    width: 100%;
}

.hand-card-wrapper {
    position: relative;
    margin-left: -16px;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease;
    cursor: pointer;
    flex-shrink: 0;
    background: #ffffff !important;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    border: 1px solid #94a3b8;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hand-card-wrapper:first-child {
    margin-left: 0;
}

.hand-card-wrapper .player-card {
    width: 44px;
    height: 64px;
    border-radius: 3px;
    display: block;
    background: #ffffff !important;
    object-fit: contain;
    box-sizing: border-box;
}

.hand-card-wrapper:hover {
    transform: translateY(-16px) scale(1.12);
    z-index: 100 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    border-color: #38bdf8;
}

.hand-card-wrapper.playable {
    animation: bouncePlayable 2s infinite;
    border-color: #0284c7;
}

.hand-card-wrapper.playable .player-card {
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

@keyframes bouncePlayable {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.hand-card-wrapper.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(40%);
}

.hand-card-wrapper.disabled:hover {
    transform: none;
    z-index: inherit !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Pass Button in table */
.btn-pass {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(225, 29, 72, 0.4);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-pass:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-pass:not(:disabled):hover {
    background: linear-gradient(135deg, #be123c, #9f1239);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 12px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--glass-card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    max-width: 440px;
    width: 100%;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-color);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 8px;
}

.modal-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--button-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Winner Celebration Card */
.winner-card {
    text-align: center;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trophy-anim {
    font-size: 42px;
    animation: bounceTrophy 1.5s infinite;
}

@keyframes bounceTrophy {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-6px) scale(1.08);
    }
}

.winner-rankings-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 6px 0;
}

.ranking-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    background: rgba(128, 0, 32, 0.05);
    border: 1px solid var(--glass-border);
    font-size: 12px;
    font-weight: 600;
}

.ranking-row.rank-1 {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #b45309;
}

[data-theme="dark"] .ranking-row.rank-1 {
    color: #fbbf24;
}

/* Bottom Navigation (Monifi Style) */
.bottom-nav {
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 440px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 4px 8px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--hint-color);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-xs);
    transition: all 0.2s ease;
}

.nav-item i {
    font-size: 16px;
}

.nav-item.active,
.nav-item:hover {
    color: var(--button-color);
}

.nav-item.active {
    background: rgba(128, 0, 32, 0.08);
}

/* ==========================================================================
   DESKTOP & TABLET OVERRIDES (min-width: 600px)
   ========================================================================== */
@media (min-width: 600px) {
    body {
        padding: 16px;
        padding-bottom: 80px;
    }

    .app-wrapper {
        max-width: 960px;
    }

    .hero-banner {
        padding: 22px;
    }

    .hero-title {
        font-size: 24px;
    }

    .poker-table-mat {
        min-height: 520px;
        padding: 14px 18px;
        border-width: 4px;
    }

    .suit-lane {
        grid-template-columns: 36px 1fr 48px 1fr;
        padding: 6px 12px;
        min-height: 72px;
    }

    .suit-badge-icon {
        font-size: 22px;
    }

    .game-card-img {
        width: 42px;
        height: 60px;
        margin-left: -16px;
    }

    .suit-center-slot {
        width: 44px;
        height: 62px;
    }

    .hand-card-wrapper .player-card {
        width: 56px;
        height: 78px;
    }

    .hand-card-wrapper {
        margin-left: -18px;
    }

    .hand-card-wrapper:hover {
        transform: translateY(-16px) scale(1.08);
    }

    .bot-seat {
        max-width: 140px;
        padding: 8px 12px;
    }

    .bot-avatar {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .bot-name {
        font-size: 12px;
    }

    .bot-card-count {
        font-size: 10px;
        padding: 2px 7px;
    }

    .bot-speech-bubble {
        font-size: 11px;
        bottom: -28px;
        padding: 4px 8px;
    }

    .bottom-nav {
        max-width: 480px;
        bottom: 12px;
    }
}

@media (min-width: 1024px) {
    .app-wrapper {
        max-width: 1020px;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .poker-table-mat {
        min-height: 560px;
    }
}