/* Total Casino PL | totalcasino24.pl */

:root {
  --accent: #00a650;
  --accent-2: #25d87a;
  --gold: #f4c64e;
  --red: #e84b5f;
  --ink: #07111d;
  --ink-2: #0b1726;
  --panel: #101f31;
  --panel-2: #13283d;
  --line: rgba(173, 205, 228, .16);
  --text: #edf7fb;
  --muted: #a9bed0;
  --soft: #d8e8ee;
  --shadow: 0 20px 60px rgba(0, 0, 0, .34);
}

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

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  line-height: 1.68;
  background:
    linear-gradient(180deg, rgba(0, 166, 80, .08), transparent 360px),
    linear-gradient(135deg, #07111d 0%, #0c1c2c 48%, #101720 100%);
}

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

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin: 0 0 14px;
  color: var(--soft);
}

strong {
  color: #fff;
}

.trust-bar {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 29, .9);
  color: var(--muted);
  font-size: .82rem;
}

.trust-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.ico {
  font-size: .95rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 29, .88);
  backdrop-filter: blur(14px);
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--soft);
  font-size: .91rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(0, 166, 80, .14);
  color: #fff;
  text-decoration: none;
}

.nav-links .nav-cta {
  margin-left: 6px;
  color: #07111d;
  background: var(--gold);
  box-shadow: 0 10px 26px rgba(244, 198, 78, .22);
}

.nav-links .nav-cta:hover {
  color: #07111d;
  background: #ffdc73;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}

.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);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

section {
  margin: 0 0 30px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 31, 49, .72);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .14);
}

section[id] {
  scroll-margin-top: 90px;
}

h1,
h2,
h3 {
  margin: 0;
  color: #fff;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin: 0 auto 16px;
  font-size: clamp(2rem, 5vw, 4.25rem);
}

h2 {
  margin-bottom: 15px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

h3 {
  margin: 20px 0 8px;
  font-size: 1.08rem;
  color: #d9f5e5;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  /* Taller for more premium feel */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: #07111d;
  margin: 0;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(244, 198, 78, 0.3);
  border-radius: 999px;
  color: #fff;
  background: rgba(244, 198, 78, 0.15);
  backdrop-filter: blur(4px);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: none;
}

.hero-badge::before {
  content: "🎰";
  font-size: 0.9rem;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  max-width: 720px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-btn.outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold);
  color: #fff;
  box-shadow: none;
}

.cta-btn.outline:hover {
  background: rgba(244, 198, 78, 0.1);
  box-shadow: 0 0 20px rgba(244, 198, 78, 0.2);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 5vw, 60px);
  width: 100%;
  max-width: 1000px;
  margin-top: auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-val {
  color: var(--gold);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.stat-lbl {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-banner {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.brand-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 17, 29, 0.4) 0%, rgba(7, 17, 29, 0.9) 100%);
}

.brand-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero>*:not(.brand-banner) {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 7px 13px;
  border: 1px solid rgba(37, 216, 122, .42);
  border-radius: 999px;
  color: #d7ffe7;
  background: rgba(0, 35, 22, .62);
  font-size: .86rem;
  font-weight: 800;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.05;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero p {
  max-width: 800px;
  margin: 0 auto 36px;
  color: #fff;
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: 8px;
  color: #07111d;
  background: var(--accent-2);
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 14px 32px rgba(37, 216, 122, .22);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(37, 216, 122, .28);
}

.cta-btn.gold {
  background: linear-gradient(180deg, #ffe28a 0%, var(--gold) 100%);
  box-shadow: 0 16px 40px rgba(244, 198, 78, .3);
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 17, 29, .46);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  width: 30%;
  color: #dfffe9;
  background: rgba(0, 166, 80, .08);
  font-size: .9rem;
}

td {
  color: var(--soft);
  font-size: .95rem;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(226px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.game-card {
  background: #0b1726;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.game-card img {
  width: 100%;
  aspect-ratio: 226 / 338;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  background: #08121e;
  image-rendering: -webkit-optimize-contrast;
}

.game-card:hover img {
  transform: scale(1.08);
}

.rtp-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  z-index: 5;
  border: 1px solid rgba(212,175,55,0.3);
}

.card-info {
  padding: 12px 15px;
  background: #09131f;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  z-index: 5;
  flex-grow: 1;
}

.game-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #fff;
}

.game-provider {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.game-play-btn {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  background: #f4c64e;
  color: #000 !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  text-decoration: none;
}

.game-card:hover .game-play-btn {
  opacity: 1;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
}

.game-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
}

.game-card:hover::after {
  opacity: 1;
}

.provider-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.provider-chip {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, .045);
  font-size: .82rem;
  font-weight: 750;
}

