/* ===== VARIÁVEIS GLOBAIS ===== */
:root {
    --primary-green: #2ecc71;
    --primary-gold: #ffd700;
    --primary-orange: #ff8c00;
    --dark-bg: #0a2e0a;
    --spacing-xs: clamp(4px, 1vh, 6px);
    --spacing-sm: clamp(6px, 1.5vh, 8px);
    --spacing-md: clamp(8px, 2vh, 12px);
    --spacing-lg: clamp(12px, 2.5vh, 16px);
    --spacing-xl: clamp(16px, 3vh, 20px);
    --font-xs: clamp(9px, 1.8vh, 11px);
    --font-sm: clamp(10px, 2.2vh, 12px);
    --font-md: clamp(12px, 2.5vh, 14px);
    --font-lg: clamp(14px, 3vh, 16px);
    --font-xl: clamp(16px, 3.5vh, 18px);
    --font-xxl: clamp(18px, 4vh, 28px);
    --radius-sm: clamp(6px, 1.5vh, 10px);
    --radius-md: clamp(8px, 2vh, 12px);
    --radius-lg: clamp(12px, 2.5vh, 16px);
    --radius-xl: clamp(16px, 3vh, 20px);
    --radius-full: 9999px;
    --icon-xs: clamp(14px, 3vh, 16px);
    --icon-sm: clamp(16px, 3.5vh, 18px);
    --icon-md: clamp(18px, 4vh, 20px);
    --icon-lg: clamp(22px, 5vh, 28px);
    --sidebar-width: clamp(180px, 22%, 240px);
    --actions-width: clamp(160px, 22%, 200px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Arial Rounded MT Bold', sans-serif;
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ===== MODO VERTICAL (OVERRIDE) ===== */
body.orientation-vertical .game-container {
    flex-direction: column;
    padding: var(--spacing-md);
    overflow-y: auto;
}

body.orientation-vertical .game-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}

body.orientation-vertical .hud-top {
    flex: 1;
}

body.orientation-vertical .logo-mini {
    width: auto;
}

body.orientation-vertical .actions-menu {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
}

body.orientation-vertical .game-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}

body.orientation-vertical .resources {
    width: 100%;
}

body.orientation-vertical .bottom-nav {
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
}

body.orientation-vertical .nav-item {
    flex: 1;
}

body.orientation-vertical .event-card {
    padding: var(--spacing-md);
}

body.orientation-vertical .event-title {
    font-size: var(--font-xl);
}

/* ===== FUNDO COM IMAGEM ===== */
.game-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../60831.jpg') no-repeat center center fixed;
    background-size: cover;
    z-index: -2;
}

/* Overlay escuro para contraste dos elementos UI */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.3) 30%, 
        rgba(0, 0, 0, 0.3) 70%, 
        rgba(0, 0, 0, 0.6) 100%);
}

/* ===== CONTAINER PRINCIPAL ===== */
.game-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    padding: var(--spacing-lg);
    gap: var(--spacing-lg);
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BOTÃO ALTERNAR ORIENTAÇÃO ===== */
.orientation-toggle {
    position: fixed;
    bottom: 16px;
    right: 16px;
    background: rgba(10, 40, 10, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    cursor: pointer;
    z-index: 1000;
    border: 1.5px solid #FFD700;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.orientation-toggle:hover {
    transform: scale(1.05);
    background: rgba(10, 40, 10, 1);
    border-color: #FFA500;
}

.orientation-toggle:active {
    transform: scale(0.95);
}

.toggle-icon {
    font-size: 14px;
    color: #FFD700;
}

.toggle-text {
    font-size: 10px;
    font-weight: bold;
    color: white;
    letter-spacing: 0.5px;
}

/* Ajuste para telas muito pequenas */
@media (max-width: 480px) {
    .orientation-toggle {
        bottom: 12px;
        right: 12px;
        padding: 5px 10px;
        gap: 4px;
        border-width: 1px;
    }
    
    .toggle-icon {
        font-size: 12px;
    }
    
    .toggle-text {
        font-size: 9px;
        letter-spacing: 0.3px;
    }
}

/* Ajuste para telas horizontais pequenas */
@media (max-width: 700px) and (orientation: landscape) {
    .orientation-toggle {
        bottom: 8px;
        right: 8px;
        padding: 4px 8px;
    }
    
    .toggle-icon {
        font-size: 11px;
    }
    
    .toggle-text {
        font-size: 8px;
    }
}

/* ============================================ */
/* BLOCO 1: SIDEBAR ESQUERDA                    */
/* ============================================ */
.game-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    width: var(--sidebar-width);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hud-top {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.player-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.player-avatar {
    position: relative;
    width: clamp(40px, 8vh, 48px);
    height: clamp(40px, 8vh, 48px);
    flex-shrink: 0;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 215, 0, 0.6);
    background: #1a472a;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
}

.level-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--primary-gold), #f39c12);
    color: #0a2e0a;
    font-size: var(--font-xs);
    font-weight: 900;
    padding: 2px 5px;
    border-radius: var(--radius-full);
    min-width: 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.player-details {
    flex: 1;
    line-height: 1.2;
}

