/* =============================================
The Original 3D Chess — Shared Stylesheet
Brand: Barlow Condensed (headings), Roboto (body)
Colors: Teal #009AA5 | Dark #001510 | Accent #EF4E2A
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700&family=Roboto:wght@400;500&display=swap');

:root {
--teal: #009AA5;
--dark: #001510;
--accent: #EF4E2A;
--orange: #F58352;
--white: #FFFFFF;
--off-white: #F7F7F7;
--light-gray: #E8E8E8;
--mid-gray: #666666;
--max-width: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
font-family: 'Roboto', sans-serif;
font-size: 16px;
line-height: 1.65;
color: var(--dark);
background: var(--white);
}

h1, h2, h3, h4 {
font-family: 'Barlow Condensed', sans-serif;
font-weight: 600;
line-height: 1.1;
letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 1.5rem;
}

/* ---- BUTTONS ---- */
.btn {
display: inline-block;
font-family: 'Barlow Condensed', sans-serif;
font-size: 1.1rem;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
padding: 0.85rem 2rem;
border-radius: 3px;
cursor: pointer;
transition: opacity 0.15s, transform 0.15s;
text-decoration: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }

.btn-primary {
background: var(--accent);
color: var(--white);
}
.btn-secondary {
background: transparent;
color: var(--white);
border: 2px solid var(--white);
}
.btn-teal {
background: var(--teal);
color: var(--white);
}

