:root {
  --background: #000;
  --surface: rgba(255, 190, 70, 0.06);
  --gold: #f5ad2f;
  --gold-light: #ffe39a;
  --gold-deep: #c87808;
  --text: #fff8e7;
  --muted: #d8c49a;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  min-height: -webkit-fill-available;
  background: var(--background);
}

body {
  background: var(--background);
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    env(safe-area-inset-top, 0px)
    env(safe-area-inset-right, 0px)
    env(safe-area-inset-bottom, 0px)
    env(safe-area-inset-left, 0px);
  font-family: 'Oswald', sans-serif;
  text-align: center;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(245, 173, 47, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(200, 120, 8, 0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.2rem;
  width: 100%;
  max-width: 480px;
}

.logo {
  display: block;
  width: 100%;
  max-width: 390px;
  height: auto;
  margin: 0 auto 0.5rem;
  filter: drop-shadow(0 0 20px rgba(245, 173, 47, 0.28));
}

.welcome {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  margin: 0.5rem 0;
  color: var(--gold-light);
  text-shadow: 0 0 15px rgba(245, 173, 47, 0.55);
  letter-spacing: 1px;
}

.welcome2 {
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 1.5rem;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(245, 173, 47, 0.65);
  letter-spacing: 2px;
}

.content-text {
  width: 100%;
  margin: 0.6rem 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.4;
}

.boxes {
  display: grid;
  width: 100%;
}

.box,
.box2 {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  margin: 0.6rem 0;
  width: 100%;
}

.box {
  border: 1.5px solid rgba(245, 173, 47, 0.5);
  box-shadow: 0 0 18px rgba(245, 173, 47, 0.16);
}

.box2 {
  border: 1.5px solid rgba(255, 227, 154, 0.42);
  box-shadow: 0 0 18px rgba(255, 227, 154, 0.12);
}

.box-text,
.box2-text {
  font-size: 20px;
  color: var(--text);
  margin: 0;
  letter-spacing: 1px;
}

.box-text strong,
.box2-text strong {
  color: var(--gold);
}

.big {
  font-size: 52px;
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(245, 173, 47, 0.6);
  line-height: 1;
}

.cta {
  display: block;
  width: 100%;
  margin: 1.5rem 0 0.5rem;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-light) 48%, var(--gold));
  color: #160d00;
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 18px 48px;
  border: 1px solid var(--gold-light);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(245, 173, 47, 0.28), 0 0 30px rgba(200, 120, 8, 0.12);
  transition: box-shadow 0.25s ease, filter 0.25s ease;
}

.cta:hover,
.cta:focus-visible {
  filter: brightness(1.08);
  box-shadow: 0 0 28px rgba(255, 227, 154, 0.68), 0 0 58px rgba(245, 173, 47, 0.36);
}

.icons {
  display: flex;
  gap: 12px;
  margin-top: 1.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.icon-box {
  background: var(--surface);
  border: 1px solid rgba(245, 173, 47, 0.38);
  border-radius: 12px;
  padding: 14px 12px 10px;
  width: 80px;
  text-align: center;
}

.icon-box svg {
  width: 26px;
  height: 26px;
  fill: var(--gold);
  margin-bottom: 6px;
}

.icon-box p {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
}

.footer {
  margin-top: 1.5rem;
  font-size: 12px;
  color: rgba(255, 227, 154, 0.48);
  letter-spacing: 2px;
}

.content-error {
  color: var(--gold-light);
  font-size: 18px;
}

@media (max-width: 420px) {
  .wrap { padding: 1.2rem 1rem; }
  .logo { margin-bottom: 0; }
  .welcome { font-size: 42px; }
  .welcome2 { font-size: 48px; }
  .cta { font-size: 23px; padding: 16px 24px; }
}

@media (min-width: 700px) {
  .boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: min(
      900px,
      calc(100vw - 2.4rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))
    );
  }
}
