/* VARIABLES ------------------------------------------------------- */
:root {
  --accent: #ff5e26;       /* fiery orange */
  --accent-dark: #b43a12;  /* ember */
  --cyan: #00ffff;         /* neon cyan */
  --text: #ffffff;
  --bg: #000000;
  --bg-soft: #0b2447;      /* optional deep-blue tone */
}

/* GOOGLE FONT ------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Play:wght@400;600;700&display=swap");

/* GLOBAL RESET, BASE STYLES ------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Play", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  opacity: 0;
  animation: fadeIn 0.4s ease-out forwards;
}

/* Fade-in on load */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* LAYOUT STRUCTURE ------------------------------------------------------- */
.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.hero-logo-wrap {
  flex: 0 0 420px;
  min-width: 420px;
}

.hero-logo {
  max-width: 420px;
  height: auto;
}

/* MOBILE LOGO OVERRIDE ------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-logo {
    max-width: 80vw;
    min-width: 0;
  }

  .hero-logo-wrap {
    min-width: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* TYPOGRAPHY ------------------------------------------------------- */
.hero-text {
  flex: 1 1 280px;
  min-width: 340px;
  text-align: left;
}

.hero-title {
  margin: 0 0 0.25rem;
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;

  /* Chrome‑optimized fire glow */
  text-shadow:
    0 0 4px var(--accent),
    0 0 10px rgba(255, 120, 60, 0.85),
    0 0 18px rgba(255, 90, 30, 0.55),
    0 0 32px rgba(255, 70, 20, 0.35),
    0 0 48px rgba(255, 60, 10, 0.25);
}

.hero-strong {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text);
}

.hero-body {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  max-width: 36rem;
  color: var(--text);
}

/* INLINE LINKS ------------------------------------------------------- */
.inline-link {
  color: var(--cyan);
  text-decoration: underline;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.inline-link:hover {
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan);
}

/* SPINNING LOGO ------------------------------------------------------- */
.logo-spin {
  animation: coinSpin 6s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
  animation-delay: 0.8s;
  transform-style: preserve-3d;
}

@keyframes coinSpin {
  0% { transform: rotateY(0deg); }
  66.666% { transform: rotateY(2160deg); }
  100% { transform: rotateY(2160deg); }
}

/* CONTACT REVEAL ------------------------------------------------------- */
.contact-reveal {
  margin: 1rem 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reveal-label {
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan), 0 0 12px rgba(0, 255, 255, 0.4);
}

.reveal-input {
  width: 4rem;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--cyan);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.25);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.reveal-input:focus {
  outline: none;
  border-color: var(--cyan);
  background: #153463;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.45);
}

#contact-info {
  opacity: 0;
  transition: opacity 0.4s ease;
}

#contact-info.show {
  opacity: 1;
}

.contact-link {
  color: var(--cyan);
  text-decoration: none;
  text-shadow: 0 0 8px var(--cyan), 0 0 12px rgba(0, 255, 255, 0.4);
}

.contact-link:hover {
  text-decoration: underline;
}

/* CONTACT ROW ------------------------------------------------------- */
.contact-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-right {
  opacity: 0;
  transition: opacity 0.4s ease;
  font-size: 1.2rem;
  line-height: 1.6rem;
}

.contact-right.show {
  opacity: 1;
}

/* SOCIAL LINKS ------------------------------------------------------- */
.simple-links-wrap {
  margin-top: 1.75rem;
  text-align: left;
}

.simple-links-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.simple-links-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 1.1rem;
}

.simple-link {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.simple-link:hover {
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan);
}

.divider {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

/* RESPONSIVE ADJUSTMENTS ------------------------------------------------------- */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: left;
  }

  .hero-logo-wrap {
    flex: none;
    min-width: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .hero-logo {
    max-width: 80vw;
    height: auto;
  }

  .hero-text {
    min-width: 0;
    width: 100%;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* UTILITIES, SPACING ------------------------------------------------------- */
.hero-body + .contact-row {
  margin-top: 0.3rem;
}

.hero-body.hero-strong {
  margin-bottom: 0.2rem;
}

/* MODALS ------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  z-index: 9999;
}

.modal-content {
  position: relative;
  background: rgba(0, 0, 0, 0.85); /* 🔥 true black glass */
  backdrop-filter: blur(10px);
  color: var(--text);
  padding: 2.5rem 2rem 2rem;       /* 🔥 optical centering fix */
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.4);
}

.close {
  position: absolute;              /* 🔥 removes layout shift */
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal[hidden] {
  display: none !important;
}
