/* Reset e Variáveis */
:root {
    --primary-gold: #FFD700;
    --secondary-gold: #FFA500;
    --dark-bg: #0D0D0D;
    --card-bg: rgba(15, 15, 15, 0.85);
    --glass-border: rgba(255, 215, 0, 0.15);
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);
    --success: #00FF88;
    --danger: #FF3B5C;
    --info: #00BFFF;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 165, 0, 0.02) 0%, transparent 50%);
}

/* Tipografia Premium */
@font-face {
    font-family: 'Orbitron';
    src: url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');
}

/* Componentes de Vidro */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.05);
}

/* Container Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 100px;
    position: relative;
    z-index: 2;
}

/* Dashboard Compacto */
.compact-dashboard {
    margin-bottom: 20px;
    padding: 20px;
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.compact-card {
    text-align: center;
    padding: 16px 12px;
    background: rgba(255, 215, 0, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.compact-card.profit {
    border-color: rgba(0, 255, 136, 0.2);
    background: rgba(0, 255, 136, 0.03);
}

.compact-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.compact-value {
    font-family: 'Orbitron', monospace;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-gold);
}

/* Main Section - Radar & Análise */
.main-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Radar Card */
.radar-card {
    padding: 32px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Radar Container */
.radar-container-premium {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 32px;
    overflow: hidden;
    border-radius: 50%;
}

.ai-radar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, rgba(0, 0, 0, 0.95) 70%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.radar-scan-premium {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 215, 0, 0.2) 60deg, transparent 120deg);
    animation: scanRotate 4s linear infinite;
    border-radius: 50%;
}

@keyframes scanRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pulse-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: pulseRing 3s ease-out infinite;
}

.pulse-ring:nth-child(1) {
    animation-delay: 0s;
}

.pulse-ring:nth-child(2) {
    animation-delay: 1s;
}

.pulse-ring:nth-child(3) {
    animation-delay: 2s;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.9);
        opacity: 1;
        border-color: rgba(255, 215, 0, 0.4);
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
        border-color: rgba(255, 215, 0, 0);
    }
}

.prediction-text {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 1;
    text-align: center;
}

.prediction-subtext {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-top: 4px;
    z-index: 1;
    text-transform: uppercase;
}

.prediction-percent {
    font-family: 'Orbitron', monospace;
    font-size: 48px;
    font-weight: 900;
    margin: 12px 0;
    z-index: 1;
}

.signal-strength {
    width: 80%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 16px;
    overflow: hidden;
    z-index: 1;
}

.signal-strength::after {
    content: '';
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 2px;
    transition: width 0.5s ease;
}

.data-collection-status {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 12px;
    letter-spacing: 1px;
    z-index: 1;
    text-transform: uppercase;
}

/* Host Controls */
.host-controls {
    width: 100%;
    margin-top: 24px;
}

