:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --secondary-text: #888888;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Home Page Specific */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.app-name {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.app-logo {
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
    border-radius: 44px; /* iOS icon radius approximation */
}

.app-store-badge {
    height: 40px;
    transition: opacity 0.2s ease;
}

.app-store-badge:hover {
    opacity: 0.8;
}

/* Legal Pages */
.content {
    padding: 4rem 0;
    flex: 1;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--secondary-text);
    margin-bottom: 3rem;
}

section {
    margin-bottom: 2.5rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-link {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text-color);
}

.back-home {
    margin-top: 2rem;
    display: inline-block;
}

/* TikTok Toast Styles */
#tiktok-toast {
    display: none; /* Hidden by default, shown via JS */
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    background: #1c1c1e;
    border: 1px solid #38383a;
    border-radius: 20px;
    padding: 30px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.toast-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    padding-right: 30px;
}

.toast-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: none;
    border: none;
    color: var(--secondary-text);
    font-size: 32px;
    cursor: pointer;
    padding: 10px;
}

.large-app-store-btn {
    display: block;
    background: #ffffff;
    color: #000000;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.large-app-store-btn:active {
    transform: scale(0.98);
}

@media (max-width: 600px) {
    .app-name {
        font-size: 3rem;
    }
    
    .container {
        padding: 1.5rem;
    }
}
