/* ==========================================================================
   Lemon Casino — landing page (dokładna kopia struktury/designu referencji)
   ========================================================================== */

:root {
  --primary: #ff9533;
  --primary-dark: #e07820;
  --dark: #091817;
  --surface: #091817;
  --surface2: #122e2b;
  --surface3: #1b4b48;
  --border: #1e3f3d;
  --light: #f0f4f3;
  --text: #c8d4d2;
  --text-muted: #b8c9c8;
  --accent: #ffd36c;
  --container: 960px;
  --brand-line: 3px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; width: 100%; }

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.6;
  border-top: var(--brand-line) solid var(--primary);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ---------- Przyciski ---------- */
.hdr-btn {
  display: inline-flex; align-items: center;
  padding: 8px 20px; border-radius: 50px;
  font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap;
  transition: all 0.2s;
}
.hdr-btn--register { background: var(--primary); color: #fff; border: 2px solid var(--primary); }
.hdr-btn--register:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.bonus-badge-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 211, 108, 0.12);
  border: 1px solid rgba(255, 211, 108, 0.35);
  border-radius: 50px; padding: 8px 16px;
  font-size: 0.85rem; font-weight: 700;
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.bonus-badge-btn:hover { background: rgba(255, 211, 108, 0.2); }

.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #1a2726;
  padding: 13px 32px; border-radius: 50px;
  font-weight: 800; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 2px 14px rgba(255, 149, 51, 0.25);
  transition: box-shadow 0.2s, transform 0.2s;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(255, 149, 51, 0.35); }
.cta-btn-wrap { margin: 28px 0 8px; text-align: center; }

/* ---------- Header ---------- */
.header {
  background: var(--surface3);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header-top { border-bottom: 1px solid var(--border); }
.header-top__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 16px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 36px; width: auto; }

.header-top__buttons { display: flex; align-items: center; gap: 10px; margin-left: auto; margin-right: 16px; }
@media (max-width: 600px) { .header-top__buttons { display: none; } }

.burger-btn {
  display: flex; flex-direction: column; justify-content: space-around;
  width: 28px; height: 20px; background: none; border: none; cursor: pointer; padding: 0; z-index: 1001;
}
.burger-btn span { display: block; width: 100%; height: 2px; background: var(--light); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.burger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (min-width: 1024px) { .burger-btn { display: none; } }

.header-nav { background: rgba(0,0,0,0.18); border-bottom: 1px solid var(--border); display: none; }
@media (min-width: 1024px) { .header-nav { display: block; } }
.header-nav__inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; display: flex; justify-content: center; }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 13px 16px; font-size: 0.86rem; font-weight: 600;
  color: var(--text-muted); border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover { color: var(--light); border-color: var(--primary); }

.mobile-menu {
  position: fixed; top: 0; left: 0; width: 100%;
  background: var(--surface3); border-top: 1px solid var(--border);
  height: 0; overflow: hidden; transition: height 0.3s ease;
  display: flex; flex-direction: column; z-index: 998;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.mobile-menu.open { height: auto; max-height: calc(100vh - 60px); overflow-y: auto; padding: 10px 20px 20px; }
.mobile-menu a { padding: 13px 0; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; color: var(--text); }
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu__btns { display: flex; gap: 10px; padding-top: 16px; margin-top: 4px; }
.mobile-menu__btns .hdr-btn,
.mobile-menu__btns .bonus-badge-btn { flex: 1; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--surface);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ctext x='15' y='20' font-size='16' opacity='0.06'%3E%F0%9F%8D%8B%3C/text%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ctext x='60' y='65' font-size='16' opacity='0.06'%3E%F0%9F%8D%8B%3C/text%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ctext x='80' y='15' font-size='14' opacity='0.05'%3E%F0%9F%8D%8B%3C/text%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ctext x='35' y='80' font-size='18' opacity='0.05'%3E%F0%9F%8D%8B%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 100px 100px;
  border-bottom: 1px solid var(--border);
}
.hero-container { max-width: var(--container); margin: 0 auto; padding: 36px 20px 0; }
.hero h1 { font-size: 1.8rem; color: var(--light); font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; text-align: center; }
.hero-body__inner { max-width: var(--container); margin: 0 auto; padding: 24px 20px 32px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-body__left { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
.hero-body__left img { width: 260px; height: 260px; max-width: 100%; object-fit: contain; border-radius: 16px; }
.hero-body__right { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
@media (min-width: 900px) {
  .hero-body__inner { flex-direction: row; align-items: flex-start; }
  .hero-body__left { width: 300px; flex-shrink: 0; }
  .hero-body__left img { width: 260px; height: 260px; }
  .hero-body__right { align-items: flex-start; padding-top: 12px; }
}

.cta-btn--hero {
  padding: 17px 42px; font-size: 1rem;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 24px rgba(255, 149, 51, 0.4), 0 0 0 4px rgba(255, 211, 108, 0.12);
}
.hero-bonus-box {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  max-width: 420px; margin: 0 auto;
  background: linear-gradient(160deg, rgba(255, 149, 51, 0.2), rgba(255, 211, 108, 0.08));
  border: 2px solid var(--accent); border-radius: 18px; padding: 20px 26px;
  animation: heroBonusGlow 2.4s ease-in-out infinite;
}
.hero-bonus-box__eyebrow { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); }
.hero-bonus-box__amount { font-size: 1.9rem; font-weight: 900; color: var(--light); line-height: 1.15; }
.hero-bonus-box__extra { font-size: 1rem; font-weight: 600; color: var(--primary); }
@keyframes heroBonusGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 211, 108, 0.4), 0 8px 30px rgba(0, 0, 0, 0.25); }
  50% { box-shadow: 0 0 0 10px rgba(255, 211, 108, 0), 0 8px 34px rgba(255, 211, 108, 0.28); }
}
@media (prefers-reduced-motion: reduce) { .hero-bonus-box { animation: none; } }

