/* style.css — Lemon Casino | lemoncasino24.pl | accent: #f5c400 */

:root {
  --accent:       #f5c400;
  --accent-light: color-mix(in srgb, var(--accent) 70%, white);
  --accent-hover: color-mix(in srgb, var(--accent) 85%, white);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, Arial, sans-serif; background: #0a0a14; color: #e0e0e0; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── CTA Button ── */
.cta-btn {
  display: inline-block; background: var(--accent); color: #0a0a14;
  font-weight: 800; padding: 15px 32px; border-radius: 8px;
  text-align: center; cursor: pointer; transition: background 0.2s, transform 0.15s;
  font-size: 1.05rem; text-decoration: none; letter-spacing: 0.02em;
}
.cta-btn:hover { background: var(--accent-hover); text-decoration: none; transform: translateY(-2px); }

/* ── Header & Navigation ── */
header { background: #0f0f22; padding: 0 16px; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.6); border-bottom: 1px solid rgba(245,196,0,0.15); }
.nav-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.3rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.logo span { color: #fff; }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: #cccccc; font-size: 0.9rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); text-decoration: none; }

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

@media (max-width: 768px) {
  .burger { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #0f0f22; padding: 8px 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6); border-bottom: 1px solid rgba(245,196,0,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 13px 20px; font-size: 1rem; }
  .nav-links a:hover { background: #1a1a32; }
}

/* ── Layout ── */
main { max-width: 1140px; margin: 0 auto; padding: 28px 16px; }
section { margin-bottom: 52px; }
h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--accent); margin-bottom: 18px; line-height: 1.25; }
h2 { font-size: clamp(1.2rem, 3vw, 1.65rem); color: var(--accent-light); margin-bottom: 14px; margin-top: 8px; line-height: 1.3; }
h3 { font-size: 1.15rem; color: #d4d4d4; margin-bottom: 10px; margin-top: 4px; }
p { margin-bottom: 13px; }
ul, ol { padding-left: 1.4em; margin-bottom: 14px; }
li { margin-bottom: 6px; }

/* ── Trust bar ── */
.trust-bar { background: #1a1a2e; border-bottom: 1px solid rgba(245,196,0,0.12); padding: 8px 16px; text-align: center; font-size: 0.8rem; color: #888; }
.trust-bar span { margin: 0 12px; }
.trust-bar strong { color: var(--accent); }

/* ── Hero ── */
.hero { text-align: center; padding: 80px 20px; border-radius: 12px; margin-bottom: 44px; position: relative; overflow: hidden; background: #0f0f22; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 440px; box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(245,196,0,0.15) 0%, transparent 70%); pointer-events: none; z-index: 1; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); position: relative; z-index: 2; text-shadow: 0 2px 10px rgba(0,0,0,0.8); margin-bottom: 18px; }
.hero p { font-size: 1.1rem; color: #f0f0f0; max-width: 620px; margin: 0 auto 28px; position: relative; z-index: 2; text-shadow: 0 2px 8px rgba(0,0,0,0.8); }
.hero .cta-btn { position: relative; z-index: 2; box-shadow: 0 4px 16px rgba(245,196,0,0.3); }

/* ── Brand Banner / Hero Visual ── */
.hero-visual { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,15,34,0.4) 0%, rgba(10,10,20,0.95) 100%); pointer-events: none; }

/* ── Rating stars ── */
.rating { display: inline-flex; align-items: center; gap: 6px; background: rgba(20,20,30,0.6); border: 1px solid rgba(245,196,0,0.3); border-radius: 20px; padding: 5px 14px; font-size: 0.9rem; margin-bottom: 20px; position: relative; z-index: 2; backdrop-filter: blur(4px); }
.stars { color: var(--accent); letter-spacing: 2px; }

/* ── Bonus card ── */
.bonus-card { background: linear-gradient(135deg, #1a1a30, #0f1a08); border: 2px solid var(--accent); border-radius: 12px; padding: 28px 32px; margin: 28px 0; text-align: center; }
.bonus-card .amount { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: var(--accent); line-height: 1.1; }
.bonus-card .sub { color: #aaa; font-size: 0.85rem; margin-top: 8px; }

/* ── Info grid ── */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.info-item { background: #1a1a2e; border-radius: 8px; padding: 16px; border: 1px solid #2a2a48; }
.info-item .label { font-size: 0.75rem; color: #888; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.info-item .value { font-size: 1.05rem; font-weight: 700; color: #e0e0e0; }

/* ── Tables ── */
table { width: 100%; border-collapse: collapse; margin-bottom: 18px; border-radius: 8px; overflow: hidden; }
th, td { padding: 11px 16px; text-align: left; border-bottom: 1px solid #1e1e38; }
th { background: #1a1a30; color: var(--accent); font-weight: 700; white-space: nowrap; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #121228; }
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr { display: block; }
  thead tr { display: none; }
  td { padding: 9px 14px; border-bottom: none; }
  td::before { content: attr(data-label); font-weight: 700; color: var(--accent); display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
  tr { border: 1px solid #2a2a48; border-radius: 8px; margin-bottom: 10px; overflow: hidden; background: #12122a; }
}

/* ── Game Cards Grid ── */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.game-card { background: #1a1a2e; border-radius: 10px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; border: 1px solid #2a2a48; display: block; text-decoration: none; color: inherit; }
.game-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(245,196,0,0.15); text-decoration: none; color: inherit; }
.game-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.game-card .gc-info { padding: 8px 10px 10px; }
.game-card .gc-name { font-weight: 700; color: #e0e0e0; font-size: 0.85rem; margin-bottom: 2px; }
.game-card .gc-provider { color: #888; font-size: 0.75rem; }
.game-card .gc-rtp { color: var(--accent); font-size: 0.75rem; font-weight: 600; }
@media (max-width: 400px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Steps list ── */
.steps { counter-reset: steps; list-style: none; padding: 0; }
.steps li { counter-increment: steps; display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.steps li::before { content: counter(steps); min-width: 36px; height: 36px; background: var(--accent); color: #0a0a14; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; flex-shrink: 0; }
.steps li .step-content strong { display: block; margin-bottom: 4px; color: #e0e0e0; }

/* ── Provider strip ── */
.provider-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.provider-tag { background: #1a1a2e; border: 1px solid #2a2a48; border-radius: 20px; padding: 5px 14px; font-size: 0.8rem; color: #aaa; }

/* ── FAQ Accordion ── */
details { border: 1px solid #2a2a48; border-radius: 8px; margin-bottom: 10px; overflow: hidden; background: #0f0f1e; }
summary { padding: 15px 18px; cursor: pointer; font-weight: 600; background: #1a1a2e; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #e0e0e0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 300; }
details[open] summary { background: #1e1e38; }
details[open] summary::after { content: "−"; }
details > *:not(summary) { padding: 15px 18px; }

/* ── Pros/Cons ── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.pros, .cons { background: #1a1a2e; border-radius: 10px; padding: 20px; }
.pros { border-top: 3px solid #4caf50; }
.cons { border-top: 3px solid #e53935; }
.pros h3 { color: #4caf50; margin-bottom: 12px; }
.cons h3 { color: #e53935; margin-bottom: 12px; }
.pros li, .cons li { font-size: 0.9rem; margin-bottom: 8px; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }

/* ── Payment icons ── */
.payment-methods { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.pm-badge { background: #1a1a2e; border: 1px solid #2a2a48; border-radius: 6px; padding: 7px 14px; font-size: 0.82rem; color: #ccc; font-weight: 600; }

/* ── Footer ── */
footer { background: #0a0a14; border-top: 1px solid #1a1a2e; text-align: center; padding: 28px 16px 20px; font-size: 0.82rem; color: #555; margin-top: 60px; }
footer a { color: #666; }
footer a:hover { color: var(--accent); }
.footer-nav { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.footer-nav a { font-size: 0.8rem; }
.footer-logos { margin: 12px 0; opacity: 0.4; font-size: 0.75rem; color: #444; }
.footer-18 { display: inline-block; background: #333; color: #e0e0e0; border-radius: 4px; padding: 2px 7px; font-weight: 800; font-size: 0.8rem; margin-right: 6px; }

/* ── Responsive ── */
@media (max-width: 480px) {
  .hero { padding: 50px 14px 40px; min-height: 380px; }
  .cta-btn { width: 100%; display: block; padding: 17px; font-size: 1.1rem; }
  main { padding: 18px 14px; }
  .bonus-card { padding: 20px 18px; }
}

/* ── Mobile Sticky CTA Bar ── */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--accent);
  padding: 10px 16px 16px;
  z-index: 300;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.6);
}
.mobile-cta-bar a { color: #0a0a14; font-weight: 800; text-decoration: none; display: block; line-height: 1.3; }
.mobile-cta-bar a:hover { text-decoration: none; opacity: 0.9; }
.mcta-bonus { font-size: 1rem; font-weight: 900; display: block; }
.mcta-sub { font-size: 0.7rem; color: rgba(10,10,20,0.6); display: block; margin-top: 2px; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 76px; }
  .trust-bar { display: none; }
}