.player-name {
    color: white;
    font-size: var(--font-md);
    font-weight: 700;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.player-rank {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--primary-gold);
}

.logo-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.logo-mini img {
    width: clamp(24px, 5vh, 32px);
    height: clamp(24px, 5vh, 32px);
    border-radius: 50%;
}

.logo-mini span {
    color: var(--primary-gold);
    font-weight: 800;
    font-size: var(--font-md);
    letter-spacing: 1px;
}

.actions-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.action-item {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(46, 204, 113, 0.3);
    transition: all 0.2s ease;
}

.action-item:active {
    transform: scale(0.94);
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.3), rgba(46, 204, 113, 0.15));
}

.action-icon {
    font-size: var(--icon-md);
    color: var(--primary-green);
    margin-bottom: calc(var(--spacing-xs) * 0.5);
}

.action-item span {
    color: white;
    font-size: var(--font-xs);
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ============================================ */
/* BLOCO 2: ÁREA CENTRAL                        */
/* ============================================ */
.game-highlight {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    min-width: 0;
    transition: all 0.3s ease;
}

.event-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-gold), var(--primary-green));
}

.event-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    font-size: var(--font-xs);
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    animation: badgePulse 1.5s infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.event-title {
    font-size: var(--font-xxl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: var(--spacing-xs);
}

.event-desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--font-md);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.event-participants {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-xs);
    font-weight: 500;
}

/* Notícias Dinâmicas */
.news-container {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.news-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-xs);
    padding: 4px 0;
}

.news-bullet {
    width: 6px;
    height: 6px;
    background: var(--primary-gold);
    border-radius: 50%;
}

.play-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex: 1;
    min-height: 0;
}

.skin-circle {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a472a, #0d2e0d);
    border: 3px solid var(--primary-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(255, 215, 0, 0.2);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.skin-circle:active {
    transform: scale(0.95);
}

.skin-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn-rectangle {
    position: relative;
    width: clamp(160px, 22vh, 200px);
    height: clamp(48px, 7vh, 56px);
    border: none;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-orange));
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.play-btn-rectangle:active {
    transform: scale(0.96);
}

.btn-rectangle-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    color: #0a2e0a;
    font-weight: 900;
}

.btn-rectangle-content span {
    font-size: clamp(14px, 3vh, 18px);
    letter-spacing: 1.5px;
    font-weight: 900;
}

/* ============================================ */
/* BLOCO 3: SIDEBAR DIREITA                     */
/* ============================================ */
.game-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    width: var(--actions-width);
    flex-shrink: 0;
    transition: all 0.3s ease;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
}

.resources {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-gold);
    font-weight: 700;
    font-size: var(--font-sm);
}

.resource-item i {
    font-size: var(--icon-sm);
}

.settings-icon {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--icon-md);
    cursor: pointer;
    padding: 4px;
    transition: transform 0.3s ease;
}

.settings-icon:active {
    transform: rotate(90deg);
}

