/* ==========================================================================
   Echoes of the Queen — shared site styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #14141f;
    --bg-alt: #1a1a2e;
    --panel: #20213a;
    --panel-border: rgba(255, 255, 255, 0.08);
    --text: #e8e8f2;
    --text-muted: #b8b8d1;
    --accent-gold: #f0c419;
    --accent-1: #667eea;
    --accent-2: #764ba2;
    --discord: #5865F2;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(20, 20, 31, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--panel-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    gap: 16px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15rem;
    color: var(--accent-gold);
    white-space: nowrap;
}

.nav-brand img {
    height: 32px;
    width: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-cta {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* ---------- Hero ---------- */

.hero {
    padding: 56px 24px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.play-button {
    padding: 20px 48px;
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.play-button:active {
    transform: translateY(-1px);
}

.discord-button {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    background-color: var(--discord);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    align-self: center;
}

.discord-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6);
}

.discord-button:active {
    transform: translateY(-1px);
}

/* ---------- Sections ---------- */

section {
    padding: 64px 0;
}

section.alt {
    background: var(--bg-alt);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.about-copy h2 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.about-copy p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: left;
}

.feature-card .feature-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    color: var(--text);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.discord-section {
    text-align: center;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 24px;
}

.screenshot-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    overflow: hidden;
    margin: 0;
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-card figcaption {
    padding: 14px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.discord-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0 auto 24px;
    max-width: 480px;
}

.cta-final {
    text-align: center;
}

.cta-final h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.cta-final p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* ---------- Simple content pages (contact / privacy / terms) ---------- */

.page-header {
    padding: 56px 0 24px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-muted);
}

.content-panel {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 64px;
}

.content-panel h2 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin: 32px 0 12px;
}

.content-panel h2:first-child {
    margin-top: 0;
}

.content-panel p,
.content-panel li {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.content-panel ul {
    padding-left: 24px;
    margin-bottom: 12px;
}

.content-panel .updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 28px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.contact-card {
    background: var(--bg-alt);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}

.contact-card h3 {
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.contact-card a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ---------- Footer ---------- */

.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--panel-border);
    background: var(--bg-alt);
    padding: 32px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (min-width: 800px) {
    .about-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .content-panel {
        padding: 28px 20px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero .container {
        padding: 0;
    }

    .hero-image {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .feature-card {
        text-align: center;
    }

    .feature-card .feature-icon {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
