/* =========================
   F1 Casino Orange Red Neon Style
   ========================= */

:root {
  --bg-main: #120604;
  --bg-dark: #0b0302;
  --bg-soft: #1a0905;
  --bg-card: #160704;

  --text-main: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.88);
  --text-muted: rgba(255, 255, 255, 0.68);

  --accent: #ff7a1a;
  --accent-dark: #d9430d;
  --accent-red: #f0441e;
  --accent-light: #ffb25c;
  --accent-soft: rgba(255, 122, 26, 0.18);
  --accent-border: rgba(255, 122, 26, 0.42);

  --warning: #ffd36a;
  --danger: #ff5a3d;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-accent: 0 14px 34px rgba(255, 122, 26, 0.22);
  --shadow-dark: 0 18px 44px rgba(0, 0, 0, 0.45);

  --max-width: 1120px;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, #2a0d05 0%, #120604 42%, #070201 100%);
  color: var(--text-main);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: #ff7a1a;
  text-decoration: underline;
  text-decoration-color: rgba(255, 122, 26, 0.7);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: #ffd0a8;
  text-decoration-color: #ffd0a8;
}
img {
  max-width: 100%;
  height: auto;
}

/* Layout */

.wrapper {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px;
}

.site-content {
  background: var(--bg-main);
}

.content-section,
.summary-section,
.toc-section,
.faq-section,
.final-cta {
  padding: 58px 0;
}

.dark-block {
  background:
    radial-gradient(circle at top left, rgba(255, 122, 26, 0.12), transparent 34%),
    linear-gradient(180deg, #120604 0%, #0b0302 100%);
}

/* Typography */

h1,
h2,
h3 {
  line-height: 1.18;
  margin: 0 0 18px;
  color: #ffffff;
}

h1 {
  font-size: clamp(32px, 5vw, 62px);
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 760;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 720;
}

p {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 17px;
}

.intro {
  max-width: 880px;
  margin: 0 auto 22px;
  text-align: center;
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255, 255, 255, 0.92);
}

.eyebrow {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 7px 14px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.09);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Breadcrumbs */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--text-muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

/* Hero */

.hero-section {
  padding: 46px 0 54px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 122, 26, 0.18), transparent 34%),
    radial-gradient(circle at top, #240903 0%, #120604 55%, #090201 100%);
  border-bottom: 1px solid rgba(255, 122, 26, 0.22);
}

.disclaimer {
  max-width: 940px;
  margin: 18px auto 26px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 211, 106, 0.35);
  border-radius: var(--radius-md);
  background: rgba(255, 211, 106, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.hero-image-box,
.image-box {
  margin: 28px auto;
}

.article-image,
.hero-image {
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-dark), var(--shadow-accent);
  object-fit: cover;
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}

/* Buttons */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 26px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 48%, var(--accent-red) 100%);
  color: #0b0302;
  border: 1px solid var(--accent-light);
  box-shadow: 0 10px 26px rgba(255, 122, 26, 0.34);
  animation: pulseBrightGlow 2s ease-in-out infinite;
}

.btn-primary:hover {
  color: #0b0302;
  text-decoration: none;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 122, 26, 0.42);
}

.btn-secondary {
  background: rgba(11, 3, 2, 0.92);
  color: #ffffff;
  border: 1px solid var(--accent-border);
}

.btn-secondary:hover {
  color: #ffffff;
  text-decoration: none;
  border-color: var(--accent);
  background: rgba(255, 122, 26, 0.12);
  transform: translateY(-2px);
}

.inline-link {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 700;
}

/* Quick facts */

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.quick-facts div {
  padding: 18px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.11), rgba(11, 3, 2, 0.96));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.quick-facts span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 14px;
}

.quick-facts strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
}

/* TOC */

.toc-section {
  background: #120604;
  padding-top: 42px;
  padding-bottom: 42px;
}

.toc {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.toc a {
  padding: 13px 14px;
  border-radius: 12px;
  background: #0b0302;
  border: 1px solid var(--accent-border);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.26);
}

