/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.5rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Brand / Logo Styles */
.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.app-name {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #38bdf8;
    transition: transform 0.3s ease;
}

.app-suffix {
    display: flex;
    align-items: center;
    position: relative;
}

.suffix-default {
    font-weight: 600;
    font-size: 1rem;
    color: #94a3b8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.suffix-hover {
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    pointer-events: none;
}

.suffix-hover .highlight {
    color: #fbbf24;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
}

.suffix-text {
    font-weight: 500;
    color: #cbd5e1;
}

/* Animação do logo ao passar o mouse */
.brand:hover .suffix-default {
    opacity: 0;
    transform: translateX(-15px);
}

.brand:hover .suffix-hover {
    opacity: 1;
    transform: translateX(0);
}

.brand:hover .app-name {
    transform: scale(1.02);
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    color: #cbd5e1;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn .material-symbols-outlined {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.btn:hover .material-symbols-outlined {
    transform: scale(1.1) rotate(5deg);
}

/* Botão Sair Especial */
.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    margin-left: 0.5rem;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fee2e2;
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-logout:hover .material-symbols-outlined {
    transform: translateX(3px);
}

/* Main Content */
.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#scene-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#ui-overlay {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 15%;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.instruction-text {
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    color: #fff;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: pulseText 2s infinite;
    pointer-events: auto;
}

@keyframes pulseText {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

.btn-collect {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 800;
    pointer-events: auto;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
}

.btn-collect:hover {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
    transform: translateY(-3px) scale(1.05);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.6);
}

.btn-collect .material-symbols-outlined {
    font-size: 1.5rem;
}

.hidden {
    display: none !important;
}
