/* ══════════════════════════════════════════════════════════
   style.css — Pelican Casino PL | pipelican24.pl
   Paleta: Jasny motyw (biały + złoty + granat) — jak oficjalny pelicancasino.games
   ══════════════════════════════════════════════════════════ */

/* ── Brand Colors ── */
:root {
  --accent:        #f5c200;   /* złoty — kolor logo/CTA Pelican */
  --accent-dark:   #d4a800;
  --accent-hover:  #ffd740;
  --accent-glow:   rgba(245,194,0,0.15);

  --navy:          #1a1f3e;   /* ciemny granat — header, tekst */
  --navy-mid:      #2d3461;
  --navy-light:    #3d4580;

  --bg:            #f4f6fb;   /* jasnoszare tło strony */
  --bg-card:       #ffffff;   /* białe karty */
  --bg-card2:      #f0f3fa;   /* lekkie tło sekcji */
  --bg-nav:        #1a1f3e;   /* granatowy header */

  --border:        #e2e8f4;
  --border-mid:    #c8d0e7;

  --text:          #1a1f3e;   /* ciemny dla czytelności */
  --text-muted:    #5a6380;
  --text-dim:      #8a93b0;

  --green:         #00b87a;
  --red:           #e84040;

  --radius:        10px;
  --radius-lg:     16px;
  --shadow:        0 2px 16px rgba(26,31,62,0.10);
  --shadow-gold:   0 4px 20px rgba(245,194,0,0.30);
  --shadow-card:   0 1px 8px rgba(26,31,62,0.08);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
ul { list-style: none; }

/* ── CTA Buttons ── */
.cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--navy);
  font-weight: 800; font-size: 1.05rem;
  padding: 14px 30px; border-radius: 50px;
  text-align: center; cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
  border: none;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,194,0,0.50);
  text-decoration: none; color: var(--navy);
}
.cta-btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--accent); color: var(--navy);
  font-weight: 700; font-size: 0.95rem;
  padding: 12px 24px; border-radius: 50px;
  text-decoration: none; transition: all 0.18s;
  background: transparent;
}
.cta-btn-outline:hover {
  background: var(--accent); color: var(--navy);
  text-decoration: none;
}

/* ── Header ── */
header {
  background: var(--bg-nav);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 20px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 900;
  color: #ffffff; letter-spacing: -0.5px;
  text-decoration: none;
}
.logo .logo-badge {
  background: var(--accent);
  color: var(--navy);
  font-size: 0.8rem; font-weight: 900;
  padding: 4px 8px; border-radius: 6px;
  letter-spacing: 0;
}
.logo:hover { text-decoration: none; color: #fff; }

.nav-links {
  display: flex; gap: 2px; align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 6px; transition: all 0.15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }
.nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: 8px; }
.nav-cta .cta-btn { font-size: 0.88rem; padding: 10px 20px; }

/* ── Burger ── */
.burger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: #fff; flex-direction: column; gap: 5px;
}
.burger span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: all 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-nav); padding: 8px 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; border-radius: 0; }
  .nav-cta { margin: 8px 20px 0; }
  .nav-cta .cta-btn { display: block; text-align: center; }
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--bg-card);
  border-bottom: 2px solid var(--border);
  padding: 8px 20px;
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.trust-bar span {
  font-size: 0.78rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}
.trust-bar span b { color: var(--navy); }
@media (max-width: 600px) { .trust-bar { gap: 14px; } .trust-bar span { font-size: 0.72rem; } }

/* ── Layout ── */
main { max-width: 1180px; margin: 0 auto; padding: 32px 20px; }
section { margin-bottom: 56px; }

