/* ================= CSS STYLES ================= */
@font-face {
    font-family: 'Vartek Condensed';
    src: url('../fonts/vartek-condensed-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
:root {
    --primary: #F77F00;
    --primary-dark: #E63946;
    --bg-color: #08080c;
    --text-dark: #f8f9fa;
    --text-light: #cbd5e0;
    --white: rgba(30, 30, 35, 0.4);
    --card-bg: rgba(30, 30, 35, 0.4);
    --border-color: rgba(255, 255, 255, 0.05);
    --input-bg: rgba(255, 255, 255, 0.05);
    --sidebar-width: 280px;
    
    /* Glassmorphism primitives */
    --glass-bg: rgba(30, 30, 35, 0.4);
    --glass-blur: blur(16px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Fiery Dark Pro additions */
    --gradient-fiery: linear-gradient(45deg, #E63946, #F77F00);
    --gradient-fiery-hover: linear-gradient(45deg, #d62d3a, #e57100);
    --success-color: #00E676;
    --danger-color: #FF3B30;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

body,
.match-card,
.game-card,
.panel,
.modal-content,
.auth-page,
.sidebar,
.sidebar-header,
.tab-btn {
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vartek Condensed', 'Poppins', 'Hind Siliguri', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: 
        radial-gradient(at 0% 0%, rgba(76, 29, 149, 0.15) 0px, transparent 50%), 
        radial-gradient(at 100% 0%, rgba(247, 127, 0, 0.15) 0px, transparent 50%), 
        radial-gradient(at 100% 100%, rgba(17, 24, 39, 0.3) 0px, transparent 50%), 
        radial-gradient(at 0% 100%, rgba(76, 29, 149, 0.15) 0px, transparent 50%), 
        var(--bg-color);
    background-attachment: fixed;
    color: var(--text-dark);
    padding-bottom: 80px;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* --- HEADER --- */
header {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    min-width: 0;
}

.logo img {
    height: 45px;
    object-fit: contain;
}

.logo-text {
    font-weight: 800;
    font-size: 22px;
    color: var(--primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-btn {
    display: none;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-login-nav {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 6px 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.btn-reg-nav {
    background: var(--gradient-fiery);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.user-nav {
    display: none;
    align-items: center;
    gap: 15px;
}

.balance-pill {
    background: #222;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
    max-width: 130px;
    overflow: hidden;
}

.icon-btn {
    font-size: 22px;
    color: #333;
    cursor: pointer;
    position: relative;
}

.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    display: none;
}

/* --- AUTH PAGES (FULL SCREEN) --- */
.auth-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 2000;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-page.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.auth-sub {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* --- SIDEBAR MENU --- */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: var(--sidebar-width);
    height: 100%;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 999;
    transition: right 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    max-width: 85vw;
    border-left: var(--glass-border);
}

.sidebar.active {
    right: 0;
}

.notif-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: var(--sidebar-width);
    height: 100%;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 999;
    transition: right 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    max-width: 85vw;
    border-left: var(--glass-border);
}

.notif-sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: transparent;
    position: relative;
}

.sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 22px;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.sidebar-close:hover {
    background: rgba(247, 127, 0, 0.15);
    color: var(--primary);
    border-color: var(--primary);
}

.sidebar-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #eee;
    object-fit: cover;
    border: 3px solid var(--primary);
    padding: 2px;
}

.user-info {
    text-align: center;
}

.sidebar-menu {
    list-style: none;
    padding: 15px 0;
    overflow-y: auto;
    flex: 1;
}

.sidebar-menu li {
    padding: 14px 25px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    font-weight: 500;
    border-left: 4px solid transparent;
}

.sidebar-menu li:hover {
    background: rgba(247, 127, 0, 0.06);
    color: var(--primary);
    border-left-color: var(--primary);
    transform: translateX(5px);
}

.sidebar-menu li i {
    width: 25px;
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.25s ease, transform 0.25s ease;
}

.sidebar-menu li:hover i {
    color: var(--primary);
    transform: translateX(3px);
}

.notif-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.notif-icon {
    width: 35px;
    height: 35px;
    background: #fff0f0;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-content h5 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
}

.notif-content p {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

/* --- MAIN SECTIONS --- */
.app-section {
    padding: 15px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO & SLIDER */
.hero-banner {
    margin-top: 15px;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-container {
    width: 100%;
    aspect-ratio: 16 / 6;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.slide-fallback {
    background: radial-gradient(circle at center, #1a1a2e 0%, #08080c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.slide-fallback::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Ccircle cx="50" cy="50" r="1" fill="rgba(247, 127, 0, 0.2)"/%3E%3C/svg%3E');
    opacity: 0.3;
}

.fallback-content h1 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-light);
    margin-bottom: 8px;
    opacity: 0.8;
}

.fallback-content h2 {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-fiery);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(247, 127, 0, 0.3);
    letter-spacing: -1px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- SLIDER DOTS --- */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    width: 24px;
    height: 8px;
    border-radius: 10px;
    background: var(--gradient-fiery);
    box-shadow: 0 0 10px rgba(247, 127, 0, 0.5);
}

@media (max-width: 768px) {
    .slider-container {
        aspect-ratio: 16 / 8;
    }
}

.section-title {
    font-weight: 800;
    font-size: 17px;
    margin: 15px 0;
    color: var(--text-dark);
    border-left: 4px solid transparent;
    border-image: var(--gradient-fiery) 1;
    padding-left: 10px;
}

/* --- GRID SYSTEM --- */
.category-list,
#matches-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 768px) {
    .category-list,
    #matches-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    #matches-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .category-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.game-card {
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: transform 0.2s;
    background-color: #000;
}

.game-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 1;
    transition: opacity 0.3s;
}

.game-card:hover .game-card-bg {
    opacity: 0.4;
}

.game-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.game-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    background: #fff;
}

.game-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-title {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.match-count {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.match-count::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--success-color);
    border-radius: 50%;
}

/* --- MATCH VIEW --- */
.how-to-join-btn {
    background: #2a2a2a;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.tab-container {
    display: flex;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    background: var(--card-bg);
    color: var(--text-light);
}

.tab-btn.active {
    background: var(--gradient-fiery);
    color: #fff;
    border-bottom: none;
}
.match-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 0;
    box-shadow: var(--glass-shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.match-card:hover {
    transform: translateY(-5px);
    border-color: rgba(247, 127, 0, 0.35);
    box-shadow: var(--glass-shadow), 0 0 25px rgba(247, 127, 0, 0.08), inset 0 0 0 1px rgba(247, 127, 0, 0.1);
}

.m-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.m-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.m-title-box {
    flex: 1;
}

.m-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.m-time {
    font-size: 10px;
    color: var(--primary);
    font-weight: 600;
}

.m-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 15px;
    text-align: center;
}

.m-stat-box {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 9px;
    color: #777;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-dark);
    word-break: break-all;
}

.progress-bar {
    height: 8px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
}

.m-status-row {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.btn-join-outline {
    border: 1px solid var(--primary);
    color: white;
    background: var(--primary);
    padding: 8px 0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    flex: 1;
    text-align: center;
}

.btn-join-outline:hover {
    opacity: 0.9;
}

.btn-view-participants {
    border: 1px solid #333;
    color: #333;
    background: transparent;
    padding: 8px 0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    flex: 1;
    text-align: center;
}

.btn-view-participants:hover {
    background: #eee;
}

.btn-view-result {
    border: 1px solid #ccc;
    color: #333;
    background: #f9f9f9;
    padding: 4px 20px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    min-width: 80px;
    text-align: center;
    transition: 0.2s;
}

.btn-view-result:hover {
    background: #eee;
}

.btn-full-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: #fff;
    cursor: not-allowed;
    padding: 4px 20px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    flex: 1;
    text-align: center;
}

.m-btn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-prize {
    background: #333;
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
}

.btn-room {
    background: linear-gradient(45deg, #FF5500, #ff8800);
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
}

.timer-display {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #d64000;
    padding-top: 5px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
    background: #fff5f5;
    border-radius: 4px;
    padding: 5px;
}

/* RESULT VIEW PAGE */
.result-view-header {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.result-view-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 15px;
}

.result-table th {
    background: rgba(255, 255, 255, 0.05);
    text-align: left;
    padding: 10px 12px;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.5px;
    font-size: 12px;
    text-transform: uppercase;
}

.result-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 13px;
}

.result-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.result-table tr:last-child td {
    border-bottom: none;
}

.winner-row td {
    background: rgba(0, 230, 118, 0.06);
    color: var(--success-color);
}

/* GENERAL UI ELEMENTS */
.card-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    margin-bottom: 15px;
    border: var(--glass-border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-panel:hover {
    border-color: rgba(247, 127, 0, 0.2);
    box-shadow: var(--glass-shadow), 0 0 20px rgba(247, 127, 0, 0.05);
}

.card-panel h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.input-field,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-family: inherit;
    background: rgba(20, 20, 25, 0.8);
    color: var(--text-dark);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.input-field:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    background: rgba(20, 20, 25, 0.95);
    box-shadow: 0 0 0 3px rgba(247, 127, 0, 0.15), 0 0 15px rgba(247, 127, 0, 0.08);
}

.input-field::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

/* Custom Select Arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23cbd5e0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.primary-btn {
    background: var(--gradient-fiery);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    width: 100%;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    margin-top: 10px;
    box-shadow: 0 5px 20px rgba(247, 127, 0, 0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(247, 127, 0, 0.4);
    background: var(--gradient-fiery-hover);
}

.primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(247, 127, 0, 0.3);
}

/* CANCEL BUTTON STYLE */
.btn-cancel {
    background: rgba(30, 30, 35, 0.8);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 10px;
    width: 100%;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    margin-top: 10px;
    text-align: center;
    display: block;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(40, 40, 48, 0.9);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* GOOGLE BTN STYLE */
.google-btn {
    background: rgba(30, 30, 35, 0.8);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    padding: 16px;
    border-radius: 10px;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
}

.google-btn:hover {
    background: rgba(40, 40, 48, 0.9);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* MODALS */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    padding: 20px;
    display: none;
    align-items: flex-start;
    justify-content: center;
    backdrop-filter: blur(3px);
    overflow-y: auto;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.2s;
}

.modal-box {
    background: rgba(20, 20, 25, 0.8);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    width: 100%;
    max-width: 400px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    margin: auto;
}

/* PAYMENT & RULES */
.payment-details-box {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
}

/* Bkash Theme */
.theme-bkash-bg {
    background: #e2136e;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

/* Nagad Theme */
.theme-nagad-bg {
    background: #ec1c24;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.rules-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.rules-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.rules-list {
    list-style: none;
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.8;
}

.rules-list li {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
}

.rules-list li i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 10px;
}

.step-container {
    display: none;
    animation: slideInRight 0.3s ease;
}

.step-container.active-step {
    display: block;
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.method-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 12px;
    background: rgba(30, 30, 35, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #ffffff;
}

.method-btn:hover {
    border-color: var(--primary);
    background: rgba(247, 127, 0, 0.12);
    box-shadow: 0 0 20px rgba(247, 127, 0, 0.15), inset 0 0 0 1px rgba(247, 127, 0, 0.2);
    transform: translateY(-2px);
}

.method-btn:active {
    transform: translateY(0);
    background: rgba(247, 127, 0, 0.2);
}

.method-btn img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    flex-shrink: 0;
}

.method-btn .method-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 20px;
    flex-shrink: 0;
}

.method-btn .method-icon.icon-bkash {
    background: rgba(226, 19, 110, 0.2);
    color: #e2136e;
}

.method-btn .method-icon.icon-nagad {
    background: rgba(236, 28, 36, 0.2);
    color: #ec1c24;
}

.method-btn .method-icon.icon-rocket {
    background: rgba(140, 52, 148, 0.2);
    color: #8c3494;
}

.method-btn .method-icon.icon-default {
    background: rgba(247, 127, 0, 0.2);
    color: var(--primary);
}

.method-btn span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
}

.back-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    color: var(--text-light);
    font-weight: 600;
}

.hidden {
    display: none !important;
}

/* Joined Members Table */
.joined-list {
    list-style: none;
    padding: 0;
}

.joined-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 6px;
    transition: background 0.2s ease;
}

.joined-item:hover {
    background: rgba(247, 127, 0, 0.05);
}

.joined-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.joined-uid {
    font-size: 12px;
    color: var(--text-light);
}

/* --- Added Responsive Utilities --- */
.category-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

@media (min-width: 480px) {
    .category-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    width: 100%;
    min-width: 400px;
}

.wallet-input-row {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    align-items: center;
}
.wallet-input-row input {
    flex: 1;
    min-width: 0;
}
.wallet-input-row button {
    flex-shrink: 0;
    width: auto;
    margin-top: 0;
    padding: 0 15px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-section {
    max-width: 800px;
    margin: 0 auto;
}

/* --- Theme Semantic Utilities --- */
.text-success { color: var(--success-color) !important; font-weight: bold; }
.text-danger { color: var(--danger-color) !important; font-weight: bold; }
.bg-success { background-color: var(--success-color) !important; color: #fff !important; }

.badge {
    padding: 3px 8px; 
    border-radius: 10px; 
    font-size: 10px;
    font-weight: 600;
}
.badge-approved { background: rgba(0, 230, 118, 0.15); color: var(--success-color); }
.badge-rejected { background: rgba(255, 59, 48, 0.15); color: var(--danger-color); }
.badge-pending { background: rgba(255, 170, 0, 0.15); color: #FFAA00; }

.team-logo-preview {
    width: 80px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: var(--glass-border);
    background: var(--glass-bg);
}

/* --- Remix Icon Alignment & Hover Effects --- */
i[class^="ri-"],
i[class*=" ri-"] {
    vertical-align: -2px;
    transition: color 0.25s ease, filter 0.25s ease;
    font-style: normal;
}

/* Interactive hover glow */
a:hover i[class^="ri-"],
a:hover i[class*=" ri-"],
button:hover i[class^="ri-"],
button:hover i[class*=" ri-"],
.sidebar-menu li:hover i[class^="ri-"],
.sidebar-menu li:hover i[class*=" ri-"],
.icon-btn:hover i[class^="ri-"],
.icon-btn:hover i[class*=" ri-"],
.back-nav:hover i[class^="ri-"],
.back-nav:hover i[class*=" ri-"] {
    color: var(--primary);
    filter: drop-shadow(0 0 6px rgba(247, 127, 0, 0.4));
}

/* Sidebar icons base color */
.sidebar-menu li i[class^="ri-"],
.sidebar-menu li i[class*=" ri-"] {
    color: var(--text-light);
    font-size: 20px;
}

/* --- Premium Webkit Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 15, 0.6);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.12) rgba(10, 10, 15, 0.6);
}

/* --- Futuristic Checkboxes & Radio Buttons --- */
input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(20, 20, 25, 0.8);
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    flex-shrink: 0;
    vertical-align: middle;
    margin-right: 6px;
}

input[type="checkbox"] {
    border-radius: 5px;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(247, 127, 0, 0.3);
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

input[type="checkbox"]:hover,
input[type="radio"]:hover {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(247, 127, 0, 0.15);
}

/* --- Global Button Enhancements --- */
.btn-join-outline,
.btn-view-participants,
.btn-view-result,
.btn-prize,
.btn-room,
.btn-cancel,
.google-btn {
    transition: all 0.3s ease;
}

.btn-join-outline:hover,
.btn-view-result:hover,
.btn-prize:hover,
.btn-room:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-cancel:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.google-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.btn-view-participants:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-light);
    color: var(--text-dark);
}

/* --- Modal Box Neon Hover --- */
.modal-box {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- Tab Button Hover --- */
.tab-btn:not(.active):hover {
    background: rgba(247, 127, 0, 0.08);
    color: var(--primary);
}

/* --- Progress Bar Upgrade --- */
.progress-bar {
    background: rgba(255, 255, 255, 0.06);
}

.progress-fill {
    background: var(--gradient-fiery);
    box-shadow: 0 0 8px rgba(247, 127, 0, 0.3);
}

/* --- Generic .card and .panel glassmorphism --- */
.card,
.panel {
    background: rgba(30, 30, 35, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover,
.panel:hover {
    box-shadow: 0 8px 32px rgba(247, 127, 0, 0.15);
    border-color: rgba(247, 127, 0, 0.3);
}

/* --- Global Table Upgrade (transaction history etc.) --- */
table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
    padding: 10px 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 13px;
}

table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

table tr:last-child td {
    border-bottom: none;
}

/* --- Floating Empty State Animation --- */
@keyframes floatUpDown {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

.empty-state,
.empty-icon,
[class*="empty"] > i,
[class*="empty"] > img,
.no-data-icon {
    animation: floatUpDown 3s ease-in-out infinite;
}

/* --- Sidebar active menu item highlight --- */
.sidebar-menu li.active {
    background: rgba(247, 127, 0, 0.1);
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar-menu li.active i {
    color: var(--primary);
}
/* --- Modern Upload Dropzone --- */
.upload-container {
    margin-top: 15px;
    background: rgba(30, 30, 35, 0.2);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.upload-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 12px;
}

.upload-dropzone:hover {
    border-style: solid;
    border-color: var(--primary);
    background: rgba(247, 127, 0, 0.05);
    box-shadow: 0 0 15px rgba(247, 127, 0, 0.1);
}

.upload-dropzone i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
    opacity: 0.8;
}

.upload-dropzone .main-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.upload-dropzone .sub-text {
    font-size: 11px;
    color: var(--text-light);
    opacity: 0.6;
}

/* --- Preview Grid --- */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Authentication Logo Icon --- */
.auth-logo-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(247, 127, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-logo-icon:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(247, 127, 0, 0.25);
}

.auth-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 59, 48, 0.8);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}

.preview-remove:hover {
    background: var(--danger-color);
}

/* --- Upload Now Button --- */
.btn-upload-now {
    width: 100%;
    background: var(--gradient-fiery);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-upload-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
    opacity: 0.95;
}

.btn-upload-now:disabled {
    background: #444;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ESPORTS MODE CARD STYLING */
.match-card.esports-card {
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 165, 0, 0.5) !important;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.15) !important;
}

.esports-badge {
    position: absolute;
    top: 0;
    right: 15px;
    background: linear-gradient(45deg, #ff0000, #ff7300);
    color: white;
    padding: 4px 12px;
    border-radius: 0 0 10px 10px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    z-index: 10;
    letter-spacing: 0.5px;
    animation: glow-pulse 2s infinite alternate;
}

@keyframes glow-pulse {
    from { box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4); }
    to { box-shadow: 0 4px 25px rgba(255, 115, 0, 0.7); }
}

/* REGISTRATION PAGE STYLING */
.registration-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
}

.reg-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--glass-shadow);
}

.reg-header {
    text-align: center;
    margin-bottom: 25px;
}

.reg-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.reg-subtitle {
    font-size: 13px;
    color: var(--text-light);
}

.reg-form-group {
    margin-bottom: 18px;
}

.reg-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reg-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    color: white !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

.reg-input:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 10px rgba(247, 127, 0, 0.2) !important;
}

.reg-submit-btn {
    width: 100%;
    background: var(--gradient-fiery);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reg-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.match-summary-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.summary-item {
    text-align: center;
    flex: 1;
}

.summary-label {
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
    display: block;
}

.summary-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

@media (max-width: 992px) {
    .m-stats-grid { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 768px) {
    .app-section { padding: 12px; }
    .card-panel { padding: 20px 15px; border-radius: 12px; }
    .primary-btn { padding: 14px; font-size: 14px; }
    
    .m-stats-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }
    
    .wallet-input-row { flex-direction: column; align-items: stretch; gap: 8px; }
    .wallet-input-row button { width: 100%; height: 44px; }
    
    .logo-text { font-size: 18px; }
    .logo img { height: 35px; }
    
    .slider-container { height: 160px; }
    
    /* Ensure no horizontal scroll */
    * { max-width: 100vw; }
}

@media (max-width: 480px) {
    header { padding: 10px; gap: 5px; }
    .logo { gap: 6px; }
    .logo-text { display: none; } /* Hide app name on very small screens to make room */
    .logo img { height: 32px; }
    
    .header-right { gap: 8px; }
    .balance-pill { 
        padding: 4px 8px; 
        font-size: 11px; 
        max-width: 90px;
    }
    .balance-pill i { font-size: 14px; }
    
    .slider-container { height: 140px; }
    .alert-box { font-size: 11px; padding: 6px; }
    
    .match-card { padding: 12px; }
    .m-header { gap: 10px; margin-bottom: 12px; }
    .m-img { width: 45px; height: 45px; }
    .m-title { font-size: 15px; }
    .m-time { font-size: 10px; }
    
    .m-stats-grid { gap: 8px; }
    .m-stat-box { padding: 6px; }
    .stat-label { font-size: 8px; }
    .stat-value { font-size: 12px; }
    
    .m-status-row { font-size: 10px; }
    .btn-view-participants, .btn-join-outline, .btn-full-outline { 
        padding: 8px; font-size: 12px; 
    }
    .btn-prize, .btn-room { padding: 8px; font-size: 12px; }
}

@media (max-width: 360px) {
    .balance-pill { max-width: 80px; }
    .icon-btn { font-size: 18px; }
}