:root {
  --bg: #000000;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.1);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --muted-2: rgba(255, 255, 255, 0.55);
  --red: #e30a17;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  --ring: 0 0 0 3px rgba(227, 10, 23, 0.35);
  --radius: 18px;
  --container: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 15% 15%, rgba(227, 10, 23, 0.12), transparent 55%),
    radial-gradient(900px 600px at 85% 25%, rgba(255, 255, 255, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  text-transform: capitalize;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

body.is-loading .topbar,
body.is-loading main,
body.is-loading .music,
body.is-loading .skip-link {
  visibility: hidden;
}

.preload {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: #000000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

body.is-loading .preload {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.preload__stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, #e30a17 0 20%, #ffffff 20% 40%);
  background-size: 200% 100%;
  animation: stripesShift 520ms linear infinite;
}

.preload__center {
  position: relative;
  width: min(220px, 66vw);
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.2);
}

.preload__flag {
  width: 100%;
  height: 100%;
  transform-origin: 30% 50%;
  animation: preloadFlag 540ms ease-in-out infinite;
  will-change: transform;
}

.preload__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes stripesShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes preloadFlag {
  0%,
  100% {
    transform: perspective(800px) rotateY(-10deg) translateY(0);
  }
  50% {
    transform: perspective(800px) rotateY(-2deg) translateY(-3px);
  }
}

.hero,
.section,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  transition: top 180ms ease;
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
  outline: none;
  box-shadow: var(--ring);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(227, 10, 23, 0.18);
}

.brand__name {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.hero {
  position: relative;
  padding: 56px 0 34px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particles {
  position: absolute;
  inset: -20%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.22;
  transform: translateZ(0);
  will-change: transform;
  animation: drift 22s linear infinite;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-60px, 40px, 0);
  }
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  align-items: center;
  gap: 24px;
  grid-template-columns: 1fr 1.2fr;
}

.flag-wrap {
  display: grid;
  place-items: center;
}

.flag {
  width: min(520px, 92vw);
  aspect-ratio: 3 / 2;
  background: var(--red);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.48);
  position: relative;
  overflow: hidden;
  transform: perspective(800px) rotateY(-10deg);
  animation: flagFloat 6.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes flagFloat {
  0%,
  100% {
    transform: perspective(900px) rotateY(-12deg) rotateZ(-0.6deg) translateY(0) skewX(0.6deg);
  }
  50% {
    transform: perspective(900px) rotateY(-4deg) rotateZ(0.7deg) translateY(-10px) skewX(-0.5deg);
  }
}

.flag__shine {
  position: absolute;
  inset: -10%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.23) 30%, transparent 60%);
  transform: translateX(-60%);
  mix-blend-mode: soft-light;
  animation: shine 5.2s ease-in-out infinite;
  opacity: 0.28;
  z-index: 1;
  will-change: transform;
}

@keyframes shine {
  0% {
    transform: translateX(-70%) skewX(-16deg);
  }
  55% {
    transform: translateX(22%) skewX(-16deg);
  }
  100% {
    transform: translateX(70%) skewX(-16deg);
  }
}

.flag::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(255, 255, 255, 0.08) 30%, rgba(0, 0, 0, 0.16) 60%, rgba(255, 255, 255, 0.06) 100%);
  opacity: 0.38;
  background-size: 220% 100%;
  animation: wave 3.2s ease-in-out infinite;
  z-index: 1;
  will-change: background-position;
}

.flag::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.11) 0 10px,
    rgba(0, 0, 0, 0.12) 10px 20px
  );
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-size: 140% 140%;
  animation: ripple 2.6s ease-in-out infinite;
  z-index: 1;
  will-change: transform;
}

@keyframes wave {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.flag__emblem {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transform-origin: 38% 50%;
  animation: emblemWave 3.2s ease-in-out infinite;
  will-change: transform;
}

.flag__emblem path,
.flag__emblem circle {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.18));
}

@keyframes ripple {
  0%,
  100% {
    transform: translateX(-2%) translateY(0);
  }
  50% {
    transform: translateX(2%) translateY(-1%);
  }
}

@keyframes emblemWave {
  0%,
  100% {
    transform: translateX(-1.2%) rotateZ(-0.2deg) scale(1);
  }
  50% {
    transform: translateX(1.4%) rotateZ(0.35deg) scale(1.003);
  }
}

