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

:root {
    --color-pink: #c77dff;
    --color-purple: #9d4edd;
    --color-blue: #7b2cbf;
    --color-cyan: #5a189a;
    --color-orange: #b298dc;
    --color-yellow: #c77dff;
    --bg-gradient-start: #1a0b2e;
    --bg-gradient-mid: #16213e;
    --bg-gradient-end: #0f172a;
    --text-dark: #e9d5ff;
    --text-muted: #c084fc;
    --shadow-color: rgba(157, 78, 221, 0.4);
    --shadow-color-pink: rgba(199, 125, 255, 0.4);
    --shadow-color-blue: rgba(123, 44, 191, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 25%, var(--bg-gradient-end) 50%, #1a0b2e 75%, var(--bg-gradient-start) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(199, 125, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(157, 78, 221, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(123, 44, 191, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(90, 24, 154, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-purple));
    top: 10%;
    left: 10%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
    top: 60%;
    right: 15%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-yellow));
    bottom: 20%;
    left: 20%;
    animation-duration: 20s;
    animation-delay: -10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--color-purple), var(--color-pink));
    top: 30%;
    right: 30%;
    animation-duration: 35s;
    animation-delay: -15s;
}

.container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 40px);
    position: relative;
    z-index: 2;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, 
        var(--color-pink) 0%, 
        var(--color-purple) 25%, 
        var(--color-blue) 50%, 
        var(--color-cyan) 75%, 
        var(--color-pink) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 20px var(--shadow-color));
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.title.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: gradientShift 6s ease infinite, titlePulse 3s ease-in-out infinite;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-purple), var(--color-blue), var(--color-cyan));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
    animation: gradientShift 4s ease infinite;
}

.subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-section {
    margin-top: 48px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
}

.cta-section.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.google-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: linear-gradient(135deg, 
        var(--color-pink) 0%, 
        var(--color-purple) 25%, 
        var(--color-blue) 50%, 
        var(--color-cyan) 100%);
    background-size: 200% auto;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px var(--shadow-color-pink),
        0 4px 16px var(--shadow-color-blue),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: gradientShift 3s ease infinite;
}

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

.google-play-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

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

.google-play-btn:hover::after {
    width: 300px;
    height: 300px;
}

.google-play-btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 
        0 16px 48px var(--shadow-color-pink),
        0 8px 24px var(--shadow-color-blue),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background-position: 100% center;
}

.google-play-btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 24px var(--shadow-color-pink),
        0 4px 12px var(--shadow-color-blue);
}

.google-play-btn:focus {
    outline: 3px solid var(--color-purple);
    outline-offset: 4px;
}

.play-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.google-play-btn:hover .play-icon {
    transform: scale(1.2) rotate(5deg);
}

.footer {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 2px solid;
    border-image: linear-gradient(90deg, 
        transparent, 
        var(--color-pink), 
        var(--color-purple), 
        var(--color-blue), 
        transparent) 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s;
}

.footer.animate {
    opacity: 1;
    transform: translateY(0);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    padding: 6px 12px;
    border-radius: 8px;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-pink), var(--color-purple));
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-pink), var(--color-purple), var(--color-blue));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.footer-link:hover::after {
    width: 80%;
}

.footer-link:focus {
    outline: 2px solid var(--color-purple);
    outline-offset: 4px;
    border-radius: 8px;
}

.separator {
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 300;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}

@keyframes titlePulse {
    0%, 100% {
        filter: drop-shadow(0 4px 20px var(--shadow-color));
    }
    50% {
        filter: drop-shadow(0 8px 30px var(--shadow-color-pink)) drop-shadow(0 4px 20px var(--shadow-color-blue));
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-animate {
    opacity: 0;
}

.scroll-animate.animate {
    opacity: 1;
}

@media (max-width: 640px) {
    .container {
        max-width: 100%;
    }
    
    .main-content {
        gap: 16px;
    }
    
    .cta-section {
        margin-top: 36px;
    }
    
    .google-play-btn {
        padding: 18px 32px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .play-icon {
        width: 24px;
        height: 24px;
    }
    
    .footer {
        margin-top: 60px;
        padding-top: 28px;
        gap: 12px;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
    
    .shape {
        filter: blur(40px);
    }
    
    .shape-1, .shape-2, .shape-3, .shape-4 {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }
    
    .google-play-btn {
        padding: 16px 28px;
        font-size: 0.95rem;
    }
    
    .play-icon {
        width: 22px;
        height: 22px;
    }
    
    .title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}
