/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #DEF5F9 0%, #E8F8FA 50%, #D1F0F5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Animated background */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(34, 219, 249, 0.1) 0%,
        rgba(113, 202, 211, 0.05) 25%,
        rgba(34, 219, 249, 0.08) 50%,
        rgba(113, 202, 211, 0.03) 75%,
        rgba(34, 219, 249, 0.1) 100%
    );
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Main container */
.container {
    position: relative;
    z-index: 2;
    max-width: 450px;
    width: 90%;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(34, 219, 249, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(34, 219, 249, 0.2);
    text-align: center;
    animation: slideInUp 0.8s ease-out;
}

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

/* App icon */
.app-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 
        0 12px 24px rgba(34, 219, 249, 0.2),
        0 4px 8px rgba(113, 202, 211, 0.1);
    animation: iconFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.app-icon:hover {
    transform: scale(1.05);
}

.app-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(34, 219, 249, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; scale: 1; }
    50% { opacity: 0.8; scale: 1.1; }
}

/* Content */
.content {
    margin-bottom: 20px;
}

.app-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #22DBF9 0%, #71CAD3 50%, #22DBF9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.app-description {
    font-size: 1.1rem;
    color: #1A7B8A;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out 0.4s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons container */
.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Download buttons */
.download-button,
.website-button {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out both;
}

.android-button { animation-delay: 0.6s; }
.apk-button { animation-delay: 0.7s; }
.ios-button { animation-delay: 0.8s; }
.website-button { animation-delay: 0.9s; }

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

.android-button {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.apk-button {
    background: linear-gradient(135deg, #FF7043 0%, #D84315 100%);
}

.ios-button {
    background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
}

.website-button {
    background: linear-gradient(135deg, #22DBF9 0%, #1A7B8A 100%);
}

.download-button:hover,
.website-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(34, 219, 249, 0.2);
}

.download-button:active,
.website-button:active {
    transform: translateY(0);
}

/* Button content */
.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 2;
    position: relative;
}

.button-icon {
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.button-label {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.2;
}

.button-store {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Ripple effect */
.button-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    pointer-events: none;
    z-index: 1;
}

.button-ripple.active {
    animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Floating elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: rgba(34, 219, 249, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 40px;
    height: 40px;
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 20%;
    animation-delay: 2s;
}

.element-4 {
    width: 30px;
    height: 30px;
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Responsive design */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .app-description {
        font-size: 1rem;
    }
    
    .app-icon {
        width: 100px;
        height: 100px;
    }
    
    .app-icon-glow {
        width: 120px;
        height: 120px;
    }
    
    .download-button,
    .website-button {
        padding: 14px 20px;
    }
    
    .platform-icon {
        width: 28px;
        height: 28px;
    }
    
    .button-icon {
        margin-right: 12px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 20px 15px;
    }
    
    .app-title {
        font-size: 1.8rem;
    }
    
    .buttons-container {
        gap: 12px;
    }
}
