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

:root {
    --primary: #4bb4f7;
    --primary-dark: #1e2b3c;
    --primary-light: #7fd6ff;
    --bg: #23272e;
    --fg: #e9f6ff;
    --accent: #3a8cc1;
    --radius: 16px;
    --transition: 0.4s cubic-bezier(.77,0,.18,1);
}

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

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #181a1f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.7s cubic-bezier(.77,0,.18,1);
    opacity: 1;
    pointer-events: auto;
    overflow: hidden;
}
.loader-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}
.loader-logo {
    width: 90px;
    height: 90px;
    margin-bottom: 1.3rem;
    animation: spin 1.4s linear infinite, pulseGlow 1.3s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 32px #4bb4f7cc) drop-shadow(0 2px 24px #4bb4f7cc);
}
@keyframes spin {
    0% { transform: rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateY(360deg) rotateZ(360deg); }
}
@keyframes pulseGlow {
    0% { filter: drop-shadow(0 0 32px #4bb4f7cc) drop-shadow(0 2px 24px #4bb4f7cc); }
    100% { filter: drop-shadow(0 0 64px #7fd6ffcc) drop-shadow(0 2px 48px #4bb4f7cc); }
}
.loader-text {
    color: #4bb4f7;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    background: linear-gradient(90deg, #4bb4f7, #7fd6ff, #4bb4f7);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 2.2s linear infinite alternate, fadeInText 1.6s ease-in-out infinite alternate;
}
@keyframes gradientText {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
@keyframes fadeInText {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}
.loader-progress {
    width: 260px;
    height: 12px;
    background: #23272e;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 16px #4bb4f73d;
    border: 1px solid #3a8cc1;
    position: relative;
}
.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4bb4f7, #7fd6ff 60%, #4bb4f7);
    border-radius: 8px;
    transition: width 0.25s cubic-bezier(.77,0,.18,1);
    box-shadow: 0 2px 8px #4bb4f799;
}
.loader-percent {
    color: #7fd6ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1.7rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #4bb4f799;
    transition: color 0.3s;
}
.splash-transition {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: linear-gradient(270deg, #23272e, #4bb4f7, #7fd6ff, #23272e);
    background-size: 400% 400%;
    animation: splash-bg-move 2s linear infinite;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.6s, transform 0.6s cubic-bezier(.77,0,.18,1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@keyframes splash-bg-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.splash-transition.active {
    opacity: 1;
    transform: scale(1);
}

.splash-logo.cool-anim {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 40px #4bb4f7) drop-shadow(0 0 10px #fff8);
    animation: logo-pop 0.8s cubic-bezier(.5,1.7,.5,1) forwards, logo-spin 1.2s cubic-bezier(.77,0,.18,1);
}

@keyframes logo-pop {
    0% { transform: scale(0.5) rotate(-30deg); opacity: 0; }
    60% { transform: scale(1.15) rotate(8deg); opacity: 1; }
    90% { transform: scale(0.97) rotate(-4deg); }
    100% { transform: scale(1) rotate(0deg); }
}
@keyframes logo-spin {
    0% { filter: drop-shadow(0 0 0 #4bb4f7); }
    100% { filter: drop-shadow(0 0 40px #4bb4f7) drop-shadow(0 0 10px #fff8); }
}

/* Light streak effect */
.splash-transition::before {
    content: '';
    position: absolute;
    top: -40%; left: -60%;
    width: 200%; height: 200%;
    background: linear-gradient(120deg, transparent 60%, #fff8 85%, transparent 100%);
    opacity: 0.18;
    transform: rotate(10deg);
    animation: streak-move 1.2s linear forwards;
    pointer-events: none;
}
@keyframes streak-move {
    0% { transform: translateX(-60%) rotate(10deg); opacity: 0.12; }
    80% { opacity: 0.22; }
    100% { transform: translateX(80%) rotate(10deg); opacity: 0; }
}

.splash-transition.active {
    opacity: 1;
    transform: scale(1.15);
    transition: opacity 0.18s, transform 0.5s cubic-bezier(.77,0,.18,1);
}
.splash-logo {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 32px #fff8) drop-shadow(0 2px 24px #4bb4f7cc);
    animation: splashPop 0.7s cubic-bezier(.77,0,.18,1);
}
@keyframes splashPop {
    0% { transform: scale(0.7) rotate(-30deg); opacity: 0; }
    70% { transform: scale(1.2) rotate(8deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #181a1f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.7s cubic-bezier(.77,0,.18,1);
    opacity: 1;
}
.loader-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}
.loader-logo {
    width: 90px;
    height: 90px;
    margin-bottom: 1.3rem;
    animation: spin 1.4s linear infinite;
    filter: drop-shadow(0 2px 24px #4bb4f7cc);
}
.loader-text {
    color: #4bb4f7;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    animation: fadeInText 1.6s ease-in-out infinite alternate;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes fadeInText {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Roboto', Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.navbar {
    width: 100vw;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    z-index: 100;
    transition: background var(--transition);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 0.7rem;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--bg);
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition);
    display: block;
}

.hero-logo {
    width: 110px;
    height: 110px;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    border: 3px solid var(--primary);
    background: var(--bg);
    box-shadow: 0 0 48px 12px #4bb4f7cc, 0 4px 32px 0px #4bb4f73d;
    animation: popIn 1s cubic-bezier(.77,0,.18,1);
    object-fit: contain;
    object-position: center;
    display: block;
}

.brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--fg);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.hero {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 40%, var(--bg) 100%);
    position: relative;
    text-align: center;
    padding-top: 4.5rem;
    padding-bottom: 2rem;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.hero-content {
    animation: fadeIn 1.2s ease;
}

.hero-logo {
    width: 110px;
    height: 110px;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    border: 3px solid var(--primary);
    background: var(--bg);
    box-shadow: 0 4px 32px 0px #4bb4f73d;
    animation: popIn 1s cubic-bezier(.77,0,.18,1);
}

.title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 0.7rem;
    text-shadow: 0 2px 16px #4bb4f73d;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--primary-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-btn {
    background: var(--primary);
    color: var(--bg);
    padding: 0.9rem 2.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 16px #4bb4f73d;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.cta-btn:hover {
    background: var(--accent);
    color: var(--fg);
    transform: translateY(-2px) scale(1.04);
}

.cta-btn.disabled {
    opacity: 1;
    background: #3a8cc1;
    color: #b0cbe8;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: 0 2px 16px #4bb4f73d;
}

.download .section {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 7rem 2rem 2rem 2rem;
    text-align: center;
    animation: fadeInUp 1s ease;
}
.section ul {
    display: block;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
.section li {
    text-align: center;
    margin-left: 0;
}
.section p {
    text-align: center;
    margin: 0.8rem auto 1.2rem auto;
    width: 100%;
    max-width: 700px;
}


.download .cta-btn {
    display: block;
    margin: 1.5rem auto 0 auto;
    width: 220px;
    min-width: 220px;
    text-align: center;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.features ul {
    list-style: none;
    padding: 0;
}
.features li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary-light);
    text-align: left;
    padding-left: 1.2rem;
    position: relative;
}
.features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 0.6em;
    height: 0.6em;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
}

footer {
    text-align: center;
    padding: 2rem 0 1rem 0;
    color: #6a8bb3;
    background: none;
    font-size: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
    0% { transform: scale(0.7); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        padding: 0.5rem 1rem;
    }
    .nav-links {
        gap: 1rem;
    }
    .hero {
        padding-top: 6rem;
    }
    .title {
        font-size: 2rem;
    }
    .hero-logo {
        width: 70px;
        height: 70px;
    }
    .section {
        padding: 3rem 1rem 1rem 1rem;
    }
}