/* ---------- Slajdy gier ---------- */
.games-wrap { max-width: var(--container); margin: 0 auto; padding: 8px 20px 32px; }
.games-section { margin-bottom: 40px; }
.games-section__header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.games-section__icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: var(--primary); flex-shrink: 0; }
.games-section__title {
  font-size: 1.1rem; font-weight: 800; color: var(--light);
  letter-spacing: 0.02em; text-transform: uppercase; flex: 1;
}
.games-section__more {
  font-size: 0.82rem; font-weight: 500; color: var(--text-muted);
  padding: 5px 12px; border: 1px solid var(--border); border-radius: 6px;
  transition: color 0.2s, border-color 0.2s, background 0.2s; white-space: nowrap;
}
.games-section__more:hover { color: var(--light); border-color: var(--primary); }

.games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 900px) { .games-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .games-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

.game-card { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.game-card img { border-radius: 10px; width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 0.2s; }
.game-card:hover img { transform: translateY(-2px); }
.game-card__name { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); text-align: center; line-height: 1.5; }

/* ---------- Sekcja informacyjna ---------- */
.info-section-wrap {
  background: #284543;
  border-top: 1px solid rgba(255, 149, 51, 0.1);
  border-bottom: 1px solid rgba(255, 149, 51, 0.1);
  margin-bottom: 40px;
}
.info-section { max-width: var(--container); margin: 0 auto; padding: 40px 20px; }
.info-section h2 {
  font-size: 1.1rem; font-weight: 800; color: var(--light);
  letter-spacing: 0.02em; text-transform: uppercase;
  margin: 36px 0 20px;
}
.info-section h2:first-child { margin-top: 0; }
.info-section h3 { font-size: 1rem; font-weight: 700; color: var(--light); margin: 24px 0 12px; }
.info-section p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 14px; }

/* Tabele */
.table-wrapper { overflow-x: auto; margin: 20px 0; border-radius: 12px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th {
  background: var(--surface2); color: var(--primary);
  padding: 12px 16px; text-align: left; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-bottom: 2px solid var(--primary);
}
td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); background: var(--surface); font-size: 0.92rem; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--surface2); }

/* Zalety / wady */
.pros-cons { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 24px 0; }
@media (min-width: 640px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pc-box { padding: 22px; border-radius: 12px; }
.pc-box h3 { font-size: 1rem; margin-bottom: 12px; }
.pc-box.pros { background: rgba(255, 149, 51, 0.07); border: 1px solid rgba(255, 149, 51, 0.22); }
.pc-box.cons { background: rgba(248,81,73,0.07); border: 1px solid rgba(248,81,73,0.22); }
.content-list li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--text-muted); font-size: 0.93rem; }
.content-list li::before { content: "•"; position: absolute; left: 0; color: var(--primary); }

/* Tabela kroków rejestracji */
.steps-table td:first-child { width: 64px; text-align: center; background: var(--surface2); }
.steps-table .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #1a2726; font-weight: 800; font-size: 0.95rem;
}
.steps-table td:last-child { font-size: 0.95rem; color: var(--text); }

/* FAQ */
.faq-item { background: var(--surface2); border: 1px solid var(--border); margin-bottom: 10px; padding: 18px 20px; border-radius: 12px; }
.faq-q { font-weight: 700; margin-bottom: 8px; color: var(--primary); font-size: 0.97rem; }
.faq-a { color: var(--text); font-size: 0.93rem; line-height: 1.7; }

