:root {
  --bg-main: #0b0f19;
  --bg-panel: #121826;
  --bg-card: #182032;
  --bg-deep: #070a12;
  --accent-green: #39ff14;
  --accent-blue: #2d72ff;
  --text-main: #f4f7ff;
  --text-muted: #8fa0c2;
  --border: rgba(255, 255, 255, 0.08);
  --glow: 0 0 22px rgba(57, 255, 20, 0.34);
}

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

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.92);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  height: 58px;
  min-width: 172px;
  display: flex;
  align-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #121d35, #0b0f19);
  border: 1px solid var(--border);
  position: relative;
}

.logo:before {
  content: "FUGU CASINO";
  color: #ffffff;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1px;
  padding-left: 18px;
}

.logo:after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--accent-green);
  border-radius: 50%;
  margin-left: 10px;
  box-shadow: var(--glow);
}

.logo img {
  height: 58px;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.button {
  border: 0;
  border-radius: 12px;
  padding: 13px 24px;
  background: var(--accent-green);
  color: #05070d;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--glow);
}

.header-actions .button:first-child {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.page-wrap {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  padding: 26px 22px 34px;
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 92px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
}

.sidebar-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 14px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.sidebar-menu li {
  margin: 0;
}

.sidebar-menu a {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.sidebar-menu a:hover {
  color: #ffffff;
  border-color: rgba(45, 114, 255, 0.35);
  background: rgba(45, 114, 255, 0.12);
}

.content {
  min-width: 0;
}

.section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  margin-bottom: 26px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

#FUGU-casino-oficjalna-strona {
  background:
    radial-gradient(circle at 78% 8%, rgba(57, 255, 20, 0.18), transparent 30%),
    radial-gradient(
      circle at 18% 12%,
      rgba(45, 114, 255, 0.32),
      transparent 32%
    ),
    linear-gradient(135deg, #172440 0%, #0b0f19 82%);
  border-left: 4px solid var(--accent-blue);
}

h1 {
  color: #ffffff;
  font-size: 44px;
  line-height: 1.14;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}

h2 {
  color: #ffffff;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 850;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

h3 {
  color: #ffffff;
  font-size: 21px;
  line-height: 1.25;
  margin: 22px 0 12px;
}

p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
}

ul,
ol {
  margin: 18px 0;
  padding-left: 24px;
  color: var(--text-muted);
}

li {
  margin: 8px 0;
  font-size: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  background: #111827;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

td {
  padding: 15px 18px;
  color: var(--text-muted);
  font-size: 15px;
  vertical-align: top;
}

td:first-child {
  color: #ffffff;
  font-weight: 800;
  width: 34%;
}

.author-block {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 26px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px;
}

.footer-brand {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.pros-cons div {
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.expert-note {
  margin: 20px 0;
  padding: 20px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 18px;
}

.comparison-table td:first-child {
  width: 28%;
}

.welcome-banner {
  margin: 26px 0 0;
  min-height: 270px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(57, 255, 20, 0.38),
      transparent 24%
    ),
    radial-gradient(
      circle at 20% 20%,
      rgba(45, 114, 255, 0.45),
      transparent 28%
    ),
    linear-gradient(135deg, #172440 0%, #0b0f19 72%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 34px;
  position: relative;
}

.welcome-banner:before {
  content: "FUGU";
  position: absolute;
  right: 28px;
  bottom: -18px;
  font-size: 92px;
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: 4px;
}

.welcome-banner:after {
  content: "";
  position: absolute;
  right: 54px;
  top: 46px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 35% 35%,
      rgba(255, 255, 255, 0.85),
      transparent 9%
    ),
    radial-gradient(
      circle at 63% 35%,
      rgba(255, 255, 255, 0.85),
      transparent 9%
    ),
    radial-gradient(
      circle at 50% 58%,
      rgba(57, 255, 20, 0.95),
      transparent 16%
    ),
    rgba(45, 114, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 45px rgba(45, 114, 255, 0.25);
}

.welcome-banner__content {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.welcome-banner__label {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.welcome-banner__bonus {
  margin: 0 0 10px;
  color: var(--accent-green);
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
  text-shadow: var(--glow);
}

.welcome-banner__text {
  max-width: 440px;
  margin-bottom: 20px;
  color: #cbd6ff;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.hero-card p {
  margin: 0;
}

.hero-card .value {
  display: block;
  color: var(--accent-green);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 4px;
}

.game-lobby-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.game-card {
  height: 210px;
  border-radius: 16px;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.92), transparent 65%),
    linear-gradient(135deg, #243458, #121826);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding: 14px;
}

.game-card:before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: var(--glow);
}

.game-card:after {
  content: "▶";
  position: absolute;
  top: 30px;
  right: 34px;
  color: #05070d;
  font-size: 18px;
  font-weight: 900;
}

.game-card .title {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-weight: 900;
  font-size: 15px;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.promo-badge {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 15px;
}

.promo-badge .highlight {
  display: block;
  color: var(--accent-green);
  font-weight: 900;
  margin-bottom: 6px;
}

.review-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 24px;
  border-radius: 18px;
  background: var(--bg-panel);
  border: 1px solid rgba(45, 114, 255, 0.18);
}

.review-form label {
  display: grid;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #0b0f19;
  color: #ffffff;
  padding: 14px;
  font-size: 15px;
  outline: none;
}

.review-form textarea {
  min-height: 120px;
  resize: vertical;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: var(--accent-blue);
}

.checkbox-label {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-muted) !important;
  font-weight: 500 !important;
}

.checkbox-label input {
  width: auto;
  margin-top: 4px;
}

.faq-container {
  display: grid;
  gap: 12px;
}

.faq-item {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  padding: 18px 56px 18px 18px;
}

.toggle {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.faq-question {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
}

.icon {
  position: absolute;
  top: 19px;
  right: 20px;
  width: 20px;
  height: 20px;
}

.icon:before,
.icon:after {
  content: "";
  position: absolute;
  background: var(--accent-green);
  border-radius: 4px;
}

.icon:before {
  width: 20px;
  height: 3px;
  top: 8px;
  left: 0;
}

.icon:after {
  width: 3px;
  height: 20px;
  top: 0;
  left: 8px;
}

.faq-answer {
  display: none;
  margin-top: 12px;
  margin-bottom: 0;
}

.toggle:checked ~ .faq-answer {
  display: block;
}

.toggle:checked ~ .icon:after {
  display: none;
}

footer {
  background: #070a12;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
}

.footer-warning {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(255, 95, 95, 0.22);
  color: #ff7474;
  border-radius: 12px;
  padding: 14px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--accent-green);
  color: #05070d;
  text-decoration: none;
  font-weight: 900;
  box-shadow: var(--glow);
}

.app-download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.app-download-buttons .button {
  width: auto;
}

@media (max-width: 1060px) {
  .page-wrap {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

  .game-lobby-preview,
  .hero-grid,
  .badge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .app-download-buttons {
    flex-direction: column;
  }

  .app-download-buttons .button {
    width: 100%;
  }

  .page-wrap {
    padding: 16px 12px 26px;
  }

  .section {
    padding: 22px;
    border-radius: 18px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .sidebar-menu,
  .game-lobby-preview,
  .hero-grid,
  .badge-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .welcome-banner {
    padding: 24px;
    min-height: 240px;
  }

  .welcome-banner:before {
    font-size: 58px;
    right: 18px;
  }

  .welcome-banner:after {
    display: none;
  }

  .welcome-banner__bonus {
    font-size: 34px;
  }

  table {
    display: block;
    overflow-x: auto;
  }

  td {
    min-width: 180px;
  }
}