.hero__content {
  padding: 8px 0;
}

.hero__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 44px);
  letter-spacing: 0.2px;
  line-height: 1.08;
  animation: rise 640ms ease both;
}

.quote {
  margin: 0;
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
  animation: rise 800ms ease both;
  animation-delay: 90ms;
}

.quote__text {
  margin: 0;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.6;
}

.quote__by {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.2px;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  animation: rise 920ms ease both;
  animation-delay: 170ms;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  cursor: pointer;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.btn--primary {
  background: linear-gradient(180deg, rgba(227, 10, 23, 0.95), rgba(227, 10, 23, 0.78));
  border-color: rgba(227, 10, 23, 0.65);
}

.btn--primary:hover {
  background: linear-gradient(180deg, rgba(227, 10, 23, 1), rgba(227, 10, 23, 0.84));
  border-color: rgba(227, 10, 23, 0.8);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
}

.btn--small {
  padding: 10px 14px;
  font-size: 14px;
}

.section {
  padding: 58px 0;
}

.section--quotes {
  padding-top: 46px;
}

.section__head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section__title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 30px);
}

.section__desc {
  margin: 0;
  color: var(--muted);
}

.rotator {
  display: grid;
  gap: 14px;
}

.rotator__card {
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.25));
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.3);
  min-height: 140px;
}

.rotator__text {
  margin: 0;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.6;
}

.rotator__meta {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-weight: 600;
}

.rotator__controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  padding: 16px 16px 14px;
  display: grid;
  gap: 6px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(227, 10, 23, 0.55);
  background: rgba(227, 10, 23, 0.08);
}

.card:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.card__title {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.25px;
}

.card__head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 26px;
}

.card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(227, 10, 23, 0.45);
  color: rgba(255, 255, 255, 0.92);
}

.card__icon svg {
  width: 20px;
  height: 20px;
}

.card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  border: 1px solid rgba(227, 10, 23, 0.55);
  background: rgba(0, 0, 0, 0.58);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.card__badge img {
  width: 16px;
  height: 16px;
}

.card__value {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.card[data-platform="instagram"] .card__title,
.card[data-platform="tiktok"] .card__title,
.card[data-platform="instagram"] .card__value,
.card[data-platform="tiktok"] .card__value {
  text-transform: none;
}

.footer {
  padding: 30px 0 84px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__inner {
  display: grid;
  gap: 10px;
}

.footer__text {
  margin: 0;
}

.footer__strong {
  font-weight: 700;
  letter-spacing: 0.2px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer__muted {
  color: var(--muted);
}

.footer__name {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(227, 10, 23, 0.8);
  padding-bottom: 2px;
  transition: border-color 160ms ease, color 160ms ease;
}

.footer__name:hover {
  color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.6);
}

.footer__name:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.music {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  display: grid;
  gap: 8px;
  width: min(320px, calc(100vw - 28px));
  padding: 12px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 46px rgba(0, 0, 0, 0.5);
}

.music__btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(227, 10, 23, 0.6);
  background: rgba(227, 10, 23, 0.86);
  color: var(--white);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.music__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.music__btn--ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.music__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.music__btn:hover {
  transform: translateY(-1px);
  background: rgba(227, 10, 23, 0.96);
  border-color: rgba(227, 10, 23, 0.82);
}

.music__btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.music__status {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

.music__note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  letter-spacing: 0.2px;
}

@media (max-width: 920px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__content {
    text-align: center;
  }

  .hero__cta {
    justify-content: center;
  }

  .quote {
    text-align: center;
  }

  .particles {
    opacity: 0.16;
    animation-duration: 18s;
  }

  .flag::after {
    opacity: 0.06;
  }

  .flag {
    transform: none;
    animation: flagFloatMobile 5.2s ease-in-out infinite;
  }

  .contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .topbar__inner {
    align-items: center;
    flex-direction: row;
    justify-content: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand {
    min-width: unset;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@keyframes flagFloatMobile {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .particles,
  .flag,
  .flag::before,
  .flag::after,
  .flag__shine,
  .flag__emblem,
  .hero__title,
  .quote,
  .hero__cta {
    animation: none !important;
  }

  .preload__stripes,
  .preload__flag {
    animation: none !important;
  }
}

