/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FLAGELLOFOLLE — EFT Link Site
Palette: Nero · Grigio · Rosso
Font: Rajdhani (display) · Inter (body)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --bg:        #080808;
  --bg-2:      #0f0f0f;
  --bg-3:      #161616;
  --bg-4:      #1c1c1c;
  --border:    rgba(255,255,255,0.03);
  --border-hi: rgba(255,255,255,0.08);
  --red:       #c0282a;
  --red-bright:#e03032;
  --red-dim:   #7a1a1b;
  --red-glow:  rgba(192,40,42,0.22);
  --grey-hi:   #b0aaa4;
  --grey-mid:  #6b6560;
  --grey-low:  #3a3530;
  --grey-dead: #242220;
  --text-1: #d8d2cc;
  --text-2: #7a756e;
  --text-3: #3e3a36;
  --c-twitch:    #9146ff;
  --c-youtube:   #ff0000;
  --c-instagram: #e1306c;
  --c-tiktok:    #25F4EE; /* Ciano TikTok */
  --c-discord:   #5865f2;
  --c-eftita:    #c0282a;
  --gold:        #f2c94c;
  --gold-deep:   #b58b10;
  --green-sherpa: #1fae4f;
  --radius-sm: 3px;
  --radius-md: 7px;
  --radius-lg: 11px;
  --ease: cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }

/* ── GLOBAL UI ENHANCEMENTS ── */
.page-wrap {
  background: rgba(8, 8, 8, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.32);
}
.hero {
  padding: 72px 0 44px;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% -10%, rgba(192, 40, 42, 0.08), transparent 32%);
}
.hero-text { position: relative; z-index: 1; }
.hero-tagline { max-width: 520px; }
.typewriter-section {
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 14px 36px rgba(0, 0, 0, 0.22);
}
.tile {
  min-height: 150px;
  background: linear-gradient(180deg, #101010 0%, #0d0d0d 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.tile:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.28);
}
.tile-glow {
  filter: blur(40px);
  transform: scale(0.85);
}
.tile:hover .tile-glow {
  opacity: 1;
  transform: scale(1);
}
.tile-icon {
  border-radius: 16px;
}
.tile:hover .tile-icon {
  background: rgba(255, 255, 255, 0.04);
}
.prapor-btn {
  box-shadow: 0 16px 40px rgba(242, 201, 76, 0.12);
}
.prapor-btn:focus-visible {
  outline: 3px solid rgba(242, 201, 76, 0.45);
  outline-offset: 4px;
}
.site-footer { padding-bottom: 20px; }

@media (min-width: 741px) {
  .links-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

@media (max-width: 740px) {
  .links-row { display: grid; grid-template-columns: 1fr; }
  .tile { min-height: 130px; }
}

@media (min-width: 900px) {
  .page-wrap { max-width: 820px; }
  .role-card--wide { gap: 34px; }
  .roles-duo { gap: 18px; }
}

.language-switcher {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.lang-btn {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: var(--text-1);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
}

.lang-btn--active {
  background: var(--red);
  border-color: var(--red-bright);
  color: white;
}

@media (max-width: 740px) {
  .language-switcher {
    top: 18px;
    right: 18px;
  }
}

/* ── BG LAYERS ── */
.bg-layer { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-grid {
  background-image:
    linear-gradient(rgba(192,40,42,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,40,42,0.025) 1px, transparent 1px);
  background-size: 52px 52px;
}
.bg-vignette {
  background: radial-gradient(ellipse 90% 60% at 50% 0%, transparent 30%, #000 100%);
}
.bg-scanlines {
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.12) 3px, rgba(0,0,0,0.12) 4px
  );
  opacity: 0.5;
}

/* ── PAGE ── */
.page-wrap {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px 72px;
}

/* ━━━━━━━━━━━━━━━━━━━━
HERO
━━━━━━━━━━━━━━━━━━━━ */
.hero {
  padding: 60px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.avatar-shell { position: relative; display: inline-block; }
.avatar-ring-outer {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(
    from 0deg,
    var(--red) 0%, var(--red-dim) 25%,
    transparent 50%,
    var(--red-dim) 75%, var(--red) 100%
  );
}
.avatar-ring-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg);
  padding: 3px;
}
.avatar-core {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid rgba(192,40,42,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.avatar-img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: brightness(1.05);
}
.live-dot {
  position: absolute;
  bottom: 6px; right: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green-sherpa);
  border: 2px solid var(--bg);
  animation: pulse-dot-green 2.2s ease-in-out infinite;
}
@keyframes pulse-dot-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 174, 79, 0.55); }
  50%       { box-shadow: 0 0 0 7px rgba(31, 174, 79, 0); }
}

