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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header {
    margin-bottom: 32px;
}

.title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.description {
    font-size: 18px;
    font-weight: 400;
    color: #5a6c7d;
    line-height: 1.5;
}

.download-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-text {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.play-store-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-store-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.play-store-link:active {
    transform: translateY(0);
}

.play-store-badge {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 8px;
}

.text-link {
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.link-label {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 8px;
}

.download-link {
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
}

.download-link:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Media queries per dispositivi più piccoli */
@media (max-width: 360px) {
    body {
        padding: 16px;
    }
    
    .container {
        padding: 32px 16px;
    }
    
    .title {
        font-size: 24px;
    }
    
    .description {
        font-size: 16px;
    }
    
    .cta-text {
        font-size: 18px;
    }
}

/* Media queries per dispositivi più grandi */
@media (min-width: 768px) {
    .container {
        max-width: 480px;
        padding: 48px 32px;
    }
    
    .title {
        font-size: 32px;
    }
    
    .description {
        font-size: 20px;
    }
    
    .cta-text {
        font-size: 22px;
    }
}

/* Stile per focus accessibilità */
.play-store-link:focus,
.download-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Animazione di entrata */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeInUp 0.6s ease-out;
}

.header {
    animation-delay: 0.1s;
}

.main-content {
    animation-delay: 0.2s;
}

.header,
.main-content {
    animation-fill-mode: both;
}
