/* DevTraum static site: additions on top of styles.css */

/* ---------- Desert Echo showcase ---------- */
.game {
    --de-bg: #0d0906;
    --de-panel: #1c150e;
    --de-line: #3a2a1a;
    --de-sand: #d99a3a;
    --de-sand2: #f2c177;
    --de-ember: #ff6a1f;
    --de-cyan: #3ff0ff;
    --de-text: #efe4d4;
    --de-muted: #a8957c;
    position: relative;
    padding: 100px 0;
    color: var(--de-text);
    background:
        linear-gradient(180deg, rgba(13,9,6,.82) 0%, rgba(13,9,6,.94) 45%, var(--de-bg) 100%),
        url("../assets/desert-echo/hero.jpg") center top / cover no-repeat;
    overflow: hidden;
}

.game .section-header { margin-bottom: 3rem; }
.game .section-title { color: var(--de-sand2); }
.game .section-subtitle { color: var(--de-muted); }

.game-kicker {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--de-cyan);
    margin-bottom: .75rem;
}

.game-intro {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.game-capsule {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--de-line);
    box-shadow: 0 25px 60px rgba(0,0,0,.6), 0 0 0 4px rgba(217,154,58,.12);
}

.game-logo {
    max-width: 360px;
    width: 100%;
    height: auto;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 0 12px rgba(217,154,58,.35));
}

.game-tagline {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--de-sand2);
    margin-bottom: 1rem;
}

.game-text p { color: var(--de-text); opacity: .9; font-size: 1.075rem; }

.game-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1.5rem 0;
}

.game-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .9rem;
    border: 1px solid var(--de-line);
    background: rgba(28,21,14,.85);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--de-sand2);
}

.game-badge i { color: var(--de-ember); }

.game-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.btn-steam {
    background: linear-gradient(135deg, #ff6a1f 0%, #d99a3a 100%);
    color: #120c07;
    box-shadow: 0 10px 25px rgba(255,106,31,.3);
}
.btn-steam:hover { color: #120c07; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,106,31,.45); }

.btn-outline-sand {
    background: transparent;
    color: var(--de-sand2);
    border: 2px solid var(--de-sand);
}
.btn-outline-sand:hover { background: rgba(217,154,58,.12); color: var(--de-sand2); transform: translateY(-2px); }

.game-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.game-feature {
    background: rgba(28,21,14,.9);
    border: 1px solid var(--de-line);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition-smooth);
}
.game-feature:hover { border-color: var(--de-sand); transform: translateY(-4px); }

.game-feature .card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.game-feature .card-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6a1f, #f2c177);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.game-feature h3 { font-size: 1.2rem; margin: 0; color: var(--de-sand2); }
.game-feature p { margin: 0; color: var(--de-muted); font-size: .98rem; line-height: 1.7; }

.game-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.game-gallery a {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--de-line);
    aspect-ratio: 16 / 9;
}
.game-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.game-gallery a:hover img { transform: scale(1.05); }

.game-more {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--de-muted);
}
.game-more a { color: var(--de-sand2); font-weight: 600; text-decoration: underline; }
.game-more a:hover { color: var(--de-cyan); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(5,3,2,.92);
    padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-md); }
.lightbox button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

/* ---------- Contact: ClickUp embed ---------- */
.contact-embed {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    min-height: 360px;
    display: flex;
    flex-direction: column;
}

.embed-placeholder {
    margin: auto;
    text-align: center;
    max-width: 420px;
}
.embed-placeholder .info-icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }
.embed-placeholder h3 { font-size: 1.35rem; color: var(--text-dark); }
.embed-placeholder p { color: var(--text-light); font-size: .95rem; }
.embed-placeholder .alt-contact { margin-top: 1rem; font-size: .9rem; }

.clickup-embed {
    display: block;
    width: 100%;
    min-height: 640px;
    border: 0;
    background: transparent;
}

/* ---------- Legal pages ---------- */
.legal-dl {
    display: grid;
    grid-template-columns: minmax(160px, 240px) 1fr;
    gap: .5rem 1.25rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}
.legal-dl dt { font-weight: 600; color: var(--text-light); }
.legal-dl dd { margin: 0; color: var(--text-dark); }

/* ---------- Footer extras ---------- */
.footer-brand .footer-address { font-size: .9rem; opacity: .7; margin-top: .5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .game-intro { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .game-capsule { max-width: 260px; margin: 0 auto; }
    .game-logo { margin-left: auto; margin-right: auto; }
    .game-badges, .game-actions { justify-content: center; }
    .game-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .game { padding: 70px 0; }
    .game-gallery { grid-template-columns: 1fr; }
    .contact-embed { padding: 1rem; }
    .legal-dl { grid-template-columns: 1fr; gap: .15rem; }
    .legal-dl dd { margin-bottom: .6rem; }
}
