* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff006e;
    --primary-light: #ff4d8a;
    --primary-dark: #cc0058;
    --accent: #ff8fab;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.04);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow: rgba(255, 0, 110, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ==================== SPLASH / LOADING SCREEN ==================== */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, transform 0.8s ease;
    overflow: hidden;
}

.splash-screen::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: splashGlow 3s ease-in-out infinite;
}

.splash-screen.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.splash-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: splashFadeIn 0.8s ease-out;
}

.splash-logo-wrapper {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
}

.splash-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px var(--glow);
    animation: splashLogoPulse 2s ease-in-out infinite;
}

.splash-ring-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--primary-light);
    animation: spinClockwise 1.5s linear infinite;
}

.splash-ring-inner {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: var(--accent);
    border-left-color: var(--primary);
    animation: spinCounterClockwise 2s linear infinite;
}

.splash-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.splash-loader {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 auto 16px;
    overflow: hidden;
    position: relative;
}

.loader-bar {
    position: absolute;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    animation: loadProgress 9.5s ease-in-out forwards;
    box-shadow: 0 0 10px var(--glow);
}

.splash-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
}

.dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

.splash-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.splash-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    animation: splashParticleAnim 3s ease-in-out infinite;
}

/* ==================== BACKGROUND EFFECTS ==================== */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #6b21a8 0%, transparent 70%);
    bottom: 10%;
    left: -5%;
    animation-delay: -7s;
    opacity: 0.3;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #ff8fab 0%, transparent 70%);
    bottom: 20%;
    right: -5%;
    animation-delay: -14s;
    opacity: 0.25;
}

.light-streak {
    position: absolute;
    width: 2px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.15;
    animation: streakMove 8s ease-in-out infinite;
}

.streak-1 {
    left: 20%;
    top: 10%;
    transform: rotate(15deg);
    animation-delay: 0s;
}

.streak-2 {
    right: 25%;
    top: 30%;
    transform: rotate(-10deg);
    animation-delay: -4s;
}

.particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 60px 20px;
    transition: opacity 0.8s ease;
    opacity: 1;
}

.hero.hidden {
    opacity: 0;
}

.hero.visible {
    opacity: 1;
}

.container {
    width: 100%;
    max-width: 800px;
}

.container > * {
    opacity: 0;
    transform: translateY(30px);
}

.hero.visible .container > * {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero.visible .logo-wrapper { animation-delay: 0s; }
.hero.visible .badge { animation-delay: 0.1s; }
.hero.visible .title { animation-delay: 0.2s; }
.hero.visible .subtitle { animation-delay: 0.3s; }
.hero.visible .description:nth-of-type(1) { animation-delay: 0.4s; }
.hero.visible .description:nth-of-type(2) { animation-delay: 0.5s; }
.hero.visible .btn-wrapper { animation-delay: 0.6s; }
.hero.visible .features { animation-delay: 0.7s; }
.hero.visible .footer { animation-delay: 0.9s; }

/* ==================== LOGO ==================== */
.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.logo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px var(--glow), 0 0 80px rgba(255, 0, 110, 0.2);
    animation: logoPulse 3s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 1;
}

.logo-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--primary-light);
    animation: ringRotate 4s linear infinite;
    z-index: 3;
}

/* ==================== BADGE ==================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.badge-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%
    );
    animation: shimmer 3s ease-in-out infinite;
}

/* ==================== TYPOGRAPHY ==================== */
.title {
    font-size: clamp(3.5rem, 10vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, #ff8fab 50%, #ff006e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(255, 0, 110, 0.3);
}

.subtitle {
    font-size: clamp(1.3rem, 4vw, 2rem);
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.heart-icon {
    display: inline-block;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.description.secondary {
    font-weight: 500;
    color: #c0c0d0;
}

/* ==================== DOWNLOAD BUTTON ==================== */
.btn-wrapper {
    margin-top: 35px;
    margin-bottom: 10px;
}

.download-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 44px;
    text-decoration: none;
    color: #fff;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #d63384 50%, var(--primary-dark) 100%);
    border-radius: 60px;
    transition: all 0.4s ease;
    z-index: 0;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.btn-text {
    transition: transform 0.3s ease;
}

.btn-ripple {
    position: absolute;
    inset: 0;
    border-radius: 60px;
    z-index: 1;
}

.download-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 62px;
    background: linear-gradient(135deg, var(--primary), #d63384, var(--accent));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 0, 110, 0.4), 0 0 30px rgba(255, 0, 110, 0.2);
}

.download-btn:hover::before {
    opacity: 1;
}

.download-btn:hover .btn-icon {
    transform: translateY(3px);
    animation: bounceDown 0.6s ease infinite;
}

.download-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.download-btn.downloading .btn-text {
    animation: pulse 1s ease-in-out infinite;
}

/* ==================== FEATURES GRID ==================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
    margin-top: 50px;
    padding: 0 10px;
}

.feature {
    padding: 24px 16px;
    border-radius: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.feature:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 0, 110, 0.3);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.15);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.2);
}

.feature-label {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ==================== FOOTER ==================== */
.footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes logoPulse {
    0%, 100% {
        box-shadow: 0 0 40px var(--glow), 0 0 80px rgba(255, 0, 110, 0.2);
    }
    50% {
        box-shadow: 0 0 60px var(--glow), 0 0 120px rgba(255, 0, 110, 0.3);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    50%, 100% { transform: translateX(100%); }
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes streakMove {
    0%, 100% {
        opacity: 0.1;
        transform: translateY(0) rotate(15deg);
    }
    50% {
        opacity: 0.25;
        transform: translateY(-50px) rotate(15deg);
    }
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% { opacity: 0.8; }
    90% { opacity: 0.3; }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(1);
    }
}

/* Splash-specific animations */
@keyframes splashFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes splashGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes splashLogoPulse {
    0%, 100% {
        box-shadow: 0 0 20px var(--glow);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 0 40px var(--glow), 0 0 60px rgba(255, 0, 110, 0.2);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes spinClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes loadProgress {
    0% { width: 0%; }
    15% { width: 15%; }
    35% { width: 35%; }
    55% { width: 55%; }
    75% { width: 75%; }
    90% { width: 90%; }
    100% { width: 100%; }
}

@keyframes dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}

@keyframes splashParticleAnim {
    0% {
        opacity: 0;
        transform: scale(0) translate(0, 0);
    }
    20% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: scale(1) translate(var(--tx), var(--ty));
    }
}

@keyframes rippleEffect {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero {
        padding: 40px 16px;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature {
        padding: 18px 12px;
    }

    .download-btn {
        padding: 16px 36px;
        font-size: 1rem;
    }

    .description {
        font-size: 0.95rem;
    }

    .orb-1 {
        width: 300px;
        height: 300px;
    }

    .splash-logo-wrapper {
        width: 100px;
        height: 100px;
    }

    .splash-logo {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 400px) {
    .features {
        grid-template-columns: 1fr;
    }
}