.controls-label {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.host-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.host-btn {
    padding: 12px 8px;
    border: 2px solid;
    border-radius: 10px;
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.host-btn.azul {
    border-color: #00BFFF;
}

.host-btn.azul:hover {
    background: rgba(0, 191, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
}

.host-btn.azul .icon-circle {
    fill: #00BFFF;
    stroke: none;
}

.host-btn.empate {
    border-color: var(--primary-gold);
}

.host-btn.empate:hover {
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.host-btn.empate .icon-circle {
    fill: var(--primary-gold);
    stroke: none;
}

.host-btn.vermelho {
    border-color: var(--danger);
}

.host-btn.vermelho:hover {
    background: rgba(255, 59, 92, 0.15);
    box-shadow: 0 0 20px rgba(255, 59, 92, 0.2);
}

.host-btn.vermelho .icon-circle {
    fill: var(--danger);
    stroke: none;
}

/* Analysis Card */
.analysis-card {
    padding: 24px;
}

.analysis-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.analysis-title {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary-gold);
    text-transform: uppercase;
}

.analysis-content p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.analysis-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* History Section */
.history-section {
    margin-bottom: 20px;
}

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

.history-title {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary-gold);
    text-transform: uppercase;
}

.history-count {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.history-clear-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(255, 59, 92, 0.3);
    border-radius: 8px;
    color: var(--danger);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-clear-btn:hover {
    background: rgba(255, 59, 92, 0.1);
    border-color: var(--danger);
}

.history-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 40px;
}

.history-ball {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
}

.history-ball.azul {
    background: linear-gradient(135deg, #00BFFF, #0080FF);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.history-ball.vermelho {
    background: linear-gradient(135deg, #FF3B5C, #C41E3A);
    box-shadow: 0 4px 15px rgba(255, 59, 92, 0.3);
}

.history-ball.empate {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    color: #000;
}

.history-ball:first-child {
    animation: ballPop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes ballPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Result Buttons */
.result-buttons {
    margin-bottom: 20px;
    margin-top: -10px;
}

.result-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.result-btn {
    padding: 18px 16px;
    border: 2px solid;
    border-radius: 12px;
    font-family: 'Orbitron', monospace;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.result-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.result-btn.azul {
    border-color: #00BFFF;
}

.result-btn.azul .result-dot {
    background: linear-gradient(135deg, #00BFFF, #0080FF);
}

.result-btn.azul:hover {
    background: rgba(0, 191, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 191, 255, 0.2);
}

.result-btn.empate {
    border-color: var(--primary-gold);
}

.result-btn.empate .result-dot {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
}

.result-btn.empate:hover {
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
}

.result-btn.vermelho {
    border-color: var(--danger);
}

.result-btn.vermelho .result-dot {
    background: linear-gradient(135deg, #FF3B5C, #C41E3A);
}

.result-btn.vermelho:hover {
    background: rgba(255, 59, 92, 0.15);
    box-shadow: 0 8px 30px rgba(255, 59, 92, 0.2);
}

/* Controls Section */
.controls-section {
    text-align: center;
    margin-bottom: 20px;
}

.control-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: var(--primary-gold);
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.15);
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-content {
    text-align: center;
}

.logo-loading {
    margin-bottom: 40px;
}

.logo-number {
    font-family: 'Orbitron', monospace;
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 8px;
    color: var(--text-light);
    display: block;
    margin-top: -10px;
}

.loading-status {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.loading-bar {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.loading-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 3px;
}

.loading-percent {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-gold);
}

/* Top Bar */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.top-bar-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.top-logo-number {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.top-logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.mode-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mode-badge.offline {
    background: rgba(255, 59, 92, 0.15);
    border: 1px solid rgba(255, 59, 92, 0.3);
    color: var(--danger);
}

.mode-badge.online {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--success);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border: 2px solid rgba(255, 215, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #000;
    font-size: 15px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.user-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(255, 215, 0, 0.55);
}

.user-initials {
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.5px;
}

.user-name {
    font-weight: 600;
    font-size: 13px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

.status-text {
    font-size: 12px;
    color: var(--text-muted);
}

.logout-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 59, 92, 0.3);
    border-radius: 10px;
    color: var(--danger);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 59, 92, 0.15);
    border-color: var(--danger);
    transform: translateY(-1px);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--danger);
}

.modal-title {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
    color: var(--primary-gold);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.title-icon {
    color: var(--primary-gold);
}

.table-players {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.player-icon {
    color: var(--text-muted);
}

/* Mode Options */
.mode-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mode-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 215, 0, 0.03);
    border: 2px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-btn:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.mode-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offline-icon {
    background: rgba(255, 59, 92, 0.15);
}

.offline-icon::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FF3B5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='1' y1='1' x2='23' y2='23'%3E%3C/line%3E%3Cpath d='M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3'%3E%3C/path%3E%3Cpath d='M22 12h-3'%3E%3C/path%3E%3Cpath d='M19 16h3'%3E%3C/path%3E%3Cpath d='M19 20h3'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.online-icon {
    background: rgba(0, 255, 136, 0.15);
}

.online-icon::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300FF88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.55a11 11 0 0 1 14 0'%3E%3C/path%3E%3Cpath d='M1.42 9a16 16 0 0 1 21.16 0'%3E%3C/path%3E%3Cpath d='M8.53 16.11a6 6 0 0 1 6.95 0'%3E%3C/path%3E%3Cline x1='12' y1='20' x2='12.01' y2='20'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.mode-text h3 {
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.mode-text p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Settings Section */
.settings-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.setting-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
    background: #000;
}

/* Disclaimer */
.disclaimer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    padding: 16px;
    background: rgba(255, 215, 0, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    margin-top: 8px;
}

/* Chat Container */
.chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3000;
}

.chat-container.hidden {
    display: none;
}

.chat-toggle {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    color: #000;
    font-weight: 800;
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.chat-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.4);
}

.chat-icon::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.chat-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 380px;
    max-height: 560px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    background: rgba(0, 0, 0, 0.25);
}

.chat-header-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-title {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

.online-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.online-count {
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--success);
}

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

.chat-clear-btn {
    padding: 8px 14px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-clear-btn:hover {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--primary-gold);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
}

.chat-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 59, 92, 0.08);
    border: 1px solid rgba(255, 59, 92, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--danger);
}

