/* ==========================================================================
   TOKYO CLIENT â€” VENTURA STYLE DESIGN SYSTEM (1:1 FIDELITY)
   ZERO PIXEL / ZERO MINECRAFT FONTS. MODERN SWISS GROTESQUE & EDITORIAL SERIF.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Backgrounds (Sleek Obsidian Pure Deep Black Palette â€” no grey wash) */
  --bg-base: #000000;
  --bg-surface: #040407;
  --bg-card: #07070a;
  --bg-card-hover: #0c0c12;
  --bg-card-subtle: #030305;
  --bg-input: #030305;

  /* Borders & Dividers */
  --border-subtle: #141418;
  --border-medium: #1C1C22;
  --border-hover: #2A2A34;
  --border-accent: rgba(107, 163, 255, 0.35);

  /* Typography Colors */
  --text-white: #FFFFFF;
  --text-primary: #EEF2F8;
  --text-secondary: #9DA8BE;
  --text-muted: #5F6B84;
  --text-dim: #434B5E;

  /* Accent Violet & Blue (Czarny fioletowo-niebieski) */
  --accent-purple: #8B5CF6;
  --accent-purple-bright: #A78BFA;
  --accent-purple-dark: #6D28D9;
  --accent-blue: #3B72F2;
  --accent-blue-bright: #6BA3FF;
  --accent-purple-glow: rgba(139, 92, 246, 0.28);
  --accent-gradient: linear-gradient(135deg, #8B5CF6 0%, #3B72F2 100%);
  --accent-gradient-hover: linear-gradient(135deg, #9D75FF 0%, #4D82FF 100%);

  /* Utility status */
  --status-mint: #70DDA0;
  --status-mint-glow: rgba(112, 221, 160, 0.5);

  /* Fonts: Pure modern typography (Manrope & Inter). Absolutely NO pixel/minecraft fonts */
  --font-sans: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'DM Mono', monospace;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-normal: 0.24s;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  background-color: var(--bg-base);
  color: var(--text-white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::selection, body *::selection {
  background: rgba(185, 173, 255, 0.3);
  color: #FFFFFF;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-normal) ease;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font: inherit;
  color: inherit;
}

img, svg {
  display: block;
}

.section-shell {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR (With Official Telegram Emoji)
   ========================================================================== */
@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navFadeIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtleGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(139, 92, 246, 0); }
  50% { box-shadow: 0 1px 20px rgba(139, 92, 246, 0.08); }
}

.announcement-bar {
  display: none !important;
}

.announcement-bar.is-collapsed {
  max-height: 0;
  min-height: 0;
  opacity: 0;
  margin-top: -38px;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
  pointer-events: none;
}

.announcement-emoji {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.announcement-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  animation: navFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes announcementStarPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}

.announcement-icon-svg {
  width: 15px;
  height: 15px;
  color: var(--accent-purple-bright);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  animation: announcementStarPulse 2.5s ease-in-out infinite;
}

.announcement-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-purple);
  font-weight: 600;
  text-decoration: none;
}

.announcement-link:hover {
  color: #FFFFFF;
}

.announcement-link:hover .arrow-icon {
  transform: translate(2px, -2px);
}

.arrow-icon {
  display: inline-block;
  transition: transform 0.2s ease;
}

/* ==========================================================================
   SITE HEADER & NAVBAR (Ventura 1:1 Layout)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  animation: navFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* Rolling / Collapsing State (Floating Pill Capsule) */
.site-header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  top: 14px;
  pointer-events: none;
}

.site-header.is-scrolled .header-container {
  pointer-events: auto;
  width: min(880px, calc(100% - 32px));
  height: 54px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: #000000;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95);
}

.site-header.is-scrolled .brand-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.is-scrolled .nav-menu {
  gap: 4px;
}

.site-header.is-scrolled .nav-link {
  padding: 5px 12px;
  font-size: 13px;
}

.site-header.is-scrolled .btn-header-login {
  padding: 6px 15px;
  font-size: 12px;
}

.site-header.is-scrolled .lang-switch {
  padding: 5px 10px;
  font-size: 11px;
  background: #000000;
  border-color: rgba(255, 255, 255, 0.07);
}

/* Rolling up / Hide on fast downward scroll */
.site-header.is-hidden {
  transform: translateY(-130%);
}

.header-container {
  width: min(1360px, calc(100% - 48px));
  height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border 0.35s ease;
}

