/* tournament.css - PixelLike Tournament System Styles */
:root {
    --pixel-blue: #00C7FF;
    --dark-bg: #0a0a0a;
    --dark-secondary: #1a1a1a;
    --card-bg: rgba(26, 26, 26, 0.95);
    --text-primary: #f5f5f7;
    --text-secondary: #aaa;
    --border-color: #333;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --tournament-gold: #FFD700;
    --tournament-silver: #C0C0C0;
    --tournament-bronze: #CD7F32;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* TOP BAR - Same as dashboard */
.top-bar {
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    height: 60px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 900;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breadcrumb {
    color: var(--text-secondary);
    font-size: 14px;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.subscription-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--pixel-blue), #0080FF);
    color: white;
    animation: pulse 2s infinite;
}

.admin-panel-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(90deg, #ff4757, #ff3742);
    color: white;
    text-decoration: none;
    animation: adminGlow 2s infinite;
    border: 2px solid rgba(255, 71, 87, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.3);
}

.notification-bell {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--pixel-blue), #0080FF);
    background-size: cover;
    background-position: center;
}

/* SIDEBAR - Same as dashboard with tournament branding */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.sidebar-header h2 {
    color: var(--pixel-blue);
    font-size: 24px;
    text-shadow: 0 0 10px rgba(0, 199, 255, 0.5);
    margin-bottom: 10px;
}

.tournament-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid var(--tournament-gold);
    border-radius: 20px;
    margin-top: 10px;
}

.tournament-logo {
    font-size: 18px;
    animation: bounce 2s infinite;
}

.tournament-text {
    color: var(--tournament-gold);
    font-weight: 600;
    font-size: 14px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Navigation */
.nav-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 199, 255, 0.85) rgba(255, 255, 255, 0.05);
}

.nav-list::-webkit-scrollbar {
    width: 8px;
}

.nav-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.nav-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0, 199, 255, 0.95), rgba(0, 128, 255, 0.9));
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 199, 255, 0.45);
}

.nav-list::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 0 16px rgba(0, 199, 255, 0.7);
}

.nav-item {
    margin-bottom: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(0, 199, 255, 0.1);
    border-right: 3px solid var(--pixel-blue);
}

.nav-icon {
    font-size: 18px;
    margin-right: 12px;
    min-width: 20px;
}

.toggle-icon {
    color: var(--pixel-blue);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.submenu.show {
    max-height: 200px;
}

.submenu .nav-link {
    padding: 10px 20px 10px 50px;
    font-size: 14px;
    line-height: 1.4;
}

/* MAIN CONTENT */
.main-content {
    margin-left: 280px;
    margin-top: 60px;
    padding: 30px;
    min-height: calc(100vh - 60px);
}

/* CONTENT HEADER */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.header-left h1 {
    font-size: 32px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--pixel-blue), var(--tournament-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-left p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 15px;
}

.header-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stat-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 199, 255, 0.1);
    border: 1px solid rgba(0, 199, 255, 0.3);
    color: var(--pixel-blue);
}

.create-tournament-btn {
    background: linear-gradient(90deg, var(--tournament-gold), #FFE55C);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.create-tournament-btn:hover {
    background: linear-gradient(90deg, #FFE55C, var(--tournament-gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* STATS CONTAINER */
.stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    flex: 1;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--pixel-blue);
}

.stat-icon {
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--pixel-blue), #0080FF);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.stat-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

.upgrade-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid var(--tournament-gold);
    flex-direction: column;
    text-align: center;
}

.upgrade-btn {
    background: linear-gradient(90deg, var(--tournament-gold), #FFE55C);
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 12px;
    margin-top: 10px;
}

/* FORMATS SECTION */
.formats-section {
    margin-bottom: 40px;
}

.formats-section h2 {
    color: var(--pixel-blue);
    margin-bottom: 20px;
    font-size: 24px;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.format-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.format-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 199, 255, 0.1), transparent);
    transition: left 0.5s;
}

.format-card:hover::before {
    left: 100%;
}

.format-card:hover {
    border-color: var(--pixel-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 199, 255, 0.2);
}

