/* Online Casino Ireland Revolut 2026 — layout #3 wide cards with bonus block */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800&family=Nunito+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg-deep: #0b1020;
  --bg-card: #141929;
  --bg-sidebar: #10182e;
  --coral: #ff6b4a;
  --coral-dark: #e8553a;
  --cyan: #22d3ee;
  --cyan-dark: #06b6d4;
  --text: #eef2ff;
  --text-muted: #94a3b8;
  --border: rgba(34, 211, 238, 0.18);
  --border-coral: rgba(255, 107, 74, 0.35);
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
  --max-width: 1120px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse at 80% 0%, rgba(255, 107, 74, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(34, 211, 238, 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(--cyan);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--coral);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Update bar */
.update-bar {
  background: linear-gradient(90deg, var(--coral), var(--cyan));
  color: var(--bg-deep);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 32, 0.92);
  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;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
}

.logo span {
  color: var(--coral);
}

.logo-icon {
  flex-shrink: 0;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.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 {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  background: rgba(255, 107, 74, 0.1);
}

/* Hero — editorial split */
.hero {
  padding: 32px 0 28px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-text h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 540px;
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Trust bar */
.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  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;
  color: var(--text-muted);
}

.trust-icon {
  font-size: 1.125rem;
}

/* Showcase — layout #3 wide review cards */
.showcase {
  padding: 32px 0 40px;
}

.section-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.section-title span {
  color: var(--coral);
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.08);
}

.review-card--featured {
  border-color: var(--border-coral);
  box-shadow: 0 0 24px rgba(255, 107, 74, 0.12);
}

.card-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--coral), var(--cyan));
  color: var(--bg-deep);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 5px 12px;
  z-index: 2;
}

.review-card--featured .card-body-wrap {
  padding-top: 28px;
}

.card-body-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-badge {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--bg-deep);
}

.review-card--featured .rank-badge {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff;
}

.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(255, 107, 74, 0.25);
}

.logo-link:focus-visible {
  outline: 2px solid var(--coral);
  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(--coral);
}

.card-info {
  flex: 1;
  min-width: 0;
}

.card-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-score {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--coral);
  background: rgba(255, 107, 74, 0.12);
  padding: 3px 8px;
  border-radius: 20px;
}

.payout-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  padding: 3px 8px;
  border-radius: 20px;
}

.perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.perks li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.75rem;
}

/* Bonus sidebar */
.bonus-sidebar {
  background: linear-gradient(160deg, rgba(255, 107, 74, 0.15) 0%, rgba(34, 211, 238, 0.1) 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: "Fraunces", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff;
  font-family: "Nunito 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;
  width: 100%;
  max-width: 220px;
  margin-top: 4px;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 74, 0.35);
  color: #fff;
  filter: brightness(1.05);
}

.btn-cta:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* SEO content */
.seo-content {
  padding: 32px 0;
  background: rgba(20, 25, 41, 0.5);
  border-top: 1px solid var(--border);
}

.seo-content h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.seo-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 14px;
}

.seo-content p:last-child {
  margin-bottom: 0;
}

/* FAQ teaser */
.faq-teaser {
  padding: 32px 0;
}

.faq-teaser h2 {
  font-family: "Fraunces", Georgia, 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: 14px 16px;
  margin-bottom: 10px;
}

.faq-question {
  font-weight: 700;
  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: 12px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--coral);
}

.faq-link:hover {
  color: var(--cyan);
}

/* Responsible gambling */
.responsible {
  padding: 24px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.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: var(--coral);
  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);
}

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 16px;
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--coral);
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 16, 32, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-coral);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta .btn-cta {
  max-width: none;
  width: 100%;
}

/* Subpages */
.page-hero {
  padding: 36px 0 24px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.625rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.page-content {
  padding: 32px 0 40px;
}

.page-content h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 24px 0 10px;
  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: 10px;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.page-content li {
  margin-bottom: 6px;
}

/* 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: "Nunito Sans", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: left;
  padding: 16px 40px 16px 16px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.faq-accordion-btn::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--coral);
  transition: transform 0.2s;
}

.faq-accordion-item.is-open .faq-accordion-btn::after {
  content: "−";
}

.faq-accordion-btn:hover {
  background: rgba(255, 107, 74, 0.06);
}

.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;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  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;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn-cta {
  width: 100%;
  max-width: none;
  border: none;
}

/* Tablet */
@media (min-width: 768px) {
  .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;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }

  .hero-text {
    flex: 1;
  }

  .hero-visual {
    flex: 0 0 42%;
    aspect-ratio: 4 / 3;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .trust-items {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  .review-card {
    flex-direction: row;
    align-items: stretch;
  }

  .card-body-wrap {
    flex-direction: row;
    flex: 1;
    min-width: 0;
  }

  .card-main {
    padding: 20px 24px;
    flex: 1;
  }

  .bonus-sidebar {
    border-top: none;
    border-left: 1px solid var(--border);
    width: 220px;
    flex-shrink: 0;
    justify-content: center;
    padding: 20px 16px;
  }

  .review-card--featured .card-body-wrap {
    padding-top: 0;
  }

  .review-card--featured .card-main {
    padding-top: 32px;
  }

  .sticky-cta {
    display: none !important;
  }

  body.has-sticky-cta {
    padding-bottom: 0;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .bonus-sidebar {
    width: 240px;
  }

  .bonus-value {
    font-size: 1.25rem;
  }

  .card-main {
    padding: 24px 28px;
  }
}

@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;
  }
}