/* ---- NAVIGATION ---- */
.site-nav {
position: sticky;
top: 0;
z-index: 100;
background: var(--dark);
border-bottom: 2px solid var(--teal);
}
.nav-inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.9rem 1.5rem;
max-width: var(--max-width);
margin: 0 auto;
}
.nav-logo {
font-family: 'Barlow Condensed', sans-serif;
font-weight: 700;
font-size: 1.25rem;
color: var(--white);
letter-spacing: 0.04em;
text-decoration: none;
text-transform: uppercase;
}
.nav-logo span { color: var(--teal); }
.nav-links {
display: flex;
align-items: center;
gap: 1.8rem;
list-style: none;
}
.nav-links a {
color: rgba(255,255,255,0.8);
font-family: 'Barlow Condensed', sans-serif;
font-size: 1rem;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
text-decoration: none;
transition: color 0.15s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links .btn-primary { padding: 0.5rem 1.2rem; font-size: 0.95rem; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
display: block; width: 24px; height: 2px;
background: var(--white); margin: 5px 0; transition: 0.3s;
}

@media (max-width: 700px) {
.nav-toggle { display: block; }
.nav-links {
display: none;
position: absolute;
top: 100%; left: 0; right: 0;
background: var(--dark);
flex-direction: column;
padding: 1.5rem;
gap: 1.2rem;
border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-links.open { display: flex; }
.site-nav { position: relative; }
}

/* ---- HERO ---- */
.hero {
background: var(--dark);
color: var(--white);
padding: 5rem 1.5rem 4rem;
text-align: center;
}
.hero-eyebrow {
font-family: 'Barlow Condensed', sans-serif;
font-size: 1rem;
font-weight: 600;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--teal);
margin-bottom: 1rem;
}
.hero h1 {
max-width: 800px;
margin: 0 auto 1.2rem;
color: var(--white);
}
.hero-sub {
font-size: 1.15rem;
max-width: 580px;
margin: 0 auto 2.2rem;
color: rgba(255,255,255,0.75);
line-height: 1.6;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-image {
margin: 3.5rem auto 0;
max-width: 620px;
border-radius: 6px;
overflow: hidden;
box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Page hero (inner pages) */
.page-hero {
background: var(--dark);
color: var(--white);
padding: 3.5rem 1.5rem;
text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.6rem; }
.page-hero p {
color: rgba(255,255,255,0.7);
font-size: 1.1rem;
max-width: 600px;
margin: 0 auto;
}

/* ---- SECTIONS ---- */
section { padding: 4.5rem 0; }
.section-label {
font-family: 'Barlow Condensed', sans-serif;
font-size: 0.9rem;
font-weight: 600;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--teal);
margin-bottom: 0.6rem;
}
.section-title { margin-bottom: 1rem; }
.section-intro { font-size: 1.1rem; color: var(--mid-gray); max-width: 620px; }

/* ---- HIGHLIGHTS GRID ---- */
.highlights { background: var(--off-white); }
.highlights-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.highlight-card {
background: var(--white);
border-radius: 6px;
padding: 2rem 1.75rem;
border-top: 3px solid var(--teal);
}
.highlight-icon {
font-size: 2rem;
margin-bottom: 1rem;
}
.highlight-card h3 {
font-size: 1.4rem;
margin-bottom: 0.5rem;
color: var(--dark);
}
.highlight-card p { color: var(--mid-gray); font-size: 0.95rem; }

/* ---- ABOUT STRIP ---- */
.about-strip {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
@media (max-width: 700px) {
.about-strip { grid-template-columns: 1fr; gap: 2rem; }
}
.about-strip img { border-radius: 6px; }

/* ---- FEATURE LIST ---- */
.feature-list { list-style: none; margin: 1.5rem 0; }
.feature-list li {
padding: 0.5rem 0 0.5rem 1.8rem;
position: relative;
color: var(--mid-gray);
}
.feature-list li::before {
content: "✓";
position: absolute; left: 0;
color: var(--teal);
font-weight: 700;
}

/* ---- CTA STRIP ---- */
.cta-strip {
background: var(--accent);
color: var(--white);
text-align: center;
padding: 3.5rem 1.5rem;
}
.cta-strip h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-strip p { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 2rem; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
border-bottom: 1px solid var(--light-gray);
padding: 1.5rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
font-family: 'Barlow Condensed', sans-serif;
font-size: 1.25rem;
font-weight: 600;
color: var(--dark);
margin-bottom: 0.6rem;
}
.faq-a { color: var(--mid-gray); }

/* ---- PROSE (How to Play) ---- */
.prose {
max-width: 760px;
margin: 0 auto;
}
.prose h2 { margin: 2.5rem 0 0.75rem; color: var(--dark); }
.prose h3 { margin: 2rem 0 0.5rem; color: var(--teal); }
.prose p { color: var(--mid-gray); margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.5rem; color: var(--mid-gray); }
.prose li { margin-bottom: 0.4rem; }

/* ---- RULE CALLOUT ---- */
.rule-callout {
background: #EBF8F9;
border-left: 4px solid var(--teal);
padding: 1.2rem 1.5rem;
border-radius: 0 4px 4px 0;
margin: 1.5rem 0;
}
.rule-callout p { color: var(--dark); margin: 0; }

/* ---- FOOTER ---- */
.site-footer {
background: var(--dark);
color: rgba(255,255,255,0.5);
text-align: center;
padding: 2.5rem 1.5rem;
font-size: 0.9rem;
}
.site-footer a { color: var(--teal); }
.footer-nav {
display: flex;
justify-content: center;
gap: 2rem;
margin-bottom: 1rem;
flex-wrap: wrap;
}
.footer-nav a {
font-family: 'Barlow Condensed', sans-serif;
font-size: 0.95rem;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
color: rgba(255,255,255,0.6);
}
.footer-nav a:hover { color: var(--teal); }

/* ---- PRODUCT PHOTO GALLERY ---- */
.product-gallery { background: var(--off-white); }
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
margin-top: 2.5rem;
}
.gallery-item {
background: var(--white);
border-radius: 6px;
padding: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
min-height: 200px;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.gallery-item img {
max-height: 220px;
object-fit: contain;
width: 100%;
}
.photo-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 1rem;
margin-top: 1.5rem;
}
.photo-row img {
border-radius: 4px;
width: 100%;
aspect-ratio: 4/3;
object-fit: cover;
}

/* ---- BOX PHOTO (about page) ---- */
.box-photo-strip {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: center;
margin-top: 3rem;
}
@media (max-width: 700px) {
.box-photo-strip { grid-template-columns: 1fr; gap: 1.5rem; }
.gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.box-photo-strip img { border-radius: 6px; }