/* Hero text */
.hero-text { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid;
}
.badge--level {
  color: var(--red-bright);
  border-color: var(--red-dim);
  background: rgba(192,40,42,0.09);
}
.badge--sherpa {
  color: var(--grey-hi);
  border-color: var(--grey-low);
  background: rgba(176,170,164,0.06);
}
.badge--ita {
  color: var(--text-2);
  border-color: var(--border);
  background: transparent;
}
.hero-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(44px, 9vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

@keyframes hero-name-wave {
  0% { background-position: 0% 50%; }
  25% { background-position: 50% 40%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 60%; }
  100% { background-position: 0% 50%; }
}
.hero-tagline {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  max-width: 400px;
}
.hero-tagline em { font-style: italic; color: var(--red-dim); }
.hero-mobile-break { display: inline; }

/* Stat strip */
.stat-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 28px;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.02);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
  justify-content: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--red-bright);
  line-height: 1;
}
.stat-val--sherpa {
  color: var(--green-sherpa);
}
.stat-key { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-div { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* ━━━━━━━━━━━━━━━━━━━━
TYPEWRITER SECTION
━━━━━━━━━━━━━━━━━━━━ */
.typewriter-section {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.02);
  border-radius: var(--radius-md);
  border-left: 2px solid rgba(192,40,42,0.2);
  /* fixed height sized to fit ~2 lines of text (uses em so it scales with font-size)
     padding is included separately (14px top + 14px bottom = 28px) */
  height: calc(2.4em + 28px);
  overflow: hidden;
}
.tw-prefix {
  font-family: 'Rajdhani', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.tw-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  width: 100%;
  justify-content: center;
}

.tw-text {
  font-family: 'Rajdhani', monospace;
  font-size: 15px;
  font-weight: 500;
  color: var(--grey-hi);
  letter-spacing: 0.03em;
  line-height: 1.2;
  /* limit to two lines visually, avoid forcing layout changes */
  display: inline-block;
  max-height: 2.4em; /* 2 * line-height */
  overflow: hidden;
  text-align: center;
  word-break: break-word;
  hyphens: auto;
}
.tw-cursor {
  font-size: 18px;
  color: var(--red-bright);
  flex-shrink: 0;
  animation: blink 0.75s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ━━━━━━━━━━━━━━━━━━━━
SECTION LABEL
━━━━━━━━━━━━━━━━━━━━ */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.section-label__line { flex: 1; height: 1px; background: var(--border); }
.section-label__text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-3);
  white-space: nowrap;
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(2px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.section { margin-top: 52px; }

/* ━━━━━━━━━━━━━━━━━━━━
ROLES / PROFILO
━━━━━━━━━━━━━━━━━━━━ */
.role-card {
  position: relative;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.02);
  border-radius: var(--radius-lg);
  border-left: 2px solid transparent;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.role-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(192,40,42,0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.role-card > * { position: relative; z-index: 1; }

.role-card:hover { 
  border-color: var(--border-hi); 
  background: var(--bg-3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 15px rgba(192,40,42,0.08);
}
.role-card:hover::before { opacity: 1; }

.role-card--sherpa:hover .sherpa-hero-img {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 26px rgba(192, 40, 42, 0.55)) brightness(1.1);
}
.role-big-num--dim {
  position: absolute;
  top: 12px; right: 18px;
  font-size: 52px;
  color: rgba(255,255,255,0.04);
  letter-spacing: -2px;
}
.role-card--wide {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px;
}
.role-wide-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-top: 4px;
}
.role-wide-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.role-wide-right .role-title { font-size: 30px; }
.roles-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.role-card__header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.role-card__header--wide { align-items: center; gap: 16px; }
.role-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.role-icon svg { width: 18px; height: 18px; }
.role-icon img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; }
.role-card--sherpa .role-icon { color: var(--red-bright); }
.role-card--helper .role-icon { color: var(--grey-hi); }
.role-card--expert .role-icon { color: var(--red-bright); }

.role-card:hover .role-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--bg-4);
  border-color: var(--border-hi);
}

