
/* ============================================
   BET365 INSPIRED PREMIUM DESIGN
   Colors: Dark theme with elegant green accent
============================================ */

:root {
    --bg-main: #111827;
    --bg-header: #0F172A;
    --bg-footer: #0B1220;
    --primary: #00A651;
    --primary-hover: #00C266;
    --text: #F8FAFC;
    --text-secondary: #94A3B8;
    --border: rgba(255,255,255,.08);
    --border-hover: rgba(0,166,81,.3);
    --header-height: 54px; /* reference: 3.375rem on mobile */
    --shadow: 0 4px 16px rgba(0,0,0,.5);
    --radius: 8px;
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-main);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ══════════════════════════════════════════
   PREMIUM TIPWIN365 HEADER DESIGN SYSTEM
══════════════════════════════════════════ */

:root {
    /* Header Variables (--header-height is set above: 54px mobile / 64px desktop) */
    
    /* Colors */
    --color-primary: #FFD43B;
    --color-primary-end: #FFC928;
    --color-primary-dark: #163A3A;
    --color-surface: rgba(255,255,255,.08);
    --color-border: rgba(255,255,255,.08);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0,0,0,.15);
    --shadow-md: 0 8px 25px rgba(0,0,0,.20);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.30);
    --shadow-primary: 0 8px 18px rgba(255,212,59,.30);
    --shadow-glow: 0 6px 16px rgba(255,212,59,.45);
    
    /* Transitions */
    --transition-fast: 200ms ease-out;
    --transition-base: 220ms ease-out;
}

/* ══════════════════════════════════════════
   HEADER - STICKY PREMIUM CONTAINER
══════════════════════════════════════════ */

.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    
    /* Premium gradient background - matches mobile sidebar */
    background: linear-gradient(
        180deg,
        #2F6C6D 0%,
        #38797A 45%,
        #5AA17E 100%
    );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    
    /* Elegant border and shadow */
    border-bottom: 1px solid rgba(255,255,255,.05);
    box-shadow: 0 4px 18px rgba(0,0,0,.18);
    
    /* Flexbox layout - three zones */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left));
    gap: 8px;
    
    z-index: 9999;
    transition: var(--transition-base);
}

/* ─────────────────────────────────────────
   LEFT ZONE - Hamburger + Logo
───────────────────────────────────────── */

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto; /* takes the space left of the actions so the logo shrinks instead of overlapping */
}

/* Hamburger Menu - 44x44 Glass Button */





@media (min-width: 992px) {
    :root { --header-height: 64px; }
}

/* Logo - Sharp rendering, perfect alignment */
.logo {
    display: flex;
    align-items: center;
    line-height: 0;
    min-width: 0;
}

.logo img {
    max-height: 24px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform var(--transition-fast);
}

.logo:hover img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .logo img {
        max-height: 22px;
    }
}

@media (min-width: 992px) {
    .logo img {
        max-height: 24px;
    }
}

/* ─────────────────────────────────────────
   CENTER ZONE - Desktop Navigation
───────────────────────────────────────── */

.desktop-nav {
    display: none;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
    flex: 1;
    max-width: 600px;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: var(--header-height);
    padding: 0 20px;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: var(--transition-fast);
}

.desktop-nav a:hover {
    color: white;
}

.desktop-nav a.active {
    color: var(--color-primary);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px 2px 0 0;
    transition: transform var(--transition-fast);
    box-shadow: 0 0 12px rgba(255,212,59,.5);
}

.desktop-nav a:hover::after {
    transform: translateX(-50%) scaleX(0.5);
}

.desktop-nav a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.desktop-nav a img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.desktop-nav a:hover img,
.desktop-nav a.active img {
    opacity: 1;
}

/* ─────────────────────────────────────────
   RIGHT ZONE - Action Buttons
───────────────────────────────────────── */

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Bonus Button - Circular Gradient */
.bonus-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-end) 100%);
    color: var(--color-primary-dark);
    font-size: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    cursor: pointer;
    flex-shrink: 0;
}

