/* MAXX 356 TOSS BOOK - Mobile-First Gaming UI */

:root {
    --primary-color: #2a2a2a;
    --primary-dark: #1a1a1a;
    --secondary-color: #3a3a3a;
    --accent-color: #ffd700;
    --accent-gold: #ffd700;
    --accent-yellow: #ffeb3b;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-light: #999999;
    --bg-primary: #2a2a2a;
    --bg-secondary: #1f1f1f;
    --bg-tertiary: #333333;
    --border-color: #444444;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
    --radius: 12px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1f1f1f;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 90px; /* Space for bottom nav */
}

/* Mobile-first: Hide desktop nav on mobile */
@media (max-width: 768px) {
    .navbar .nav-menu {
        display: none;
    }
    
    .navbar {
        padding: 0.75rem 1rem;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #2a2a2a;
    color: var(--text-primary);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #444444;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
}

.nav-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    text-decoration: underline;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #ffd700;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-logout {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: background-color 0.2s;
}

.btn-logout:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn-primary {
    background-color: #ffd700;
    color: #2a2a2a;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: #ffeb3b;
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #1a202c;
}

.btn-danger {
    background-color: var(--error-color);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-outline:hover {
    background-color: #ffd700;
    color: #2a2a2a;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Cards */
.card {
    background-color: #2a2a2a;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border: 1px solid #444444;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-help {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Flash Messages */
.flash-message {
    padding: 1rem 1.5rem;
    margin: 1rem auto;
    max-width: 1200px;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.flash-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--error-color);
}

.flash-warning {
    background-color: #fef3c7;
    color: #92400e;
    border-left: 4px solid var(--warning-color);
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flash-close:hover {
    opacity: 1;
}

/* Tables */
.table-container {
    overflow-x: auto;
    background-color: var(--bg-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: var(--bg-tertiary);
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

tbody tr:hover {
    background-color: var(--bg-secondary);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-success {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-error {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-pending {
    background-color: #e5e7eb;
    color: #374151;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-change {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.stat-change.positive {
    color: var(--success-color);
}

.stat-change.negative {
    color: var(--error-color);
}

/* Match Cards */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .matches-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.match-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.match-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.match-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--bg-tertiary);
}

.match-content {
    padding: 1.5rem;
}

.match-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.match-time {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.match-status {
    display: inline-block;
    margin-bottom: 1rem;
}

.match-actions {
    display: flex;
    gap: 0.5rem;
}

/* Betting Interface */
.bet-interface {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.bet-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bet-option {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.bet-option:hover {
    border-color: var(--accent-color);
    background-color: #f0fdf4;
}

.bet-option.selected {
    border-color: var(--accent-color);
    background-color: #d1fae5;
}

.bet-option-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bet-option-odds {
    font-size: 0.875rem;
    color: var(--text-light);
}

.bet-amount-input {
    margin-bottom: 1rem;
}

.bet-summary {
    background-color: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
}

.bet-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.bet-summary-row.total {
    font-weight: 600;
    font-size: 1.125rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-primary);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: var(--bg-tertiary);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-primary);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--bg-tertiary);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.empty-state-subtext {
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .bet-options {
        grid-template-columns: 1fr;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* Mobile-specific styles */
    .match-card {
        margin-bottom: 1rem;
    }
    
    .match-image {
        height: 180px;
    }
    
    .card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .promo-banner {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .promo-banner-title {
        font-size: 0.875rem;
    }
    
    .promo-banner-subtitle {
        font-size: 1.25rem;
    }
    
    .main-banner-slider,
    .main-banner {
        margin: 0.5rem;
    }
    
    .main-banner-slider .slider-slide img,
    .main-banner img {
        max-height: 200px;
    }
    
    .alert-bar {
        margin: 0.5rem;
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .game-categories {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .game-category-card {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden {
    display: none;
}

.text-success {
    color: var(--success-color);
}

.text-error {
    color: var(--error-color);
}

.text-warning {
    color: var(--warning-color);
}

/* Bottom Navigation Bar - Visible on All Devices */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2a2a2a;
    border-top: 1px solid #444444;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 0.5rem 0 0.75rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    min-height: 70px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999999;
    flex: 1;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s;
    position: relative;
    min-height: 60px;
}

.bottom-nav-item.active {
    color: #ffd700;
}

.bottom-nav-item:hover {
    color: #ffd700;
}

.bottom-nav-item .nav-icon {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    line-height: 1;
    display: inline-block;
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav-item .nav-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.bottom-nav-item .nav-icon span {
    font-size: 1.5rem;
    line-height: 1;
}

.bottom-nav-item .nav-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
}

/* Special spinner/GO button in center */
.bottom-nav-spinner {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ffeb3b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #2a2a2a;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    margin-top: -25px;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1001;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bottom-nav-spinner:hover {
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6), 0 0 25px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.bottom-nav-spinner:active {
    transform: scale(0.95);
}

.bottom-nav-spinner .spinner-text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    color: #2a2a2a;
}

.bottom-nav-spinner .spinner-label {
    font-size: 0.65rem;
    margin-top: 0.125rem;
    font-weight: 600;
    line-height: 1;
    color: #2a2a2a;
}

/* App Header (Mobile & Desktop) */
.app-header {
    background-color: #2a2a2a;
    padding: 1rem;
    border-bottom: 1px solid #444444;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.header-left {
    flex: 1;
}

.header-logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 0.5rem;
    position: relative;
}

.header-logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}

.logo-crown {
    font-size: 1rem;
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    padding-top: 0.5rem;
}

.logo-underline {
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    margin-top: 0.125rem;
}

.header-welcome {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #ffd700;
    margin-top: 0.25rem;
}

.flag-icon {
    font-size: 1rem;
    display: inline-block;
}

.welcome-text {
    color: #ffd700;
}

.header-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.header-btn {
    background: linear-gradient(135deg, #ffd700, #ffeb3b);
    color: #2a2a2a;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 140px;
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.header-btn:active {
    transform: translateY(0);
}

.header-btn .btn-icon {
    font-size: 1.25rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 42, 42, 0.1);
    border-radius: 50%;
    position: relative;
}

.header-btn .btn-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.header-btn .btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 0.75rem;
}

.header-btn .btn-text span:first-child {
    font-weight: 600;
}

.header-btn .btn-text span:last-child {
    font-weight: 700;
    font-size: 0.7rem;
}

/* Main Banner/Slider */
.main-banner-slider {
    position: relative;
    margin: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.main-banner-slider .slider-container {
    position: relative;
    width: 100%;
}

.main-banner-slider .slider-slide {
    width: 100%;
    position: relative;
}

.main-banner-slider .slider-slide img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

.main-banner {
    margin: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.main-banner img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: #ffd700;
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 235, 59, 0.2));
    border: 2px solid #ffd700;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 215, 0, 0.1) 10px,
        rgba(255, 215, 0, 0.1) 20px
    );
    pointer-events: none;
}

.promo-banner-title {
    font-size: 1rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.promo-banner-subtitle {
    font-size: 1.5rem;
    color: #ff4444;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Alert/Info Bar */
.alert-bar {
    background-color: #333333;
    padding: 0.75rem 1rem;
    margin: 1rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #cccccc;
}

.alert-bar .alert-icon {
    font-size: 1.25rem;
    color: #ffd700;
}

.alert-bar .alert-text {
    flex: 1;
}

.alert-bar .alert-btn {
    background-color: #ffd700;
    color: #2a2a2a;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
}

/* Game Category Cards */
.game-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1rem;
}

.game-category-card {
    background: linear-gradient(135deg, #ffd700, #ffeb3b);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    color: #2a2a2a;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s;
}

.game-category-card:active {
    transform: scale(0.95);
}

.game-category-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* Bottom nav visible on all devices */
.bottom-nav {
    display: flex;
}

body {
    padding-bottom: 90px; /* Space for bottom nav on all devices */
}

/* Desktop adjustments */
@media (min-width: 769px) {
    .app-header {
        padding: 1rem 2rem;
    }
    
    .header-content {
        align-items: center;
    }
    
    .header-right {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .header-btn {
        min-width: 150px;
    }
    
    .bottom-nav {
        max-width: 600px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0;
    }
    
    .main-content {
        padding-bottom: 100px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .app-header {
        padding: 0.75rem 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .header-right {
        width: 100%;
        flex-direction: row;
        justify-content: flex-end;
    }
    
    .header-btn {
        flex: 1;
        min-width: auto;
        justify-content: center;
        padding: 0.5rem;
    }
    
    .header-btn .btn-text {
        font-size: 0.7rem;
    }
    
    .navbar {
        display: none;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .main-content {
        padding: 1rem 0;
        padding-bottom: 90px;
    }
    
    /* Better spacing for bottom nav items */
    .bottom-nav-item {
        padding: 0.5rem 0.25rem;
    }
    
    .bottom-nav-item .nav-icon {
        font-size: 1.5rem;
    }
    
    .bottom-nav-item .nav-label {
        font-size: 0.65rem;
    }
    
    .bottom-nav-spinner {
        width: 60px;
        height: 60px;
        margin-top: -20px;
    }
    
    .bottom-nav-spinner .spinner-text {
        font-size: 0.9rem;
    }
    
    .bottom-nav-spinner .spinner-label {
        font-size: 0.6rem;
    }
}