.steps-list {
  margin: 18px 0 0;
  padding: 0;
  counter-reset: steps;
}

.steps-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: steps;
}

.steps-list li:last-child {
  border-bottom: 0;
}

.steps-list li::before {
  content: counter(steps);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07111d;
  background: var(--gold);
  font-size: .9rem;
  font-weight: 950;
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.pros-cons .box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 17, 29, .42);
}

.pros-cons .box.pros {
  border-top: 3px solid var(--accent-2);
}

.pros-cons .box.cons {
  border-top: 3px solid var(--red);
}

.pros-cons li {
  position: relative;
  padding: 7px 0 7px 22px;
  color: var(--soft);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: .93rem;
}

.pros-cons li:last-child {
  border-bottom: 0;
}

.pros-cons .pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 950;
}

.pros-cons .cons li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 950;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  background: rgba(7, 17, 29, .4);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  cursor: pointer;
  color: #fff;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  padding: 0 18px 18px;
  margin: 0;
  color: var(--soft);
}

.info-box,
.warning-box {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 8px;
}

.info-box {
  border: 1px solid rgba(37, 216, 122, .26);
  background: rgba(37, 216, 122, .08);
}

.warning-box {
  border: 1px solid rgba(244, 198, 78, .3);
  background: rgba(244, 198, 78, .09);
}

.info-box p,
.warning-box p {
  margin: 0;
}

footer {
  padding: 34px 16px 96px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  background: #07111d;
  font-size: .84rem;
}

footer a {
  color: #d3e4ec;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer-disclaimer {
  max-width: 860px;
  margin: 14px auto 0;
  color: #7f99ad;
  font-size: .78rem;
  line-height: 1.55;
}

.mobile-cta-bar {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 300;
  padding: 10px 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(180deg, #10bd66 0%, #00964b 100%);
  box-shadow: 0 -18px 45px rgba(0, 0, 0, .42);
  text-align: center;
}

.mobile-cta-bar a {
  display: block;
  color: #fff;
  text-decoration: none;
}

.mcta-bonus {
  display: block;
  font-weight: 950;
  line-height: 1.25;
}

.mcta-sub {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .76);
  font-size: .72rem;
}

@media (max-width: 860px) {
  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 17, 29, .98);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .nav-links .nav-cta {
    margin: 8px 0 0;
  }

  .hero {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 72px;
  }

  main {
    width: min(100% - 24px, 1180px);
    padding-top: 18px;
  }

  section {
    padding: 20px 16px;
    margin-bottom: 18px;
  }

  .trust-inner {
    width: min(100% - 20px, 1180px);
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 7px 0;
  }

  .trust-item {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 600px;
    padding: 60px 16px 40px;
    justify-content: center;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 0 0 calc(50% - 10px);
  }

  .cta-btn {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

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

  table,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
  }

  tr {
    border-bottom: 1px solid var(--line);
  }

  tr:last-child {
    border-bottom: 0;
  }

  th {
    padding-bottom: 4px;
    border-bottom: 0;
    background: transparent;
  }

  td {
    padding-top: 0;
    border-bottom: 0;
  }

  .mobile-cta-bar {
    display: block;
  }
}