/*
Theme Name: Mamipring Empire Gate
Theme URI: https://mamipring.com
Author: Mamipring Group
Version: 1.0.0
Text Domain: mamipring-gate
*/

/* ====== Brand Tokens ====== */
:root{
  --navy: #0B1C2D;
  --gold: #C9A24D;
  --ivory: #F5F6F2;
  --gray: #8A8F98;

  --text: rgba(245,246,242,.92);
  --textSoft: rgba(245,246,242,.74);
  --line: rgba(201,162,77,.22);

  --shadow: 0 18px 60px rgba(0,0,0,.35);
}

/* Basic reset */
*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  background: radial-gradient(1200px 700px at 50% 30%, rgba(201,162,77,.12), transparent 60%),
              radial-gradient(900px 600px at 20% 80%, rgba(245,246,242,.06), transparent 55%),
              var(--navy);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Main gate layout */
.gate{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px 18px;
}

.gate__wrap{
  width: min(900px, 92vw);
  margin: auto;
  text-align: center;
  padding: 34px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(245,246,242,.04), rgba(11,28,45,.22));
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

/* Logo */
.gate__logoLink{
  display: inline-grid;
  place-items: center;
  position: relative;
  text-decoration: none;
  margin-bottom: 12px;
  outline: none;
}

.gate__logo{
  width: clamp(190px, 26vw, 280px);
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.35));
  transform: translateZ(0);
}

.gate__halo{
  position: absolute;
  width: clamp(230px, 30vw, 340px);
  height: clamp(230px, 30vw, 340px);
  border-radius: 999px;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(201,162,77,.28), rgba(201,162,77,.08) 45%, transparent 70%);
  animation: haloPulse 3.6s ease-in-out infinite;
}

@keyframes haloPulse{
  0%,100%{ transform: scale(0.98); opacity: .85; }
  50%{ transform: scale(1.03); opacity: 1; }
}

/* Title / subtitle */
.gate__title{
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: clamp(26px, 3.2vw, 44px);
  margin: 14px 0 10px;
  color: var(--ivory);
}

.gate__subtitle{
  margin: 0 auto;
  max-width: 720px;
  color: var(--textSoft);
  line-height: 1.6;
  font-size: clamp(14px, 1.5vw, 17px);
}

/* Actions */
.gate__actions{
  margin-top: 22px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.gate__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(201,162,77,.45);
  background: linear-gradient(180deg, rgba(201,162,77,.26), rgba(201,162,77,.12));
  color: var(--ivory);
  text-decoration: none;
  font-weight: 700;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.gate__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(201,162,77,.75);
  background: linear-gradient(180deg, rgba(201,162,77,.34), rgba(201,162,77,.14));
}

/* micro prestige loader (not "loading") */
.gate__micro{
  height: 18px;
  display: grid;
  place-items: center;
  opacity: .95;
}

.orbit{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(245,246,242,.22);
  border-top-color: rgba(201,162,77,.95);
  animation: spin 1.1s linear infinite;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

/* Footer */
.gate__footer{
  margin-top: 18px;
  text-align: center;
  color: rgba(245,246,242,.58);
  font-size: 12px;
  letter-spacing: .2px;
}

/* Responsive tweaks */
@media (max-width: 420px){
  .gate__wrap{ padding: 28px 16px 16px; border-radius: 18px; }
}