.role-header-text { display: flex; flex-direction: column; gap: 3px; padding-top: 1px; }
.role-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.role-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px; font-weight: 700;
  color: var(--text-1);
  line-height: 1;
}
.role-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 14px;
}
.role-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pill {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  text-transform: uppercase;
  transition: all 0.2s var(--ease);
}
.role-card:hover .pill {
  background: var(--bg-4);
  border-color: var(--border-hi);
  color: var(--text-1);
}

/* ━━━━━━━━━━━━━━━━━━━━
PRAPOR INSURANCE SECTION
━━━━━━━━━━━━━━━━━━━━ */
.prapor-section {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 36px 20px;
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  background: rgba(235, 156, 65, 0.02);
  border-radius: 24px;
}
.prapor-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  min-width: 280px;
  background: rgba(240, 172, 70, 0.18);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.prapor-btn:hover:not(.prapor-btn--loading) {
  background: rgba(248, 207, 82, 0.28);
  border-color: var(--gold-deep);
  color: var(--gold-deep);
  box-shadow: 0 0 15px rgba(242, 201, 76, 0.35);
  transform: translateY(-2px);
}
.prapor-btn:active:not(.prapor-btn--loading) { transform: translateY(0); }
.prapor-btn--loading {
  cursor: wait;
  opacity: 0.85;
  border-color: var(--grey-mid);
  color: var(--grey-hi);
}
.prapor-icon { flex-shrink: 0; }
.prapor-spinner {
  flex-shrink: 0;
  display: none;
  animation: prapor-spin 1s linear infinite;
}
.prapor-btn--loading .prapor-icon { display: none; }
.prapor-btn--loading .prapor-spinner { display: block; }
@keyframes prapor-spin { to { transform: rotate(360deg); } }

.prapor-btn-text { flex: 1; text-align: center; }

.prapor-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  text-align: center;
  max-width: 600px;
  min-height: 60px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.prapor-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ━━━━━━━━━━━━━━━━━━━━
TILE GRID — link social
━━━━━━━━━━━━━━━━━━━━ */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.02);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.18s var(--ease), box-shadow 0.2s var(--ease);
}
.tile:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.08); }
.tile:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.tile-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tile-icon svg { width: 22px; height: 22px; }