.format-card.selected {
    border-color: var(--tournament-gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

.format-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.format-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.format-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 14px;
}

.format-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.format-details span {
    font-size: 12px;
    color: var(--pixel-blue);
    background: rgba(0, 199, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}

/* TOURNAMENTS SECTION */
.tournaments-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    color: var(--pixel-blue);
    font-size: 24px;
}

.filter-tabs {
    display: flex;
    gap: 5px;
    background: var(--dark-secondary);
    border-radius: 8px;
    padding: 4px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active {
    background: var(--pixel-blue);
    color: white;
}

.tab-btn:hover:not(.active) {
    background: rgba(0, 199, 255, 0.1);
    color: var(--pixel-blue);
}

.format-filter {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

/* TOURNAMENTS GRID */
.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.tournament-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tournament-card:hover {
    border-color: var(--pixel-blue);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.tournament-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.tournament-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.tournament-format {
    font-size: 12px;
    color: var(--pixel-blue);
    background: rgba(0, 199, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.tournament-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-open {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success);
}

.status-full {
    background: rgba(255, 193, 7, 0.2);
    color: var(--warning);
}

.status-in_progress {
    background: rgba(0, 199, 255, 0.2);
    color: var(--pixel-blue);
}

.status-completed {
    background: rgba(255, 215, 0, 0.2);
    color: var(--tournament-gold);
}

.status-cancelled {
    background: rgba(220, 53, 69, 0.2);
    color: var(--danger);
}

.tournament-info {
    margin-bottom: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.info-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

.prize-info {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
}

.prize-total {
    text-align: center;
    color: var(--tournament-gold);
    font-weight: 600;
    font-size: 16px;
}

.tournament-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(90deg, var(--pixel-blue), #0080FF);
    color: white;
}

.btn-secondary {
    background: var(--dark-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: #000;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* LOADING STATE */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: var(--pixel-blue);
    animation: spin 1s ease infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-large {
    max-width: 900px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--pixel-blue);
    font-size: 20px;
    margin: 0;
}

.close {
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: var(--pixel-blue);
}

/* FORM STYLES */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--dark-secondary);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pixel-blue);
    box-shadow: 0 0 0 2px rgba(0, 199, 255, 0.2);
}

.form-group small {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* PRIZE PREVIEW */
.prize-preview {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.prize-preview h4 {
    color: var(--tournament-gold);
    margin-bottom: 15px;
    text-align: center;
}

.prize-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prize-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.prize-position {
    font-weight: 600;
}

.prize-amount {
    color: var(--tournament-gold);
    font-weight: 600;
}

.prize-percent {
    color: var(--text-secondary);
    font-size: 12px;
}

.total-pool {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--tournament-gold);
}

/* FORM ACTIONS */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

#create-tournament-form {
    padding: 25px;
}

/* TOAST NOTIFICATIONS */
#toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease;
    max-width: 400px;
    position: relative;
}

.toast.success {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
}

.toast.error {
    border-color: var(--danger);
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
}

.toast.warning {
    border-color: var(--warning);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes adminGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 71, 87, 0.3); }
    50% { box-shadow: 0 0 25px rgba(255, 71, 87, 0.6), 0 0 35px rgba(255, 71, 87, 0.3); }
}

/* ========================================
   OVERLAY SECTION STYLES
======================================== */
.overlay-section {
    margin-bottom: 40px;
}

.overlay-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.overlay-card:hover {
    border-color: var(--pixel-blue);
    box-shadow: 0 8px 32px rgba(0, 199, 255, 0.1);
}

.overlay-info h3 {
    color: var(--pixel-blue);
    margin-bottom: 10px;
    font-size: 20px;
}

.overlay-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.overlay-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.feature-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 199, 255, 0.1);
    border: 1px solid rgba(0, 199, 255, 0.3);
    color: var(--pixel-blue);
}

.overlay-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
}

.status-indicator {
    font-size: 14px;
    animation: pulse 2s infinite;
}

.overlay-url-container {
    margin-bottom: 20px;
}

.overlay-url-container label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.url-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.url-input-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--dark-secondary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.btn-copy {
    background: var(--pixel-blue);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-copy:hover:not(:disabled) {
    background: var(--tournament-gold);
    color: #000;
    transform: translateY(-2px);
}

.btn-copy:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.overlay-url-container small {
    color: var(--text-secondary);
    font-size: 12px;
    font-style: italic;
}

.overlay-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.overlay-actions {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .top-bar {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px 15px;
    }

    .content-header {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .formats-grid {
        grid-template-columns: 1fr;
    }

    .tournaments-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        flex-direction: column;
    }

    .header-stats {
        justify-content: center;
    }

    .filter-tabs {
        flex-wrap: wrap;
    }

    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
}
