/* Big Bass Bonanza Ireland 2026 — styles.css */

:root {
  --bg-deep: #0a1628;
  --bg-card: #111d32;
  --green: #169B62;
  --green-dark: #0d7a4d;
  --gold: #FFD700;
  --text: #e8edf5;
  --text-muted: #94a3b8;
  --border: rgba(22, 155, 98, 0.25);
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --max-width: 1100px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(22, 155, 98, 0.08) 0%, transparent 60%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 72px;
}

body.has-sticky-cta {
  padding-bottom: 72px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Update bar */
.update-bar {
  background: var(--green-dark);
  color: #fff;
  text-align: center;
  font-size: 0.8125rem;
  padding: 6px 16px;
  letter-spacing: 0.02em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.logo span {
  color: var(--gold);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(10, 22, 40, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 16px;
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--text);
  border-radius: var(--radius);
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(22, 155, 98, 0.15);
  color: var(--green);
}

/* Hero */
.hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("images/hero.webp") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.55) 0%, rgba(10, 22, 40, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 16px;
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
  color: var(--gold);
  font-weight: 500;
}

/* Trust bar */
.trust-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.trust-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
}

.trust-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(22, 155, 98, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Showcase section */
.showcase {
  padding: 32px 0 40px;
}

.section-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.section-title span {
  color: var(--green);
}

/* Wide casino cards */
.casino-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.casino-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.3s, border-color 0.3s;
  position: relative;
}

.casino-card:hover {
  border-color: rgba(22, 155, 98, 0.5);
  box-shadow: 0 0 24px rgba(22, 155, 98, 0.12);
}

.casino-card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.card-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  background: linear-gradient(135deg, var(--gold), #e6b800);
  color: #0a1628;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rank-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: #fff;
}

.casino-card--featured .rank-badge {
  background: linear-gradient(135deg, var(--gold), #e6b800);
  color: #0a1628;
}

.logo-link {
  flex-shrink: 0;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.logo-link:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(22, 155, 98, 0.25);
}

.logo-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.casino-logo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.logo-link:hover .casino-logo {
  border-color: var(--green);
}

.card-info {
  flex: 1;
  min-width: 0;
}

.card-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.perks li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.card-bonus-block {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bonus-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.bonus-value {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.btn-cta {
  display: inline-block;
  background: var(--gold);
  color: #0a1628;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background: #ffe033;
  color: #0a1628;
  transform: translateY(-1px);
}

.btn-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* SEO content */
.seo-content {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.seo-content h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.seo-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.9375rem;
}

.seo-content p:last-child {
  margin-bottom: 0;
}

/* FAQ teaser */
.faq-teaser {
  padding: 40px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-teaser h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.faq-item:last-of-type {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 6px;
  color: var(--text);
}

.faq-answer {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.faq-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Responsible gambling */
.responsible {
  padding: 32px 0;
  text-align: center;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.responsible p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.responsible a {
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #060e1a;
  border-top: 1px solid var(--border);
  padding: 32px 0 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: var(--green);
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(10, 22, 40, 0.97);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta .btn-cta {
  display: block;
  width: 100%;
}

/* Subpages */
.page-hero {
  padding: 40px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.page-content {
  padding: 32px 0 48px;
}

.page-content h2 {
  font-size: 1.125rem;
  color: var(--gold);
  margin: 28px 0 12px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  padding: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-accordion-btn::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-accordion-item.is-open .faq-accordion-btn::after {
  content: "−";
}

.faq-accordion-body {
  display: none;
  padding: 0 16px 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-accordion-item.is-open .faq-accordion-body {
  display: block;
}

/* Contact form */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Tablet */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block;
    position: static;
    background: none;
    border: none;
    padding: 0;
  }

  .main-nav ul {
    flex-direction: row;
    gap: 4px;
  }

  .main-nav a {
    padding: 8px 14px;
    font-size: 0.875rem;
  }

  .trust-items {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  .casino-card {
    flex-direction: row;
    align-items: center;
    padding: 20px 24px;
    gap: 20px;
  }

  .card-top {
    flex: 1;
    min-width: 0;
  }

  .card-bonus-block {
    flex-shrink: 0;
    width: 220px;
    min-height: 160px;
    justify-content: center;
  }

  .sticky-cta {
    display: none !important;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero {
    min-height: 340px;
  }

  .casino-card {
    padding: 24px 28px;
  }

  .card-bonus-block {
    width: 240px;
  }

  .bonus-value {
    font-size: 1.25rem;
  }
}

@media (max-width: 767px) {
  .sticky-cta {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .update-bar,
  .site-header,
  .sticky-cta,
  .nav-toggle {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
