@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&display=swap");

:root {
  --cin-black: #060509;
  --cin-black-soft: #120d18;
  --cin-gold: #d4af37;
  --cin-gold-soft: #f2d782;
  --cin-purple: #7b2cbf;
  --cin-purple-soft: #b47cff;
  --cin-ink: #09070e;
}

html,
body {
  background-color: var(--cin-black);
  font-family: "Cinzel", serif !important;
}

*,
*::before,
*::after,
input,
button,
select,
textarea {
  font-family: "Cinzel", serif !important;
}

body {
  color: var(--cin-gold-soft);
  position: relative;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(123, 44, 191, 0.22), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(212, 175, 55, 0.12), transparent 32%),
    radial-gradient(circle at 70% 86%, rgba(123, 44, 191, 0.14), transparent 38%);
  animation: cinAurora 14s ease-in-out infinite alternate;
}

main,
section,
article,
header,
footer,
nav,
.card,
.surface,
.auth-card,
.form-card,
.cta-box,
.step-card,
.use-card {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4,
.hero h1,
.section-title,
.login-header h1 {
  color: transparent !important;
  background-image: linear-gradient(135deg, var(--cin-gold) 0%, var(--cin-gold-soft) 35%, var(--cin-purple-soft) 100%);
  background-size: 180% 180%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: cinShimmer 6s ease-in-out infinite;
}

p,
li,
label,
small,
.muted,
.subtitle,
.section-sub,
.step-desc,
.use-desc,
.footer-brand p,
.footer-col a,
.footer-bottom,
td,
th,
span {
  color: var(--cin-gold-soft);
}

a {
  color: var(--cin-purple-soft);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

a:hover {
  color: var(--cin-gold-soft);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

.btn,
button,
.nav-cta,
.btn-gold,
.btn-primary {
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.btn:hover,
button:hover,
.nav-cta:hover,
.btn-gold:hover,
.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 24px rgba(123, 44, 191, 0.28), 0 0 20px rgba(212, 175, 55, 0.22);
}

input,
select,
textarea {
  border-color: rgba(123, 44, 191, 0.34) !important;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 2px rgba(123, 44, 191, 0.24), 0 0 18px rgba(212, 175, 55, 0.14) !important;
  border-color: rgba(212, 175, 55, 0.55) !important;
}

.hero,
.section,
.auth-card,
.form-card,
.trust-bar,
.quick-links,
.faq-list,
.contact-section {
  animation: cinReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cinReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes cinAurora {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(0, -1.2%, 0) scale(1.03);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 1%, 0) scale(1.02);
    opacity: 0.82;
  }
}

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