/* Brand Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  animation: navFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.brand-avatar {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  border-radius: 11px;
  overflow: hidden;
  transition: transform var(--duration-normal) ease, box-shadow var(--duration-normal) ease;
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.35));
}

.brand:hover .brand-avatar {
  transform: scale(1.06);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

.brand-tag {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-purple);
  margin-top: 3px;
}

/* Navigation Menu */
.nav-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #9DA8BE;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.15s ease;
  outline: none;
  position: relative;
  text-decoration: none;
  user-select: none;
  animation: navFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nav-link:nth-child(1) { animation-delay: 0.25s; }
.nav-link:nth-child(2) { animation-delay: 0.32s; }
.nav-link:nth-child(3) { animation-delay: 0.39s; }
.nav-link:nth-child(4) { animation-delay: 0.46s; }
.nav-link:nth-child(5) { animation-delay: 0.53s; }

.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-link:active {
  transform: scale(0.96);
}

/* Neutral active state - unhovered nav items never show active marker */
.nav-link.is-active {
  color: #9DA8BE;
  font-weight: 500;
  background: transparent;
  border-color: transparent;
}

.nav-link.is-active:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Header Right Actions (With Telegram PL Flag) */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: navFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #CFD8E8;
  transition: all 0.2s ease;
  user-select: none;
  cursor: pointer;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.lang-switch:active {
  transform: scale(0.96);
}

.lang-flag-img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #0E0D12;
  box-shadow: 0 4px 20px rgba(185, 173, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 6px 26px rgba(185, 173, 255, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 28px;
  font-size: 14px;
  border-radius: 14px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 9px;
}

.btn-header {
  padding: 10px 18px;
  font-size: 12px;
  border-radius: 999px;
}

.btn-arrow {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translate(2px, -2px);
}

@keyframes loginGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, #7c3aed 0%, #1a1a2e 35%, #6d28d9 65%, #0d0d14 100%);
  background-size: 300% 300%;
  animation: loginGradientShift 4s ease infinite;
  color: #FFFFFF;
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 2px 14px rgba(109, 40, 217, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  letter-spacing: 0.01em;
}

.btn-header-login svg {
  width: 14px;
  height: 14px;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.btn-header-login:hover {
  border-color: rgba(139, 92, 246, 0.65);
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.5), 0 0 16px rgba(139, 92, 246, 0.25);
  transform: translateY(-1px);
  animation-duration: 2s;
}

.btn-header-login:hover svg {
  opacity: 1;
  transform: translateX(2px);
}

.btn-header-login:active {
  transform: scale(0.97);
}

.btn-header-login[hidden],
[data-auth-link][hidden] {
  display: none !important;
}

/* Logged-in account control (Ventura-style profile pill) */
.account-menu {
  position: relative;
  z-index: 70;
}

.account-menu[hidden],
.account-menu-popover[hidden] {
  display: none !important;
}

.account-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 5px 12px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #000000;
  color: var(--text-primary);
  font: 700 12px/1 var(--font-sans);
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.account-menu-trigger:hover,
.account-menu.is-open .account-menu-trigger {
  background: #08080c;
  border-color: rgba(167, 139, 250, 0.38);
}

.account-menu-trigger:active {
  transform: scale(0.97);
}

.account-menu-avatar {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa 0%, #6d44dd 100%);
  color: #0b0714;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-menu-trigger-name {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-chevron {
  opacity: 0.65;
  transition: transform 0.22s ease;
}

.account-menu.is-open .account-menu-chevron {
  transform: rotate(180deg);
}

.account-menu-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 224px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #000000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(139, 92, 246, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: accountMenuIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.account-menu-intro {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #050508;
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 6px;
}

.account-menu-label {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.account-menu-intro strong {
  color: var(--text-white);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.account-menu-popover a,
.account-menu-popover button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  font: 600 13px/1.2 var(--font-sans);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.account-menu-popover a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
}

.account-menu-popover button {
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 10px 10px;
  padding-top: 11px;
  color: #f87171;
}

.account-menu-popover button:hover {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.08);
}

