﻿:root {
  --bg-main: #060607;
  --bg-deep: #0c0b0e;
  --panel: rgba(10, 10, 12, 0.54);
  --panel-strong: rgba(8, 8, 10, 0.68);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text-main: #f5f7fb;
  --text-muted: #b8beca;
  --accent: #500000;
  --accent-strong: #700000;
  --accent-rgb: 80, 0, 0;
  --accent-strong-rgb: 112, 0, 0;
  --accent-soft: rgba(80, 0, 0, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --max-width: 1180px;
  --header-height: 78px;
  --shadow: 0 24px 62px rgba(0, 0, 0, 0.46);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.34);
  --font-body: "Montserrat", "Segoe UI", sans-serif;
  --font-heading: "Montserrat", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  background: var(--bg-main);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(6, 6, 8, 0.24), rgba(6, 6, 8, 0.48)),
    url("../assets/slot1.png");
  background-size: cover;
  background-position: center 24%;
  background-blend-mode: multiply;
  filter: saturate(0.72) contrast(1.04);
  opacity: 0.78;
  transform: scale(1.04);
  animation: ambient-pan 28s ease-in-out infinite alternate;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(var(--accent-rgb), 0.24) 0%, rgba(var(--accent-rgb), 0) 42%),
    radial-gradient(circle at 86% 22%, rgba(14, 14, 18, 0.14) 0%, rgba(14, 14, 18, 0) 36%),
    linear-gradient(180deg, rgba(4, 4, 6, 0.26) 0%, rgba(5, 5, 7, 0.58) 72%, rgba(5, 5, 7, 0.72) 100%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  position: relative;
  z-index: 1;
  padding-top: var(--header-height);
}

.container {
  width: min(var(--max-width), calc(100% - 2.4rem));
  margin-inline: auto;
}

.section {
  padding: 84px 0;
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0;
  color: #f0899b;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.22;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0;
  color: var(--text-muted);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button:focus-visible,
.nav-link:focus-visible,
.nav-toggle:focus-visible,
.back-to-top:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 12px 24px rgba(var(--accent-rgb), 0.3);
}

.button-primary:hover {
  background: linear-gradient(135deg, #5f0000, #840000);
}

.button-secondary,
.button-ghost {
  background: rgba(12, 12, 14, 0.72);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 16% 50%, rgba(var(--accent-rgb), 0.24), rgba(var(--accent-rgb), 0) 54%),
    linear-gradient(135deg, rgba(12, 12, 16, 0.78), rgba(8, 8, 12, 0.82));
  color: #f6f8fc;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.text-link::after {
  content: "↗";
  font-size: 0.64rem;
  line-height: 1;
  opacity: 0.88;
  transform: translateX(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.text-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  background:
    radial-gradient(circle at 16% 50%, rgba(var(--accent-rgb), 0.34), rgba(var(--accent-rgb), 0) 56%),
    linear-gradient(135deg, rgba(14, 14, 18, 0.82), rgba(9, 9, 13, 0.86));
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.38),
    0 0 18px rgba(var(--accent-rgb), 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.text-link:hover::after {
  transform: translateX(2px);
  opacity: 1;
}

.text-link:active {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-height);
  z-index: 2000;
  backdrop-filter: blur(12px);
  background: linear-gradient(90deg, rgba(8, 8, 10, 0.8), rgba(8, 8, 10, 0.68) 48%, rgba(8, 8, 10, 0.8));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  width: min(var(--max-width), calc(100% - 0.9rem));
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  margin-left: -4px;
}

.brand img {
  width: clamp(66px, 7.6vw, 82px);
  height: clamp(66px, 7.6vw, 82px);
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.42));
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.nav-link.nav-link-disabled,
.nav-link[aria-disabled="true"] {
  color: rgba(200, 207, 219, 0.54);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.76;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: rgba(8, 8, 11, 0.8);
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  padding: 0;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 80px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 7, 9, 0.74);
  backdrop-filter: blur(8px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.8rem;
}

