/* ===== Brand tokens ===== */
:root {
  --navy: #061636;
  --navy2: #0A1122;
  --blackish: #090C17;
  --gold: #C7A763;
  --text: #E6E6E6;
  --muted: #9AA4B2;
}

/* Language visibility */
.lang { display: none; }
.lang.en { display: block; }

/* Box-sizing baseline */
html {
  box-sizing: border-box;
  height: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* Global typography */
body,
h1, h2, h3, h4, h5, h6,
p,
.btn,
.pill,
.fine,
footer,
.tag {
  font-family: Rubik, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

/* Layout base */
html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(1200px 800px at 70% 30%, rgba(199,167,99,.08), transparent 60%),
    radial-gradient(1000px 700px at 20% 80%, rgba(199,167,99,.05), transparent 60%),
    linear-gradient(120deg, var(--navy), var(--navy2), var(--blackish));
  background-size: 100% 100%, 100% 100%, 200% 200%;
  animation: bgShift 24s ease-in-out infinite alternate;
}

/* Animated background */
@keyframes bgShift {
  0% {
    background-position: 0% 0%, 100% 100%, 0% 0%;
  }
  100% {
    background-position: 100% 0%, 0% 100%, 100% 100%;
  }
}

/* FX canvas */
#fx {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  display: block;
  z-index: -1;
  pointer-events: none;
}

/* ===== Generic container ===== */
/* Safe for ALL pages (no forced centering) */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Landing-only centering (Coming Soon page) */
/* Use this together with .container on landing pages */
.landing-container {
  min-height: calc(100vh - 70px); /* leave space for footer */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ===== Card ===== */
.card {
  width: min(720px, 92vw);
  text-align: center;
  padding: 28px clamp(18px, 6vw, 44px);
  border-radius: 16px;
  border: 1px solid rgba(199,167,99,.25);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow:
    0 10px 40px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.02);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%, -50%);
  width: 72%;
  max-width: 560px;
  height: 180px;
  background: radial-gradient(
    360px 140px at 50% 50%,
    rgba(199,167,99,.16),
    rgba(199,167,99,0) 70%
  );
  filter: blur(22px);
  opacity: .85;
  pointer-events: none;
  animation: aura 6s ease-in-out infinite alternate;
}

@keyframes aura {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: .75;
  }
  100% {
    transform: translate(-50%, -52%) scale(1.04);
    opacity: .95;
  }
}

/* ===== Typography ===== */
h1 {
  margin: 0 0 .5rem;
  font-size: clamp(28px, 5.6vw, 40px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  text-shadow: 0 2px 18px rgba(199,167,99,.14);
}

.tag {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: clamp(15px, 2.8vw, 18px);
}

/* ===== Pills / Divider / Buttons ===== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(199,167,99,.35);
  color: var(--gold);
  padding: 10px 14px;
  border-radius: 999px;
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: .2px;
  background: linear-gradient(
    180deg,
    rgba(199,167,99,.10),
    rgba(199,167,99,.02)
  );
}

.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(199,167,99,.35),
    transparent
  );
  margin: 20px 0;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    border-color .12s ease;
  min-width: 220px;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.25);
}

.btn.gold {
  border-color: rgba(199,167,99,.55);
  color: #121826;
  background: linear-gradient(
    180deg,
    rgba(199,167,99,.95),
    rgba(199,167,99,.82)
  );
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Glass Shine Animation */
.btn.gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}
.btn.gold:hover::before {
  animation: shineSweep 1.2s ease-out forwards;
  opacity: 1;
}
@keyframes shineSweep {
  0% {
    left: -100%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  60% {
    opacity: 0.6;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/* ===== Fine text & footer ===== */
.fine {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

footer {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding: 12px 0 16px;
}

/* ===== Language Switcher ===== */
.lang-switcher-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 24px;
}

#langSwitcher {
  padding: 8px 14px;
  font-family: Rubik, sans-serif;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold);
  border: 1px solid rgba(199,167,99,0.4);
  min-width: 120px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

#langSwitcher:hover {
  border-color: rgba(199,167,99,0.65);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

/* Mobile tweaks */
@media (max-width: 520px) {
  .container {
    padding: 16px;
  }

  .btn {
    width: 100%;
    min-width: unset;
  }

  .pill {
    font-size: 13px;
  }

  .fine {
    font-size: 12px;
  }

  .lang-switcher-wrapper {
    flex-direction: column;
    margin-top: 20px;
  }
}

/* ===== Logo sizing ===== */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.logo img {
  width: 100px;
  max-width: 100%;
  height: auto;
}
