/* thornroad.css — the Thornroad page (thornroad/index.php) and its banner on the home page */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.tr-hero {
    position: relative; overflow: hidden; text-align: center;
    padding: 72px 0 64px;
    background: linear-gradient(180deg, rgba(11, 22, 35, 0.35) 0%, rgba(11, 22, 35, 0.75) 70%, var(--bg-primary) 100%),
                var(--tr-hero) center / cover no-repeat, var(--bg-secondary);
}
.tr-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tr-hero__logo { width: min(560px, 86%); height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6)); }
.tr-hero__badge {
    display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em;
    text-transform: uppercase; color: #ffe2a0; background: rgba(107, 66, 32, 0.85); border: 1px solid #c8923a;
}
.tr-hero__tagline { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--text-primary); max-width: 640px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); }
.tr-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.btn--lg { padding: 14px 26px; font-size: 1rem; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.tr-section--alt { background: var(--bg-secondary); }
.tr-heading { text-align: center; margin-bottom: 28px; font-size: clamp(1.5rem, 3vw, 2rem); }
.tr-two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.tr-video video { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: #000; display: block; }
.tr-about h2 { margin-bottom: 14px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.tr-about p { color: var(--text-secondary); margin-bottom: 12px; line-height: 1.65; }

.tr-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.tr-feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.tr-feature h3 { font-size: 1.05rem; margin-bottom: 8px; color: #ffd35a; }
.tr-feature p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.55; }

.tr-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .tr-shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tr-shots { grid-template-columns: 1fr; } }
.tr-shots img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); display: block;
    transition: transform var(--transition), border-color var(--transition); }
.tr-shots a:hover img { transform: translateY(-2px); border-color: var(--border-bright); }

.tr-steam { text-align: center; }
.tr-steam__widget { width: 100%; max-width: 646px; height: 190px; border: 0; border-radius: var(--radius); background: transparent; }
.tr-note { color: var(--text-secondary); margin-top: 14px; }

.tr-merch { text-align: center; }
.tr-merch__intro { color: var(--text-secondary); margin: -12px auto 24px; max-width: 560px; }
.tr-merch__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto 28px; }
@media (max-width: 640px) { .tr-merch__grid { grid-template-columns: 1fr; max-width: 360px; } }
.tr-merch__item { display: block; color: var(--text-primary); text-decoration: none; }
.tr-merch__item img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border);
    transition: transform .2s, border-color .2s; }
.tr-merch__item:hover img { transform: translateY(-2px); border-color: var(--border-bright); }
.tr-merch__item span { display: block; margin-top: 10px; font-weight: 600; }

.tr-origin { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: center; }
.tr-origin img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.tr-origin h2 { margin-bottom: 10px; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.tr-origin p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }

@media (max-width: 860px) {
    .tr-two, .tr-origin { grid-template-columns: 1fr; }
    .tr-origin img { max-width: 360px; }
    .tr-hero { padding: 48px 0 44px; }
}

/* ── Home page banner (index.php) ─────────────────────────────────────────── */
.tr-banner {
    position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
    padding: 26px 32px; border-radius: var(--radius-xl); overflow: hidden; color: var(--text-primary); text-decoration: none;
    background: linear-gradient(90deg, rgba(11, 22, 35, 0.92) 0%, rgba(11, 22, 35, 0.78) 55%, rgba(11, 22, 35, 0.85) 100%),
                var(--tr-hero) center / cover no-repeat, var(--bg-secondary);
    border: 1px solid rgba(200, 146, 58, 0.45); box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.tr-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tr-banner__logo { width: 240px; height: auto; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)); }
.tr-banner__eyebrow { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #ffd35a; margin-bottom: 4px; }
.tr-banner__title { font-size: clamp(1.15rem, 2.2vw, 1.45rem); margin-bottom: 4px; }
.tr-banner__desc { color: var(--text-secondary); font-size: 0.93rem; }
@media (max-width: 760px) {
    .tr-banner { grid-template-columns: 1fr; text-align: center; padding: 22px 20px; gap: 14px; }
    .tr-banner__logo { margin: 0 auto; width: 200px; }
}

/* ── Arcade card (games.php) ──────────────────────────────────────────────── */
.game-menu-card.gmc--thornroad { border-color: rgba(200, 146, 58, 0.55);
    background: linear-gradient(120deg, rgba(107, 66, 32, 0.35), rgba(22, 37, 58, 0.9)); }
.gmc--thornroad .gmc-title { color: #ffd35a; }
