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

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    z-index: 2;
    position: relative;
}

.text-container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.title {
    margin-bottom: 0.5rem;
}

.logo {
    width: clamp(200px, 40vw, 400px);
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.slogan {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.app-store-link {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.app-store-badge {
    width: 180px;
    height: 60px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.footer {
    padding: 1.5rem 2rem;
    text-align: center;
    z-index: 2;
    position: relative;
}

.footer p {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-link {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Privacy Policy page */
.policy-container {
    max-width: 640px;
    text-align: left;
}

.policy-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-align: center;
}

.policy-app-name {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.7;
    text-align: center;
    margin-bottom: 2rem;
}

.policy-content h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.policy-content p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.9;
}

.policy-content a {
    color: #fff;
    text-decoration: underline;
    opacity: 0.9;
}

.policy-content a:hover {
    opacity: 1;
}

.policy-effective {
    margin-top: 2rem;
    font-style: italic;
    opacity: 0.6 !important;
}

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    text-align: center;
    width: 100%;
}

.back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .content {
        padding: 1.5rem;
    }

    .text-container {
        padding: 2rem 2rem;
    }

    .app-store-badge {
        width: 150px;
        height: 50px;
    }

    .slogan {
        margin-bottom: 1.5rem;
    }

    .logo {
        width: clamp(150px, 60vw, 250px);
    }
}

/* Animation for subtle entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.footer {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
