/* =============================================
   CasinoWorld – Responsive Design
   ============================================= */

@media (max-width: 1024px) {
    .lobby-info-row { grid-template-columns: 1fr; }
    .profile-layout { grid-template-columns: 1fr; }
    .sidebar { order: -1; }
    .hero-features { grid-template-columns: repeat(3, 1fr); }
    .hero-logo-text { font-size: 2.8rem; }
    .games-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 768px) {
    .header { padding: 0 var(--space-md); height: 56px; }
    .main-content { padding: var(--space-lg); }
    .hero-features { grid-template-columns: 1fr; gap: var(--space-md); }
    .hero-logo-text { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .games-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-lg); }
    .game-card { min-height: 240px; }
    .bonus-banner { flex-direction: column; text-align: center; }
    .modal { width: 95%; padding: var(--space-xl); }
    .badges-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .profile-stats { gap: var(--space-sm); }
    .stat-value { font-size: 1.2rem; }
    .mobile-menu-btn { display: flex !important; }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .hero-logo-text { font-size: 1.8rem; }
    .hero-logo-icon { width: 40px; height: 40px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .header-right { gap: var(--space-sm); }
    .coin-display { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
    .header-username { display: none; }
    .games-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
    .game-card { min-height: 200px; }
    .game-card-icon { width: 56px; height: 56px; }
    .game-card-title { font-size: 1.1rem; }
    .toast { min-width: auto; max-width: 90vw; }
}

.mobile-menu-btn {
    display: none;
    width: 36px; height: 36px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn .icon { width: 20px; height: 20px; }