.chat-close:hover {
    background: rgba(255, 59, 92, 0.18);
    border-color: var(--danger);
    box-shadow: 0 0 18px rgba(255, 59, 92, 0.35);
}

.online-section {
    padding: 14px 22px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.online-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.online-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.online-user-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
    flex-shrink: 0;
}

.online-user-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
}

.online-user-host {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-gold);
}

.online-user-host::before {
    content: '👑';
    font-size: 10px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-empty-state {
    text-align: center;
    padding: 40px 20px;
}

.chat-empty-state p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.chat-empty-state p:first-child {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-light);
}

.chat-message {
    max-width: 85%;
    animation: messageSlide 0.3s ease;
}

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

.chat-message.own {
    margin-left: auto;
}

.chat-message-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.chat-message.own .chat-message-header {
    justify-content: flex-end;
}

.chat-message-author {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.chat-message.is-host .chat-message-author {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-message.is-host .chat-message-author::before {
    content: '👑';
    font-size: 11px;
}

.chat-message-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
}

.chat-message-content {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.chat-message:not(.own):not(.is-host) .chat-message-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-message.is-host .chat-message-content {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--text-light);
}

.chat-message.own .chat-message-content {
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.25);
}

.chat-message.system {
    text-align: center;
    margin: 12px 0;
    width: 100%;
    max-width: 100%;
}

.chat-message.system::before,
.chat-message.system::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.25), transparent);
    margin: 14px 0;
}

.chat-message.system .chat-message-content {
    background: transparent;
    border: none;
    color: var(--primary-gold);
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0;
}

.chat-input-area {
    display: flex;
    gap: 10px;
    padding: 16px 22px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    background: rgba(0, 0, 0, 0.25);
}

.chat-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 12px;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

.chat-input-wrapper:focus-within {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.06);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.1);
}

.chat-input-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.chat-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 13px;
    outline: none;
}

.chat-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.chat-send-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(255, 215, 0, 0.35);
    color: #000;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.5);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 6000;
    pointer-events: none;
}

.toast {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlide 0.3s ease;
    pointer-events: auto;
}

@keyframes toastSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.toast.success .toast-icon {
    background: rgba(0, 255, 136, 0.2);
}

.toast.error .toast-icon {
    background: rgba(255, 59, 92, 0.2);
}

.toast.info .toast-icon {
    background: rgba(0, 191, 255, 0.2);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 12px;
    color: var(--text-muted);
}

/* Particles Background */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

#glowFollow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* Confetti */
#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confettiFall 3s ease-in-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Marca D'água */
.watermark {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 215, 0, 0.15);
    pointer-events: none;
    z-index: 1;
}

/* Footer Warning */
.footer-responsibility-warning {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 1;
}

.warning-icon.small::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.2)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Container dos Botões Inferiores Esquerda */
.bottom-left-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
}

/* Back Button */
.back-button {
    height: 48px;
    min-width: 120px;
    padding: 0 20px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    color: var(--primary-gold);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.back-button:hover {
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

/* Social Icons (Discord e Telegram) */
.social-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--primary-gold);
}

.social-icon:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

/* Modal Escolha de Mesa */
.table-modal-content {
    max-width: 900px;
    max-height: 80vh;
    overflow: hidden;
}

.table-modal-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.table-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table-back-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
}

.table-search-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 10px;
    padding: 10px 14px;
}