h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  color: var(--navy);
  font-weight: 900; letter-spacing: -0.5px;
  margin-bottom: 16px; line-height: 1.2;
}
h2 {
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  color: var(--navy);
  font-weight: 800; margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
h3 { font-size: 1.1rem; color: var(--navy-mid); font-weight: 700; margin-bottom: 8px; }
p { margin-bottom: 14px; color: var(--text-muted); }
strong { color: var(--navy); }

/* ── Hero Section ── */
.hero {
  text-align: center;
  padding: 56px 20px 48px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, #2a3170 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(245,194,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); color: #fff; }
.hero .subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,0.75);
  max-width: 620px; margin: 0 auto 28px;
}
.hero-bonus {
  display: inline-block;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 16px 32px; margin-bottom: 28px;
  font-size: 1.4rem; font-weight: 900;
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.hero-bonus small { display: block; font-size: 0.72rem; color: rgba(26,31,62,0.6); font-weight: 500; margin-top: 4px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .cta-btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero .cta-btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ── Brand Banner ── */
.brand-banner {
  width: 100%; max-width: 960px; margin: 0 auto 40px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.brand-banner img { width: 100%; height: auto; display: block; }

/* ── Info Cards ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-bottom: 20px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px; text-align: center;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s, transform 0.15s;
}
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.info-card .ic-label { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 6px; }
.info-card .ic-value { font-size: 1.2rem; font-weight: 900; color: var(--navy); }
.info-card .ic-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 20px; box-shadow: var(--shadow-card); }
table { width: 100%; border-collapse: collapse; background: var(--bg-card); }
th, td { padding: 12px 16px; text-align: left; }
th { background: var(--navy); color: var(--accent); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
td { border-top: 1px solid var(--border); font-size: 0.92rem; color: var(--text-muted); }
td strong { color: var(--navy); }
tr:hover td { background: var(--bg-card2); }
.check { color: var(--green); font-weight: 800; }
.cross { color: var(--text-dim); }

@media (max-width: 600px) {
  .table-wrap { border: none; border-radius: 0; box-shadow: none; }
  table, thead, tbody, th, td, tr { display: block; }
  thead tr { display: none; }
  td { padding: 10px 14px; border-top: none; border-bottom: 1px solid var(--border); }
  td::before { content: attr(data-label); display: block; font-size: 0.72rem; color: var(--navy); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 4px; }
  tr { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-card); }
}

/* ── Game Cards ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: var(--shadow-card);
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.game-card a { text-decoration: none; display: block; }
.game-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.game-card-info { padding: 8px 10px 10px; }
.game-card-name { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.game-card-provider { font-size: 0.72rem; color: var(--text-dim); margin-top: 2px; }
.game-card-rtp {
  display: inline-block; margin-top: 5px;
  font-size: 0.68rem; background: rgba(0,184,122,0.1);
  color: var(--green); border-radius: 4px; padding: 2px 6px; font-weight: 700;
}
@media (max-width: 400px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Provider Strip ── */
.providers-strip {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.provider-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 16px;
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
  box-shadow: var(--shadow-card);
  transition: all 0.15s;
}
.provider-badge:hover { border-color: var(--accent); color: var(--navy); transform: translateY(-1px); }

/* ── Steps ── */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 16px; margin-bottom: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-card);
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--accent);
  color: var(--navy); font-weight: 900; font-size: 1.1rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.step-body h3 { margin-bottom: 4px; font-size: 1rem; color: var(--navy); }
.step-body p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

/* ── Pros/Cons ── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pros, .cons {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-card);
}
.pros { border-top: 3px solid var(--green); }
.cons { border-top: 3px solid var(--red); }
.pros h3 { color: var(--green); margin-bottom: 12px; }
.cons h3 { color: var(--red); margin-bottom: 12px; }
.pros li, .cons li {
  padding: 7px 0; font-size: 0.88rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border); display: flex; gap: 8px;
}
.pros li::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }
.cons li::before { content: '✗'; color: var(--red); font-weight: 800; flex-shrink: 0; }
.pros li:last-child, .cons li:last-child { border-bottom: none; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }

/* ── Payment Badges ── */
.payment-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px;
}
.payment-badge {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 10px; text-align: center;
  font-size: 0.85rem; font-weight: 700; color: var(--text-muted);
  display: flex; flex-direction: column; gap: 4px; align-items: center;
  box-shadow: var(--shadow-card); transition: all 0.15s;
}
.payment-badge:hover { border-color: var(--accent); transform: translateY(-2px); }
.payment-badge .pb-time { font-size: 0.7rem; color: var(--green); font-weight: 700; }

/* ── FAQ Accordion ── */
.faq { display: flex; flex-direction: column; gap: 8px; }
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}
details[open] { border-color: var(--accent); box-shadow: 0 2px 12px rgba(245,194,0,0.15); }
summary {
  padding: 16px 20px; cursor: pointer;
  font-weight: 700; font-size: 0.95rem; color: var(--navy);
  background: var(--bg-card2);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent-dark); font-size: 1.4rem; font-weight: 400; flex-shrink: 0; }
