/* ═══════════════════════════════════════════════════════════════════════════
   glass.css v2 — Professional UI Redesign + Glassmorphism Layer
   Extends assets/css/style.css — all fixes, no layout breakage
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Variable Overrides ─────────────────────────────────────────────── */
:root {
    /* Rich dark backgrounds */
    --bg-base: #0f172a;
    --bg-deep: #090e1a;
    --bg-surface: #111827;
    --bg-elevated: #1a2234;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --dark-blue: #111827;

    /* Color Theme — Professional Gaming */
    --primary-color: #FFC107;
    /* yellow/gold accent */
    --primary-light: #FFD54F;
    --primary-dark: #FF8F00;
    --primary-glow: rgba(255, 193, 7, 0.35);
    --secondary-color: #F5A623;
    --secondary-glow: rgba(245, 166, 35, 0.30);
    --success: #22c55e;
    --success-glow: rgba(34, 197, 94, 0.30);
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.30);
    --error: #ef4444;
    --error-glow: rgba(239, 68, 68, 0.30);
    --info: #3b82f6;
    --info-glow: rgba(59, 130, 246, 0.30);
    --purple: #a855f7;
    --purple-glow: rgba(168, 85, 247, 0.30);

    /* Clean glass values — subtle & professional */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-bg-hover: rgba(255, 255, 255, 0.09);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-accent: rgba(255, 193, 7, 0.18);
    --glass-blur: blur(14px) saturate(160%);
    --glass-blur-sm: blur(10px);
    --glass-shadow: 0 4px 20px rgba(0, 0, 0, 0.28), 0 1px 4px rgba(0, 0, 0, 0.15);
    --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-gray: #64748b;
    --text-muted: #475569;
    --border-color: rgba(255, 255, 255, 0.07);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 24px var(--primary-glow);

    /* Transitions */
    --transition-fast: 0.18s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.40s ease;

    /* Layout */
    --sidebar-width: 250px;
}

/* ── Keyframe Animations ────────────────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 16px rgba(255, 193, 7, 0.20);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.40);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) skewX(-12deg);
    }

    100% {
        transform: translateX(250%) skewX(-12deg);
    }
}

/* ── Global Base ────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-base);
    background-image:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(255, 193, 7, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 110%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Improve scrollbar */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 193, 7, 0.25);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 193, 7, 0.45);
}

/* ══════════════════════════════════════════════════════════════════════════
   ADMIN LAYOUT — Desktop Container
   ══════════════════════════════════════════════════════════════════════════ */
.admin-main {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    padding: 28px 32px;
    max-width: calc(100vw - var(--sidebar-width));
}

/* Content max-width for large screens */
.admin-main>* {
    max-width: 1300px;
}

