@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700&family=Prata&display=swap');

:root {
  --gold: #e8b85f;
  --gold-light: #f3d184;
  --navy: #050b1d;
  --white: #f7f5f2;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  color: var(--white);
  background: #030817;
  font-family: "Noto Sans Thai", Tahoma, sans-serif;
}

button, a { font: inherit; }

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(2,6,18,.05), rgba(2,6,18,.08)), url("background.png");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 42%, transparent 20%, rgba(2,5,17,.09) 65%, rgba(1,4,13,.38) 100%);
  pointer-events: none;
}

.site-header {
  position: absolute;
  top: 43px;
  left: 45px;
  right: 45px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand, .languages { letter-spacing: .25em; }
.brand { color: var(--gold-light); text-decoration: none; font-size: 20px; font-weight: 500; }
.languages { display: flex; align-items: center; gap: 13px; color: #fff; font-size: 16px; }
.language { border: 0; padding: 0; color: inherit; background: none; cursor: pointer; font-weight: 300; }
.language.active { color: var(--gold); }

.main-content {
  min-height: calc(100vh - 94px);
  padding: 43px 20px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-logo { color: var(--gold-light); text-align: center; font-family: Georgia, serif; line-height: 1; }
.mmo { position: relative; display: inline-block; font-size: clamp(64px, 6.1vw, 102px); letter-spacing: .04em; font-weight: 400; }
.sparkle { position: absolute; top: -6px; right: -4px; font-size: 30px; }
.event-name { margin-top: 2px; font-size: clamp(18px, 1.65vw, 27px); letter-spacing: .05em; }
.event-year { margin-top: 8px; font-size: clamp(14px, 1.25vw, 20px); letter-spacing: .22em; }

.announcement { width: min(720px, 90vw); margin-top: 55px; text-align: center; }
.eyebrow {
  display: inline-flex;
  min-width: 230px;
  height: 49px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1px solid #d6a74f;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, rgba(179,135,64,.88), rgba(117,84,39,.88));
  box-shadow: inset 0 1px rgba(255,255,255,.22), 0 5px 20px rgba(0,0,0,.25);
  font-size: 22px;
  font-weight: 600;
}

h1 { margin: 24px -170px 10px; font-family: Georgia, "Noto Sans Thai", serif; font-size: clamp(36px, 3.35vw, 56px); line-height: 1.3; font-weight: 400; white-space: nowrap; }
.lead { margin: 0 -60px 29px; font-size: 19px; line-height: 1.7; font-weight: 300; }

.primary-button {
  display: flex;
  width: 620px;
  max-width: 100%;
  height: 84px;
  margin: 0 auto 16px;
  padding: 0 96px 0 135px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #f4ce7a;
  border-radius: 12px;
  color: #2b1c04;
  background: linear-gradient(135deg, #f1cf81, #d8a94e);
  box-shadow: 0 9px 28px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.4);
  text-decoration: none;
  font-size: 31px;
  font-weight: 700;
}
.arrow { font-family: Arial, sans-serif; font-size: 50px; font-weight: 300; line-height: 1; }

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 0;
  padding: 0;
  color: #e5ae55;
  background: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 21px;
  font-weight: 600;
}
.copy-button svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 2.2; }

.url-box {
  display: flex;
  width: 632px;
  max-width: 100%;
  height: 88px;
  margin: 24px auto 20px;
  padding: 0 34px;
  align-items: center;
  gap: 42px;
  border: 1.5px solid #e4ae4d;
  border-radius: 12px;
  background: rgba(5,9,27,.72);
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 300;
}
.url-box svg { width: 42px; height: 42px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; }

.secure-note { display: flex; justify-content: center; align-items: center; gap: 13px; font-size: 20px; font-weight: 300; }
.secure-note svg { width: 29px; height: 34px; fill: var(--gold); stroke: var(--gold); stroke-width: 1.7; }
.secure-note svg path { fill: none; stroke: #071020; }

.countdown { margin-top: 28px; font-size: 18px; font-weight: 300; }
.progress { width: 665px; max-width: 100%; height: 11px; margin: 13px auto 0; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(0,0,0,.35); }
.progress div { position: relative; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #d8a94e, #efcb75); transition: width 1s linear; }
.progress div::after { content: ""; position: absolute; right: -5px; top: -1px; width: 11px; height: 11px; border-radius: 50%; background: #edc875; }

.site-footer {
  min-height: 94px;
  padding: 0 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(2,8,20,.77);
  font-size: 15px;
  font-weight: 300;
}
.site-footer strong { margin-left: 8px; color: var(--gold); letter-spacing: .24em; font-size: 19px; font-weight: 600; }

@media (max-height: 900px) and (min-width: 800px) {
  .site-header { top: 25px; }
  .main-content { padding-top: 24px; }
  .announcement { margin-top: 28px; }
  h1 { margin-top: 13px; }
  .lead { margin-bottom: 18px; }
  .primary-button { height: 70px; }
  .url-box { height: 70px; margin: 15px auto 13px; }
  .countdown { margin-top: 13px; }
}

@media (max-width: 760px) {
  .page-shell { background-position: center; }
  .site-header { top: 22px; left: 20px; right: 20px; }
  .brand { font-size: 14px; }
  .languages { font-size: 13px; gap: 8px; }
  .main-content { min-height: calc(100vh - 120px); padding: 75px 18px 34px; }
  .event-logo { margin-top: 4px; }
  .mmo { font-size: 64px; }
  .event-name { font-size: 16px; }
  .event-year { font-size: 12px; }
  .announcement { width: 100%; max-width: calc(100vw - 36px); margin-top: 42px; }
  .eyebrow { min-width: 180px; height: 41px; font-size: 18px; }
  h1 { margin: 19px 0 10px; font-size: 31px; white-space: normal; }
  .lead { margin: 0 auto 24px; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
  .lead br { display: none; }
  .primary-button { height: 68px; padding: 0 26px 0 46px; font-size: 23px; }
  .arrow { font-size: 39px; }
  .copy-button { font-size: 17px; }
  .copy-button svg { width: 25px; }
  .url-box { height: 70px; margin: 19px auto 17px; padding: 0 17px; gap: 14px; font-size: clamp(16px, 4.7vw, 22px); }
  .url-box svg { width: 33px; height: 33px; }
  .secure-note { font-size: 16px; }
  .secure-note svg { width: 24px; }
  .countdown { margin-top: 23px; font-size: 15px; }
  .site-footer { min-height: 120px; padding: 24px 18px; flex-direction: column; justify-content: center; gap: 10px; text-align: center; font-size: 12px; }
  .site-footer strong { font-size: 15px; }
}

@media (max-width: 380px) {
  h1 { font-size: 27px; }
  .primary-button { padding-left: 32px; font-size: 20px; }
}