.toc a:hover {
  background: var(--accent);
  color: #0b0302;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Boxes */

.info-box,
.warning-box,
.checklist-box,
.responsible-box,
.bonus-card {
  margin: 26px 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.10), rgba(11, 3, 2, 0.94));
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-dark);
}

.warning-box {
  border-color: rgba(255, 211, 106, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 211, 106, 0.10), rgba(11, 3, 2, 0.94));
}

.checklist-box {
  border-color: rgba(255, 122, 26, 0.48);
}

.info-box h3,
.warning-box h3,
.checklist-box h3,
.responsible-box h3,
.bonus-card h3 {
  color: #ffffff;
}

ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text-soft);
}

li {
  margin-bottom: 8px;
}

/* Tables */

.table-wrap {
  width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-dark);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--bg-dark);
  color: #ffffff;
}

th,
td {
  padding: 16px 18px;
  border: 1px solid rgba(255, 122, 26, 0.42);
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(255, 122, 26, 0.16);
  color: #ffffff;
  font-weight: 800;
}

td {
  color: rgba(255, 255, 255, 0.88);
}

tbody tr:hover {
  background: rgba(255, 122, 26, 0.06);
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 26px 0;
}

.cards-grid article {
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.11), rgba(11, 3, 2, 0.94));
  border: 1px solid var(--accent-border);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
  transition: 0.22s ease;
}

.cards-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 34px rgba(255, 122, 26, 0.20);
}

.cards-grid h3 {
  margin-bottom: 10px;
}

.cards-grid p {
  margin-bottom: 0;
  font-size: 15.5px;
}

/* Pros / Cons */

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

.pros-cons > div {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #0b0302;
  border: 1px solid var(--accent-border);
}

.pros-cons h3 {
  color: var(--accent);
}

/* Rating */

.rating-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.rating-grid div {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #0b0302;
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-dark);
}

.rating-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.rating-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 32px;
  line-height: 1;
}

.rating-grid p {
  font-size: 15px;
  margin-bottom: 0;
}

/* FAQ */

.faq-section {
  background:
    radial-gradient(circle at bottom, rgba(255, 122, 26, 0.12), transparent 32%),
    #120604;
}

details {
  margin-bottom: 14px;
  padding: 0;
  border-radius: var(--radius-md);
  background: #0b0302;
  border: 1px solid var(--accent-border);
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
}

summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
  transition: 0.2s ease;
}

details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

details p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--text-soft);
}

/* Final CTA */

.final-cta {
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(255, 122, 26, 0.19), transparent 42%),
    linear-gradient(180deg, #0b0302 0%, #070201 100%);
  border-top: 1px solid rgba(255, 122, 26, 0.26);
}

.final-cta p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */

.site-footer {
  padding: 36px 0;
  background: #0b0302;
  border-top: 1px solid var(--accent-border);
  color: var(--text-muted);
}

.site-footer p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Header optional */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 66px;
  background: rgba(11, 3, 2, 0.94);
  border-bottom: 1px solid var(--accent-border);
  backdrop-filter: blur(14px);
}

.site-header .wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 800;
}