/* Admin header */
.admin-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.admin-header h1 {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-header p {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 3px;
}

/* ══════════════════════════════════════════════════════════════════════════
   SIDEBAR — Clean Glass
   ══════════════════════════════════════════════════════════════════════════ */
.admin-sidebar {
    width: var(--sidebar-width) !important;
    background: rgba(9, 14, 26, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.30);
    transform: translateZ(0);
}

.admin-sidebar::before {
    background: linear-gradient(160deg, rgba(255, 193, 7, 0.06) 0%, rgba(168, 85, 247, 0.03) 50%, transparent 100%);
}

/* Sidebar brand */
.sidebar-brand {
    padding: 22px 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Nav items — ADMIN SIDEBAR ONLY (scoped to prevent bleeding into bottom nav) */
.admin-sidebar .nav-item {
    padding: 9px 12px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    border: 1px solid transparent;
    gap: 10px;
}

.admin-sidebar .nav-item:hover {
    color: var(--primary-color) !important;
    background: rgba(255, 193, 7, 0.06) !important;
    border-color: rgba(255, 193, 7, 0.12) !important;
    transform: translateX(3px);
}

.admin-sidebar .nav-item.active {
    color: #000 !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border-color: transparent !important;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.20) !important;
}

/* ── Admin Topbar (mobile) ───────────────────────────────────────────────── */
.admin-topbar {
    background: rgba(9, 14, 26, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
    height: 56px;
}

.hamburger-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    transition: all var(--transition-base);
}

.hamburger-btn:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #000 !important;
    box-shadow: 0 0 14px rgba(255, 193, 7, 0.40) !important;
    transform: scale(1.05);
}

/* ══════════════════════════════════════════════════════════════════════════
   USER PANEL — TOP BAR
   ══════════════════════════════════════════════════════════════════════════ */
.top-bar {
    background: rgba(9, 14, 26, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    padding: 10px 16px;
    height: auto;
}

/* Wallet balance pill */
.top-bar .wallet-balance {
    font-size: 13px !important;
    font-weight: 700;
    background: rgba(255, 193, 7, 0.10) !important;
    border: 1px solid rgba(255, 193, 7, 0.20) !important;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
}

/* Notification bell */
.notification-bell {
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.notification-bell:hover {
    background: rgba(255, 193, 7, 0.12) !important;
    border-color: rgba(255, 193, 7, 0.28) !important;
    box-shadow: 0 0 14px rgba(255, 193, 7, 0.20) !important;
    transform: scale(1.06);
}

/* ══════════════════════════════════════════════════════════════════════════
   BOTTOM NAV — User Panel
   ══════════════════════════════════════════════════════════════════════════ */
.bottom-nav {
    background: var(--nav-bg, rgba(9, 14, 26, 0.92)) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid var(--nav-border, rgba(255, 255, 255, 0.08)) !important;
    border-bottom: none !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08), 0 -6px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

/* Bottom nav item — fully self-contained; overrides any generic .nav-item leakage */
.bottom-nav .nav-item {
    /* Layout — must be fully declared here, not inherited */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    /* Sizing — each item is exactly 1/5 of bar width */
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 20% !important;
    height: 100% !important;
    padding: 6px 2px 10px !important;
    margin: 0 !important;
    gap: 6px !important;
    /* Text */
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.42) !important;
    /* Visual */
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.20s ease, transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1), filter 0.20s ease;
}

.bottom-nav .nav-item:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px) !important;
    filter: drop-shadow(0 0 5px rgba(255, 193, 7, 0.45));
    background: transparent !important;
    border-color: transparent !important;
}

.bottom-nav .nav-item.active {
    color: var(--primary-color) !important;
    filter: drop-shadow(0 0 6px rgba(255, 193, 7, 0.50));
    background: transparent !important;
    transform: translateY(-1px) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   GLASS CARDS — Subtle & Professional
   ══════════════════════════════════════════════════════════════════════════ */
.glass-card,
.stat-card,
.data-table,
.admin-login-card,
.card,
.dash-stat-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--glass-shadow), var(--glass-inset) !important;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Shimmer highlight bar at top */
.glass-card::before,
.stat-card::before,
.data-table::before,
.card::before,
.dash-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), rgba(255, 193, 7, 0.15), rgba(255, 255, 255, 0.12), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Card hover — lift + subtle glow */
.glass-card:hover,
.card:hover {
    background: var(--glass-bg-hover) !important;
    border-color: rgba(255, 193, 7, 0.18) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 193, 7, 0.08), var(--glass-inset) !important;
    transform: translateY(-4px);
}

/* Stat card hover */
.stat-card:hover,
.dash-stat-card:hover {
    background: var(--glass-bg-hover) !important;
    border-color: rgba(255, 193, 7, 0.22) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.40), 0 0 24px rgba(255, 193, 7, 0.10), var(--glass-inset) !important;
    transform: translateY(-5px);
}

/* Stats grid sizing */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 20px 18px;
}

.stat-card h3 {
    font-size: 24px;
    font-weight: 800;
}

.stat-card p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Tournament / Match Cards ────────────────────────────────────────────── */
.tournament-card,
.match-card,
.hgame-card {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: all var(--transition-base);
    overflow: hidden;
    /* Fix: ensure proper flex layout to prevent button overflow */
    display: flex;
    flex-direction: column;
}

.tournament-card:hover,
.match-card:hover {
    background: var(--glass-bg-hover) !important;
    border-color: rgba(255, 193, 7, 0.20) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(255, 193, 7, 0.08) !important;
    transform: translateY(-3px);
}

