/* ============================================================
   DOMANE.org — front page styles
   Lion · gold · premium domain showcase
   ============================================================ */

:root {
  --ink:      #160c04;
  --ink-2:    #221407;
  --gold:     #ffcf5c;
  --gold-2:   #f6a623;
  --amber:    #e8870d;
  --deep:     #5a260a;
  --cream:    #fff4dc;
  --glass:    rgba(255, 244, 220, 0.08);
  --glass-brd: rgba(255, 207, 92, 0.22);
  --shadow:   0 24px 60px rgba(0,0,0,0.55);
  --radius:   22px;
  --maxw:     1220px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--cream);
  background: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Sora', sans-serif; letter-spacing: -0.02em; line-height: 1.1; }

a { color: inherit; text-decoration: none; }

/* ============ ANIMATED BACKGROUND LAYERS ============ */
.bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1200px 800px at 78% 12%, #3a1a06 0%, transparent 60%),
    radial-gradient(1000px 700px at 15% 88%, #2a1204 0%, transparent 55%),
    linear-gradient(160deg, #1a0d03 0%, #0e0702 55%, #080402 100%);
}

/* drifting warm glow blobs */
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5;
  will-change: transform;
}
.blob.b1 { width: 520px; height: 520px; background: #ff9d2e; top: -120px; right: -80px;  animation: drift1 26s ease-in-out infinite; }
.blob.b2 { width: 420px; height: 420px; background: #c85a0a; bottom: -140px; left: -60px; animation: drift2 32s ease-in-out infinite; }
.blob.b3 { width: 340px; height: 340px; background: #ffd36b; top: 40%; left: 55%;       opacity: 0.28; animation: drift3 30s ease-in-out infinite; }

@keyframes drift1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-90px,70px) scale(1.15);} }
@keyframes drift2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(80px,-60px) scale(1.1);} }
@keyframes drift3 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-70px,-50px) scale(1.2);} }

/* fine grain / noise texture overlay */
.bg::after {
  content: ""; position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* slow parallax starfield of gold dust */
.dust { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.dust i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--gold); opacity: 0.5;
  animation: rise linear infinite;
}
@keyframes rise {
  from { transform: translateY(20vh) scale(0.6); opacity: 0; }
  12%  { opacity: 0.8; }
  to   { transform: translateY(-120vh) scale(1);   opacity: 0; }
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 70px);
  transition: background .4s, padding .4s, backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(14, 7, 2, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--glass-brd);
  padding-top: 12px; padding-bottom: 12px;
}
.brand {
  display: flex; align-items: center; gap: 12px; font-family: 'Sora';
  font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em;
}
.brand .mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: conic-gradient(from 210deg, var(--gold), var(--amber), var(--gold));
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(246,166,35,0.45);
}
.brand .mark svg { width: 28px; height: 28px; }
.brand .dom { color: var(--gold); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 0.92rem; color: #e9d3b3; position: relative; transition: color .25s; }
.nav-links a:hover { color: var(--gold); }
.nav-links a + a::before { content: ""; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s;
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-cta { display: flex; gap: 14px; align-items: center; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2.5px; background: var(--gold); border-radius: 2px; transition: .3s; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Sora'; font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s, box-shadow .3s, background .3s;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
  color: var(--ink); box-shadow: 0 12px 34px rgba(246,166,35,0.38);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 46px rgba(246,166,35,0.55); }
.btn-ghost {
  background: var(--glass); color: var(--cream);
  border-color: var(--glass-brd); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,207,92,0.14); transform: translateY(-3px); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 130px clamp(20px,5vw,70px) 60px;
  position: relative; text-align: center;
}
.hero-inner { max-width: 900px; display: flex; flex-direction: column; align-items: center; gap: 28px; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(12px); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{ opacity: 1; transform: scale(1);} 50%{ opacity: .4; transform: scale(1.6);} }

.hero h1 {
  font-size: clamp(3rem, 9vw, 6.6rem); font-weight: 800;
  background: linear-gradient(180deg, #fff 0%, var(--gold) 55%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(246,166,35,0.28));
}
.hero h1 .em { font-style: italic; }
.hero p.lead { font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: #d9c3a3; max-width: 640px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* lion emblem with rotating outer ring */
.emblem {
  position: relative; width: clamp(220px, 42vw, 360px); aspect-ratio: 1;
  display: grid; place-items: center; margin-bottom: 8px;
}
.emblem .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed rgba(255,207,92,0.35);
  animation: spin 40s linear infinite;
}
.emblem .ring::before {
  content: "DOMANE · DOMANE · DOMANE · DOMANE";
  position: absolute; inset: 0;
  font-family: 'Sora'; font-weight: 700; letter-spacing: 0.5em; font-size: 0.72rem;
  color: rgba(255,207,92,0.4);
  -webkit-text-stroke: 0.3px rgba(255,207,92,0.5);
}
.emblem .ring2 { inset: 26px; border-style: solid; border-color: rgba(255,207,92,0.14); animation: spin 26s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.emblem img {
  width: 82%; height: 82%; object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(246,166,35,0.4));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

/* ============ SCROLL INDICATOR ============ */
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); opacity: .7; }
.scroll-hint .m { width: 26px; height: 42px; border: 2px solid var(--glass-brd); border-radius: 14px; position: relative; }
.scroll-hint .m::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 3px; background: var(--gold);
  animation: whl 1.8s infinite;
}
@keyframes whl { 0%{ opacity: 0; top: 7px;} 40%{ opacity: 1;} 100%{ opacity: 0; top: 22px;} }

