:root {
    --tg-blue: #2481cc;
    --tg-bg: #ffffff;
    --tg-text: #222;
    --tg-secondary-text: #707579;
    --tg-button-hover: #1e6fa3;
    --tg-button-active: #1a5c8a;
    --tg-border-radius: 12px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

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

body {
    font-family: var(--font-family);
    background-color: var(--tg-bg);
    color: var(--tg-text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-placeholder {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--tg-text);
}

.subtitle {
    font-size: 16px;
    color: var(--tg-secondary-text);
    margin-bottom: 12px;
    font-weight: 400;
}

.description {
    font-size: 15px;
    color: var(--tg-secondary-text);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 320px; /* Constrain width for better readability on desktop */
}

.cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--tg-blue);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: var(--tg-border-radius);
    font-size: 16px; /* Slightly larger for touch targets */
    font-weight: 500;
    width: 100%;
    max-width: 300px; /* Maximum width for button */
    transition: background-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
    border: none;
    outline: none;
    margin-bottom: 16px; /* Add space below button */
}

.cta-button:hover {
    background-color: var(--tg-button-hover);
}

.cta-button:active {
    background-color: var(--tg-button-active);
    transform: scale(0.98);
}

.secondary-link {
    font-size: 14px;
    color: var(--tg-secondary-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.secondary-link:hover {
    color: var(--tg-blue);
    text-decoration: underline;
}

/* Privacy Page Specifics */
.privacy-content {
    text-align: left;
    max-width: 100%;
}

.privacy-content h2 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--tg-text);
}

.privacy-content p {
    font-size: 15px;
    color: var(--tg-text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.privacy-content ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.privacy-content li {
    font-size: 15px;
    color: var(--tg-text);
    margin-bottom: 8px;
}

.back-link {
    display: inline-block;
    margin-top: 24px;
    font-size: 15px;
    color: var(--tg-blue);
    text-decoration: none;
    font-weight: 500;
}

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

/* Mobile optimizations */
@media (max-width: 480px) {
    .cta-button {
        width: 100%; /* Full width on small screens */
    }
}