.logo img {
  max-height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 750;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.main-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Animation */

@keyframes pulseBrightGlow {
  0% {
    box-shadow: 0 10px 24px rgba(255, 122, 26, 0.26);
  }
  50% {
    box-shadow: 0 14px 34px rgba(255, 122, 26, 0.48);
  }
  100% {
    box-shadow: 0 10px 24px rgba(255, 122, 26, 0.26);
  }
}

/* Responsive */

@media (max-width: 1024px) {
  .quick-facts,
  .cards-grid,
  .rating-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .main-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .content-section,
  .summary-section,
  .toc-section,
  .faq-section,
  .final-cta {
    padding: 42px 0;
  }

  .hero-section {
    padding: 34px 0 42px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .quick-facts,
  .cards-grid,
  .rating-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .toc {
    grid-template-columns: 1fr;
  }

  .article-image,
  .hero-image {
    border-radius: 18px;
  }

  th,
  td {
    padding: 13px 14px;
  }

  table {
    min-width: 560px;
  }
}

@media (max-width: 480px) {
  .wrapper {
    padding: 0 14px;
  }

  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 25px;
  }

  p {
    font-size: 16px;
  }

  .quick-facts div,
  .cards-grid article,
  .info-box,
  .warning-box,
  .checklist-box,
  .responsible-box,
  .bonus-card {
    padding: 18px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

/* =========================
   F1 Casino Header
   ========================= */

.f1-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  background: rgba(11, 3, 2, 0.97);
  border-bottom: 1px solid rgba(255, 122, 26, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.f1-header-inner {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}

.f1-brand {
  display: flex;
  align-items: center;
  justify-self: start;
  text-decoration: none;
}

.f1-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 210px;
  object-fit: contain;
  object-position: left center;
}

.f1-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  justify-self: center;
}

.f1-nav a {
  color: rgba(255, 255, 255, 0.93);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.2s ease;
}

.f1-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.f1-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  justify-self: end;
}

.f1-login,
.f1-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 17px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s ease;
}

.f1-login {
  color: #ffffff;
  background: #120604;
  border: 1px solid rgba(255, 122, 26, 0.42);
}

.f1-login:hover {
  color: #ffffff;
  background: #1a0703;
  border-color: #ff7a1a;
  text-decoration: none;
}

.f1-register {
  color: #0b0302;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 52%, var(--accent-red) 100%);
  border: 1px solid var(--accent-light);
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.28);
}

.f1-register:hover {
  color: #0b0302;
  filter: brightness(1.07);
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(255, 122, 26, 0.38);
}

.f1-menu-toggle {
  display: none;
}

.f1-burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  justify-self: end;
}

.f1-burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #ffffff;
  border-radius: 10px;
}

.f1-mobile-nav {
  display: none;
}

/* Чтобы fixed-header не перекрывал первый экран */
.site-content {
  padding-top: 66px;
}

/* Responsive */

@media (max-width: 1200px) {
  .f1-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .f1-nav {
    gap: 24px;
  }

  .f1-nav a {
    font-size: 21px;
  }
}

@media (max-width: 992px) {
  .f1-header-inner {
    min-height: 58px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
  }

  .f1-logo {
    height: 42px;
    max-width: 170px;
  }

  .f1-nav {
    display: none;
  }

  .f1-header-actions {
    margin-left: auto;
  }

  .f1-login {
    display: none;
  }

  .f1-register {
    min-height: 42px;
    padding: 0 14px;
    font-size: 16px;
    border-radius: 9px;
  }

  .f1-burger {
    display: flex;
  }

  .site-content {
    padding-top: 58px;
  }

  .f1-menu-toggle:checked ~ .f1-mobile-nav {
    display: flex;
  }
}

/* На всякий случай, если браузер не применит sibling из-за структуры */
.f1-header:has(.f1-menu-toggle:checked) .f1-mobile-nav {
  display: flex;
}

@media (max-width: 992px) {
  .f1-mobile-nav {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px 16px 16px;
    background: rgba(11, 3, 2, 0.98);
    border-top: 1px solid rgba(255, 122, 26, 0.24);
    border-bottom: 1px solid rgba(255, 122, 26, 0.28);
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.45);
  }

  .f1-mobile-nav a {
    display: block;
    padding: 14px 10px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 122, 26, 0.14);
  }

  .f1-mobile-nav a:hover {
    color: #ff7a1a;
  }
}

@media (max-width: 520px) {
  .f1-header-inner {
    padding: 0 12px;
  }

  .f1-logo {
    height: 36px;
    max-width: 145px;
  }

  .f1-register {
    min-height: 38px;
    padding: 0 11px;
    font-size: 14px;
  }

  .f1-burger {
    width: 36px;
  }
}

