:root {
    --zumo-gradient: linear-gradient(135deg, #FF5B37 0%, #E93E71 50%, #9D38D3 100%);
    --fondo: #08080A;
    --texto: #FFFFFF;
    --texto-dim: #666670;
    --error: #FF5B37;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--fondo);
    color: var(--texto);
    height: 100vh;
    overflow: hidden;
}

/* Contenedor inmersivo */
.pantalla-completa {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 30px 25px 40px 25px;
    position: relative;
}

/* Logo pequeño arriba a la izquierda */
.header-logo {
    font-weight: 900;
    font-size: 20px;
    letter-spacing: -1px;
    background: var(--zumo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
}

/* Título masivo */
.hero-section {
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.nombre-invitador {
    background: var(--zumo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cluster-info {
    color: var(--texto-dim);
    font-size: 16px;
    margin-top: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Formulario Edge-to-Edge */
.formulario {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.campo-grupo {
    display: flex;
    flex-direction: column;
}

.campo-grupo label {
    font-size: 12px;
    font-weight: 700;
    color: var(--texto-dim);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.input-inmersivo {
    background: transparent;
    border: none;
    border-bottom: 2px solid #222;
    color: white;
    padding: 12px 0;
    font-size: 18px;
    outline: none;
    transition: border-color 0.3s;
}

.input-inmersivo:focus {
    border-bottom-color: #E93E71;
}

/* Botón masivo anclado abajo */
.boton-contenedor {
    width: 100%;
}

.boton-join {
    width: 100%;
    background: var(--zumo-gradient);
    color: white;
    border: none;
    padding: 22px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(233, 62, 113, 0.3);
}

/* Estado de error */
.error-msg {
    display: none;
    text-align: center;
    padding-top: 100px;
}

.error-msg h2 {
    font-size: 24px;
    color: var(--error);
    margin-bottom: 10px;
}