@keyframes accountMenuIn {
  from { opacity: 0; transform: translateY(-5px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   COSMIC LIQUID GRADIENT BUTTON (.btn-wrapper) â€” Violet & Blue Palette
   ========================================================================== */
.btn-wrapper {
  --rad: 999px;
  --color-wrapper-border: rgba(139, 92, 246, 0.55);
  --color-btn-bg: #090a16;
  --color-layer-a: #8b5cf6;
  --color-layer-b: #090a16;
  --color-layer-c: #3b82f6;
  --color-layer-d: #6d28d9;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  overflow-clip-margin: 4px;

  border: 1.5px solid var(--color-wrapper-border);
  border-radius: var(--rad);

  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;

  background-color: var(--color-btn-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 25px rgba(59, 114, 242, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-wrapper:hover {
  border-color: rgba(107, 163, 255, 0.85);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.55), 0 0 32px rgba(107, 163, 255, 0.45);
  transform: translateY(-2px);
}

.btn-wrapper:active {
  transform: scale(0.98);
}

.gradient-btn {
  position: relative;
  z-index: 1;

  padding: 13px 34px;
  border: none;
  border-radius: var(--rad);

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0.08rem;

  color: transparent;
  background-color: transparent;
  box-shadow: inset 0 0 10px 2px rgba(59, 114, 242, 0.25);

  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  user-select: none;
}

.gradient-btn::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  border-radius: var(--rad);
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  z-index: 1;
}

.gradient-layer {
  position: absolute;
  pointer-events: none;

  left: -160px;
  width: 500%;
  aspect-ratio: 1;

  background: radial-gradient(
    ellipse at 65% 180%,
    var(--color-layer-a),
    var(--color-layer-b),
    var(--color-layer-c),
    var(--color-layer-b),
    var(--color-layer-d),
    var(--color-layer-b),
    var(--color-layer-a),
    var(--color-layer-b),
    var(--color-layer-c),
    var(--color-layer-b),
    var(--color-layer-a)
  );

  mix-blend-mode: screen;
  opacity: 0.85;
  animation: rotate 10s linear infinite;
  z-index: 0;
}

.gradient-layer:nth-of-type(2) {
  mix-blend-mode: color-dodge;
  opacity: 0.5;
  animation-duration: 7s;
  animation-direction: reverse;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.text-overlay {
  position: absolute;
  pointer-events: none;
  z-index: 2;

  padding: 13px 34px;
  border-radius: var(--rad);

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0.08rem;

  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 0 12px rgba(107, 163, 255, 0.6);
  box-shadow:
    inset 0 -2px 4px 0 rgba(0, 0, 0, 0.35),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.22);

  mix-blend-mode: normal;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-wrapper:hover .text-overlay {
  transform: scale(1.03);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 18px rgba(107, 163, 255, 0.9);
}

.btn-wrapper:active .text-overlay {
  transform: scale(0.97);
}

.light {
  position: absolute;
  top: 0;
  left: 10%;
  pointer-events: none;
  z-index: 1;
  border-radius: 999px;
  width: 80%;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  filter: blur(2px);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.3;
  }
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.mobile-toggle .bar {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle[aria-expanded="true"] .bar-1 {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .bar-2 {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Dropdown Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px 24px 24px;
  background: rgba(17, 17, 21, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.mobile-link:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.w-full {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION (Ventura 1:1 Layout & Atmosphere)
   ========================================================================== */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  overflow: hidden;
  background: #000000;
}

.hero-ambient-glow {
  position: absolute;
  top: 45vh;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: 100vw;
  height: 640px;
  background: radial-gradient(ellipse 650px 320px at 50% 50%, rgba(124, 58, 237, 0.22) 0%, rgba(59, 114, 242, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* 3D Perspective Viewport for Grid Roll */
.hero-grid-wrap {
  position: absolute;
  inset: -120px -60px 0 -60px;
  perspective: 750px;
  perspective-origin: 50% 32%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-grid-wrap,
.hero-grid-pattern,
.hero-grid-horizon-glow {
  display: none !important;
}

.hero-container {
  position: relative;
  z-index: 10;
  width: min(1360px, calc(100% - 32px));
  min-height: calc(100vh - 104px);
  min-height: calc(100dvh - 104px);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

/* Hero Release Version Badge (pill style matching reference screenshot) */
@keyframes badgeBorderShift {
  0%, 100% { border-color: rgba(139, 92, 246, 0.35); }
  50% { border-color: rgba(107, 163, 255, 0.4); }
}

.hero-release-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px 8px 16px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(196, 181, 253, 0.85);
  animation: badgeBorderShift 4s ease-in-out infinite;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-release-badge svg {
  color: var(--accent-purple);
  flex-shrink: 0;
  opacity: 0.7;
}

/* Large variant of cosmic button for hero */
.btn-wrapper-hero,
.btn-wrapper-large {
  min-width: 320px;
  font-size: 17px;
}

.btn-wrapper-hero .gradient-btn,
.btn-wrapper-hero .text-overlay,
.btn-wrapper-large .gradient-btn,
.btn-wrapper-large .text-overlay {
  padding: 17px 56px;
  font-size: 17px;
  letter-spacing: 0.05rem;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px 8px 16px;
  background: rgba(18, 21, 36, 0.85);
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  margin-bottom: 40px;
}

.badge-icon {
  color: var(--accent-purple);
  font-size: 13px;
}

.badge-text {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.badge-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-mint);
  box-shadow: 0 0 8px var(--status-mint-glow);
}

/* Hero Title with Diffused Ambient Light Box */
.hero-title-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 44px;
  overflow: visible;
}

.hero-title {
  position: relative;
  z-index: 1;
  font-size: clamp(32px, 5.6vw, 84px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-white);
  margin-bottom: 0;
  white-space: nowrap;
  text-shadow: 
    0 0 20px rgba(255, 255, 255, 0.20),
    0 0 45px rgba(99, 149, 255, 0.22),
    0 0 80px rgba(59, 114, 242, 0.14);
}

/* Character reveal typewriter animation (bkubiak.dev style) */
.hero-title .char-reveal {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(14px) scale(1.1);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

.hero-title.is-animated .char-reveal {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  display: inline;
  padding-inline: 4px;
  white-space: nowrap;
  filter: drop-shadow(0 0 25px rgba(99, 149, 255, 0.4)) drop-shadow(0 0 55px rgba(59, 114, 242, 0.25));
}

.serif-accent .char-reveal {
  background: linear-gradient(135deg, #FFFFFF 0%, #8EB9FF 55%, #3B72F2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.12em 0.24em;
  margin: -0.12em -0.24em;
  text-shadow: none !important;
}

/* Hero Subtitle */
.hero-subtitle {
  max-width: 660px;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 56px;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* ==========================================================================
   VENTURA 3 SOCIAL PROOF / STATS CARDS (Vector SVGs)
   ========================================================================== */
.stats-wrapper {
  position: relative;
  z-index: 10;
  width: min(1200px, calc(100% - 48px));
  margin: 64px auto 120px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border-radius: 1.2rem;
  border: 1px solid transparent;
  background: 
    linear-gradient(135deg, #0d1120 0%, #1e1b34 43%, #0d1120 100%) padding-box,
    linear-gradient(135deg, #fffffff5 0%, #3a4b8a 50%, #ffffff98 100%) border-box;
  box-shadow: 0px 1rem 1.5rem -0.9rem #000000e1;
  transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 1.2rem 2rem -0.8rem rgba(0, 0, 0, 0.95), 0 0 20px rgba(58, 75, 138, 0.35);
}

.stat-icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(107, 163, 255, 0.18), rgba(59, 114, 242, 0.08));
  border: 1px solid rgba(107, 163, 255, 0.28);
  display: grid;
  place-items: center;
  color: var(--accent-purple);
}

.stat-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
  font-family: var(--font-sans);
}

/* ==========================================================================
   SUPPORTED SERVERS TICKER (Single-line pills with chromatic animated stars)
   ========================================================================== */
.server-ticker-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  padding: 16px 0;
  margin-top: 0;
  margin-bottom: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ticker-fade-left, .ticker-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 5;
  pointer-events: none;
}

.ticker-fade-left {
  left: 0;
  background: linear-gradient(to right, #000000 25%, transparent);
}

.ticker-fade-right {
  right: 0;
  background: linear-gradient(to left, #000000 25%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: ticker-slide 55s linear infinite;
  will-change: transform;
}

.server-ticker-container:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #B2BDD2;
  transition: all 0.25s ease;
  user-select: none;
  cursor: default;
}

.ticker-rating {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 999px;
  line-height: 1;
}

.ticker-rating-num {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  color: #EDE9FE;
  letter-spacing: -0.01em;
}

.ticker-rating .ticker-star {
  width: 12px;
  height: 12px;
}

.ticker-rating .ticker-star svg {
  width: 11px;
  height: 11px;
}

.ticker-opinion {
  color: #F1F5F9;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ticker-author {
  color: #A78BFA;
  font-weight: 600;
  font-size: 12px;
  margin-left: 2px;
  opacity: 0.9;
}

.ticker-item:hover {
  color: #FFFFFF;
  border-color: rgba(154, 139, 255, 0.45);
  background: rgba(154, 139, 255, 0.08);
  box-shadow: 0 0 16px rgba(124, 92, 252, 0.22);
  transform: translateY(-1px);
}

/* 4-pointed chromatic animated star with multi-color shifting texture */
.ticker-star {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  animation: starPulse 3.5s ease-in-out infinite, starHueRotate 6s linear infinite;
}

.ticker-star svg {
  width: 13px;
  height: 13px;
  display: block;
}

@keyframes starPulse {
  0% {
    transform: scale(0.9) rotate(0deg);
  }
  50% {
    transform: scale(1.18) rotate(90deg);
  }
  100% {
    transform: scale(0.9) rotate(180deg);
  }
}

@keyframes starHueRotate {
  0% {
    filter: hue-rotate(0deg) drop-shadow(0 0 6px rgba(124, 92, 252, 0.7)) drop-shadow(0 0 14px rgba(56, 189, 248, 0.5));
  }
  50% {
    filter: hue-rotate(180deg) drop-shadow(0 0 8px rgba(255, 83, 118, 0.8)) drop-shadow(0 0 16px rgba(251, 191, 36, 0.6));
  }
  100% {
    filter: hue-rotate(360deg) drop-shadow(0 0 6px rgba(124, 92, 252, 0.7)) drop-shadow(0 0 14px rgba(56, 189, 248, 0.5));
  }
}

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION COMMON HEADERS
   ========================================================================== */
.section-header {
  position: relative;
  margin-bottom: 50px;
  isolation: isolate;
}

.section-header > * {
  position: relative;
  z-index: 2;
}

/* Kratki za nagĹ‚Ăłwkami (Ostra, ciemna siatka techniczna bez szarej mgĹ‚y) */
.section-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 340px;
  transform: translate(-50%, -50%);
  width: 720px;
  max-width: 100%;
  height: 250px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 50%, #000 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 50%, #000 15%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* Czysta, gĹ‚Ä™boka poĹ›wiata akcentowa (brak szarej poĹ›wiaty) */
.section-header::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 340px;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 160px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.10) 0%, rgba(59, 114, 242, 0.02) 40%, transparent 65%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

/* WyĹ›rodkowane nagĹ‚Ăłwki (np. Showcase GUI) */
.section-header.text-center {
  text-align: center;
}

.section-header.text-center::before {
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, 94vw);
  height: 260px;
}

.section-header.text-center::after {
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 180px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.12) 0%, rgba(59, 114, 242, 0.03) 45%, transparent 65%);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-purple-bright);
  background: rgba(185, 173, 255, 0.08);
  border: 1px solid rgba(185, 173, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.section-tag.center {
  justify-content: center;
}

.section-title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-white);
  margin-bottom: 16px;
}

.section-description {
  max-width: 580px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.center-max {
  margin-inline: auto;
}

/* ==========================================================================
   TOKYO CLIENT VIDEO SHOWCASE
   ========================================================================== */

.showcase-section {
  position: relative;
  padding-block: 130px 150px;
  overflow: hidden;
}

/* Main video showcase wrapper */
.video-showcase {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Minecraft background behind video */
.video-bg-layer {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  max-width: 1400px;
  height: calc(100% + 80px);
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  pointer-events: none;
}

.video-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  filter: brightness(0.4) blur(2px) saturate(0.8);
}

/* Dark vignette over the MC background */
.video-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.85) 100%),
    linear-gradient(to bottom, rgba(11, 11, 14, 0.6) 0%, transparent 20%, transparent 80%, rgba(11, 11, 14, 0.9) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Elevated video frame */
.video-frame {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.7),
    0 2px 16px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(107, 163, 255, 0.08);
  transform: translateZ(0);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  background: #000;
}

/* Caption below video */
.video-caption {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 48px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.video-caption .caption-title {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-white);
  margin-bottom: 8px;
  text-align: center;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.22),
    0 0 45px rgba(107, 163, 255, 0.22),
    0 0 80px rgba(59, 114, 242, 0.14);
}

.video-caption .caption-subtitle {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin-inline: auto;
  text-align: center;
}

@media (max-width: 1200px) {
  .video-frame {
    max-width: 800px;
  }
}

@media (max-width: 900px) {
  .video-frame {
    max-width: 92%;
    border-radius: 14px;
  }
  .video-bg-layer {
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .showcase-section {
    padding-block: 80px 100px;
  }
  .video-frame {
    max-width: 96%;
    border-radius: 12px;
  }
  .video-bg-layer {
    width: 110%;
    border-radius: 12px;
  }
  .video-caption {
    padding: 32px 14px 0;
  }
  .video-caption .caption-title {
    font-size: 22px;
  }
}

/* ==========================================================================
   DIFFUSED LIGHT BOX BEHIND HEADINGS ("Rozproszone Ĺ›wiatĹ‚o za tekstem")
   ========================================================================== */
.title-light-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  user-select: none;
  filter: blur(40px);
  -webkit-filter: blur(40px);
}

/* Hero Title: wide box (1400px), compact light range dispersed smoothly on all corners */
.hero-light-box {
  width: min(1400px, 98vw);
  height: 450px;
  background: radial-gradient(
    ellipse 520px 130px at 50% 50%,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.07) 25%,
    rgba(107, 163, 255, 0.025) 55%,
    rgba(59, 114, 242, 0.005) 75%,
    transparent 90%
  );
}

/* Caption under GUI: wide box (1200px), compact light range dispersed smoothly on all corners */
.caption-light-box {
  width: min(1200px, 96vw);
  height: 380px;
  background: radial-gradient(
    ellipse 360px 85px at 50% 50%,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 25%,
    rgba(107, 163, 255, 0.02) 55%,
    rgba(59, 114, 242, 0.004) 75%,
    transparent 90%
  );
}


/* ==========================================================================
   VENTURA FEATURES 5-PILLARS SECTION (Clean vector SVGs)
   ========================================================================== */
.features-section {
  padding-block: 120px 140px;
  border-top: 1px solid var(--border-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-box {
  padding: 32px 30px;
  border-radius: 1.2rem;
  border: 1px solid transparent;
  background: 
    linear-gradient(135deg, #070709 0%, #0c0c10 50%, #070709 100%) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(139, 92, 246, 0.35) 50%, rgba(255, 255, 255, 0.06) 100%) border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 1rem 2rem -0.9rem rgba(0, 0, 0, 0.95);
  transition: transform 0.3s cubic-bezier(0.2, 1.25, 0.4, 1), box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0px 1.2rem 2rem -0.8rem rgba(0, 0, 0, 0.95), 0 0 25px rgba(58, 75, 138, 0.3);
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-sublabel {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.feature-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(185, 173, 255, 0.1);
  border: 1px solid rgba(185, 173, 255, 0.18);
  display: grid;
  place-items: center;
  color: var(--accent-purple);
}

.feature-stat {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-box-highlight {
  grid-column: span 2;
  background: 
    linear-gradient(135deg, #0e0e12 0%, #1c1c24 43%, #0e0e12 100%) padding-box,
    linear-gradient(135deg, #ffffff 0%, #6E56CF 45%, #ffffffb0 100%) border-box;
}

/* ========================================================================== 
   VENTURA PRICING SECTION ("Przeglądaj produkty!")
   ========================================================================== */
.pricing-section {
  position: relative;
  padding-block: 44px 70px;
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
  width: min(1420px, calc(100% - 40px));
  margin-inline: auto;
}

.pricing-section::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 280px;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.16) 0%, rgba(59, 114, 242, 0.04) 45%, transparent 72%);
  filter: blur(32px);
  pointer-events: none;
}

.pricing-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.pricing-header-flex .section-title {
  font-size: clamp(28px, 3.2vw, 42px);
  margin-bottom: 6px;
  line-height: 1.15;
}

.pricing-header-flex .section-description {
  font-size: 14.5px;
  max-width: 620px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.pricing-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #000000;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.guarantee-svg {
  color: var(--accent-purple-bright);
  font-size: 14px;
}

.guarantee-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.price-box {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 46px 36px 42px;
  background-color: #07070a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.6);
  transition: transform var(--duration-normal) var(--ease-smooth), border-color var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
}

.price-box:hover {
  transform: translateY(-8px);
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 26px 66px rgba(0, 0, 0, 0.75), 0 0 35px rgba(139, 92, 246, 0.12);
}

/* Featured Card (Tokyo Lifetime) */
.price-box-featured {
  border-color: rgba(167, 139, 250, 0.6);
  background: radial-gradient(ellipse at 80% 0%, rgba(139, 92, 246, 0.16) 0%, transparent 65%), #090810;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(139, 92, 246, 0.16);
  transform: scale(1.025);
}

.price-box-featured:hover {
  transform: scale(1.025) translateY(-8px);
  border-color: var(--accent-purple-bright);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 60px rgba(139, 92, 246, 0.28);
}

.price-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.price-duration-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.price-duration-badge.highlight {
  color: var(--accent-purple-bright);
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.28);
}

.price-top-icon {
  font-size: 18px;
  color: var(--text-muted);
}

.price-top-icon.highlight {
  color: var(--accent-purple-bright);
  font-size: 22px;
  font-weight: 700;
}

.price-icon-symbol {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  font-size: 20px;
  margin-bottom: 22px;
}

.price-icon-symbol.highlight {
  background: rgba(167, 139, 250, 0.14);
  border-color: rgba(167, 139, 250, 0.35);
  color: var(--accent-purple-bright);
}

.price-plan-name {
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-white);
  margin-bottom: 10px;
}

.price-plan-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  min-height: 46px;
  margin-bottom: 22px;
}

.price-amount-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.price-currency {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-muted);
}

.price-number {
  font-size: clamp(48px, 4.8vw, 62px);
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--text-white);
  line-height: 1;
}

.price-period {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-features-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 34px;
  flex-grow: 1;
}

.price-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.price-feature-item strong {
  color: var(--text-white);
}

.feature-check {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 10px;
}

.feature-check.highlight {
  background: rgba(167, 139, 250, 0.18);
  color: var(--accent-purple-bright);
}

.price-btn {
  margin-top: auto;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
}

/* ========================================================================== 
   ACCOUNT PANEL ENTRY SECTION
   ========================================================================== */
.panel-section {
  padding-block: 120px 140px;
  border-top: 1px solid var(--border-subtle);
}

.panel-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* ==========================================================================
   GRADIENT BORDER CARD UTILITY (.bgblue & .card)
   ========================================================================== */
.bgblue {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(139, 92, 246, 0.4), rgba(255, 255, 255, 0.08));
  padding: 1px;
  border-radius: 1.2rem;
  box-shadow: 0px 1rem 2rem -0.9rem rgba(0, 0, 0, 0.95);
  max-width: 100%;
}

.card {
  font-size: 1rem;
  color: #bec4cf;
  background: linear-gradient(135deg, #070709 0%, #0c0c10 43%, #070709 100%);
  padding: 1.5rem;
  border-radius: 1.2rem;
}

/* ==========================================================================
   FAQ SECTION (Grim Client Questions, Ventura Accordion Layout)
   ========================================================================== */
.faq-section {
  padding-block: 120px 140px;
  border-top: 1px solid var(--border-subtle);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.faq-left {
  position: sticky;
  top: 110px;
  isolation: isolate;
}

.faq-left > * {
  position: relative;
  z-index: 2;
}

.faq-left::before {
  content: '';
  position: absolute;
  top: 120px;
  left: 200px;
  transform: translate(-50%, -50%);
  width: 520px;
  max-width: 100%;
  height: 220px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 65% 60% at 50% 50%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 50%, #000 25%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

.faq-left::after {
  content: '';
  position: absolute;
  top: 120px;
  left: 200px;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 160px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.12) 0%, rgba(59, 114, 242, 0.05) 50%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.faq-contact-card {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
}

.contact-card-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.contact-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.2s ease;
}

.faq-summary {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-number {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.faq-item:hover .faq-question {
  color: var(--text-white);
}

.faq-toggle-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--accent-purple);
  line-height: 1;
  text-align: right;
  transition: transform 0.25s var(--ease-smooth);
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 24px 52px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.faq-link {
  color: var(--accent-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   VENTURA CTA / BANNER ("Twoje ZwyciÄ™stwo Zaczyna SiÄ™ Teraz.")
   ========================================================================== */
.cta-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 24px;
  background: #060608;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.cta-ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(124, 58, 237, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 5;
  width: min(720px, 100%);
  margin-inline: auto;
}

.cta-title {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin-block: 16px 18px;
}

.cta-title .serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, #FFFFFF 20%, #DDD8FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(167, 139, 250, 0.35));
}

.cta-text {
  font-size: 14.5px;
  color: #9DA8BE;
  line-height: 1.65;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 34px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-actions .btn-wrapper {
  --rad: 999px;
  border-radius: 999px;
  height: 46px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  box-shadow: 0 4px 22px rgba(124, 58, 237, 0.42);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cta-actions .btn-wrapper:hover {
  border-color: rgba(196, 181, 253, 0.8);
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.6);
  transform: translateY(-2px);
}

.cta-actions .btn-wrapper .gradient-btn,
.cta-actions .btn-wrapper .text-overlay {
  height: 46px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-shadow: none;
}

.cta-actions .btn-secondary {
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: #0D0D12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.cta-actions .btn-secondary:hover {
  background: #171720;
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}

.cta-actions .btn-secondary:active {
  transform: scale(0.97);
}

/* ==========================================================================
   SITE FOOTER (Ventura 1:1 Layout & Columns)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding-top: 64px;
}

.footer-container {
  width: min(1360px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 56px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-desc {
  max-width: 320px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.social-chip:hover {
  color: var(--accent-purple);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-list a:hover {
  color: var(--accent-purple);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-block: 22px;
  background-color: #09090C;
}

.footer-bottom-inner {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-disclaimer {
  max-width: 680px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.back-to-top:hover {
  color: var(--accent-purple);
}

.back-to-top i {
  font-style: normal;
  color: var(--accent-purple);
  transition: transform 0.2s ease;
}

.back-to-top:hover i {
  transform: translateY(-2px);
}


/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  padding: 14px 22px;
  background: #1B1A24;
  border: 1px solid var(--accent-purple);
  border-radius: 12px;
  color: var(--text-white);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card Pop-In & Spring Drop Animation (Pojawianie siÄ™ z gĂłry z bardzo maĹ‚ego rozmiaru) */
.feature-box.reveal,
.faq-contact-card.reveal {
  opacity: 0;
  transform: translateY(-80px) scale(0.35);
  filter: blur(8px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.78s cubic-bezier(0.34, 1.48, 0.64, 1),
              filter 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
  will-change: transform, opacity, filter;
}

.feature-box.reveal.is-visible,
.faq-contact-card.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Hover effects (instant response, clean straight vertical lift without rotation) */
.feature-box:hover {
  transform: translateY(-6px);
  transition-delay: 0s !important;
  transition-duration: 0.28s !important;
  z-index: 5;
}

.features-grid .feature-box:nth-child(even):hover {
  transform: translateY(-6px);
}

/* Kaskadowe (stagger) wskakiwanie kart w siatkach */
.features-grid .feature-box:nth-child(1) { transition-delay: 0.05s; }
.features-grid .feature-box:nth-child(2) { transition-delay: 0.16s; }
.features-grid .feature-box:nth-child(3) { transition-delay: 0.27s; }
.features-grid .feature-box:nth-child(4) { transition-delay: 0.38s; }
.features-grid .feature-box:nth-child(5) { transition-delay: 0.49s; }

@keyframes modal-fade-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVENESS (Mobile, Tablet, Desktop)
   ========================================================================== */
@media (max-width: 1080px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-box-highlight {
    grid-column: span 2;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left {
    position: static;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    width: min(620px, 100%);
  }
  .feature-box-highlight {
    grid-column: span 1;
  }
  .module-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .gui-center-band {
    height: 72px;
  }
  .gui-text {
    font-size: 36px;
  }
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-header::before,
  .section-header::after,
  .faq-left::before,
  .faq-left::after {
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 95vw !important;
  }
}

@media (max-width: 540px) {
  .header-right {
    gap: 7px;
  }
  .account-menu-trigger-name {
    max-width: 78px;
  }
  .account-menu-popover {
    right: -4px;
    width: min(224px, calc(100vw - 32px));
  }
  .pricing-section {
    padding-block: 36px 50px;
  }
  .pricing-card {
    min-height: 0;
    padding: 25px 22px;
  }
  .hero-title {
    font-size: clamp(20px, 6.2vw, 34px);
    white-space: nowrap;
  }
  .section-title {
    font-size: 28px;
  }
  .hero-platforms {
    flex-direction: column;
    gap: 8px;
  }
  .platform-divider {
    display: none;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
