/* =============================================
   ASCENT RESURGENCE — Main Stylesheet
   ============================================= */

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

:root {
  --color-bg:       #080a0f;
  --color-surface:  #0e1018;
  --color-surface2: #161924;
  --color-accent:   #e8312a;
  --color-gold:     #f0a500;
  --color-text:     #dde1ee;
  --color-muted:    #6b7191;
  --color-border:   rgba(255,255,255,0.07);
  --font-display:   'Orbitron', sans-serif;
  --font-body:      'Rajdhani', sans-serif;
  --font-ui:        'Share Tech Mono', monospace;
  --max-width:      1180px;
}

html { scroll-behavior: smooth; }
body { background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Type ---- */
h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: 0.04em; line-height: 1.08; }
h1 { font-size: clamp(2.2rem, 3.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.9rem); }
.subtitle { font-family: var(--font-ui); font-size: 1rem; letter-spacing: 0.32em; color: var(--color-accent); text-transform: uppercase; margin-bottom: 14px; }

/* ---- Buttons ---- */
.btn { display: inline-block; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 13px 30px; border-radius: 2px; cursor: pointer; transition: all 0.18s ease; border: none; }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: #ff3d35; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--color-text); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.55); }
.btn-gold { background: var(--color-gold); color: #1a1000; }
.btn-gold:hover { background: #ffb820; }

/* ---- Layout ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ========== NAV ========== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.3s, border-color 0.3s;
}
#nav.scrolled { background: rgba(8,10,15,0.96); border-bottom: 1px solid var(--color-border); backdrop-filter: blur(8px); }
.nav-logo img { height: 44px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--color-text); }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--color-text); }

/* ========== MOBILE NAV ========== */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(8,10,15,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.15em; text-transform: uppercase; }
.mobile-nav-close { position: absolute; top: 22px; right: 28px; background: none; border: none; color: var(--color-text); font-size: 2rem; cursor: pointer; line-height: 1; }

/* ========== HERO ========== */
#hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 130px 28px 90px; }
.hero-bg { 
  position: absolute; 
  inset: 0;
 }
.hero-bg img { 
  background-image: url(https://www.fluiditynetwork.com/assets/images/Cinematic_hanger_scene._The_woman_202606102354_03.jpeg);
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  opacity: 1.0;
 }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(8,10,15,0.88) 38%, rgba(8,10,15,0.3) 100%); }
.hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-inner { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-logo { margin-bottom: 24px; }
.hero-logo img { height: 160px; filter: drop-shadow(0 0 24px rgba(232,49,42,0.35)); }
.hero-tagline { font-family: var(--font-ui); font-size: 1.2rem; letter-spacing: 0.32em; color: var(--color-accent); text-transform: uppercase; margin-bottom: 8px; }
.hero-title { text-transform: uppercase; margin-bottom: 18px; }
.hero-title span { color: var(--color-accent); }
.hero-stat { font-family: var(--font-ui); font-size: 0.88rem; color: var(--color-muted); margin-bottom: 4px; }
.hero-stat strong { color: var(--color-gold); font-weight: 400; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-ship { position: relative; }
.hero-ship img { width: 100%; filter: drop-shadow(0 16px 48px rgba(0,0,0,0.7)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ========== DAO ========== */
#dao {
  padding: 90px 28px;
  /*background: var(--color-surface);*/
  background-image: url(https://www.fluiditynetwork.com/assets/images/new/Cinematic_hanger_scene._The_woman_202606102354_03.jpeg);
  background-size: cover;
}
.dao-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dao-avatars { display: flex; gap: 10px; margin-bottom: 22px; }
.dao-avatar { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(232,49,42,0.5); }
.dao-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dao-title { font-size: clamp(1.5rem,3vw,2rem); text-transform: uppercase; margin-bottom: 16px; }
.dao-desc { color: var(--color-muted); font-size: 1rem; line-height: 1.75; }
.dao-media img { width: 100%; border-radius: 4px; border: 1px solid var(--color-border); }

/* ========== FORGE ========== */
#forge { padding: 90px 28px; background: var(--color-bg); text-align: center; }
.forge-title { color: var(--color-accent); text-transform: uppercase; margin-bottom: 52px; font-size: clamp(1.3rem,3.2vw,2rem); letter-spacing: 0.06em; }
.modules-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: var(--max-width); margin: 0 auto; }
.module-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 3px; padding: 36px 24px 28px; text-align: center; transition: border-color 0.2s, transform 0.25s; }
.module-card:hover { border-color: rgba(232,49,42,0.35); transform: translateY(-6px); }
.module-card img { height: 140px; margin: 0 auto 22px; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5)); }
.module-name { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px; }
.module-meta { font-family: var(--font-ui); font-size: 0.72rem; color: var(--color-muted); }
.module-link { display: inline-block; margin-top: 16px; font-family: var(--font-ui); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--color-accent); border-bottom: 1px solid rgba(232,49,42,0.35); padding-bottom: 2px; }
.module-link:hover { color: #ff6055; }

/* ========== STARTS HERE ========== */
#starts-here { padding: 90px 28px; background: var(--color-surface); }
.starts-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.starts-content h2 { text-transform: uppercase; margin-bottom: 6px; }
.starts-subtitle { font-family: var(--font-ui); font-size: 0.74rem; letter-spacing: 0.24em; color: var(--color-accent); margin-bottom: 32px; text-transform: uppercase; }
.crate-features { margin-bottom: 32px; }
.crate-features li { display: flex; gap: 10px; color: var(--color-muted); font-size: 0.95rem; padding: 8px 0; border-bottom: 1px solid var(--color-border); }
.crate-features li::before { content: '▸'; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.starts-crates { display: flex; flex-direction: column; gap: 0; }
.starts-crates img { width: 100%; margin-bottom: -18%; filter: drop-shadow(0 12px 28px rgba(0,0,0,0.65)); transition: filter 0.3s; }
.starts-crates img:hover { filter: drop-shadow(0 16px 36px rgba(232,49,42,0.25)); }
.starts-crates img:last-child { margin-bottom: 0; }

/* ========== CUSTOMIZE ========== */
#customize { padding: 90px 28px; background: var(--color-bg); position: relative; overflow: hidden; }
.customize-nebula { position: absolute; inset: 0; }
.customize-nebula img { width: 100%; height: 100%; object-fit: cover; opacity: 0.08; }
.customize-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.customize-ship img { width: 100%; filter: drop-shadow(0 20px 50px rgba(0,30,80,0.6)); animation: float 7s ease-in-out infinite; }
.customize-content h2 { text-transform: uppercase; margin-bottom: 18px; }
.customize-content h2 .bracketed { color: var(--color-accent); font-style: italic; }
.customize-desc { color: var(--color-muted); font-size: 1rem; margin-bottom: 32px; line-height: 1.75; }

/* ========== TOKEN SALE ========== */
#token-sale { padding: 90px 28px; background: var(--color-surface); position: relative; overflow: hidden; }
.token-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.token-bg { position: absolute; inset: 0; }
.token-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.07; }
.token-content h2 { color: var(--color-accent); text-transform: uppercase; margin-bottom: 20px; }
.token-content p { color: var(--color-muted); font-size: 0.97rem; line-height: 1.75; margin-bottom: 20px; }
.token-ship img { width: 100%; filter: drop-shadow(0 16px 40px rgba(0,0,0,0.6)); animation: float 8s ease-in-out infinite; animation-delay: 1s; }

/* ========== CRATE TIERS ========== */
#crates { padding: 90px 28px; background: var(--color-bg); position: relative; overflow: hidden; }
.crates-bg { position: absolute; inset: 0; }
.crates-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.06; }
.crates-header { text-align: center; margin-bottom: 52px; position: relative; z-index: 1; }
.crates-header h2 { text-transform: uppercase; }
.crates-header p { color: var(--color-muted); margin-top: 10px; font-size: 0.95rem; }
.crates-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 1; }
.crate-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 3px; padding: 0 20px 28px; transition: transform 0.25s, border-color 0.2s; }
.crate-card:hover { transform: translateY(-6px); }
.crate-img { margin: 0 -12px 20px; }
.crate-img img { width: 110%; margin-left: -5%; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6)); }
.crate-card.rare   { border-top: 3px solid #4d9fff; }
.crate-card.ultra-rare { border-top: 3px solid #a259f7; }
.crate-card.epic   { border-top: 3px solid var(--color-gold); }
.crate-card.ultra-epic { border-top: 3px solid var(--color-accent); }
.crate-tier { font-family: var(--font-display); font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.crate-card.rare .crate-tier       { color: #4d9fff; }
.crate-card.ultra-rare .crate-tier { color: #a259f7; }
.crate-card.epic .crate-tier       { color: var(--color-gold); }
.crate-card.ultra-epic .crate-tier { color: var(--color-accent); }
.crate-contents li { font-size: 0.83rem; color: var(--color-muted); padding: 4px 0; line-height: 1.5; }

/* ========== FUTURE ========== */
#future { padding: 100px 28px; text-align: center; position: relative; overflow: hidden; }
.future-bg { position: absolute; inset: 0; }
.future-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.future-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,10,15,0.6) 0%, rgba(8,10,15,0.2) 50%, rgba(8,10,15,0.7) 100%); }
.future-inner { position: relative; z-index: 1; }
.future-ship { max-width: 860px; margin: 0 auto 48px; filter: drop-shadow(0 16px 48px rgba(232,49,42,0.18)); animation: float 9s ease-in-out infinite; }
.future-inner h2 { text-transform: uppercase; }
.future-inner .accent-line { color: var(--color-accent); font-size: clamp(1.1rem,2.8vw,1.9rem); margin-top: 14px; }

/* ========== WHITELIST ========== */
#whitelist { padding: 90px 28px; background: var(--color-surface); text-align: center; position: relative; overflow: hidden; }
.whitelist-bg { position: absolute; inset: 0; }
.whitelist-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.08; }
.whitelist-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.whitelist-inner h2 { text-transform: uppercase; margin-bottom: 12px; }
.whitelist-desc { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 34px; }
.whitelist-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.whitelist-form input[type="email"] { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--color-border); color: var(--color-text); font-family: var(--font-body); font-size: 0.95rem; padding: 13px 18px; border-radius: 2px; outline: none; transition: border-color 0.2s; }
.whitelist-form input:focus { border-color: var(--color-accent); }
.whitelist-form input::placeholder { color: var(--color-muted); }
#form-msg { margin-top: 18px; min-height: 22px; font-family: var(--font-ui); font-size: 0.82rem; color: var(--color-gold); }