/* Card body fills available space so buttons stay inside */
.mc-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
}

/* ── Payment Cards ──────────────────────────────────────────────────────── */
.payment-card {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-lg);
    transition: all 0.22s cubic-bezier(0.34, 1.3, 0.64, 1);
    backdrop-filter: blur(10px);
}

.payment-card:hover,
.payment-card.selected {
    background: rgba(255, 193, 7, 0.08) !important;
    border-color: rgba(255, 193, 7, 0.35) !important;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.18) !important;
    transform: translateY(-3px);
}

/* ── Home Stat Pills ─────────────────────────────────────────────────────── */
.home-stat {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.home-stat:hover {
    background: rgba(255, 193, 7, 0.08) !important;
    border-color: rgba(255, 193, 7, 0.22) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 193, 7, 0.10) !important;
}

/* ── Leaderboard / Profile / Transaction items ──────────────────────────── */
.leaderboard-item,
.profile-menu-item,
.transaction-item {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    backdrop-filter: blur(8px);
}

.leaderboard-item:hover,
.profile-menu-item:hover,
.transaction-item:hover {
    background: var(--glass-bg-hover) !important;
    border-color: rgba(255, 193, 7, 0.20) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
}

/* ── Info Cards / Quick Action Cards ────────────────────────────────────── */
.info-card,
.quick-action-card {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    overflow: hidden;
}

.info-card:hover,
.quick-action-card:hover {
    background: var(--glass-bg-hover) !important;
    border-color: rgba(255, 193, 7, 0.22) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.30), 0 0 16px rgba(255, 193, 7, 0.08) !important;
    transform: translateY(-3px);
}

/* Prevent quick action card from using 3D rotate on desktop (looks bad) */
.quick-action-card:hover {
    transform: translateY(-3px) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   DATA TABLE — Glass Container
   ══════════════════════════════════════════════════════════════════════════ */
.data-table {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    margin-bottom: 24px;
}

table.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

table.table thead tr {
    background: rgba(255, 193, 7, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

table.table th {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--primary-color);
    white-space: nowrap;
}

table.table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    vertical-align: middle;
}

table.table tbody tr {
    transition: background var(--transition-fast);
}

table.table tbody tr:hover {
    background: rgba(255, 193, 7, 0.04) !important;
}

table.table tbody tr:last-child td {
    border-bottom: none;
}

/* ── Table responsive wrapper ───────────────────────────────────────────── */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ══════════════════════════════════════════════════════════════════════════
   BUTTONS — Fixed Size & Interactions
   ══════════════════════════════════════════════════════════════════════════ */
.btn,
.form-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 18px;
    height: 40px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
    border: none;
    letter-spacing: 0.2px;
    box-sizing: border-box;
}

/* Ripple wave */
.btn .ripple-wave {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0);
    animation: rippleEffect 0.55s linear;
    pointer-events: none;
}

.btn:active {
    transform: scale(0.96) !important;
}

/* Button sizes */
.btn-sm {
    height: 34px;
    padding: 6px 13px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    height: 48px;
    padding: 12px 24px;
    font-size: 15px;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

/* Primary */
.btn-primary,
.form-btn {
    background: linear-gradient(135deg, #FFC107 0%, #F5A623 100%);
    color: #000 !important;
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover,
.form-btn:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.08);
    box-shadow: 0 8px 22px rgba(255, 193, 7, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #000 !important;
}

.btn-primary:active,
.form-btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.25), inset 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* Success */
.btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.30);
}

.btn-success:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.08);
    box-shadow: 0 8px 22px rgba(34, 197, 94, 0.45);
    color: #fff !important;
}

/* Secondary */
.btn-secondary {
    background: linear-gradient(135deg, #F5A623, #d97706);
    color: #000 !important;
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.30);
}

.btn-secondary:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.08);
    box-shadow: 0 8px 22px rgba(245, 166, 35, 0.45);
    color: #000 !important;
}

/* Danger */
.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.30);
}

.btn-danger:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.08);
    box-shadow: 0 8px 22px rgba(239, 68, 68, 0.45);
    color: #fff !important;
}

