@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 24px;
    background-color: #2C7D80;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    max-width: 400px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-wrapper {
    margin-bottom: 48px;
}

.logo-container {
    width: 112px;
    height: 112px;
    margin: 0 auto;
    background-color: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 4px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.title-section {
    margin-bottom: 24px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin: 0;
    color: white;
    line-height: 1.1;
}

h1.with-subtitle {
    margin-bottom: 12px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.top-right-btn {
    position: fixed;
    top: 24px;
    right: 24px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-right-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.info-box {
    padding: 20px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.info-value {
    font-weight: 600;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    color: white;
    display: block;
    margin-top: 8px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.button {
    width: 100%;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.button svg {
    width: 24px;
    height: 24px;
}

.button-primary {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
}

.button-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.button-outline {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.8rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    .top-right-btn {
        top: 16px;
        right: 16px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Text Content Pages (Privacy Policy, terms, etc) */
.content-container {
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px auto;
    animation: fadeIn 0.8s ease-out;
}

.policy-text {
    text-align: left;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.policy-text h2 {
    color: white;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.policy-text h3 {
    color: white;
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.policy-text p {
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.policy-text ul {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.policy-text li {
    margin-bottom: 0.8rem;
    font-weight: 300;
}

.policy-text hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0;
}

.policy-text a {
    color: #81C784;
    text-decoration: none;
    transition: opacity 0.2s;
}

.policy-text a:hover {
    opacity: 0.8;
}

.lang-switch {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.lang-switch a {
    color: white;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.lang-switch a:hover {
    opacity: 1;
}

.muted {
    opacity: 0.5;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .content-container {
        padding: 24px;
        margin: 20px 16px;
        border-radius: 24px;
    }

    .policy-text h1 {
        font-size: 2.2rem;
    }
}