/* ============ GLASS CARDS ============ */
section { padding: clamp(70px, 10vw, 130px) clamp(20px,5vw,70px); position: relative; }

.wrap { max-width: var(--maxw); margin: 0 auto; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px,6vw,70px); }
.section-head .kicker { color: var(--gold); font-family: 'Sora'; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.8rem; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.3rem); margin: 14px 0 16px; }
.section-head p { color: #cdb99c; font-size: 1.08rem; }

/* glass card base */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s;
}
.glass::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at var(--mx,50%) var(--my,-20%), rgba(255,207,92,0.12), transparent 70%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.glass:hover { transform: translateY(-8px); box-shadow: 0 34px 70px rgba(0,0,0,0.6); border-color: rgba(255,207,92,0.45); }
.glass:hover::before { opacity: 1; }

/* ============ FEATURE GRID ============ */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.feature { padding: 34px 30px; }
.feature .ic {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(255,207,92,0.2), rgba(232,135,13,0.08));
  border: 1px solid var(--glass-brd);
}
.feature h3 { font-size: 1.28rem; margin-bottom: 10px; }
.feature p { color: #cbb596; font-size: 0.98rem; }

/* ============ SHOWCASE / DOMAIN LIST ============ */
.showcase-grid { display: grid; gap: 22px; }
.domain-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 30px; text-align: left;
}
.domain-card .dom-info { display: flex; flex-direction: column; gap: 6px; }
.domain-card .dom-name { font-family: 'Sora'; font-weight: 800; font-size: 1.5rem; color: var(--gold); letter-spacing: -0.02em; }
.domain-card .dom-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(255,207,92,0.12); border: 1px solid var(--glass-brd); color: var(--gold);
}
.tag.hot { background: rgba(232,135,13,0.18); color: #ffc26b; }
.domain-card .dom-desc { color: #cbb596; font-size: 0.92rem; max-width: 460px; }
.domain-card .price { text-align: right; }
.domain-card .price .lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: #a68b6a; }
.domain-card .price .val { font-family: 'Sora'; font-weight: 800; font-size: 1.4rem; color: var(--cream); }

/* ============ STATS ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 34px 20px; }
.stat .num { font-family: 'Sora'; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--gold); line-height: 1; }
.stat .cap { color: #cdb99c; font-size: 0.92rem; margin-top: 8px; }

/* ============ CTA BAND ============ */
.cta {
  text-align: center; padding: clamp(50px, 8vw, 86px) clamp(28px, 6vw, 70px);
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(255,207,92,0.16), transparent 70%),
    var(--glass);
  border: 1px solid var(--glass-brd); border-radius: 30px;
  backdrop-filter: blur(18px);
}
.cta h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.cta p { color: #d9c3a3; font-size: 1.12rem; max-width: 560px; margin: 0 auto 30px; }
.cta .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer { padding: 60px clamp(20px,5vw,70px) 40px; border-top: 1px solid var(--glass-brd); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; max-width: var(--maxw); margin: 0 auto; }
.footer .brand { margin-bottom: 10px; }
.footer p { color: #9c866a; font-size: 0.9rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #b8a282; font-size: 0.9rem; transition: color .25s; }
.footer-links a:hover { color: var(--gold); }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 680px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: rgba(14,7,2,0.96);
    backdrop-filter: blur(18px); padding: 26px; gap: 20px;
    border-bottom: 1px solid var(--glass-brd);
  }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .domain-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .domain-card .price { text-align: left; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