/* =========================
   F1 Casino Footer
   ========================= */

.f1-footer {
  background: #0b0302;
  color: #ffffff;
  border-top: 1px solid rgba(255, 122, 26, 0.4);
  box-shadow: 0 -12px 30px rgba(11, 3, 2, 0.45);
}

.f1-footer-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 18px 26px;
}

.f1-footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
  margin-bottom: 28px;
}

.f1-footer-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 260px;
  flex: 0 0 34%;
}

.f1-footer-logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  text-decoration: none;
}

.f1-footer-logo-block:hover {
  color: #ffffff;
  text-decoration: none;
}

.f1-footer-logo {
  display: block;
  height: 45px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.f1-footer-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.05;
}

.f1-footer-brand-name {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.f1-footer-subtitle {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.35;
}

.f1-footer-socials {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 6px;
}

.f1-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: 0.2s ease;
}

.f1-footer-socials a:hover {
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

.f1-footer-socials svg {
  width: 28px;
  height: 28px;
}

.f1-footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 24px;
}

.f1-footer-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.f1-footer-badges a:hover {
  transform: translateY(-2px);
}

.f1-footer-badges img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.f1-footer-right {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 34px;
  font-size: 16px;
}

.f1-footer-column {
  min-width: 145px;
  max-width: 215px;
}

.f1-footer-column h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.f1-footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.f1-footer-column li {
  margin: 0;
}

.f1-footer-column a {
  display: inline-block;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15.5px;
  line-height: 1.35;
  text-decoration: none;
  transition: 0.2s ease;
}

.f1-footer-column a:hover {
  color: #ffffff;
  text-decoration: none;
}

.f1-footer-copy {
  margin: 0;
  padding-top: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1.55;
}

.f1-footer-disclaimer {
  max-width: 920px;
  margin: 8px auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.55;
}

/* Tablet */

@media (max-width: 1020px) {
  .f1-footer-main {
    flex-direction: column;
    gap: 34px;
  }

  .f1-footer-left {
    width: 100%;
    flex: none;
  }

  .f1-footer-right {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 34px 48px;
  }

  .f1-footer-column {
    min-width: 180px;
    max-width: 260px;
  }
}

/* Mobile */

@media (max-width: 560px) {
  .f1-footer-container {
    padding: 30px 16px 24px;
  }

  .f1-footer-logo-block {
    align-items: flex-start;
  }

  .f1-footer-logo {
    height: 38px;
    max-width: 135px;
  }

  .f1-footer-brand-name {
    font-size: 21px;
  }

  .f1-footer-subtitle {
    font-size: 12px;
  }

  .f1-footer-right {
    flex-direction: column;
    gap: 26px;
  }

  .f1-footer-column {
    min-width: 100%;
    max-width: 100%;
  }

  .f1-footer-badges {
    gap: 16px;
  }

  .f1-footer-badges img {
    height: 42px;
    max-width: 130px;
  }

  .f1-footer-copy,
  .f1-footer-disclaimer {
    text-align: left;
  }
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.games-grid article,
.game-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 122, 26, 0.22);
  border-radius: 18px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.games-grid article:hover,
.game-card:hover {
  border-color: rgba(255, 122, 26, 0.68);
  box-shadow: 0 18px 42px rgba(255, 122, 26, 0.18);
  transform: translateY(-4px);
}

.game-card-link {
  position: relative;
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: 14px;
}

.game-card-link:hover {
  color: inherit;
  text-decoration: none;
}

.games-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 auto 12px;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.game-card-link:hover img {
  transform: scale(1.06);
  filter: brightness(0.7);
}

.games-grid h3 {
  position: relative;
  z-index: 2;
  margin: 8px 0 4px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.25;
}

.games-grid p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.game-play-badge {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 3;
  transform: translate(-50%, -50%) scale(0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent), var(--accent-red));
  color: #0b0302;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 26px rgba(255, 122, 26, 0.35);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .games-grid article,
  .game-card {
    padding: 10px;
  }

  .games-grid h3 {
    font-size: 16px;
  }

  .games-grid p {
    font-size: 13px;
  }

  .game-play-badge {
    min-width: 112px;
    padding: 8px 13px;
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
}