.bonus-badge:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-glow);
}

.bonus-badge:active {
    transform: scale(0.95);
}

/* Register Button - Premium Gradient */
.register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px; /* reference button height */
    padding: 0 14px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-end) 100%);
    border: none;
    color: var(--color-primary-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: var(--shadow-primary);
    transition: var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.05);
}

.register-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Login Button - Glass Style */
.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 34px; /* reference button height */
    padding: 0 14px;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: white;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.login-btn:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-2px);
}

.login-btn:active {
    transform: translateY(0) scale(0.98);
}

.login-btn i {
    font-size: 14px;
}

/* Responsive button adjustments */
@media (max-width: 414px) {
    .header-actions {
        gap: 6px;
    }
    
    .register-btn,
    .login-btn {
        padding: 0 14px;
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .login-btn span {
        display: none;
    }
    .login-btn {
        padding: 0 12px;
    }
    .register-btn {
        padding: 0 12px;
    }
}

/* ─────────────────────────────────────────
   AUTHENTICATED USER - Wallet & Profile
───────────────────────────────────────── */

/* Wallet Card - Glass with accent */
.wallet-box {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 0 14px;
    border-radius: var(--radius-md);
    background: rgba(255,212,59,.12);
    border: 1px solid rgba(255,212,59,.25);
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.wallet-box:hover {
    background: rgba(255,212,59,.18);
    border-color: rgba(255,212,59,.35);
    transform: translateY(-2px);
}

.wallet-box:active {
    transform: translateY(0) scale(0.98);
}

.wallet-box i {
    color: var(--color-primary);
    font-size: 16px;
}

.wallet-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.wallet-info small {
    font-size: 9px;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 1;
}

.wallet-info span {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.2px;
    line-height: 1;
}

/* Hide wallet label on small screens */
@media (max-width: 414px) {
    .wallet-info small {
        display: none;
    }
    .wallet-info {
        gap: 0;
    }
}

/* User Menu Button - Circular Avatar */
/* User Menu Button - Circular Avatar */
.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: white;
    font-size: 14px;
    transition: var(--transition-fast);
    cursor: pointer;
    flex-shrink: 0;
}

.menu-btn:hover {
    background: rgba(255,255,255,.12);
    transform: scale(1.08);
    border-color: var(--color-primary);
}

.menu-btn:active {
    transform: scale(0.95);
}

/* User dropdown: markup, styles and behaviour live in partials/user_dropdown.blade.php */

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN - Mobile First
═══════════════════════════════════════════════════════════════ */

/* Large Tablets & Desktop */
@media (min-width: 1024px) {
    .header {
        padding: 0 24px;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1023px) {
    .header {
        padding: 0 20px;
    }
    
    .desktop-nav {
        margin-left: 12px;
    }
}

/* Large Mobile */
@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }
}