.tile-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tile-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--text-1);
  line-height: 1.1;
  transition: color 0.18s var(--ease);
}
.tile-sub {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

.tile-arrow {
  position: absolute;
  top: 16px; right: 18px;
  color: var(--text-3);
  transition: color 0.2s var(--ease), transform 0.18s var(--ease);
}
.tile-arrow svg { width: 18px; height: 18px; }
.tile:hover .tile-arrow { color: var(--text-2); transform: translate(2px,-2px); }

.tile-glow {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(36px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.tile:hover .tile-glow { opacity: 1; }

/* Platform colours */
.tile--twitch    .tile-icon { color: var(--c-twitch); }
.tile--youtube   .tile-icon { color: var(--c-youtube); }
.tile--instagram .tile-icon { color: var(--c-instagram); }
.tile--tiktok    .tile-icon { color: var(--c-tiktok); }
.tile--discord   .tile-icon { color: var(--c-discord); }
.tile--youtube-nooby .tile-icon { color: var(--c-youtube); }

.tile--twitch:hover    { background: rgba(145,70,255,0.09);  border-color: rgba(145,70,255,0.3); }
.tile--youtube:hover   { background: rgba(255,0,0,0.09);     border-color: rgba(255,0,0,0.3); }
.tile--instagram:hover { background: rgba(225,48,108,0.09);  border-color: rgba(225,48,108,0.3); }
.tile--tiktok:hover    { background: rgba(37,244,238,0.09);  border-color: rgba(37,244,238,0.3); }
.tile--discord:hover   { background: rgba(88,101,242,0.09);  border-color: rgba(88,101,242,0.3); }
.tile--youtube-nooby:hover { background: rgba(255,0,0,0.09); border-color: rgba(255,0,0,0.3); }

.tile--twitch:hover    .tile-title { color: var(--c-twitch); }
.tile--youtube:hover   .tile-title { color: var(--c-youtube); }
.tile--instagram:hover .tile-title { color: var(--c-instagram); }
.tile--tiktok:hover    .tile-title { color: var(--c-tiktok); }
.tile--discord:hover   .tile-title { color: var(--c-discord); }
.tile--youtube-nooby:hover .tile-title { color: var(--c-youtube); }

.tile--twitch:hover    .tile-icon { background: rgba(145,70,255,0.14); border-color: rgba(145,70,255,0.3); }
.tile--youtube:hover   .tile-icon { background: rgba(255,0,0,0.14);    border-color: rgba(255,0,0,0.3); }
.tile--instagram:hover .tile-icon { background: rgba(225,48,108,0.14); border-color: rgba(225,48,108,0.3); }
.tile--tiktok:hover    .tile-icon { background: rgba(37,244,238,0.14); border-color: rgba(37,244,238,0.3); }
.tile--discord:hover   .tile-icon { background: rgba(88,101,242,0.14); border-color: rgba(88,101,242,0.3); }
.tile--youtube-nooby:hover .tile-icon { background: rgba(255,0,0,0.14); border-color: rgba(255,0,0,0.3); }

.tile--twitch:hover    .tile-glow { background: var(--c-twitch); }
.tile--youtube:hover   .tile-glow { background: var(--c-youtube); }
.tile--instagram:hover .tile-glow { background: var(--c-instagram); }
.tile--tiktok:hover    .tile-glow { background: var(--c-tiktok); }
.tile--discord:hover   .tile-glow { background: var(--c-discord); }
.tile--youtube-nooby:hover .tile-glow { background: var(--c-youtube); }

.links-row { display: flex; gap: 10px; }
.links-row + .links-row { margin-top: 10px; }
.links-row--top .tile { flex: 1; min-height: 140px; }
.links-row--mid .tile { flex: 1; }

.tile--full {
  flex-direction: row !important;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  min-height: 72px;
  padding: 18px 20px;
}
.tile--full .tile-body { flex: 1; }
.tile--full .tile-sub { white-space: normal; overflow: visible; text-overflow: unset; }

.tile:focus-visible,
.prapor-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.16);
  outline-offset: 3px;
}

/* ━━━━━━━━━━━━━━━━━━━━
FOOTER
━━━━━━━━━━━━━━━━━━━━ */
.site-footer {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-skull-img {
  width: 32px; height: 32px;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(30%);
}
.footer-rage {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--red-dim);
  text-transform: uppercase;
}
.footer-divider {
  width: 60px; height: 1px;
  background: var(--border);
}
.footer-legal {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 520px;
  opacity: 0.85;
}

/* ━━━━━━━━━━━━━━━━━━━━
RESPONSIVE
━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 740px) {
  .links-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .links-row--top .tile,
  .links-row--mid .tile { min-height: 120px; }
  .tile { width: 100%; min-width: 0; }
  .tile-body { min-width: 0; }
  .tile-icon { width: 42px; height: 42px; }
  .tile-icon svg { width: 20px; height: 20px; }
  .tile--full { flex-wrap: wrap; align-items: flex-start; gap: 10px; min-height: auto; }
  .tile--full .tile-sub { white-space: normal; }
}

@media (max-width: 480px) {
  .hero { padding: 44px 0 28px; gap: 20px; }
  .stat-strip { padding: 12px 14px; gap: 12px; }
  .stat-div { height: 26px; }
  .role-card { padding: 18px; }
  .role-card--wide { flex-direction: column; gap: 20px; }
  .role-card__header { flex-wrap: wrap; }
  .role-card__header--wide { width: 100%; }
  .typewriter-section { padding: 12px 14px; }
  .tw-text { font-size: 13px; }
  .tile { min-height: 100px; padding: 14px 16px; }
  .tile-icon { width: 36px; height: 36px; }
  .tile-icon svg { width: 18px; height: 18px; }
  .tile--full { flex-direction: column !important; align-items: flex-start; gap: 10px; min-height: auto; }
  .tile--full .tile-sub { white-space: normal; }
  .page-wrap { padding: 0 14px 72px; }
  .roles-duo { grid-template-columns: 1fr; }
  .prapor-btn { min-width: 240px; font-size: 14px; padding: 10px 18px; }
  .hero-mobile-break { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  .tw-cursor { animation: none; opacity: 1; }
  .tile { transition: none; }
  .tile:hover { transform: none; }
  .role-card { transition: none; }
  .role-card:hover { transform: none; }
  .prapor-spinner { animation: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━
COOKIE BANNER
━━━━━━━━━━━━━━━━━━━━ */
.cookie-banner {
  position: fixed;
  inset: auto 20px 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(720px, calc(100% - 40px));
  background: rgba(15, 15, 15, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}
.cookie-banner__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}
.cookie-banner__content > div {
  min-width: 220px;
  flex: 1;
}
.cookie-banner__content strong {
  display: block;
  margin-bottom: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-1);
}
.cookie-banner__content p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  flex: 0 1 320px;
}
.cookie-banner__link {
  color: var(--grey-hi);
  font-size: 13px;
  text-decoration: underline;
}
.cookie-banner__button {
  min-width: 110px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--red-bright);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cookie-banner__button:hover {
  transform: translateY(-1px);
}
.cookie-banner__button--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.08);
  color: var(--text-1);
}
.cookie-banner__content--hidden {
  display: none;
}
.cookie-banner__content--rejected {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cookie-review-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10020;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: rgba(192, 40, 42, 0.95);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}
.cookie-review-button:hover {
  transform: translateY(-1px);
}
.cookie-review-button--hidden {
  display: none !important;
}
.cookie-banner--hidden {
  display: none !important;
}
.footer-links {
  margin-top: 12px;
}
.footer-links a {
  color: var(--text-2);
  font-size: 12px;
  text-decoration: underline;
}
.footer-links a:hover {
  color: var(--text-1);
}
@media (max-width: 620px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions {
    justify-content: space-between;
    width: 100%;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━
PRIVACY MODAL
━━━━━━━━━━━━━━━━━━━━ */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.privacy-modal--open {
  display: flex;
}
.privacy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}
.privacy-modal__dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  background: rgba(15, 15, 15, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px 28px 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}
.privacy-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-1);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.privacy-modal__header {
  margin-bottom: 18px;
}
.privacy-modal__header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  margin-bottom: 8px;
}
.privacy-modal__header p {
  font-size: 14px;
  color: var(--text-2);
}
.privacy-modal__body section {
  margin-bottom: 18px;
}
.privacy-modal__body h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-1);
}
.privacy-modal__body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}
@media (max-width: 740px) {
  .privacy-modal__dialog {
    padding: 20px;
  }
  .privacy-modal__header h2 {
    font-size: 24px;
  }
}