.f1-nav-more {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.f1-nav-more summary {
  list-style: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
  padding: 0;
}

.f1-nav-more summary::-webkit-details-marker {
  display: none;
}

.f1-nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 50;
  min-width: 220px;
  padding: 10px;
  border: 1px solid rgba(255, 122, 26, 0.35);
  border-radius: 16px;
  background: #0b0302;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 4px;
}

.f1-nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.f1-nav-dropdown a:hover {
  background: rgba(255, 122, 26, 0.14);
  color: #ff7a1a;
}
/* =========================
   F1 Casino Header Optimized
   ========================= */

.f1-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  background: rgba(11, 3, 2, 0.97);
  border-bottom: 1px solid rgba(255, 122, 26, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.f1-header-inner {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
}

.f1-brand {
  display: flex;
  align-items: center;
  justify-self: start;
  flex-shrink: 0;
  text-decoration: none;
}

.f1-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 170px;
  object-fit: contain;
  object-position: left center;
}

/* Desktop navigation */

.f1-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.15vw, 18px);
  justify-self: center;
}

.f1-nav > a,
.f1-nav-more > summary {
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s ease;
}

.f1-nav > a:hover,
.f1-nav-more > summary:hover {
  color: #ff7a1a;
  text-decoration: none;
}

/* Header actions */

.f1-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  justify-self: end;
  flex-shrink: 0;
}

.f1-login,
.f1-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s ease;
}

.f1-login {
  color: #ffffff;
  background: #120604;
  border: 1px solid rgba(255, 122, 26, 0.42);
}

.f1-login:hover {
  color: #ffffff;
  background: #1a0703;
  border-color: #ff7a1a;
  text-decoration: none;
}

.f1-register {
  color: #0b0302;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 52%, var(--accent-red) 100%);
  border: 1px solid var(--accent-light);
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.28);
}

.f1-register:hover {
  color: #0b0302;
  filter: brightness(1.07);
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(255, 122, 26, 0.38);
}

/* Dropdown "Mehr" */

.f1-nav-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.f1-nav-more summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
  cursor: pointer;
}

.f1-nav-more summary::after {
  content: "▾";
  position: static;
  transform: none;
  color: #ff7a1a;
  font-size: 11px;
  line-height: 1;
}

.f1-nav-more[open] summary::after {
  transform: rotate(180deg);
}

.f1-nav-more summary::-webkit-details-marker {
  display: none;
}

.f1-nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  z-index: 10000;
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(255, 122, 26, 0.35);
  border-radius: 16px;
  background: #0b0302;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 4px;
}

.f1-nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.f1-nav-dropdown a:hover {
  background: rgba(255, 122, 26, 0.14);
  color: #ff7a1a;
  text-decoration: none;
}

/* Mobile toggle */

.f1-menu-toggle {
  display: none;
}

.f1-burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  justify-self: end;
}

.f1-burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #ffffff;
  border-radius: 10px;
}

.f1-mobile-nav {
  display: none;
}

/* Чтобы fixed-header не перекрывал первый экран */

.site-content {
  padding-top: 66px;
}

/* Medium desktop */

@media (max-width: 1280px) {
  .f1-header-inner {
    gap: 14px;
    padding: 0 16px;
  }

  .f1-logo {
    height: 40px;
    max-width: 150px;
  }

  .f1-nav {
    gap: 10px;
  }

  .f1-nav > a,
  .f1-nav-more > summary {
    font-size: 13px;
    letter-spacing: 0.02em;
  }

  .f1-login,
  .f1-register {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }
}

/* Tablet / mobile header */

