/* Top Rated Online Casinos Ireland 2026 — layout #3 wide cards with bonus block */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg-deep: #070f1c;
  --bg-card: #0f1a2e;
  --bg-inset: #0a1424;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-dark: #d97706;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --text: #eef2f8;
  --text-muted: #8b9cb5;
  --border: rgba(245, 158, 11, 0.18);
  --border-emerald: rgba(16, 185, 129, 0.28);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --max-width: 1120px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(16, 185, 129, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body.has-sticky-cta {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-light);
}

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: linear-gradient(90deg, var(--gold-dark), var(--emerald-dark));
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 16px;
  letter-spacing: 0.02em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 15, 28, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo span {
  color: var(--gold);
}

.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  background: rgba(245, 158, 11, 0.1);
}

.header-cta {
  margin-left: auto;
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.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: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  flex-direction: column;
  gap: 4px;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block;
    position: static;
    background: none;
    border: none;
    padding: 0;
    margin-left: auto;
  }

  .main-nav ul {
    flex-direction: row;
  }

  .header-cta {
    display: inline-flex;
  }
}

/* Buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a1220;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
}

.btn-cta:hover {
  color: #0a1220;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  filter: brightness(1.05);
}

.btn-cta--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 8px 16px;
  font-size: 0.8125rem;
}

.btn-cta--outline:hover {
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold-light);
  box-shadow: none;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: 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(135deg, rgba(7, 15, 28, 0.88) 0%, rgba(7, 15, 28, 0.55) 60%, rgba(16, 185, 129, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 640px;
}

.hero-subtitle {
  font-size: clamp(0.875rem, 2.5vw, 1.0625rem);
  color: rgba(238, 242, 248, 0.85);
  max-width: 560px;
}

@media (min-width: 768px) {
  .hero {
    min-height: 280px;
  }

  .hero-content {
    padding: 56px 16px;
  }
}

/* Trust bar */
.trust-bar {
  background: var(--bg-inset);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.trust-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .trust-items {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }
}

/* Showcase — layout #3 wide cards with bonus block */
.showcase {
  padding: 36px 0 44px;
}

.section-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.25rem, 3.5vw, 1.625rem);
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.section-title span {
  color: var(--gold);
}

.payout-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payout-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.payout-card:hover {
  border-color: var(--border-emerald);
  box-shadow: 0 0 32px rgba(16, 185, 129, 0.08);
}

.payout-card--featured {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.1);
}

.card-flag {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--emerald));
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: center;
  padding: 5px 12px;
  z-index: 2;
}

.payout-card--featured .card-inner {
  padding-top: 28px;
}

.card-inner {
  display: flex;
  flex-direction: column;
}

.card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rank-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  color: #fff;
}

.payout-card--featured .rank-num {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a1220;
}

.logo-link {
  flex-shrink: 0;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.2s;
}

.logo-link:hover {
  transform: scale(1.03);
}

.casino-logo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: border-color 0.2s;
}

.logo-link:hover .casino-logo {
  border-color: var(--gold);
}

.card-meta {
  flex: 1;
  min-width: 0;
}

.card-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.payout-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.payout-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 20px;
}

.rtp-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  background: rgba(245, 158, 11, 0.12);
  padding: 3px 8px;
  border-radius: 20px;
}

.payout-meter {
  height: 4px;
  background: rgba(139, 156, 181, 0.15);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 6px;
}

.payout-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  border-radius: 4px;
}

.perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.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(--gold);
  font-weight: 700;
  font-size: 0.75rem;
}

/* Bonus block sidebar */
.bonus-block {
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-top: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.bonus-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.bonus-value {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.bonus-block .btn-cta {
  width: 100%;
  max-width: 220px;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .card-inner {
    flex-direction: row;
    align-items: stretch;
  }

  .card-content {
    flex: 1;
    padding: 20px;
  }

  .payout-card--featured .card-inner {
    padding-top: 0;
  }

  .payout-card--featured .card-content {
    padding-top: 32px;
  }

  .bonus-block {
    flex: 0 0 200px;
    border-top: none;
    border-left: 1px solid var(--border);
    justify-content: center;
    padding: 20px 16px;
  }
}

@media (min-width: 960px) {
  .bonus-block {
    flex: 0 0 220px;
  }
}

/* SEO content */
.seo-content {
  padding: 36px 0;
  background: var(--bg-inset);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.seo-content h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.seo-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  max-width: 780px;
}

.seo-content p:last-child {
  margin-bottom: 0;
}

/* FAQ teaser */
.faq-teaser {
  padding: 36px 0;
}

.faq-teaser h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}

.faq-question {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-answer {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.faq-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-top: 8px;
  color: var(--gold);
}

.faq-link:hover {
  color: var(--gold-light);
}

/* Responsible gambling */
.responsible {
  padding: 28px 0;
  background: rgba(16, 185, 129, 0.06);
  border-top: 1px solid var(--border-emerald);
}

.responsible .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-dark), #b45309);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.responsible p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Footer */
.site-footer {
  background: var(--bg-inset);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 20px;
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--gold);
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
  max-width: 780px;
}

.copyright {
  font-size: 0.75rem;
  color: rgba(139, 156, 181, 0.6);
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 15, 28, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta .btn-cta {
  width: 100%;
  padding: 14px 24px;
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* Subpages */
.page-hero {
  padding: 40px 0 28px;
  background: var(--bg-inset);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.375rem, 4vw, 1.875rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.page-content {
  padding: 36px 0 48px;
}

.page-content h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.page-content li {
  margin-bottom: 6px;
}

/* FAQ accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-accordion-btn:hover {
  background: rgba(245, 158, 11, 0.06);
}

.faq-accordion-btn::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-accordion-item.is-open .faq-accordion-btn::after {
  transform: rotate(45deg);
}

.faq-accordion-body {
  display: none;
  padding: 0 16px 16px;
}

.faq-accordion-item.is-open .faq-accordion-body {
  display: block;
}

.faq-accordion-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Contact form */
.contact-form {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-info p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