/* ========== DEVELOPED ON ========== */
#developed-on { padding: 60px 28px; background: var(--color-bg); text-align: center; border-top: 1px solid var(--color-border); }
.developed-label { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 36px; }
.chain-logos { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.chain-logos img { height: 40px; object-fit: contain; opacity: 0.65; filter: grayscale(20%); transition: opacity 0.2s, filter 0.2s; }
.chain-logos img:hover { opacity: 1; filter: grayscale(0); }

/* ========== FOOTER ========== */
footer { background: var(--color-surface2); border-top: 1px solid var(--color-border); padding: 56px 28px 32px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.84rem; color: var(--color-muted); line-height: 1.7; }
.footer-brand a { color: var(--color-muted); border-bottom: 1px solid rgba(255,255,255,0.12); transition: color 0.2s; }
.footer-brand a:hover { color: var(--color-text); }
.footer-col h4 { font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(221,225,238,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--color-text); }
.footer-col p { font-size: 0.84rem; color: rgba(221,225,238,0.5); line-height: 1.7; }
.footer-col p a { color: rgba(221,225,238,0.5); transition: color 0.2s; }
.footer-col p a:hover { color: var(--color-text); }
.social-links { display: flex; flex-direction: column; gap: 10px; }
.social-links a { font-size: 0.88rem; color: rgba(221,225,238,0.55); transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
.social-links a:hover { color: var(--color-text); }
.footer-bottom { border-top: 1px solid var(--color-border); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; max-width: var(--max-width); margin: 0 auto; }
.footer-bottom p { font-size: 0.78rem; color: var(--color-muted); }

/* ========== VIDEO MODAL ========== */
#video-modal { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,0.9); align-items: center; justify-content: center; }
#video-modal.open { display: flex; }
.video-modal-inner { position: relative; width: min(920px, 94vw); aspect-ratio: 16/9; }
#video-iframe { width: 100%; height: 100%; border: none; border-radius: 3px; }
#video-modal-close { position: absolute; top: -44px; right: 0; background: none; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; opacity: 0.7; transition: opacity 0.2s; }
#video-modal-close:hover { opacity: 1; }

/* ========== SCROLL REVEAL ========== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .hero-inner, .dao-inner, .starts-inner, .customize-inner, .token-inner { grid-template-columns: 1fr; }
  .hero-ship { display: none; }
  .crates-grid { grid-template-columns: repeat(2,1fr); }
  .modules-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links, #nav .btn { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 580px) {
  .crates-grid, .modules-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .whitelist-form { flex-direction: column; }
  #nav { padding: 16px 20px; }
}