/* ---------- Strona 404 ---------- */
.notfound {
  min-height: calc(100vh - 60px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 60px 20px;
  background-color: var(--surface);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ctext x='15' y='20' font-size='16' opacity='0.06'%3E%F0%9F%8D%8B%3C/text%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ctext x='60' y='65' font-size='16' opacity='0.06'%3E%F0%9F%8D%8B%3C/text%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ctext x='80' y='15' font-size='14' opacity='0.05'%3E%F0%9F%8D%8B%3C/text%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ctext x='35' y='80' font-size='18' opacity='0.05'%3E%F0%9F%8D%8B%3C/text%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 100px 100px;
}
.notfound__emoji { font-size: 2.6rem; margin-bottom: 4px; }
.notfound__code {
  font-size: 6rem; font-weight: 900; line-height: 1;
  color: var(--primary); text-shadow: 0 0 40px rgba(255, 149, 51, 0.45);
}
.notfound__title { font-size: 1.4rem; font-weight: 800; color: var(--light); text-transform: uppercase; letter-spacing: 0.02em; margin: 14px 0 10px; }
.notfound__text { color: var(--text-muted); font-size: 1rem; max-width: 460px; margin: 0 auto 30px; line-height: 1.75; }
.notfound__actions { display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; max-width: 100%; }
@media (min-width: 480px) { .notfound__actions { flex-direction: row; } }

/* ---------- Stopka ---------- */
.site-footer { padding: 40px 0 0; }
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 20px 32px;
  display: grid; grid-template-columns: 1fr; gap: 32px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.6fr 1fr; } }
.footer-logo { font-weight: 800; font-size: 1.1rem; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; letter-spacing: 0.04em; }
.footer-legal { font-size: 0.75rem; color: var(--text-muted); line-height: 1.6; max-width: 420px; opacity: 0.7; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--text-muted); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--primary); }
.footer-bottom { max-width: var(--container); margin: 0 auto; padding: 16px 20px 32px; font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Sticky CTA (catfish) ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: linear-gradient(90deg, var(--surface3), #3a2a10 55%, var(--surface3));
  border-top: 2px solid var(--accent);
  box-shadow: 0 -6px 28px rgba(0,0,0,0.6);
  padding: 12px 20px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  overflow: hidden;
}
.sticky-cta::before {
  content: "";
  position: absolute; top: -2px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: stickyCtaSweep 2.6s linear infinite;
}
@keyframes stickyCtaSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta__inner { position: relative; max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.sticky-cta__gift-wrap {
  position: relative; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 211, 108, 0.16);
}
.sticky-cta__gift-wrap::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0.7;
  animation: giftPulseRing 1.8s ease-out infinite;
}
.sticky-cta__gift { font-size: 1.3rem; display: inline-flex; transform-origin: 50% 85%; animation: giftWiggle 1.8s ease-in-out infinite; }
@keyframes giftPulseRing {
  0% { transform: scale(0.8); opacity: 0.7; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes giftWiggle {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-14deg); }
  20% { transform: rotate(12deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(6deg); }
  50% { transform: rotate(0deg); }
}
.sticky-cta__name { font-size: 0.95rem; font-weight: 700; color: var(--light); text-transform: uppercase; white-space: nowrap; }
.sticky-cta__bonus {
  flex: 1; font-size: 0.9rem; font-weight: 700; color: var(--accent); text-align: center;
  background: rgba(255, 211, 108, 0.14); border: 1px solid rgba(255, 211, 108, 0.4);
  border-radius: 50px; padding: 5px 14px;
}
@media (max-width: 600px) { .sticky-cta__bonus { display: none; } }
.sticky-cta__btn {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #1a2726; padding: 11px 28px; border-radius: 50px;
  font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta::before, .sticky-cta__gift, .sticky-cta__gift-wrap::after { animation: none; }
}

/* ---------- Efekty przycisków CTA (shine / pulse / breathe) ---------- */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: "";
  position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(0) skewX(-20deg);
  animation: btnShineSweep 3.4s ease-in-out infinite;
  pointer-events: none; will-change: transform;
}
@keyframes btnShineSweep {
  0% { transform: translateX(0) skewX(-20deg); }
  38% { transform: translateX(460%) skewX(-20deg); }
  100% { transform: translateX(460%) skewX(-20deg); }
}
.btn-pulse { animation: btnPulseGlow 2.6s ease-in-out infinite; }
@keyframes btnPulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 211, 108, 0.55), 0 8px 26px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 9px rgba(255, 211, 108, 0), 0 8px 30px rgba(255, 211, 108, 0.5); }
}
.btn-breathe { animation: btnBorderBreathe 3.2s ease-in-out infinite; }
@keyframes btnBorderBreathe {
  0%, 100% { border-color: rgba(255, 211, 108, 0.35); box-shadow: 0 0 0 0 rgba(255, 211, 108, 0); }
  50% { border-color: var(--accent); box-shadow: 0 0 10px 1px rgba(255, 211, 108, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-shine::after, .btn-pulse, .btn-breathe { animation: none; }
}

/* Scroll to top */
.scroll-to-top {
  position: fixed; bottom: 90px; right: 20px;
  width: 46px; height: 46px;
  background: var(--surface2); border: 1px solid rgba(255, 149, 51, 0.4);
  border-radius: 10px; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  color: var(--light);
  transition: all 0.25s; z-index: 899;
}
.scroll-to-top.show { display: flex; }
.scroll-to-top:hover { background: var(--surface3); }

body.nav-open { overflow: hidden; }