.search-icon {
    color: var(--text-muted);
}

#table-search {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 13px;
    outline: none;
}

#table-search::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.tables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    max-height: calc(80vh - 250px);
    overflow-y: auto;
    padding-right: 4px;
}

.table-card {
    background: rgba(255, 215, 0, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table-card:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.table-card.selected {
    background: rgba(255, 215, 0, 0.12);
    border-color: var(--primary-gold);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.3);
}

.table-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.table-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-min-bet {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-gold);
}

.table-players {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.table-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.table-status.online {
    background: rgba(0, 191, 255, 0.1);
    color: #00bfff;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.table-enter-btn {
    margin-top: 8px;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table-enter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Responsivo */
@media (max-width: 1024px) {
    .main-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 12px 16px;
    }
    
    .compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .result-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .radar-container-premium {
        width: 240px;
        height: 240px;
    }
    
    .chat-panel {
        width: calc(100vw - 40px);
        right: 0;
    }
    
    .toast-container {
        right: 10px;
        left: 10px;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

/* ================================================
   AUTH SCREEN STYLES (Login & Register)
   ================================================ */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo .logo-number {
    font-family: 'Orbitron', monospace;
    font-size: 64px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.auth-logo .logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--text-light);
    display: block;
    margin-top: 4px;
}

.auth-title {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    color: var(--primary-gold);
    letter-spacing: 2px;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.input-group input:focus {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.08);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.password-input-container,
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input,
.input-with-icon input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFD700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.key-icon {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFD700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zM15.5 8.5l4.75-4.75'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.input-with-icon input {
    padding-left: 44px;
}

.remember-me-group {
    margin-bottom: 24px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
}

.custom-checkbox input:checked + .checkmark {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-color: var(--primary-gold);
}

.checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked + .checkmark::after {
    display: block;
}

.remember-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border: none;
    border-radius: 10px;
    color: #000;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.error-message {
    background: rgba(255, 59, 92, 0.15);
    border: 1px solid rgba(255, 59, 92, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--danger);
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.responsibility-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.warning-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFD700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.responsibility-warning p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.auth-link {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-link a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link a:hover {
    color: var(--secondary-gold);
}

/* Quick Login Styles */
#quick-login-section {
    margin-bottom: 20px;
}

.quick-login-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 20px;
}

.quick-login-user {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.quick-login-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #000;
    font-size: 20px;
    font-family: 'Orbitron', monospace;
    border: 2px solid rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.quick-login-initials {
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.5px;
}

/* Telegram Settings Styles */
.settings-section-title {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-gold);
    margin: 24px 0 12px 0;
    letter-spacing: 1px;
}

.setting-input {
    width: 200px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

.setting-input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.settings-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--primary-gold);
}

.quick-login-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quick-login-username {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-light);
}

.quick-login-last-access {
    font-size: 12px;
    color: var(--text-muted);
}

.quick-login-btn {
    margin-bottom: 12px;
}

.switch-account-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    color: var(--primary-gold);
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.switch-account-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Partner Card Styles */
.partner-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(10, 10, 10, 0.9));
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.partner-header {
    text-align: center;
    margin-bottom: 12px;
}

.partner-badge {
    display: inline-block;
    padding: 4px 16px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: #000;
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 20px;
}

.partner-logo {
    text-align: center;
    margin-bottom: 8px;
}

.partner-name {
    font-family: 'Orbitron', monospace;
    font-size: 22px;
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    letter-spacing: 2px;
}

.partner-desc {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.partner-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding: 0 10px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    justify-content: flex-start;
    text-align: left;
}

.benefit-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-gold);
    flex-shrink: 0;
    stroke-width: 2.5;
}

.partner-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: #000;
    font-family: 'Orbitron', monospace;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.partner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

/* Responsive Layout */
@media (min-width: 1024px) {
    .container {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 20px;
        padding: 80px 30px 30px;
    }
    
    .partner-card {
        grid-column: 2;
        grid-row: 1 / -1;
        position: sticky;
        top: 80px;
        align-self: start;
    }
}

@media (max-width: 1023px) {
    .partner-card {
        margin-top: 20px;
    }
}
