/* ===================================
   FAT PIRATE CASINO — MAIN STYLESHEET
   uk-fat-pirate-casino.com
   =================================== */

:root {
  --navy:       #0a0e1a;
  --navy-mid:   #12182b;
  --navy-card:  #1a2236;
  --navy-light: #232d47;
  --gold:       #f0a500;
  --gold-light: #f7c042;
  --gold-dark:  #c88200;
  --red:        #c0392b;
  --red-light:  #e74c3c;
  --text:       #e8dcc8;
  --text-muted: #9aa0b4;
  --text-dim:   #6b7390;
  --white:      #ffffff;
  --border:     #2a3450;
  --border-gold:#f0a500;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-gold:0 0 20px rgba(240,165,0,0.2);
  --font-display: 'Cinzel', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1180px;
  --gap: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--gold-light); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--gold); font-weight: 900; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);  color: var(--gold); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--gold-light); font-weight: 600; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

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

/* ---- BUTTONS ---- */
.btn-cta-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(240,165,0,0.35);
  white-space: nowrap;
}
.btn-cta-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240,165,0,0.55);
}
.btn-cta-gold:active { transform: translateY(0); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gold);
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-cta-top {
  background: var(--navy);
  color: var(--gold);
  border: 2px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-cta-top:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ---- BONUS TOP BAR ---- */
.bonus-top-bar {
  background: linear-gradient(90deg, #8b0000 0%, var(--red) 40%, var(--red-light) 100%);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 200;
}
.bonus-top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.bonus-top-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}
.bonus-top-offer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.bonus-top-label {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 500;
}
.bonus-top-label strong { color: var(--gold-light); }

/* ---- HEADER ---- */
.site-header {
  background: var(--navy-mid);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 38px;
  z-index: 190;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.logo-wrap { flex-shrink: 0; }
.logo-svg { height: 48px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}
.main-nav a:hover {
  color: var(--gold);
  background: rgba(240,165,0,0.08);
}

.nav-hamburger {
  display: none;
  background: none;
  border: 1.5px solid var(--border-gold);
  color: var(--gold);
  font-size: 1.3rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-card);
  padding: 16px 20px;
  gap: 4px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text);
  font-size: 1rem;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .btn-cta-gold { margin-top: 12px; text-align: center; }

/* ---- HERO ---- */
.hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1529 50%, #0a1022 100%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,165,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero-text h1 {
  margin-bottom: 14px;
  text-shadow: 0 0 30px rgba(240,165,0,0.3);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 400;
}
.hero-perks {
  margin-bottom: 32px;
}
.hero-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.97rem;
  margin-bottom: 10px;
  color: var(--text);
}
.perk-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-ship-card {
  background: linear-gradient(145deg, var(--navy-card), var(--navy-light));
  border: 2px solid rgba(240,165,0,0.25);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-gold), var(--shadow);
  text-align: center;
  max-width: 300px;
  width: 100%;
  position: relative;
}
.ship-svg { width: 200px; height: 200px; display: block; margin: 0 auto 20px; }
.hero-card-badge {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-md);
  padding: 14px 24px;
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.badge-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(10,14,26,0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---- TOP CASINOS / OVERVIEW ---- */
.top-casinos-section {
  padding: 64px 0;
  background: var(--navy-mid);
}
.top-casinos-section h2 {
  text-align: center;
  margin-bottom: 32px;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.overview-table, .payments-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.overview-table th, .payments-table th {
  background: var(--navy-card);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 2px solid var(--gold-dark);
  white-space: nowrap;
}
.overview-table td, .payments-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.overview-table tr:last-child td,
.payments-table tr:last-child td { border-bottom: none; }
.overview-table tr:nth-child(even) td,
.payments-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}
.overview-table tr:hover td,
.payments-table tr:hover td {
  background: rgba(240,165,0,0.04);
}
.stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 2px; }
.table-cta {
  text-align: center;
  margin-top: 28px;
}

/* ---- ADVANTAGES ---- */
.advantages-section {
  padding: 72px 0;
  background: var(--navy);
}
.advantages-section h2 { text-align: center; margin-bottom: 40px; }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.adv-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.2s;
}
.adv-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.adv-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}
.adv-card h3 { margin-bottom: 10px; }
.adv-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- REVIEW SECTION ---- */
.review-section {
  padding: 72px 0;
  background: var(--navy-mid);
}
.review-section > .container > h2 {
  text-align: center;
  margin-bottom: 40px;
}
.review-body {
  max-width: 820px;
  margin: 0 auto;
}
.review-body h2 {
  margin-top: 48px;
  margin-bottom: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.review-body h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}
