:root {
    --bg-color: #000000;
    --text-color: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --card-bg: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.12);
    --accent-blue: #32AAFF;
    --accent-cyan: #00EFFF;
    --accent-gradient: linear-gradient(135deg, #32AAFF 0%, #00EFFF 100%);
}

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

body {
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: url('assets/images/bg-neon.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

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

header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    text-align: center;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.badge-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 135px;
    height: 40px;
    overflow: visible;
}

.store-badge {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

/* Scale up Google Play badge content to match Apple badge visual size */
.badge-container:last-child .store-badge {
    transform: scale(1.08);
    transform-origin: center;
}

.store-badge.disabled {
    opacity: 0.6;
    cursor: default;
}

.coming-soon {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-gradient);
    color: var(--bg-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    pointer-events: none;
}

footer {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 2rem;
}

footer nav {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer nav a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

/* Legal Pages Styling */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #E0E0E0;
    text-align: left;
    line-height: 1.8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.legal-content h1 {
    color: #217396;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-content h2 {
    color: #000000;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: #000000;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p, .legal-content li {
    color: #333333;
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.last-updated {
    text-align: center;
    color: #666666;
    font-style: italic;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #217396;
    text-decoration: none;
}

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

.highlight-box {
    background: rgba(33, 115, 150, 0.1);
    border-left: 4px solid #217396;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box p {
    color: #000000;
    margin-bottom: 0;
}

/* Print styles for legal pages */
@media print {
    body {
        background: #FFFFFF;
        background-image: none;
    }
    
    .legal-content {
        background: #FFFFFF;
        border: none;
        box-shadow: none;
        padding: 1rem;
    }
    
    .legal-content h1,
    .legal-content h2,
    .legal-content h3 {
        color: #000000;
    }
    
    .legal-content p,
    .legal-content li {
        color: #000000;
    }
    
    .back-link {
        display: none;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
}