/* Warning */
.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000 !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.30);
}

.btn-warning:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.08);
    color: #000 !important;
}

/* Ghost */
.btn-ghost {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: var(--primary-color);
    backdrop-filter: blur(8px);
    padding: 9px 18px;
}

.btn-ghost:hover {
    background: rgba(255, 193, 7, 0.09) !important;
    border-color: rgba(255, 193, 7, 0.28) !important;
    box-shadow: 0 0 14px rgba(255, 193, 7, 0.16);
    transform: translateY(-2px) scale(1.02);
}

/* ══════════════════════════════════════════════════════════════════════════
   FORM INPUTS — Clean Glass
   ══════════════════════════════════════════════════════════════════════════ */
.form-input,
.form-select,
.form-textarea,
.auth-input {
    width: 100%;
    padding: 10px 14px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: var(--radius-md);
    color: var(--text-primary) !important;
    font-size: 13.5px;
    font-family: 'Inter', sans-serif;
    transition: all var(--transition-base);
    outline: none;
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.12);
}

.form-textarea {
    height: auto;
    min-height: 90px;
}

.form-input::placeholder,
.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.auth-input:focus {
    border-color: rgba(255, 193, 7, 0.40) !important;
    background: rgba(255, 193, 7, 0.04) !important;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.10), inset 0 1px 4px rgba(0, 0, 0, 0.08) !important;
}

.form-select {
    cursor: pointer;
}

.form-select option {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* Input group icon */
.input-group .input-icon {
    color: rgba(255, 193, 7, 0.55);
    transition: color var(--transition-base);
}

.input-group:focus-within .input-icon {
    color: var(--primary-color);
}

/* Search bar */
.search-bar {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    backdrop-filter: blur(8px);
    height: 38px;
    padding: 0 12px;
}

.search-bar:focus-within {
    border-color: rgba(255, 193, 7, 0.30) !important;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.08) !important;
}

.search-bar input {
    width: 180px;
}

/* Form group label */
.form-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
}

/* ══════════════════════════════════════════════════════════════════════════
   MODALS — Clean Glass + Slide-Up
   ══════════════════════════════════════════════════════════════════════════ */
.modal-overlay,
.modal {
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.modal-box,
.modal-content {
    background: rgba(17, 24, 39, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 193, 7, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
    transform: translateY(24px) scale(0.97);
    opacity: 0;
    transition: all 0.30s cubic-bezier(0.34, 1.3, 0.64, 1);
    max-width: 520px;
    width: 100%;
    padding: 24px;
}

.modal-overlay.show .modal-box,
.modal.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-box::before,
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), rgba(255, 193, 7, 0.14), rgba(255, 255, 255, 0.12), transparent);
    pointer-events: none;
}

.modal-close {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.modal-close:hover {
    background: var(--error) !important;
    border-color: var(--error) !important;
    transform: scale(1.08);
}

/* ══════════════════════════════════════════════════════════════════════════
   TOASTS
   ══════════════════════════════════════════════════════════════════════════ */
.toast {
    background: rgba(17, 24, 39, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    animation: slideInRight 0.30s cubic-bezier(0.34, 1.3, 0.64, 1) both;
    font-size: 13.5px;
}

/* ══════════════════════════════════════════════════════════════════════════
   BADGES & ALERTS
   ══════════════════════════════════════════════════════════════════════════ */
.badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border-left-width: 3px;
    font-size: 13.5px;
    backdrop-filter: blur(8px);
    margin-bottom: 14px;
}

/* ══════════════════════════════════════════════════════════════════════════
   AUTH PAGES — Premium Glass Card
   ══════════════════════════════════════════════════════════════════════════ */
.auth-card {
    background: rgba(17, 24, 39, 0.90) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 24px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.50),
        0 0 0 1px rgba(255, 193, 7, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    padding: 32px 28px;
}

.auth-submit-btn {
    height: 46px;
    padding: 0 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #FFC107, #F5A623) !important;
    box-shadow: 0 6px 18px rgba(255, 193, 7, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    transition: all 0.28s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    color: #000 !important;
}

.auth-submit-btn:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 10px 28px rgba(255, 193, 7, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    filter: brightness(1.07);
}

.auth-submit-btn:active {
    transform: scale(0.97) !important;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.28), inset 0 2px 6px rgba(0, 0, 0, 0.18) !important;
}

.auth-input {
    height: 44px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
}

.auth-input:focus {
    border-color: rgba(255, 193, 7, 0.38) !important;
    background: rgba(255, 193, 7, 0.04) !important;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.09) !important;
}

