* {
  box-sizing: border-box;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo,
.app-icon {
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(8, 29, 48, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(39, 217, 255, 0.12);
}

.logo {
  width: 82px;
  height: 82px;
  padding: 6px;
  border-radius: 24px;
}

.logo img,
.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.logo .fallback,
.app-icon .fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: inherit;
  color: #fff;
  background: var(--accent-gradient);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.16);
}

.logo .fallback {
  font-size: 28px;
}

.brand > div:last-child {
  min-width: 0;
}

.brand h1,
.platform-head h2,
.guide-title h3,
.brand p,
.platform-head .sub {
  margin: 0;
}

.brand h1 {
  width: fit-content;
  max-width: 100%;
  color: #fff;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: .98;
  letter-spacing: -0.045em;
  font-weight: 900;
  text-shadow: 0 3px 28px rgba(44, 187, 255, 0.18);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand h1 {
    background: linear-gradient(112deg, #ffffff 0%, #dff8ff 28%, #75e6ff 62%, #8bb8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.brand p {
  margin-top: 7px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
}

.version {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(101, 239, 255, 0.17);
  border-radius: 999px;
  color: #bfeefe;
  background: rgba(39, 217, 255, 0.07);
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 700;
}

.version::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(64, 229, 164, 0.09), 0 0 14px rgba(64, 229, 164, 0.58);
}


@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.994);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


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

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hero,
  .store-card,
  .guide-card {
    background: rgba(7, 22, 37, 0.96);
  }
}
	.event-stack {display: grid; container-type: inline-size; gap: 12px;}
	.event-box {padding: 16px;border-radius: 22px; background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 223, 115, 0.04));border: 1px solid rgba(212, 175, 55, 0.3);}
	.event-box h3 {margin: 0 0 5px; color: #D4AF37;}
  .event-box a b{font-size: 3.5cqw}
  .event-box button a {font-size: 3.5cqw}
	.event-box h4 {margin: 0 0 8px;font-size: 5cqw !important; font-weight:bold!important;color: #f9e696 !important; text-transform: uppercase; text-shadow: -2px -2px -3px rgba(255, 255, 255, 0.3) !important}
	.event-box p {margin: 0 0 12px; font-size: 4cqw;font-weight:400!important; color: #D4AF37!important; line-height: 1.45;}
	.event-btn{display:inline-flex; align-items:center; justify-content: center; min-height: 44px; padding: 0 14px;border-radius: 16px; background: linear-gradient(135deg,#D4AF37 0%,#FFDF73 50%,#AA7A1E 100%); color: #1a1305 ; font-weight: 800; text-decoration: none; border: 0; box-shadow: 0 4px 15px rgba(170, 122, 30, 0.3); transition: transform 0.2s ease; }
	.event-btn:hover { transform: translateY(-1px); filter: brightness(1.1); }