/* hzdance.com - main styles. Responsive, performance-friendly */
:root {
  --bg-dark: #1a1a22;
  --bg-card: #252532;
  --bg-header: rgba(26, 26, 34, 0.95);
  --text: #e8e8ed;
  --text-muted: #dddddf;
  --accent: #e8c547;
  --accent-hover: #f0d560;
  --border: #3a3a4a;
  --footer-bg: #16161d;
  --btn-cta: #e8a02e;
  --btn-cta-hover: #f0b040;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
    sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-dark) url("../images/backimg.webp") center / cover
    no-repeat fixed;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 34, 0.75);
  z-index: 0;
  pointer-events: none;
}

body > * {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: auto;
}

/* Main */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
}

.hero {
  text-align: center;
  padding: 2rem 0 2.5rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
}

.hero .subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Offer card - single */
.offer-section {
  margin-bottom: 3rem;
}

.offer-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.2s ease;
}

.offer-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.offer-logo {
  flex-shrink: 0;
  width: 95px;
  height: 21px;
}

.offer-logo img {
  width: 95px;
  height: 21px;
  object-fit: contain;
}

.offer-rating {
  flex: 1 1 120px;
}

.offer-rating .score {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.offer-rating .stars {
  color: var(--accent);
  font-size: 0.9rem;
}

.offer-rating .reviews {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.offer-bonus {
  flex: 1 1 200px;
  font-weight: 600;
  color: #fff;
}

.offer-features {
  flex: 1 1 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.offer-features li::before {
  content: "✓ ";
  color: var(--accent);
}

.offer-cta {
  flex-shrink: 0;
}

.btn-visit {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--btn-cta);
  color: #1a1a22;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-visit:hover {
  background: var(--btn-cta-hover);
  text-decoration: none;
  color: #1a1a22;
}

/* Content sections - betting/sports */
.content-section {
  margin-bottom: 2.5rem;
}

.content-section h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  color: #fff;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.content-section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
}

.content-section p,
.content-section ul {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.content-section ul {
  padding-left: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-brand .logo-img {
  height: 28px;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links h4 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-responsible {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-responsible-text {
  width: 100%;
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-responsible a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-responsible a:hover {
  text-decoration: none;
  opacity: 0.9;
}

.footer-responsible img {
  height: 28px;
  width: auto;
  /* max-width: 80px; */
  object-fit: contain;
}

.footer-responsible .badge-18 img {
  height: 28px;
  width: auto;
  max-width: 100px;
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1 1 280px;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition: background 0.2s ease;
}

.btn-cookie-accept {
  background: var(--accent);
  color: #1a1a22;
  border-color: var(--accent);
}

.btn-cookie-accept:hover {
  background: var(--accent-hover);
}

/* Page template (inner pages) */
.page-header {
  padding: 2rem 0 1rem;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
}

.page-content {
  padding-bottom: 2rem;
}

.page-content h2 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
  color: #fff;
}

.page-content p,
.page-content ul {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.page-content ul {
  padding-left: 1.5rem;
}

/* Contact form */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0;
}

.form-consent input[type="checkbox"] {
  width: auto;
  max-width: none;
  margin-top: 0.25rem;
}

.form-consent label {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  margin-top: 1.25rem;
}

.btn-submit {
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--btn-cta);
  color: #1a1a22;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--btn-cta-hover);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive offer card */
@media (max-width: 639px) {
  .offer-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-cta {
    width: 100%;
  }

  .btn-visit {
    display: block;
    text-align: center;
  }
}
