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

/* ─── Design Tokens ─── */
:root {
  --gold:       #D4A017;
  --gold-light: #F5CE62;
  --gold-dark:  #A07800;
  --red:        #C0000C;
  --red-light:  #E8001A;
  --red-dark:   #7A0007;
  --bg-dark:    #0A0505;
  --bg-mid:     #150A08;
  --text-white: #FFF8EE;
  --text-muted: #9B8878;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  position: relative;
}

/* ─── Background layers ─── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Deep radial gradient */
.bg-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(192,0,12,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(212,160,23,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(192,0,12,0.10) 0%, transparent 55%),
    linear-gradient(180deg, #0A0505 0%, #150A08 50%, #0A0505 100%);
}

/* Particle / star field */
.bg-particles {
  overflow: hidden;
}
.bg-particles span {
  position: absolute;
  border-radius: 50%;
  animation: twinkle var(--dur, 4s) ease-in-out infinite var(--delay, 0s);
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50%       { opacity: var(--max-op, 0.7); transform: scale(1); }
}

/* Gold shimmer lines */
.bg-lines::before,
.bg-lines::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(212,160,23,0.25) 40%, rgba(212,160,23,0.25) 60%, transparent 100%);
  animation: lineFloat 8s ease-in-out infinite;
}
.bg-lines::before { left: 15%; animation-delay: 0s; }
.bg-lines::after  { right: 15%; animation-delay: 4s; }

@keyframes lineFloat {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.7; transform: scaleY(1.05); }
}

/* ─── Page wrapper ─── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  gap: 0;
}

/* ─── Top ornament ─── */
.ornament-top {
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 2.5rem;
  position: relative;
  animation: fadeDown 1s ease 0.2s both;
}
.ornament-top::before,
.ornament-top::after {
  content: '◆';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 0.5rem;
  animation: pulse 2.5s ease-in-out infinite;
}
    .ornament-top::before { left: -8px; }
    .ornament-top::after  { right: -8px; }

/* ─── Logo ─── */
.logo-wrap {
  animation: fadeDown 1s ease 0.4s both;
  margin-bottom: 2.2rem;
}
.logo-wrap img {
  width: min(420px, 78vw);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(212,160,23,0.4)) drop-shadow(0 0 60px rgba(192,0,12,0.25));
  animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 28px rgba(212,160,23,0.35)) drop-shadow(0 0 55px rgba(192,0,12,0.2)); }
  50%       { filter: drop-shadow(0 0 45px rgba(212,160,23,0.65)) drop-shadow(0 0 80px rgba(192,0,12,0.35)); }
}


/* ─── Divider crown ─── */
.crown-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
  animation: fadeDown 1s ease 0.55s both;
}
.crown-divider .line {
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}
.crown-divider .line.right {
  background: linear-gradient(90deg, var(--gold-light), transparent);
}
.crown-divider .crown-icon {
  font-size: 1.4rem;
  animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

/* ─── Main heading ─── */
.heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--red-light) 70%, var(--gold-light) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite, fadeDown 1s ease 0.65s both;
  margin-bottom: 0.6rem;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─── Sub heading ─── */
.subheading {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.75rem, 2.2vw, 1rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  opacity: 0.85;
  margin-bottom: 2.4rem;
  animation: fadeDown 1s ease 0.75s both;
}

/* ─── Description ─── */
.description {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 300;
  color: var(--text-muted);
  text-align: center;
  max-width: 520px;
  line-height: 1.9;
  margin-bottom: 3.2rem;
  animation: fadeDown 1s ease 0.85s both;
}
.description strong {
  color: var(--gold-light);
  font-weight: 500;
}

/* ─── Social icons ─── */
.socials {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 3rem;
  animation: fadeUp 1s ease 1.15s both;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.3);
  background: rgba(212,160,23,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.social-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212,160,23,0.3);
  transform: translateY(-3px);
}
.social-btn:hover::before { opacity: 1; }
.social-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

/* ─── Bottom ornament ─── */
.ornament-bottom {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: fadeUp 1s ease 1.25s both;
}
.ornament-bottom .seg {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.5));
}
.ornament-bottom .seg.r {
  background: linear-gradient(90deg, rgba(212,160,23,0.5), transparent);
}
.ornament-bottom .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.ornament-bottom .copy {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ─── Floating corner gems ─── */
.corner {
  position: fixed;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.corner svg { width: 100%; height: 100%; }
.corner-tl { top: 0; left: 0; }
.corner-tr { top: 0; right: 0; transform: scaleX(-1); }
.corner-bl { bottom: 0; left: 0; transform: scaleY(-1); }
.corner-br { bottom: 0; right: 0; transform: scale(-1); }

/* ─── Animations ─── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateY(-50%) scale(1.4); }
}

/* ─── Responsive ─── */

/* Large tablets & small laptops */
@media (max-width: 1024px) {
  .logo-wrap img {
    width: min(360px, 70vw);
  }
  .corner {
    width: 90px;
    height: 90px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .page {
    padding: 3rem 1.2rem;
    justify-content: center;
  }
  .logo-wrap img {
    width: min(300px, 80vw);
  }
  .heading {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
  .subheading {
    font-size: clamp(0.65rem, 2.5vw, 0.85rem);
    letter-spacing: 0.3em;
  }
  .description {
    font-size: 0.92rem;
    max-width: 90vw;
    line-height: 1.8;
    margin-bottom: 2rem;
  }
  .crown-divider .line {
    width: 60px;
  }
  .ornament-top {
    width: 160px;
    margin-bottom: 1.8rem;
  }
  .ornament-bottom .seg {
    width: 25px;
  }
  .ornament-bottom .copy {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }
  .corner {
    width: 70px;
    height: 70px;
  }
  .bg-lines::before,
  .bg-lines::after { display: none; }
}

/* Mobile phones */
@media (max-width: 480px) {
  .page {
    padding: 2.5rem 1rem;
    gap: 0;
  }
  .logo-wrap {
    margin-bottom: 1.4rem;
  }
  .logo-wrap img {
    width: min(260px, 85vw);
  }
  .heading {
    font-size: clamp(2rem, 12vw, 3rem);
    letter-spacing: 0.04em;
  }
  .subheading {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    margin-bottom: 1.6rem;
  }
  .description {
    font-size: 0.85rem;
    max-width: 95vw;
    margin-bottom: 1.8rem;
    padding: 0 0.5rem;
  }
  .crown-divider {
    gap: 0.6rem;
    margin-bottom: 1.2rem;
  }
  .crown-divider .line {
    width: 40px;
  }
  .crown-divider .crown-icon {
    font-size: 1.1rem;
  }
  .ornament-top {
    width: 120px;
    margin-bottom: 1.4rem;
  }
  .ornament-bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .ornament-bottom .seg { display: none; }
  .ornament-bottom .copy {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-align: center;
  }
  .corner {
    width: 50px;
    height: 50px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .logo-wrap img {
    width: 90vw;
  }
  .heading {
    font-size: 2rem;
  }
  .description {
    font-size: 0.8rem;
  }
}

