/* ==========================================================================
   EasyToBuyTickets — main stylesheet
   Design language: dark "floodlit pitch" navy, signal-green CTAs, amber
   reserved strictly for urgency (price/limited cues), restrained motion.
   ========================================================================== */

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--etbt-font-body);
	color: var(--etbt-ink);
	background: var(--etbt-paper);
	line-height: 1.5;
}

h1, h2, h3, h4 {
	font-family: var(--etbt-font-display);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.5em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.etbt-container {
	max-width: var(--etbt-container);
	margin: 0 auto;
	padding: 0 24px;
}

/* Buttons */
.etbt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.etbt-btn:hover { transform: translateY(-1px); }
.etbt-btn--accent { background: var(--etbt-go); color: #06210F; }
.etbt-btn--accent:hover { box-shadow: 0 8px 20px rgba(34,197,94,0.35); }
.etbt-btn--ghost { background: transparent; color: var(--etbt-ink); border-color: var(--etbt-line); }
.etbt-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.etbt-btn--sm { padding: 8px 16px; font-size: 13px; }

/* Header */
.etbt-header { background: var(--etbt-ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.etbt-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 24px; }
.etbt-logo { display: flex; align-items: center; gap: 8px; font-family: var(--etbt-font-display); font-weight: 700; font-size: 20px; color: #fff; }
.etbt-logo__mark { font-size: 22px; }
.etbt-nav__list { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.etbt-nav__list a { font-size: 15px; opacity: 0.85; }
.etbt-nav__list a:hover { opacity: 1; }
.etbt-header__actions { display: flex; gap: 12px; align-items: center; }
.etbt-header .etbt-btn--ghost { color: #fff; border-color: rgba(255,255,255,0.3); }

/* Hero */
.etbt-hero {
	background:
		linear-gradient(180deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.95) 100%),
		repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 80px);
	color: #fff;
	padding: 96px 0 80px;
	text-align: center;
}
.etbt-hero__inner { max-width: 760px; margin: 0 auto; }
.etbt-hero__headline { font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; }
.etbt-hero__sub { font-size: 18px; opacity: 0.85; margin-bottom: 36px; }
.etbt-hero__search { display: flex; max-width: 540px; margin: 0 auto 28px; gap: 8px; }
.etbt-hero__search input {
	flex: 1; padding: 14px 18px; border-radius: 999px; border: none; font-size: 15px;
}
.etbt-hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.etbt-section { padding: 64px 0; }
.etbt-section--mist { background: var(--etbt-mist); }
.etbt-section--page-header { padding: 48px 0 24px; }
.etbt-section__title { font-size: 32px; margin-bottom: 32px; text-align: center; }

/* Competitions */
.etbt-competition-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.etbt-competition-card {
	background: var(--etbt-ink);
	color: #fff;
	border-radius: var(--etbt-radius);
	padding: 28px 18px;
	text-align: center;
	font-family: var(--etbt-font-display);
	font-weight: 600;
	transition: background 0.15s ease;
}
.etbt-competition-card:hover { background: var(--etbt-ink-soft); }

/* Match cards */
.etbt-match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.etbt-match-card {
	background: var(--etbt-paper);
	border: 1px solid var(--etbt-line);
	border-radius: var(--etbt-radius);
	overflow: hidden;
	display: block;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.etbt-match-card:hover { box-shadow: 0 12px 28px rgba(15,23,42,0.12); transform: translateY(-2px); }
.etbt-match-card__media { position: relative; aspect-ratio: 16/9; background: var(--etbt-ink-soft); }
.etbt-match-card__media img { width: 100%; height: 100%; object-fit: cover; }
.etbt-match-card__media-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff; }
.etbt-match-card__badge {
	position: absolute; top: 12px; left: 12px;
	background: var(--etbt-go); color: #06210F;
	font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.etbt-match-card__body { padding: 18px; }
.etbt-match-card__teams { font-size: 18px; margin-bottom: 8px; }
.etbt-match-card__teams span { color: var(--etbt-text-muted); font-weight: 400; font-size: 14px; }
.etbt-match-card__meta { display: flex; gap: 12px; font-size: 13px; color: var(--etbt-text-muted); margin-bottom: 16px; flex-wrap: wrap; }
.etbt-match-card__footer { display: flex; align-items: center; justify-content: space-between; }
.etbt-match-card__price { font-weight: 700; font-size: 14px; }

/* Feature grid */
.etbt-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.etbt-feature-card { padding: 24px; border-radius: var(--etbt-radius); border: 1px solid var(--etbt-line); }
.etbt-feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.etbt-feature-card p { color: var(--etbt-text-muted); font-size: 14px; margin: 0; }

/* FAQ */
.etbt-faq { max-width: 720px; }
.etbt-faq__item { border-bottom: 1px solid var(--etbt-line); padding: 18px 0; }
.etbt-faq__item summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.etbt-faq__item p { color: var(--etbt-text-muted); margin: 12px 0 0; }

/* Match single page */
.etbt-match-hero { background: var(--etbt-ink); color: #fff; padding: 56px 0; }
.etbt-eyebrow { display: inline-block; background: var(--etbt-amber); color: #2A1B00; font-weight: 700; font-size: 12px; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.etbt-match-hero__title { font-size: clamp(28px, 4vw, 42px); }
.etbt-match-hero__title span { color: var(--etbt-go); font-weight: 400; font-size: 0.6em; }
.etbt-match-hero__meta { display: flex; gap: 16px; opacity: 0.85; font-size: 14px; flex-wrap: wrap; }

.etbt-match-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.etbt-match-summary-card { background: var(--etbt-mist); border-radius: var(--etbt-radius); padding: 20px; }
.etbt-match-summary-card dl { margin: 0; }
.etbt-match-summary-card dt { font-size: 12px; text-transform: uppercase; color: var(--etbt-text-muted); margin-top: 12px; }
.etbt-match-summary-card dd { margin: 2px 0 0; font-weight: 700; }
.etbt-trust-note { font-size: 13px; color: var(--etbt-text-muted); margin-top: 16px; }

.etbt-empty { color: var(--etbt-text-muted); text-align: center; padding: 40px 0; }

/* Footer */
.etbt-footer { background: var(--etbt-ink); color: #fff; padding: 56px 0 0; margin-top: 64px; }
.etbt-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.etbt-footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.7; }
.etbt-footer ul { list-style: none; margin: 0; padding: 0; }
.etbt-footer li { margin-bottom: 10px; font-size: 14px; opacity: 0.85; }
.etbt-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 24px; font-size: 13px; opacity: 0.6; text-align: center; }

@media (max-width: 880px) {
	.etbt-nav { display: none; }
	.etbt-match-layout { grid-template-columns: 1fr; }
	.etbt-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.etbt-btn, .etbt-match-card { transition: none; }
}