.review-body p {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.review-body .table-wrap {
  margin: 24px 0;
}

/* ---- BONUS MID BANNER ---- */
.bonus-mid-banner {
  background: linear-gradient(90deg, #6b0000 0%, var(--red) 35%, #8b0000 100%);
  padding: 28px 0;
  border-top: 2px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-dark);
}
.bonus-mid-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.bonus-mid-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bonus-mid-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}
.bonus-mid-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.9);
}
.bonus-mid-desc strong { color: var(--gold-light); }

/* ---- PROS & CONS ---- */
.pros-cons-section {
  padding: 72px 0;
  background: var(--navy);
}
.pros-cons-section h2 { text-align: center; margin-bottom: 36px; }
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.pros-card, .cons-card {
  background: var(--navy-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.pros-card {
  border-left: 4px solid #27ae60;
}
.cons-card {
  border-left: 4px solid var(--red);
}
.pros-card h3 { color: #2ecc71; }
.cons-card h3 { color: var(--red-light); }
.pros-card li, .cons-card li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pros-card li:last-child, .cons-card li:last-child { border-bottom: none; }

/* ---- PROVIDERS ---- */
.providers-section {
  padding: 64px 0;
  background: var(--navy-mid);
}
.providers-section h2 { text-align: center; margin-bottom: 16px; }
.section-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.providers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.provider-badge {
  transition: transform 0.15s;
}
.provider-badge:hover { transform: scale(1.05); }
.provider-badge svg { height: 36px; width: auto; display: block; }

/* ---- FAQ ---- */
.faq-section {
  padding: 72px 0;
  background: var(--navy);
}
.faq-section h2 { text-align: center; margin-bottom: 16px; }
.faq-section .section-intro { margin-bottom: 36px; }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open {
  border-color: var(--gold);
}
.faq-q {
  width: 100%;
  background: var(--navy-card);
  border: none;
  padding: 18px 22px;
  text-align: left;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.2s, color 0.2s;
}
.faq-q:hover {
  background: var(--navy-light);
  color: var(--gold);
}
.faq-item.open .faq-q {
  background: var(--navy-light);
  color: var(--gold);
}
.faq-arrow {
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--gold);
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  background: var(--navy-mid);
  padding: 0 22px;
}
.faq-item.open .faq-a {
  max-height: 600px;
  padding: 18px 22px;
}
.faq-a p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---- RESPONSIBLE GAMBLING ---- */
.responsible-section {
  padding: 64px 0;
  background: var(--navy-mid);
  border-top: 2px solid var(--border);
}
.responsible-section h2 { text-align: center; margin-bottom: 16px; }
.rg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.rg-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  transition: border-color 0.2s;
}
.rg-card:hover { border-color: var(--gold); }
.rg-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.rg-card h3 { font-size: 1rem; margin-bottom: 8px; }
.rg-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }
.rg-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  max-width: 700px;
  margin: 0 auto;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  border-top: 2px solid var(--border);
  padding: 52px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.footer-logo-svg { height: 48px; width: auto; display: block; margin-bottom: 10px; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pay-icon svg { height: 32px; width: auto; display: block; }
.cert-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cert-badge svg { height: 28px; width: auto; display: block; }

.footer-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto 20px;
}
.footer-age {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  margin-top: 8px;
}
.footer-bottom {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* =============================
   RESPONSIVE BREAKPOINTS
   ============================= */

@media (max-width: 1024px) {
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-hamburger { display: block; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-perks li { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }

  .adv-grid { grid-template-columns: 1fr 1fr; }

  .pros-cons-grid { grid-template-columns: 1fr; }

  .bonus-mid-inner {
    flex-direction: column;
    text-align: center;
  }

  .rg-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bonus-top-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .review-body h2 { font-size: 1.25rem; }
}

@media (max-width: 540px) {
  .adv-grid { grid-template-columns: 1fr; }
  .rg-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-cta-gold, .btn-outline { width: 100%; text-align: center; }
  .bonus-top-offer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .providers-grid { gap: 8px; }
  .provider-badge svg { height: 30px; }
}

@media (max-width: 400px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  .container { padding: 0 14px; }
  .adv-card, .rg-card { padding: 20px 16px; }
  .faq-q { padding: 14px 16px; font-size: 0.9rem; }
}

/* ---- SCROLL BEHAVIOUR FOR TABLES ON NARROW SCREENS ---- */
.table-wrap::-webkit-scrollbar {
  height: 5px;
}
.table-wrap::-webkit-scrollbar-track {
  background: var(--navy-mid);
}
.table-wrap::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}