.bottom-nav {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-sm);
    border: 1px solid rgba(255, 215, 0, 0.2);
    flex: 0 0 auto;
    width: 100%;
    height: auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing-xs) * 0.4);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-xs);
    font-weight: 600;
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    position: relative;
}

.nav-item i {
    font-size: var(--icon-md);
}

.nav-item.active {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.15);
}

.nav-item:active {
    transform: scale(0.92);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 4px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    font-size: var(--font-xs);
    font-weight: 700;
    padding: 2px 5px;
    border-radius: var(--radius-full);
    min-width: 16px;
    text-align: center;
}

/* ===== MODAIS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: linear-gradient(135deg, #0a3a0a 0%, #0d470d 100%);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    border: 3px solid #FFD700;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #FFD700;
}

.modal-title {
    color: #FFD700;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.modal-close {
    background: rgba(255, 215, 0, 0.9);
    color: #0a3a0a;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #FFA500;
    transform: scale(1.1);
}

.modal-content {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

/* Amigos Modal */
.friends-list {
    margin-bottom: 20px;
}

.friend-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.friend-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
}

.friend-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.friend-avatar i {
    color: #0a3a0a;
    font-size: 24px;
}

.friend-info {
    flex: 1;
}

.friend-name {
    color: white;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.friend-status {
    font-size: 14px;
    padding: 3px 10px;
    border-radius: 15px;
    display: inline-block;
}

.friend-status.online {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.friend-status.offline {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid #F44336;
}

.friend-status.busy {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border: 1px solid #FF9800;
}

/* Chat Modal */
.chat-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
}

.chat-messages {
    height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 10px;
}

.message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    animation: messageIn 0.3s ease;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.received {
    background: rgba(255, 255, 255, 0.1);
    margin-right: auto;
}

.message.sent {
    background: rgba(255, 215, 0, 0.2);
    margin-left: auto;
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.message-sender {
    font-weight: bold;
    color: #FFD700;
    font-size: 12px;
    margin-bottom: 5px;
}

.message-text {
    color: white;
    font-size: 14px;
    line-height: 1.4;
}

.chat-input-container {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 25px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.chat-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-send {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.9);
    border: none;
    color: #0a3a0a;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Suporte Modal */
.support-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.support-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.support-icon i {
    color: #0a3a0a;
    font-size: 40px;
}

.support-text {
    color: white;
    font-size: 16px;
    line-height: 1.5;
}

.support-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.support-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.support-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.support-feature i {
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 10px;
}

.support-feature span {
    color: white;
    font-size: 12px;
    text-align: center;
}

.support-button {
    width: 100%;
    padding: 15px;
    background: rgba(255, 215, 0, 0.9);
    color: #0a3a0a;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.modal-message {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    margin-top: 20px;
}

.modal-message p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.small-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Loading Modal */
.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 40, 10, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loading-modal.hidden {
    display: none;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 24px;
    color: #FFD700;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(10, 40, 10, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 999;
    border: 2px solid #FFD700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    user-select: none;
}

.music-control:hover {
    background: rgba(10, 40, 10, 0.95);
    transform: scale(1.1);
}

.music-control:active {
    transform: scale(0.95);
}

.music-control.muted {
    opacity: 0.5;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Scrollbar */
.chat-messages::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.5);
    border-radius: 10px;
}

/* Responsividade */
@media (max-width: 700px) and (orientation: landscape) {
    .event-title { font-size: 16px; }
    .event-desc { font-size: var(--font-sm); }
    .skin-circle { width: clamp(80px, 14vh, 100px); height: clamp(80px, 14vh, 100px); }
    .play-btn-rectangle { width: clamp(140px, 18vh, 160px); height: clamp(44px, 6vh, 48px); }
}

@media (max-width: 480px) {
    .orientation-toggle {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
    }
    
    .toggle-icon {
        font-size: 16px;
    }
    
    .toggle-text {
        font-size: 10px;
    }

    .music-control {
        bottom: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .event-badge { animation: none; }
    .skin-circle, .play-btn-rectangle, .action-item, .nav-item { transition: none; }
}