:root {
  --bg-0: #1a0f2a;
  --bg-1: #230434;
  --card: #2b0a44e6;
  --card-border: #6b2bc31a;
  --accent: #ee9a1b;
  --accent-2: #b882ff;
  --text: #f3e8ff;
  --muted: #b6a7d2;
  --radius: 18px;
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --ring: 0 0 0 2px rgba(238, 154, 27, 0.25), 0 0 0 6px rgba(238, 154, 27, 0.08);
}

html,
body {
  background: radial-gradient(
      1200px 600px at 20% -10%,
      #3a1265 0%,
      transparent 60%
    ),
    radial-gradient(1200px 600px at 80% 110%, #33104f 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  color: var(--text);
  min-height: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: -10% -10% -10% -10%;
  z-index: -1;
  pointer-events: none;

  background: radial-gradient(
      60% 60% at 70% 30%,
      rgba(255, 255, 255, 0.03),
      transparent 60%
    ),
    conic-gradient(
      from 0deg at 50% 50%,
      #7a3ac833 0%,
      #ee9a1b22 25%,
      #3c1f7a33 50%,
      #ee9a1b22 75%,
      #7a3ac833 100%
    );
  filter: blur(40px) saturate(130%);
  opacity: 0.18;
  animation: bgDrift 40s linear infinite;
}

@keyframes bgDrift {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.05);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.brandbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  height: 63px;
  background: linear-gradient(90deg, #481b7a 0%, #3b1160 40%, #481b7a 100%);
  border-bottom: 1px solid #ffffff14;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  box-shadow: var(--shadow-md);
}

.brandbar .opacity-75 {
  opacity: 0.85 !important;
}

.brandbar a {
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.brandbar a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.brandbar a:first-child::before,
.brandbar a:last-child::before {
  content: "";
  width: 22px;
  height: 22px;
  display: inline-block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.brandbar a:first-child::before {
  background: no-repeat center/contain;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" fill="none"%3E%3Cpath d="M120 0C53.73 0 0 53.73 0 120s53.73 120 120 120 120-53.73 120-120S186.27 0 120 0zm55.02 83.1l-20.64 97.45c-1.56 6.94-5.63 8.72-11.44 5.44l-31.64-23.36-15.27 14.7c-1.69 1.69-3.1 3.1-6.36 3.1l2.28-32.08 58.38-52.69c2.54-2.28-.56-3.57-3.95-1.29L90.12 119.2l-31.64-9.85c-6.88-2.13-7-6.88 1.44-10.18l119.1-45.95c5.53-2.08 10.36 1.29 8.04 10.88z" fill="white"/%3E%3C/svg%3E');
}

.brandbar a:last-child::before {
  background: no-repeat center/contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='white' d='M349.33 69.33H162.67A93.42 93.42 0 0069.33 162.67v186.66A93.42 93.42 0 00162.67 442.67h186.66A93.42 93.42 0 00442.67 349.33V162.67A93.42 93.42 0 00349.33 69.33zm61.34 280a61.39 61.39 0 01-61.34 61.34H162.67a61.39 61.39 0 01-61.34-61.34V162.67a61.39 61.39 0 0161.34-61.34h186.66a61.39 61.39 0 0161.34 61.34z'/><path fill='white' d='M256 149.33A106.67 106.67 0 10362.67 256 106.79 106.79 0 00256 149.33zm0 176A69.33 69.33 0 11325.33 256 69.41 69.41 0 01256 325.33z'/><circle fill='white' cx='362.67' cy='149.33' r='21.33'/></svg>");
}

.logo-title {
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1;

  background: linear-gradient(
    90deg,
    #fff 0%,
    #e9d9ff 25%,
    #ffd8a6 60%,
    #fff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
  padding: 0.25rem 0.6rem;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.45));

  animation: logoBreath 6s ease-in-out infinite;
}

.logo-title::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 24px rgba(184, 130, 255, 0.25);
  pointer-events: none;
}

.logo-title::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #ffd8a6, transparent);
  box-shadow: 0 0 14px #ffd8a688, 0 0 30px #ffd8a666;
}

@keyframes logoBreath {
  0%,
  100% {
    transform: translateY(0) scale(1);
    text-shadow: 0 0 12px #9b5cff33;
  }

  50% {
    transform: translateY(-1px) scale(1.01);
    text-shadow: 0 0 18px #9b5cff55;
  }
}

.section-title {
  font-weight: 700;
  color: #ffd8a6;
  margin: 18px 0 12px;
  text-align: center;
}

.card-dark {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease, filter 0.25s ease;
  will-change: transform;
}

.card-dark:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #ffffff22;
  filter: saturate(110%);
}

.card-dark:focus-within {
  box-shadow: var(--shadow-lg), var(--ring);
}

.media-img {

  height: 100%;
  object-fit: cover;
  display: block;
}

.ph {
  position: relative;
  color: var(--muted);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  font-weight: 700;
  letter-spacing: 0.2px;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: safe;
  justify-content: end;
  width: 100%;

}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  animation: shimmer 2.2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.ratio-banner {
  aspect-ratio: 2/1;
}

.ratio-3x5 {
  aspect-ratio: 3/5;
}

.ratio-1x1 {
  aspect-ratio: 1/1;
}

.ratio-2x3 {
  aspect-ratio: 2/3;
}

.rf {
  position: relative;
  width: 100%;
}

.rf > .inset {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}

.ratio-banner.rf {

}

.ratio-3x5.rf {
  padding-top: 166.66%;
}

.ratio-1x1.rf {
  padding-top: 100%;
}

.ratio-2x3.rf {
  padding-top: 150%;
}

.ratio-banner,
.ratio-3x5,
.ratio-1x1,
.ratio-2x3 {
  border-radius: calc(var(--radius) - 2px);
}

.g-tight {
  --bs-gutter-x: 0.8rem;
  --bs-gutter-y: 0.8rem;
}

section + section {
  margin-top: clamp(1.2rem, 3vw, 2rem);
}

footer {
  color: #cdbfe6;
  border-top: 1px solid #ffffff12;
  margin-top: 2rem;
  background: linear-gradient(180deg, transparent, #1b0d2c 40%);
  padding: 1.5rem 0;
  text-align: center;
}

footer a {
  color: #e9d9ff;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  body::before {
    opacity: 0.12;
  }
}

@media (max-width: 575.98px) {
  .brandbar {
    height: 58px;
  }

  .logo-title {
    font-size: 1.35rem;
  }
}

@media (min-width: 576px) {
  .logo-title {
    font-size: 1.6rem;
  }
}

@media (min-width: 768px) {
  .logo-title {
    font-size: 1.8rem;
  }
}

@media (min-width: 992px) {
  .logo-title {
    font-size: 2rem;
  }
}

@media (min-width: 1200px) {
  .logo-title {
    font-size: 2.2rem;
  }
}

.banner {
  cursor: pointer;
}