.auth-logo-ring {
    animation: glowPulse 3.5s ease-in-out infinite;
}

/* ── Admin Login Card ───────────────────────────────────────────────────── */
.admin-login-card {
    background: rgba(17, 24, 39, 0.92) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.50), 0 0 40px rgba(255, 193, 7, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
    border-radius: 20px;
}

/* ══════════════════════════════════════════════════════════════════════════
   WALLET SECTION — Purple Premium Glass
   ══════════════════════════════════════════════════════════════════════════ */
.wallet-summary {
    background: linear-gradient(135deg,
            rgba(168, 85, 247, 0.12) 0%,
            rgba(17, 24, 39, 0.85) 60%,
            rgba(255, 193, 7, 0.06) 100%) !important;
    border: 1px solid rgba(168, 85, 247, 0.20) !important;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.30), 0 0 24px rgba(168, 85, 247, 0.10);
}

.wallet-balance {
    font-size: 30px !important;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
}

/* ══════════════════════════════════════════════════════════════════════════
   FILTER CHIPS
   ══════════════════════════════════════════════════════════════════════════ */
.filter-btn,
.mf-chip {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    backdrop-filter: blur(8px);
    transition: all var(--transition-base);
    height: 34px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
}

.mf-chip:hover:not(.active),
.filter-btn:hover:not(.active) {
    background: rgba(255, 193, 7, 0.08) !important;
    border-color: rgba(255, 193, 7, 0.25) !important;
    color: var(--text-primary) !important;
    transform: translateY(-1px);
}

