/* Casino No Deposit Bonus Ireland 2026 — styles.css */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700;800&display=swap");

:root {
  --bg-deep: #12121a;
  --bg-card: #1c1c28;
  --bg-row: #181824;
  --indigo: #6366f1;
  --indigo-dark: #4f46e5;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --emerald: #22c55e;
  --text: #e8edf5;
  --text-muted: #94a3b8;
  --border: rgba(99, 102, 241, 0.2);
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --max-width: 1140px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  background-image: radial-gradient(ellipse at 30% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 55%);
  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(--indigo);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--orange);
}

a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Update bar */
.update-bar {
  background: var(--indigo-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(18, 18, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  flex-shrink: 0;
}

.logo span {
  color: var(--orange);
}

.logo-icon {
  flex-shrink: 0;
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  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: rgba(18, 18, 26, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px 20px;
}

.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: 12px 16px;
  color: var(--text-muted);
  font-weight: 500;
  border-radius: var(--radius);
  min-height: 48px;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  background: rgba(99, 102, 241, 0.12);
}

/* Hero */
.hero {
  position: relative;
  min-height: 280px;
  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(18, 18, 26, 0.88) 0%, rgba(99, 102, 241, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* 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.9rem;
  font-weight: 500;
}

.trust-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Section titles */
.section-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.section-title span {
  color: var(--indigo);
}

/* Showcase — mobile rank rows */
.showcase {
  padding: 40px 0;
}

.mobile-ranks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rank-table-wrap {
  display: none;
}

.rank-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: relative;
}

.rank-row--featured {
  border-color: var(--indigo);
  border-left: 4px solid var(--indigo);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.15), var(--shadow);
}

.row-badge {
  display: inline-block;
  background: var(--indigo);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.rank-row-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.rank-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--indigo);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.rank-row--featured .rank-num {
  background: var(--orange);
}

.casino-logo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.casino-logo-link {
  flex-shrink: 0;
  border-radius: 8px;
}

.casino-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.bonus-pill {
  display: inline-block;
  background: rgba(249, 115, 22, 0.15);
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.perks {
  list-style: none;
  margin-bottom: 16px;
}

.perks li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.8rem;
}

/* CTA button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  background: var(--orange);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}

.btn-cta:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-cta--outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 8px 16px;
  min-height: 40px;
  font-size: 0.85rem;
  width: auto;
}

.btn-cta--outline:hover {
  background: var(--orange);
  color: #fff;
}

/* Desktop ranking table */
@media (min-width: 768px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block !important;
    position: static;
    background: none;
    border: none;
    padding: 0;
  }

  .main-nav ul {
    flex-direction: row;
    justify-content: center;
    gap: 4px;
  }

  .main-nav a {
    padding: 8px 14px;
    min-height: auto;
    font-size: 0.9rem;
  }

  .header-cta {
    display: inline-flex;
  }

  .trust-items {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  .hero {
    min-height: 360px;
  }

  .mobile-ranks {
    display: none;
  }

  .rank-table-wrap {
    display: block;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .rank-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    font-size: 0.9rem;
  }

  .rank-table thead {
    background: rgba(99, 102, 241, 0.15);
  }

  .rank-table th {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    text-align: left;
    padding: 14px 16px;
    color: var(--text);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--border);
  }

  .rank-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
  }

  .rank-table tbody tr:last-child td {
    border-bottom: none;
  }

  .rank-table tbody tr {
    background: var(--bg-row);
    transition: background 0.2s;
  }

  .rank-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.06);
  }

  .rank-table tbody tr.row-featured {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--indigo);
  }

  .rank-table tbody tr.row-featured td:first-child {
    padding-left: 12px;
  }

  .table-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .table-rank .rank-num {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .table-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--indigo);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .table-casino {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .table-bonus {
    font-weight: 700;
    color: var(--orange);
    white-space: nowrap;
  }

  .table-perks {
    list-style: none;
  }

  .table-perks li {
    position: relative;
    padding-left: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    line-height: 1.4;
  }

  .table-perks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-size: 0.75rem;
  }

  .rank-table .btn-cta {
    width: auto;
    min-width: 120px;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .btn-cta {
    min-height: 56px;
  }
}

/* SEO content */
.seo-content {
  padding: 40px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.seo-content h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.seo-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.seo-content p:last-child {
  margin-bottom: 0;
}

/* FAQ teaser */
.faq-teaser {
  padding: 40px 0;
}

.faq-teaser h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  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: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.faq-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Responsible gambling */
.responsible {
  padding: 32px 0;
  background: rgba(34, 197, 94, 0.06);
  border-top: 1px solid rgba(34, 197, 94, 0.2);
}

.responsible .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--emerald);
  border-radius: 50%;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--emerald);
}

.responsible p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-bottom: 20px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.5;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.7;
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(18, 18, 26, 0.97);
  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 {
  min-height: 52px;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }

  body.has-sticky-cta {
    padding-bottom: 0;
  }
}

/* Subpages */
.page-hero {
  padding: 40px 0 32px;
  text-align: center;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.page-content {
  padding: 40px 0;
}

.page-content h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.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%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  border: none;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  min-height: 56px;
}

.faq-accordion-btn::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--indigo);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-accordion-item.is-open .faq-accordion-btn::after {
  content: "−";
}

.faq-accordion-body {
  display: none;
  padding: 0 18px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  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: 18px;
}

.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: 1rem;
  min-height: 48px;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
