:root {
  --c-header: #191e39;
  --c-bg: #0f1328;
  --c-btn-secondary: #283152;
  --c-btn-primary: #0b78d0;
  --c-text: #e8eaf6;
  --c-text-muted: #9fa8c4;
  --c-border: #1e2847;
  --c-card: #141932;
  --c-accent: #0b78d0;
  --radius: 12px;
  --radius-sm: 6px;
  --tr: 0.25s ease;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
.block[id] {
  scroll-margin-top: 80px;
}
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--c-accent);
  transition: color var(--tr);
}
a:hover {
  color: #3a9fe8;
}
.site-header {
  background: var(--c-header);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  flex-wrap: wrap;
  box-shadow: 0 2px 12px #0008;
}
.logo-link img {
  height: 48px;
  width: auto;
}
.online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  white-space: nowrap;
  padding-left: 4px;
}
.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-actions {
  flex-shrink: 0;
}
@media (max-width: 1100px) and (min-width: 769px) {
  .online { display: none; }
  nav a { padding: 6px 8px; font-size: 0.8rem; }
}
.online i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}
nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}
nav a {
  color: var(--c-text);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  white-space: nowrap;
}
nav a:hover {
  background: #ffffff14;
  color: #fff;
}
.header-actions {
  display: flex;
  gap: 8px;
}
.btn-primary,
.btn-secondary {
  border: 0;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--tr), box-shadow var(--tr);
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #0b78d0, #0a5da8);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #0b78d073;
  color: #fff;
}
.btn-secondary {
  background: var(--c-btn-secondary);
  color: var(--c-text);
}
.btn-secondary:hover {
  background: #334577;
  color: #fff;
}
.burger {
  display: none;
  background: none;
  border: 0;
  color: var(--c-text);
  font-size: 1.6rem;
  cursor: pointer;
}
.hero-section {
  position: relative;
  overflow: hidden;
  max-height: 520px;
}
.hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 24px;
  background: #0f1328d9;
  border: 1px solid #ffffff14;
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
}
.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
.hero-content p {
  margin-bottom: 20px;
  color: var(--c-text-muted);
}
.hero-cta {
  font-size: 1.1rem;
  padding: 14px 32px;
}
.main-container {
  max-width: 1100px;
  margin: auto;
  padding: 24px 16px;
}
.block {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  animation: fadeIn 0.5s ease;
}
.block h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #fff;
}
.pros-cons {
  display: flex;
  gap: 20px;
}
.pros-cons > div {
  flex: 1;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: #ffffff08;
}
.pros-cons > div:first-child {
  border-left: 3px solid #27ae60;
}
.pros-cons > div:last-child {
  border-left: 3px solid #e74c3c;
}
.pros-cons ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.pros-cons > div:first-child li:before {
  content: "✓ ";
  color: #27ae60;
}
.pros-cons > div:last-child li:before {
  content: "✗ ";
  color: #e74c3c;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 320px;
}
th,
td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--c-border);
}
th {
  background: #0b78d026;
  color: #fff;
}
tr:nth-child(even)td {
  background: #ffffff05;
}
.tournament-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.tournament-card {
  flex: 1 1 220px;
  background: #0b78d01a;
  border: 1px solid #0b78d04d;
  border-radius: var(--radius);
  padding: 18px;
}
.tournament-card b {
  display: block;
  font-size: 1.3rem;
  color: var(--c-accent);
}
.tournament-card time {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}
.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.store {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.apple {
  background: #1c1c1e;
  color: #fff;
}
.play {
  background: #2d7d46;
  color: #fff;
}
.apk {
  background: var(--c-btn-primary);
  color: #fff;
}
.wheel-block {
  text-align: center;
}
.wheel-wrap {
  position: relative;
  width: 320px;
  max-width: 100%;
  margin: 28px auto 20px;
}
#fortuneWheel {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 32px #0b78d066;
}
.wheel-pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 30px solid #fff;
  filter: drop-shadow(0 2px 4px #0009);
  z-index: 2;
}
.wheel-pointer::after {
  content: "";
  position: absolute;
  left: -11px;
  top: -30px;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 21px solid var(--c-accent);
}
.wheel-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.wheel-overlay.active {
  display: flex;
}
.wheel-overlay {
  padding: 16px;
  backdrop-filter: blur(3px);
}
.wheel-modal {
  position: relative;
  background: var(--c-card);
  border: 1px solid #ffffff1f;
  border-radius: var(--radius);
  padding: 40px 28px 28px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px #000a, 0 0 0 1px #0b78d033;
}
.wheel-modal > .wheel-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #ffffff12;
  color: var(--c-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--tr);
}
.wheel-modal > .wheel-close:hover {
  background: #ffffff26;
  color: #fff;
}
.wheel-modal-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 12px;
}
.wheel-modal h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #fff;
}
.wheel-modal p {
  color: var(--c-text-muted);
  margin-bottom: 24px;
}
.wheel-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wheel-modal-actions .btn-primary,
.wheel-modal-actions .btn-secondary {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
}
.content-area h1,
.info-content-wrap h1 {
  font-size: 1.8rem;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 18px;
}
.review-content-block {
  line-height: 1.8;
  overflow-wrap: break-word;
}
.review-content-block table {
  min-width: 0;
}
.review-content-block .table-scroll,
.review-content-block table {
  margin-bottom: 14px;
}
.review-content-block h2 {
  margin: 20px 0 10px;
}
.review-content-block h3 {
  margin: 16px 0 8px;
}
.review-content-block p {
  margin-bottom: 14px;
}
.review-content-block ul,
.review-content-block ol {
  margin: 0 0 14px 22px;
}
.review-content-block blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 10px 16px;
  margin: 14px 0;
  background: #ffffff08;
  font-style: italic;
}
.faq-item {
  border-bottom: 1px solid var(--c-border);
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--c-text);
  font: 600 1rem Montserrat;
  padding: 16px 0;
  cursor: pointer;
}
.faq-item button:after {
  content: "+";
  float: right;
  color: var(--c-accent);
}
.faq-item.open button:after {
  content: "−";
}
.faq-item > div {
  display: none;
  padding: 0 0 16px;
  color: var(--c-text-muted);
}
.faq-item.open > div {
  display: block;
}
.author {
  display: flex;
  gap: 20px;
}
.author-avatar {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #0b78d01f;
  border: 2px solid #0b78d066;
  color: #7cc0f2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-avatar svg {
  width: 44px;
  height: 44px;
}
.author > div {
  min-width: 0;
}
.author h2 {
  margin-bottom: 6px;
}
.author strong {
  display: block;
  margin-bottom: 6px;
}
.author p {
  margin-bottom: 8px;
  color: var(--c-text-muted);
}
.site-footer {
  background: var(--c-header);
  padding: 40px 20px 20px;
  margin-top: 24px;
}
.footer-grid {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-grid > div {
  flex: 1 1 200px;
}
.footer-grid h3 {
  color: #fff;
}
.footer-grid a {
  display: block;
  color: var(--c-text-muted);
  text-decoration: none;
  margin-bottom: 6px;
}
.footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  border-top: 1px solid var(--c-border);
  padding-top: 16px;
  text-align: center;
  color: var(--c-text-muted);
  font-size: 0.8rem;
}
.responsible > p {
  color: var(--c-text-muted);
  margin-bottom: 20px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.resource-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 18px 14px;
  background: #ffffff08;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--c-text);
  transition: border-color var(--tr), transform var(--tr), background var(--tr);
}
.resource-grid a:hover {
  border-color: var(--c-accent);
  background: #0b78d014;
  transform: translateY(-3px);
  color: #fff;
}
.resource-icon {
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 6px;
}
.resource-grid strong {
  font-size: 0.95rem;
  color: #fff;
}
.resource-grid small {
  font-size: 0.78rem;
  color: var(--c-text-muted);
}
.responsible-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 16px;
  background: #e74c3c14;
  border: 1px solid #e74c3c40;
  border-radius: var(--radius-sm);
  color: var(--c-text-muted);
  font-size: 0.9rem;
}
.age-badge {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: #151b3af2;
  backdrop-filter: blur(8px);
  border-top: 1px solid #0b78d066;
  box-shadow: 0 -6px 24px #0008;
  padding: 12px 52px 12px 20px;
}
.sticky-widget-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-widget-text {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
  min-width: 0;
}
.sticky-widget-text b {
  color: #fff;
  font-weight: 700;
}
.sticky-widget-inner .btn-primary {
  flex-shrink: 0;
  white-space: nowrap;
}
.sticky-widget.hidden {
  transform: translateY(100%);
}
.sticky-widget button {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff12;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky-widget button:hover {
  background: #ffffff26;
}
.contact-form {
  display: grid;
  gap: 14px;
  max-width: 600px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  background: #0d1124;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  color: #fff;
  font: inherit;
}
.rb-unused-xk7,
.vb92qm,
.zc4r8w {
  display: none;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 768px) {
  .site-header {
    padding: 8px 12px;
    gap: 8px;
  }
  .logo-link img {
    height: 36px;
  }
  .online {
    display: none;
  }
  .header-actions {
    margin-left: auto;
    gap: 6px;
  }
  .header-actions .btn-primary,
  .header-actions .btn-secondary {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
  .burger {
    display: block;
    order: 3;
    padding: 4px 6px;
    line-height: 1;
  }
  .header-actions {
    order: 2;
  }
  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    order: 5;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid var(--c-border);
  }
  nav.open {
    display: flex;
  }
  .sticky-widget {
    padding: 10px 44px 10px 14px;
  }
  .sticky-widget-inner {
    gap: 10px;
  }
  .sticky-widget-text {
    font-size: 0.82rem;
  }
  .sticky-widget-inner .btn-primary {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .sticky-widget button {
    top: 6px;
    right: 8px;
    width: 28px;
    height: 28px;
  }
  .pros-cons {
    flex-direction: column;
  }
  .tournament-list {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .tournament-card {
    flex: 0 0 250px;
  }
  .footer-grid {
    display: block;
  }
  .footer-grid > div {
    margin-bottom: 24px;
  }
}
@media (max-width: 480px) {
  .hero-img {
    height: 300px;
  }
  .hero-content {
    padding: 16px;
  }
  .hero-content h2 {
    font-size: 1.2rem;
  }
  .block {
    padding: 16px;
  }
  .content-area h1,
  .info-content-wrap h1 {
    font-size: 1.35rem;
  }
  .logo-link img {
    height: 30px;
  }
  .header-actions .btn-primary,
  .header-actions .btn-secondary {
    padding: 7px 9px;
    font-size: 0.76rem;
  }
  .wheel-modal {
    padding: 36px 18px 20px;
  }
  .sticky-widget-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .sticky-widget-inner .btn-primary {
    justify-content: center;
  }
  .sticky-widget-text {
    padding-right: 24px;
  }
}