@media (max-width: 1080px) {
  .f1-header-inner {
    min-height: 58px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
  }

  .f1-logo {
    height: 42px;
    max-width: 170px;
  }

  .f1-nav {
    display: none;
  }

  .f1-header-actions {
    margin-left: auto;
  }

  .f1-login {
    display: none;
  }

  .f1-register {
    min-height: 42px;
    padding: 0 14px;
    font-size: 16px;
    border-radius: 9px;
  }

  .f1-burger {
    display: flex;
  }

  .site-content {
    padding-top: 58px;
  }

  .f1-menu-toggle:checked ~ .f1-mobile-nav {
    display: flex;
  }
}

.f1-header:has(.f1-menu-toggle:checked) .f1-mobile-nav {
  display: flex;
}

@media (max-width: 1080px) {
  .f1-mobile-nav {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 58px);
    overflow-y: auto;
    padding: 10px 16px 16px;
    background: rgba(11, 3, 2, 0.98);
    border-top: 1px solid rgba(255, 122, 26, 0.24);
    border-bottom: 1px solid rgba(255, 122, 26, 0.28);
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.45);
  }

  .f1-mobile-nav a {
    display: block;
    padding: 14px 10px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 122, 26, 0.14);
  }

  .f1-mobile-nav a:hover {
    color: #ff7a1a;
    text-decoration: none;
  }
}

@media (max-width: 520px) {
  .f1-header-inner {
    padding: 0 12px;
  }

  .f1-logo {
    height: 36px;
    max-width: 145px;
  }

  .f1-register {
    min-height: 38px;
    padding: 0 11px;
    font-size: 14px;
  }

  .f1-burger {
    width: 36px;
  }
}

/* =========================
   Accessibility and contrast
   ========================= */

::selection {
  background: rgba(255, 122, 26, 0.38);
  color: #ffffff;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
label:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
}

.btn-primary,
.f1-register,
.game-play-badge {
  text-shadow: none;
}

.btn-primary:focus-visible,
.f1-register:focus-visible {
  box-shadow:
    0 0 0 4px rgba(11, 3, 2, 0.92),
    0 0 0 7px var(--accent-light),
    0 14px 34px rgba(240, 68, 30, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* F1 unified navigation and footer — 2026-08-10 */
.f1-nav > a[aria-current="page"],
.f1-nav-dropdown a[aria-current="page"],
.f1-mobile-nav a[aria-current="page"],
.f1-footer-column a[aria-current="page"] {
  color: #ff7a1a;
}

.f1-nav-dropdown {
  width: min(820px, calc(100vw - 40px));
  max-height: calc(100vh - 100px);
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px 18px;
  padding: 18px;
  overflow-y: auto;
}

.f1-nav-group { min-width: 0; }
.f1-nav-group-title,
.f1-mobile-nav-title {
  display: block;
  color: #ff7a1a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.f1-nav-group-title { padding: 4px 12px 6px; }

.f1-footer-right {
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr));
  justify-content: stretch;
}
.f1-footer-column { min-width: 0; max-width: none; }

@media (max-width: 1080px) {
  .f1-mobile-nav-title { padding: 18px 10px 5px; }
}

@media (max-width: 1020px) {
  .f1-footer-right { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
}

@media (max-width: 720px) {
  .f1-footer-right { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .f1-footer-right { display: grid; grid-template-columns: 1fr; }
}

/* Author attribution */
.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 102, 31, 0.45);
  border-radius: 14px;
  background: rgba(8, 12, 20, 0.72);
}

.article-author-photo-link {
  display: block;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ff661f;
}

.article-author-photo-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.article-author-content {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.article-author-label,
.article-author-role,
.article-author-date {
  color: #bcc3ce;
  font-size: 0.82rem;
  line-height: 1.4;
}

.article-author-label {
  color: #ff9a63;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-author-name {
  width: fit-content;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.article-author-name:hover,
.article-author-name:focus-visible {
  color: #ff7a1a;
  text-decoration: underline;
}

.article-author-date {
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .article-author {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .article-author-date {
    flex-basis: 100%;
    margin-left: 70px;
    white-space: normal;
  }
}