/* Standard Mobile (414px - iPhone 11 Pro Max) */
@media (max-width: 414px) {
    .header {

        gap: 10px;
    }
    
    .header-left {
        gap: 10px;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .register-btn,
    .login-btn {
        padding: 0 14px;
        font-size: 12px;
    }
}

/* iPhone 12/13/14 Pro (390px) */
@media (max-width: 390px) {
    .header {

        gap: 8px;
    }
    
    .wallet-box {
        padding: 0 10px;
    }
}

/* iPhone SE (375px) */
@media (max-width: 420px) {
    .login-btn span {
        display: none;
    }
    
    .login-btn {
        padding: 0 12px;
    }
    
    .register-btn {
        padding: 0 12px;
    }
}

/* Galaxy Fold / Small Mobile (360px) */
@media (max-width: 360px) {
    .header {

        gap: 6px;
    }
    
    .header-left {
        gap: 8px;
    }
    
    .header-actions {
        gap: 5px;
    }
    
    .bonus-badge {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    
    .register-btn,
    .login-btn,
    .wallet-box {
        height: 34px;
    }
}

/* Extra Small Mobile (320px) */
@media (max-width: 320px) {
    .header {

        gap: 5px;
    }
    
    
    .logo img {
        max-height: 20px;
    }
    
    .register-btn {
        padding: 0 10px;
        font-size: 11px;
    }
    
    .bonus-badge,
    .menu-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        height: 56px;
    }
    
    .desktop-nav a {
        height: 56px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═════════════════════════════════════════════
   PREMIUM MOBILE SIDEBAR - Tipwin365 Style
   Modern casino design with glassmorphism
═════════════════════════════════════════════ */



.tw-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 84vw;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    
    /* Premium gradient background */
    background: linear-gradient(
        180deg,
        #2F6C6D 0%,
        #38797A 45%,
        #5AA17E 100%
    );
    
    /* Rounded on right side only */
    border-radius: 0 22px 22px 0;
    
    /* Soft shadow */
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    
    /* Smooth slide animation */
    transform: translateX(-100%);
    visibility: hidden; /* keeps closed drawer out of tab order */
    transition: transform .3s ease-out, visibility 0s linear .3s;
    padding-top: env(safe-area-inset-top);
    overscroll-behavior: contain;
    
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tw-menu.show {
    transform: translateX(0);
    visibility: visible;
    transition: transform .3s ease-out, visibility 0s;
}

/* RTL (Arabic): drawer slides in from the right */
[dir="rtl"] .tw-menu {
    left: auto;
    right: 0;
    transform: translateX(100%);
    border-radius: 22px 0 0 22px;
}
[dir="rtl"] .tw-menu.show {
    transform: translateX(0);
}
/* keep the logo clear of the close button (LTR and RTL) */
.tw-menu .tw-header {
    padding-inline: 60px;
}
.tw-menu .tw-logo {
    max-width: 100%;
    height: auto;
    max-height: 38px;
    object-fit: contain;
}

[dir="rtl"] .header-actions {
    margin-left: 0;
    margin-right: auto;
}

/* ─── Header Section - Centered logo ─── */
.tw-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 18px;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.tw-logo {
    height: 42px;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,.25));
    transition: transform .2s ease;
}

.tw-logo:hover {
    transform: scale(1.05);
}




/* ─── Scrollable Body ─── */
.tw-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 18px;
}

.tw-body::-webkit-scrollbar {
    width: 3px;
}

.tw-body::-webkit-scrollbar-track {
    background: transparent;
}

.tw-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.15);
    border-radius: 10px;
}

.tw-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,.25);
}

/* ─── User Profile Card ─── */
.tw-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    margin-bottom: 18px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.tw-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #173A3A;
    background: #FFD43B;
    box-shadow: 0 0 0 3px rgba(255,212,59,.2);
}

.tw-profile-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tw-username {
    font-size: 15px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tw-balance-label {
    font-size: 10px;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.tw-balance {
    font-size: 16px;
    font-weight: 700;
    color: #FFD43B;
    letter-spacing: -0.3px;
}

/* ─── Quick Actions ─── */
.tw-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.tw-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: white;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s ease;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.tw-btn:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-2px);
}

.tw-btn:active {
    transform: translateY(0) scale(0.97);
}

.tw-btn--primary {
    background: #FFD43B;
    border-color: #FFD43B;
    color: #173A3A;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255,212,59,.25);
}

.tw-btn--primary:hover {
    background: #FFE66D;
    box-shadow: 0 6px 20px rgba(255,212,59,.35);
}

.tw-btn--logout {
    background: rgba(239,68,68,.12);
    border-color: rgba(239,68,68,.25);
    color: #ef4444;
}

.tw-btn--logout:hover {
    background: rgba(239,68,68,.18);
}

.tw-btn--full {
    grid-column: 1 / -1;
}

/* ─── Section Headers (SPORT, GAMES, etc.) ─── */
.tw-nav-section {
    margin: 26px 0 12px;
}

.tw-nav-section:first-child {
    margin-top: 0;
}

.tw-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 12px 0;
    cursor: pointer;
    user-select: none;
    transition: opacity .2s ease;
}

.tw-section-header:hover {
    opacity: 0.8;
}

