@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Rajdhani:wght@400;600;700&display=swap');

/* Reseteo general para evitar desfasajes */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    /* Fondo radial con los tonos naranjas ajustados */
    background: radial-gradient(circle at 50% 50%, #ff9e44 0%, #d65b00 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #4a2511; 
    overflow-x: hidden;
    padding: 16px !important; 
    position: relative; /* Necesario para que las olas floten encima del fondo */
}

/* Efecto de olas tipo PS3 XMB */
body::before, body::after {
    content: "";
    position: fixed;
    top: -20vh;
    left: -50%;
    width: 200%;
    height: 140vh;
    pointer-events: none;
    z-index: 0;
    /* Esto dibuja la curva suave superior */
    border-top: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    /* Gradiente difuminado blanco hacia abajo */
    background: radial-gradient(ellipse at top, rgba(255,255,255,0.15) 0%, transparent 40%);
}

/* Primera ola animada */
body::before {
    animation: waveXMB 14s infinite alternate ease-in-out;
}

/* Segunda ola cruzada (diferente velocidad y posición) */
body::after {
    top: -10vh;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background: radial-gradient(ellipse at top, rgba(255,255,255,0.1) 0%, transparent 30%);
    animation: waveXMB 22s infinite alternate-reverse ease-in-out;
}

@keyframes waveXMB {
    0% { transform: translateY(40vh) rotate(-4deg) scaleY(1); }
    50% { transform: translateY(35vh) rotate(0deg) scaleY(1.2); }
    100% { transform: translateY(50vh) rotate(4deg) scaleY(0.9); }
}

/* Frutiger/Dorfic Glassmorphism Utility (Sin glow, bordes más duros y crystal clear) */
.aero-glass {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    /* Solo sombras internas (reflejo glossy superior y oscurecimiento inferior), cero glow exterior */
    box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, 0.9), inset 0 -15px 30px rgba(0, 0, 0, 0.1);
}

.aero-glass-dark {
    background: rgba(70, 30, 15, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, 0.4), inset 0 -15px 30px rgba(0, 0, 0, 0.3);
}

.aero-gloss-header {
    background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.2) 50%, rgba(255,140,0,0.1) 100%);
}

/* Shiny Dorfic Buttons - Estilo botones plásticos de 2008 */
.aero-btn {
    background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.1) 48%, rgba(0,0,0,0.1) 50%, rgba(255,255,255,0.2) 100%), #ff8c00;
    border: 1px solid rgba(255, 255, 255, 0.9);
    /* Brillo interno de botón plástico/cristal */
    box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.9), inset 0 -3px 8px rgba(0,0,0,0.15);
}

.aero-btn:hover {
    box-shadow: inset 0 2px 1px rgba(255, 255, 255, 1), inset 0 -3px 8px rgba(255,255,255,0.3);
    filter: brightness(1.15);
}

.aero-btn:active {
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
}

.aero-btn-green {
    background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.1) 48%, rgba(0,0,0,0.1) 50%, rgba(255,255,255,0.2) 100%), #ea580c;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.9), inset 0 -3px 8px rgba(0,0,0,0.15);
}

.aero-btn-discord {
    background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.1) 48%, rgba(0,0,0,0.1) 50%, rgba(255,255,255,0.2) 100%), #5865F2;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.9), inset 0 -3px 8px rgba(0,0,0,0.15);
}

/* Animated Ambient Bubbles (Sin resplandor externo) */
.bubble {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2) 60%, rgba(255, 165, 0, 0.4));
    /* Quitado el glow naranja externo, conservado el borde brillante interno */
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.9);
    pointer-events: none;
    z-index: 0;
    animation: floatUp 14s infinite linear;
}

@keyframes floatUp {
    0% { transform: translateY(110vh) scale(0.8) rotate(0deg); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { transform: translateY(-20vh) scale(1.2) rotate(360deg); opacity: 0; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.4);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffb347, #ff7e5f);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.title-font {
    font-family: 'Michroma', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}