/* Fresh asset name prevents stale mobile browser styles. */
:root {
  --ink: #191817;
  --paper: #faf8f4;
  --gold: #b88a3d;
  --gold-light: #ead39f;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: #f1eadf;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: #f1eadf;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.page-shell {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 2%, rgba(234, 211, 159, .62) 0, rgba(234, 211, 159, .18) 22%, transparent 39%),
    radial-gradient(circle at 106% 42%, rgba(184, 138, 61, .2) 0, transparent 34%),
    radial-gradient(circle at -6% 86%, rgba(205, 180, 132, .22) 0, transparent 33%),
    linear-gradient(160deg, #fffdfa 0%, #f2e9da 48%, #fbf8f1 100%);
}

.gold-glow {
  position: fixed;
  z-index: 0;
  display: block;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(157, 116, 48, .19);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(190, 148, 75, .1);
  pointer-events: none;
}

.gold-glow::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(157, 116, 48, .11);
  border-radius: inherit;
}

.gold-glow-top { top: -184px; right: -118px; }
.gold-glow-bottom { bottom: -206px; left: -142px; }

.zlatto-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
}

.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(28px, calc(env(safe-area-inset-top) + 18px)) 20px 12px;
}

.zlatto-logo {
  display: block;
  width: 205px;
  max-width: 72vw;
  height: auto;
  object-fit: contain;
}

.zlatto-tagline {
  display: block;
  width: 182px;
  max-width: 76vw;
  height: auto;
  margin-top: 14px;
  object-fit: contain;
  opacity: .88;
}

.film-frame {
  position: relative;
  margin: 0 12px;
  overflow: hidden;
  border-radius: 20px;
  background: #080806;
  box-shadow: 0 14px 28px rgba(30, 25, 19, .18);
}

.brand-film {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
  background: #080806;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.brand-film::-webkit-media-controls,
.brand-film::-webkit-media-controls-panel,
.brand-film::-webkit-media-controls-play-button,
.brand-film::-webkit-media-controls-timeline {
  display: none !important;
  -webkit-appearance: none;
}

.film-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 20px;
  color: #fff;
  background: rgba(0, 0, 0, .46);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.giveaway {
  position: relative;
  margin: 14px 12px 0;
  padding: 22px 20px 20px;
  overflow: hidden;
  border-radius: 20px;
  color: #f9f5ed;
  background: #211e19;
  background-image: radial-gradient(circle at 100% 0, rgba(199, 158, 78, .28), transparent 48%);
  box-shadow: 0 14px 28px rgba(24, 21, 17, .14);
}

.giveaway::after {
  content: '';
  position: absolute;
  right: -78px;
  bottom: -92px;
  width: 145px;
  height: 145px;
  border: 1px solid rgba(215, 179, 108, .34);
  border-radius: 50%;
}

.giveaway-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(218, 185, 122, .34);
  border-radius: 50%;
  color: #d8b56f;
  background: rgba(255, 255, 255, .04);
}

.section-kicker {
  display: flex;
  align-items: center;
  margin: 0 56px 8px 0;
  color: #bd995d;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.giveaway h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.08;
}

.giveaway > p:not(.section-kicker) {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 11px 0 18px;
  color: rgba(249, 245, 237, .76);
  font-size: 16px;
  line-height: 1.5;
}

.giveaway-button {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  color: #171411;
  background: #d5b06d;
  background-image: linear-gradient(135deg, #ecd6a2, #bd9149);
  box-shadow: 0 10px 24px rgba(166, 123, 51, .23);
  font-size: 15px;
  font-weight: 780;
}

.giveaway-button svg { flex: 0 0 auto; margin-left: 8px; }
.giveaway-button:active { transform: scale(.985); }
.giveaway-button:focus { outline: 3px solid rgba(225, 191, 126, .55); outline-offset: 3px; }

.giveaway-note {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 12px;
  color: rgba(249, 245, 237, .58);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.links-section {
  margin: 0;
  padding: 30px 12px 0;
}

.section-heading { padding: 0 8px 15px; }
.section-heading .section-kicker { margin-right: 0; color: #96703a; }

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.15;
}

.social-list { display: block; }

.social-link {
  display: flex;
  min-height: 76px;
  align-items: center;
  margin-top: 10px;
  padding: 10px 14px 10px 11px;
  border: 1px solid rgba(36, 31, 25, .09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(45, 37, 27, .07);
}

.social-link:first-child { margin-top: 0; }
.social-link:active { transform: scale(.986); }
.social-link:focus { outline: 3px solid rgba(157, 124, 66, .28); outline-offset: 2px; }

.social-icon {
  display: flex;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  overflow: hidden;
  border-radius: 15px;
  background: transparent;
  box-shadow: 0 6px 14px rgba(32, 26, 20, .13);
}

.social-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.telegram-icon { border-radius: 50%; }

.website-icon {
  color: #e1c68e;
  background: #1c1a17;
}

.social-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

.social-copy strong {
  font-size: 16px;
  font-weight: 720;
  line-height: 1.25;
}

.social-copy small {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: #7d7468;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-arrow {
  flex: 0 0 auto;
  margin-left: 10px;
  color: #9b7b46;
}

.page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 30px;
  color: #877f73;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .03em;
  text-align: center;
  text-transform: uppercase;
}

.footer-dot {
  display: block;
  width: 3px;
  height: 3px;
  margin: 0 9px;
  border-radius: 50%;
  background: #b08a4c;
}

@media (max-width: 370px) {
  .zlatto-logo { width: 188px; }
  .zlatto-tagline { width: 170px; margin-top: 12px; }
  .giveaway { padding-right: 18px; padding-left: 18px; }
  .giveaway h1 { font-size: 31px; }
  .social-icon { flex-basis: 49px; width: 49px; height: 49px; margin-right: 12px; }
  .social-copy strong { font-size: 15px; }
  .social-copy small { font-size: 12px; }
}

@media (min-width: 520px) {
  body { background: #ece8e1; }

  .page-shell {
    padding: 28px 18px 54px;
    background: #ece8e1;
    background-image: radial-gradient(circle at 50% -8%, rgba(194, 160, 96, .24), transparent 30%);
  }

  .zlatto-card {
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 34px;
    box-shadow: 0 28px 80px rgba(48, 41, 31, .16);
    background: rgba(250, 248, 244, .94);
  }

  .gold-glow-top { top: -220px; right: calc(50% - 390px); }
  .gold-glow-bottom { bottom: -250px; left: calc(50% - 410px); }

  .brand-header { padding-top: 18px; padding-bottom: 12px; }
  .zlatto-logo { width: 220px; }
  .zlatto-tagline { width: 230px; margin-top: 0; }
  .film-frame { margin-right: 14px; margin-left: 14px; border-radius: 22px; }
  .giveaway { margin-right: 14px; margin-left: 14px; border-radius: 22px; }
  .links-section { padding-right: 14px; padding-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