.mf-chip.active,
.filter-btn.active {
    background: linear-gradient(135deg, #FFC107, #F5A623) !important;
    border-color: transparent !important;
    color: #000 !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.28);
}

/* ══════════════════════════════════════════════════════════════════════════
   MC DETAIL BOXES
   ══════════════════════════════════════════════════════════════════════════ */
.mc-detail {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.mc-detail:hover {
    background: rgba(255, 193, 7, 0.06) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGE-LEVEL FADE-UP ANIMATIONS
   ══════════════════════════════════════════════════════════════════════════ */
.admin-main>.admin-header {
    animation: fadeUp 0.30s ease both;
}

.admin-main>.stats-grid {
    animation: fadeUp 0.35s 0.04s ease both;
}

.admin-main>.data-table {
    animation: fadeUp 0.35s 0.08s ease both;
}

.admin-main>.glass-card {
    animation: fadeUp 0.35s 0.06s ease both;
}

.stats-grid .stat-card:nth-child(1) {
    animation: fadeUp 0.30s 0.04s ease both;
}

.stats-grid .stat-card:nth-child(2) {
    animation: fadeUp 0.30s 0.08s ease both;
}

.stats-grid .stat-card:nth-child(3) {
    animation: fadeUp 0.30s 0.12s ease both;
}

.stats-grid .stat-card:nth-child(4) {
    animation: fadeUp 0.30s 0.16s ease both;
}

.stats-grid .stat-card:nth-child(5) {
    animation: fadeUp 0.30s 0.20s ease both;
}

.stats-grid .stat-card:nth-child(6) {
    animation: fadeUp 0.30s 0.24s ease both;
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════════════════════════ */
.page-btn {
    height: 34px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: var(--radius-sm);
    font-size: 13px;
    transition: all var(--transition-base);
}

.page-btn:hover {
    background: rgba(255, 193, 7, 0.09) !important;
    border-color: rgba(255, 193, 7, 0.30) !important;
    transform: translateY(-1px);
}

.page-btn.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #000 !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.30);
}

/* ══════════════════════════════════════════════════════════════════════════
   ROOM INFO / KILL STRIP
   ══════════════════════════════════════════════════════════════════════════ */
.room-info,
.kill-strip {
    border-radius: 10px;
    backdrop-filter: blur(8px);
}

/* ══════════════════════════════════════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════════════════════════════════════ */
.home-empty,
.empty-state {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px dashed rgba(255, 255, 255, 0.09) !important;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(8px);
}

/* ══════════════════════════════════════════════════════════════════════════
   ADMIN DASHBOARD QUICK CARDS
   ══════════════════════════════════════════════════════════════════════════ */
.qa-card,
.dash-stat-card {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(12px);
    transition: all var(--transition-base);
    border-radius: var(--radius-lg);
}

.qa-card:hover {
    background: var(--glass-bg-hover) !important;
    border-color: rgba(255, 193, 7, 0.20) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30), 0 0 16px rgba(255, 193, 7, 0.08) !important;
    color: var(--text-primary) !important;
}

.qa-card i {
    transition: transform 0.25s;
}

.qa-card:hover i {
    transform: scale(1.18);
}

/* ══════════════════════════════════════════════════════════════════════════
   ACTIVITY FEED (Admin Dashboard)
   ══════════════════════════════════════════════════════════════════════════ */
.activity-wrap {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
}

.activity-item {
    transition: background var(--transition-fast);
}

.activity-item:hover {
    background: rgba(255, 193, 7, 0.03) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   SIDEBAR OVERLAY
   ══════════════════════════════════════════════════════════════════════════ */
.sidebar-overlay {
    backdrop-filter: blur(5px) brightness(0.75);
}

/* ══════════════════════════════════════════════════════════════════════════
   TEXT IMPROVEMENTS
   ══════════════════════════════════════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

/* Gradient text fix */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section headers */
.admin-header h1 i {
    color: var(--primary-color);
}

/* Profile stats grid */
.profile-stats {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

/* ══════════════════════════════════════════════════════════════════════════
   DESKTOP LAYOUT — MAX WIDTH & SPACING
   ══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1200px) {
    .admin-main {
        padding: 32px 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   TABLET LAYOUT (768px–1024px)
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) and (min-width: 769px) {
    .admin-main {
        padding: 24px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE LAYOUT (≤768px)
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --glass-blur: blur(10px) saturate(140%);
        --glass-blur-sm: blur(8px);
    }

    .admin-main {
        margin-left: 0;
        padding: 70px 14px 24px;
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .modal-box,
    .modal-content {
        margin: 0 12px;
        max-width: calc(100vw - 24px) !important;
        border-radius: 16px;
    }

    /* Reduce 3D effects on mobile */
    .glass-card:hover,
    .card:hover,
    .stat-card:hover,
    .dash-stat-card:hover,
    .tournament-card:hover {
        transform: translateY(-2px) !important;
    }

    /* Table scroll hint */
    .table-responsive::after {
        content: '← Scroll →';
        display: block;
        text-align: center;
        font-size: 11px;
        color: var(--text-muted);
        padding: 6px 0;
    }

    /* Filter chips scroll */
    .match-filter-row,
    .match-filters {
        flex-wrap: nowrap;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   SMALL MOBILE (≤480px)
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px;
    }

    .stat-card {
        padding: 16px 14px;
    }

    .stat-card h3 {
        font-size: 20px;
    }

    .admin-header h1 {
        font-size: 18px;
    }

    .btn,
    .form-btn {
        height: 40px;
        font-size: 13px;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .search-bar input {
        width: 110px;
    }

    .auth-card {
        padding: 24px 18px;
    }

    /* Stack wallet actions on tiny screens */
    .wallet-actions {
        grid-template-columns: 1fr !important;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   PERFORMANCE — GPU hints
   ══════════════════════════════════════════════════════════════════════════ */
.admin-sidebar,
.top-bar,
.bottom-nav,
.modal-box,
.modal-content,
.admin-topbar {
    transform: translateZ(0);
    will-change: transform;
    contain: layout style;
}

.btn,
.nav-item,
.card,
.glass-card,
.stat-card {
    will-change: transform;
}

/* ══════════════════════════════════════════════════════════════════════════
   MISC FIXES
   ══════════════════════════════════════════════════════════════════════════ */

/* Prevent overflow anywhere */
.mobile-container {
    overflow-x: hidden;
    background: linear-gradient(160deg, #0f172a 0%, #111827 60%, #0d1525 100%);
}

/* Kill submit btn fix */
.kill-submit-btn {
    height: 38px;
    font-size: 12px;
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    color: var(--error) !important;
    border-radius: 8px;
    transition: all var(--transition-base);
}

.kill-submit-btn:hover {
    background: rgba(239, 68, 68, 0.20) !important;
    transform: scale(1.02);
}

/* Slider dots */
.dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 6px var(--primary-glow);
}

/* Progress bar */
.progress {
    background: rgba(255, 255, 255, 0.06) !important;
    height: 5px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Neon dot */
.neon-dot {
    box-shadow: 0 0 6px var(--success);
}

/* Spinner */
.spinner {
    border-color: rgba(255, 255, 255, 0.08);
    border-top-color: var(--primary-color);
}

/* Avatar */
.avatar {
    box-shadow: 0 0 14px rgba(255, 193, 7, 0.28);
}

/* Profile avatar */
.profile-avatar {
    box-shadow: 0 0 24px var(--primary-glow), 0 6px 16px rgba(0, 0, 0, 0.40);
    border-color: rgba(255, 193, 7, 0.35) !important;
}

/* Switch */
.switch input:checked+.switch-slider {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Tabs */
.tab-btn.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.tab-btn:hover {
    color: var(--text-primary);
}

/* Range slider */
.range-slider::-webkit-slider-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Data table header */
.data-table>div:first-child,
.table-header-row {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Native <select> options: force readable black-on-white (this file’s .form-select option
   would otherwise win over style.css due to load order / specificity) */
select option,
select.form-select option,
.form-select option,
select.form-input option {
    background: #fff !important;
    color: #000 !important;
}

/* Admin: glass .form-input/.form-select loads above and wins tie-breaker over style.css —
   force every admin native select + dropdown list to white background and black text. */
.admin-main select,
.admin-main select.form-input,
.admin-main select.form-select,
.admin-header select,
.admin-sidebar select,
#adminSidebar select,
.modal.admin-modal select,
.data-table select,
table.table select {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #d1d5db !important;
    -webkit-text-fill-color: #000000 !important;
}

.admin-main select:focus,
.admin-main select.form-input:focus,
.admin-main select.form-select:focus,
.admin-header select:focus,
.data-table select:focus,
table.table select:focus {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #f59e0b !important;
    -webkit-text-fill-color: #000000 !important;
}

.admin-main select:disabled,
.admin-main select.form-input:disabled {
    background: #f3f4f6 !important;
    color: #555555 !important;
    -webkit-text-fill-color: #555555 !important;
}

.admin-main select option,
.admin-main select.form-input option,
.admin-main select.form-select option,
.admin-header select option,
.admin-sidebar select option,
.data-table select option,
table.table select option {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Prevent OS “dark” native popups from forcing unreadable light-on-light in some browsers */
.admin-main select,
.admin-main select.form-input,
.admin-header select,
.admin-sidebar select,
.data-table select,
table.table select {
    color-scheme: light;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Admin panel — fast transitions, transform/opacity only, minimal blur/shadow
   (smooth UX on lower-end devices; does not change user-panel glass.css rules)
   ═══════════════════════════════════════════════════════════════════════════ */
.admin-sidebar,
.admin-topbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.18) !important;
    transform: translateZ(0);
}

.admin-topbar {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.22) !important;
}

.admin-sidebar .nav-item {
    transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, opacity 0.22s ease !important;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.admin-sidebar .nav-item:hover {
    transform: translate3d(3px, 0, 0) !important;
}

.admin-sidebar .nav-item.active {
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.24) !important;
}

.admin-main .glass-card,
.admin-main .card,
.admin-main .data-table {
    transition: transform 0.22s ease, opacity 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    will-change: transform, opacity;
}

.admin-main .filter-btn,
.admin-main .form-btn,
.admin-header .filter-btn {
    transition: transform 0.22s ease, opacity 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
    transform: translateZ(0);
}