/* Claim the Tower - Web Styles
   Aligned with Steam assets and game design tokens */

:root {
    /* Core colors - matching DesignTokens.cs */
    --bg-void: #0D0D14;
    --bg-surface: #14141E;
    --bg-elevated: #1A1A28;

    /* Borders */
    --border-subtle: #2A2A3A;
    --border-default: #3A3A4A;
    --border-focus: #5A5A7A;

    /* Text */
    --text-primary: #E8E8F0;
    --text-secondary: #A0A0B0;
    --text-muted: #808090;

    /* Accents - space fantasy purple/cyan */
    --accent-primary: #7B68EE;
    --accent-secondary: #5A4FCF;
    --accent-glow: #9370DB;
    --accent-cyan: #00CED1;

    /* Semantic */
    --success: #4CAF50;
    --error: #EF5350;
}

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

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-void);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

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

/* Header with Logo */
header {
    text-align: center;
    padding: 2rem 0;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

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

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
}

/* Hero Image */
.hero {
    text-align: center;
}

.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 0 40px rgba(123, 104, 238, 0.2);
}

/* Coming Soon Section */
.coming-soon {
    text-align: center;
}

.coming-soon h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 20px rgba(123, 104, 238, 0.4);
    margin-bottom: 0.75rem;
}

.coming-soon p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Newsletter Section */
.newsletter {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.newsletter h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.newsletter form {
    display: flex;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-default);
    border-radius: 4px;
    background: var(--bg-void);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.newsletter input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(123, 104, 238, 0.2);
}

.newsletter input[type="email"]::placeholder {
    color: var(--text-muted);
}

.newsletter button {
    padding: 0.875rem 1.75rem;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.newsletter button:hover {
    background: var(--accent-glow);
    box-shadow: 0 0 15px rgba(123, 104, 238, 0.4);
}

.newsletter button:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

#form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
}

#form-message.success {
    background: rgba(76, 175, 80, 0.15);
    color: var(--success);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

#form-message.error {
    background: rgba(239, 83, 80, 0.15);
    color: var(--error);
    border: 1px solid rgba(239, 83, 80, 0.3);
}

.hidden {
    display: none;
}

/* Steam Wishlist Button */
.steam-wishlist {
    text-align: center;
}

.steam-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid #66c0f4;
    transition: all 0.2s;
}

.steam-button:hover {
    background: linear-gradient(135deg, #2a475e 0%, #3d6a8e 100%);
    box-shadow: 0 0 20px rgba(102, 192, 244, 0.3);
    transform: translateY(-2px);
}

/* Privacy Policy Styles */
.privacy-policy {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem;
}

.privacy-policy h2 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.privacy-policy .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.privacy-policy section {
    margin-bottom: 2rem;
}

.privacy-policy h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.25rem;
}

.privacy-policy h4 {
    color: var(--text-secondary);
    margin: 1rem 0 0.5rem;
}

.privacy-policy ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-policy li {
    margin-bottom: 0.25rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
    border-top: 1px solid var(--border-subtle);
    margin-top: 2rem;
}

footer nav {
    margin-bottom: 0.5rem;
}

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

footer a:hover {
    color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 600px) {
    .newsletter form {
        flex-direction: column;
    }

    .logo {
        max-width: 280px;
    }

    .coming-soon h2 {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 1rem;
    }
}