details[open] summary::after { content: '−'; }
.faq-body { padding: 16px 20px; font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; border-top: 1px solid var(--border); }
.faq-body p { margin-bottom: 8px; color: var(--text-muted); }
.faq-body p:last-child { margin-bottom: 0; }

/* ── Callout ── */
.callout {
  background: linear-gradient(135deg, rgba(245,194,0,0.08) 0%, rgba(245,194,0,0.04) 100%);
  border: 1px solid rgba(245,194,0,0.35);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px; margin: 20px 0;
}
.callout p { color: var(--text-muted); margin: 0; }
.callout strong { color: var(--navy); }

/* ── Bonus Card ── */
.bonus-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg); padding: 36px 32px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 8px 32px rgba(26,31,62,0.20), var(--shadow-gold);
}
.bonus-card::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,194,0,0.15) 0%, transparent 70%);
}
.bonus-amount { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 900; color: var(--accent); line-height: 1; }
.bonus-desc { font-size: 1.1rem; color: rgba(255,255,255,0.75); margin: 8px 0 24px; }
.bonus-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.bonus-tag {
  background: rgba(245,194,0,0.15); border: 1px solid rgba(245,194,0,0.35);
  color: var(--accent); font-size: 0.82rem; font-weight: 700;
  border-radius: 50px; padding: 6px 14px;
}

/* ── Footer ── */
footer {
  background: var(--navy);
  border-top: 3px solid var(--accent);
  padding: 36px 20px 24px;
  margin-top: 64px;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: start; margin-bottom: 28px;
}
.footer-logo { font-size: 1.2rem; font-weight: 900; color: var(--accent); }
.footer-desc { font-size: 0.8rem; color: rgba(255,255,255,0.45); max-width: 480px; margin-top: 8px; line-height: 1.55; }
.footer-nav-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav-links a { color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.footer-nav-links a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
}
.footer-legal { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-legal a { color: rgba(255,255,255,0.45); }
.footer-legal a:hover { color: var(--accent); text-decoration: none; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%; font-size: 0.62rem; font-weight: 800;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ── Mobile Sticky CTA ── */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  padding: 10px 16px 16px;
  z-index: 300; text-align: center;
  box-shadow: 0 -4px 20px rgba(245,194,0,0.40);
}
.mobile-cta-bar a { color: var(--navy); font-weight: 900; font-size: 1rem; text-decoration: none; display: block; line-height: 1.3; }
.mobile-cta-bar a:hover { text-decoration: none; opacity: 0.9; }
.mcta-bonus { font-size: 1.05rem; font-weight: 900; display: block; }
.mcta-sub { font-size: 0.66rem; color: rgba(26,31,62,0.60); display: block; margin-top: 2px; }
@media (max-width: 860px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 76px; }
}

/* ── Responsive Tweaks ── */
@media (max-width: 480px) {
  main { padding: 20px 14px; }
  .hero { padding: 36px 14px 32px; border-radius: 10px; }
  .cta-btn { width: 100%; display: flex; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ── Wyplaty Specifics ── */
.wyp-highlight {
  background: linear-gradient(135deg, rgba(0,184,122,0.06) 0%, rgba(0,184,122,0.03) 100%);
  border: 1px solid rgba(0,184,122,0.2);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 18px 20px; margin: 16px 0;
}
.wyp-highlight h3 { color: var(--green); margin-bottom: 10px; }
.speed-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(0,184,122,0.10); color: var(--green);
  border: 1px solid rgba(0,184,122,0.25); border-radius: 50px;
  padding: 3px 10px; font-size: 0.8rem; font-weight: 700;
}

/* ── Sport Cards ── */
.sport-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px;
}
.sport-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 16px; text-align: center;
  box-shadow: var(--shadow-card); transition: all 0.15s;
}
.sport-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.sport-icon { font-size: 2rem; margin-bottom: 8px; }
.sport-name { font-weight: 800; color: var(--navy); font-size: 0.9rem; }
.sport-info { font-size: 0.74rem; color: var(--text-dim); margin-top: 4px; line-height: 1.4; }