.tw-section-header:active {
    opacity: 0.6;
}

.tw-section-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tw-section-title i {
    display: none;
}

.tw-section-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: rgba(255,255,255,.5);
    font-size: 12px;
    transition: transform .2s ease;
}

.tw-section-header.collapsed .tw-section-toggle {
    transform: rotate(-90deg);
}

/* ─── Menu Items Container ─── */
.tw-nav-items {
    overflow: hidden;
    transition: max-height .3s ease, opacity .2s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tw-nav-items.collapsed {
    max-height: 0 !important;
    opacity: 0;
}

/* ─── Individual Menu Items - Tipwin365 Style ─── */
.tw-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 16px;
    gap: 14px;
    
    /* Normal state - transparent */
    background: transparent;
    border: 1px solid transparent;
    border-radius: 14px;
    
    color: white;
    font-size: 14px;
    font-weight: 500;
    
    transition: all .2s ease;
    cursor: pointer;
}

.tw-nav-item i {
    font-size: 22px;
    width: 22px;
    text-align: center;
    color: rgba(255,255,255,.7);
    transition: all .2s ease;
    flex-shrink: 0;
}

/* Hover state */
.tw-nav-item:hover {
    background: rgba(255,255,255,.08);
    transform: translateX(4px);
}

.tw-nav-item:hover i {
    color: white;
}

/* Active state - Yellow outline exactly like Tipwin365 */
.tw-nav-item.is-active {
    background: rgba(255,212,59,.08);
    border: 2px solid #FFD43B;
    color: white;
    box-shadow: 0 0 20px rgba(255,212,59,.18);
}

.tw-nav-item.is-active i {
    color: #FFD43B;
}

/* ─── Footer Section ─── */
.tw-footer {
    padding: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.15);
    backdrop-filter: blur(10px);
}

.tw-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.tw-footer-row + .tw-footer-row {
    border-top: 1px solid rgba(255,255,255,.06);
}

.tw-footer-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.tw-clock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.tw-clock i {
    color: #FFD43B;
    font-size: 14px;
}

/* Language Card - Glass style at bottom */
.tw-lang {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: rgba(255,255,255,.08);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.tw-lang-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255,255,255,.7);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all .2s ease;
}

.tw-lang-btn:hover {
    background: rgba(255,255,255,.08);
    color: white;
}

.tw-lang-btn:active {
    transform: scale(0.95);
}

.tw-lang-btn.is-active {
    background: #FFD43B;
    border-color: #FFD43B;
    color: #173A3A;
    font-weight: 800;
    box-shadow: 0 2px 12px rgba(255,212,59,.25);
}

/* Support Button */
.tw-footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: white;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease;
    margin-top: 14px;
    backdrop-filter: blur(8px);
}

.tw-footer-btn:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-2px);
}

.tw-footer-btn:active {
    transform: translateY(0) scale(0.98);
}

.tw-footer-btn i {
    font-size: 16px;
    color: rgba(255,255,255,.7);
}

/* ─── Responsive Breakpoints ─── */
@media (max-width: 414px) {
    .tw-menu {
        width: 90vw;
        max-width: 100%;
    }
    
    .tw-body {
        padding: 16px;
    }
    
    .tw-nav-item {
        height: 48px;
        font-size: 13px;
    }
    
    .tw-nav-item i {
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .tw-menu {
        width: 95vw;
    }
    
    .tw-header {
        padding: 20px 16px;
    }
    
    .tw-logo {
        height: 38px;
    }
    
    .tw-body {
        padding: 14px;
    }
    
    .tw-nav-item {
        height: 46px;
        padding: 0 14px;
        font-size: 13px;
    }
    
    .tw-section-title {
        font-size: 10px;
    }
}

@media (max-width: 320px) {
    .tw-menu {
        width: 100%;
        max-width: 100vw;
        border-radius: 0;
    }
    
    .tw-body {
        padding: 12px;
    }
}

/* ============================================
   LOGIN MODAL (for guests)
============================================ */

