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

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

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ── Fondo cielo estrellado ── */
#stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, #0d1b4b 0%, #020818 100%);
    z-index: 0;
}

/* ── Overlay oscuro sobre estrellas ── */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* ── Capas de estrellas ── */
#stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ── Contenido central ── */
.content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

/* ── Logo ── */
.logo {
    max-width: 280px;
    width: 60%;
    height: auto;
    margin-bottom: 32px;
    filter: drop-shadow(0 4px 24px rgba(0, 150, 255, 0.5));
}

/* ── Frase animada drones ── */
.drone-phrase {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(200, 230, 255, 0.95);
    text-transform: uppercase;
    margin-bottom: 28px;
    min-height: 1.6em;
    text-shadow: 0 0 12px rgba(100, 180, 255, 0.6);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-bottom: 48px;
}

.drone-phrase.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Botón ── */
.btn-start {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #a8d8ff;
    background: transparent;
    border: 1px solid rgba(100, 180, 255, 0.6);
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(60, 140, 255, 0.25), inset 0 0 12px rgba(60, 140, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-start .btn-icon {
    font-size: 0.7rem;
    opacity: 0.8;
}

.btn-start::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100,180,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-start:hover::before {
    left: 100%;
}

.btn-start:hover {
    color: #ffffff;
    border-color: rgba(100, 200, 255, 0.9);
    box-shadow: 0 0 24px rgba(60, 160, 255, 0.5), inset 0 0 16px rgba(60, 160, 255, 0.1);
    transform: translateY(-2px);
}

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

/* ── Footer ── */
.footer-style {
    position: relative;
    z-index: 2;
    font-family: 'Jost', sans-serif;
    color: #9a8fa2;
    font-weight: normal;
    font-size: 9pt;
    background-color: rgba(0, 0, 0, 0.6);
    margin-top: auto;
    padding: 10px 0;
    text-align: center;
}

.footer-style a {
    color: #9a8fa2;
    font-weight: bold;
    text-decoration: none;
}

.footer-style a:hover {
    color: white;
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .logo {
        max-width: 200px;
        width: 75%;
        margin-bottom: 32px;
    }

    .btn-start {
        padding: 15px 28px;
        font-size: 0.85rem;
    }
}