.footer-inner p {
  color: #9ca5b6;
}

.footer-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-nav a {
  color: #cad1dd;
  font-size: 0.82rem;
}

.footer-nav a:hover {
  color: #fff;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 8, 11, 0.74);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2000;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.44s ease, transform 0.44s ease;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes ambient-pan {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.4%, -0.8%, 0);
  }
}

@media (max-width: 980px) {
  .site-header .container {
    width: min(var(--max-width), calc(100% - 0.55rem));
  }

  .brand img {
    width: 70px;
    height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(8, 8, 11, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .section {
    padding: 70px 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .site-header .container {
    width: min(var(--max-width), calc(100% - 0.4rem));
  }

  .brand img {
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Premium refresh layer */
:root {
  --bg-main: #040508;
  --panel: rgba(8, 11, 16, 0.62);
  --panel-strong: rgba(7, 10, 15, 0.82);
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.28);
  --text-muted: #c4cbda;
  --shadow: 0 28px 72px rgba(0, 0, 0, 0.52);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.4);
}

body {
  background:
    radial-gradient(circle at 15% 12%, rgba(229, 36, 70, 0.14), rgba(229, 36, 70, 0) 32%),
    radial-gradient(circle at 85% 10%, rgba(38, 46, 70, 0.14), rgba(38, 46, 70, 0) 34%),
    var(--bg-main);
}

.section {
  padding: clamp(74px, 8vw, 102px) 0;
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  gap: 12px;
  margin-bottom: clamp(24px, 3.4vw, 34px);
}

.section-heading h2 {
  max-width: 24ch;
  text-wrap: balance;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  color: #ff9faf;
  letter-spacing: 0.14em;
}

.site-header {
  background: linear-gradient(102deg, rgba(7, 9, 14, 0.86), rgba(7, 10, 15, 0.72) 48%, rgba(7, 10, 15, 0.86));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.36);
}

.nav-link {
  color: #c8cfdb;
  letter-spacing: 0.01em;
}

.nav-link.nav-link-disabled,
.nav-link[aria-disabled="true"] {
  color: rgba(200, 207, 219, 0.54);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.nav-link:hover,
.nav-link.is-active,
.nav-link[aria-current] {
  color: #ffffff;
  background:
    radial-gradient(circle at 22% 24%, rgba(235, 48, 82, 0.24), rgba(235, 48, 82, 0) 48%),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.panel {
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(11px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01) 34%),
    var(--panel);
}

.button {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  letter-spacing: 0.02em;
}

.button-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #b91334 0%, #da2348 58%, #f03b5f 100%);
  box-shadow: 0 14px 28px rgba(218, 35, 72, 0.28);
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0) 76%);
  transition: transform 0.45s ease;
}

.button-primary:hover::before {
  transform: translateX(120%);
}

.button-secondary,
.button-ghost {
  background: linear-gradient(145deg, rgba(14, 17, 24, 0.82), rgba(8, 11, 16, 0.78));
}

[data-reveal] {
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px) scale(0.986);
  filter: blur(1px);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.is-tilt-card {
  --tilt-glow-x: 50%;
  --tilt-glow-y: 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, box-shadow, filter;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease, filter 0.3s ease;
}

.is-tilt-card.is-tilt-active {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 32px 68px rgba(0, 0, 0, 0.58),
    0 0 22px rgba(231, 38, 75, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  filter: saturate(1.08);
}

@media (hover: hover) and (pointer: fine) {
  .is-tilt-card:hover {
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow:
      0 26px 54px rgba(0, 0, 0, 0.52),
      0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  }
}

@media (max-width: 980px) {
  .section {
    padding: clamp(62px, 8vw, 82px) 0;
  }
}

@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .site-header {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  }

  .is-tilt-card,
  .is-tilt-card.is-tilt-active,
  .is-tilt-card:hover {
    transform: none !important;
    filter: none;
  }
}
