:root {
  --bg: #0a0706;
  --panel: rgba(28, 18, 12, 0.88);
  --panel-2: rgba(20, 12, 8, 0.95);
  --text: #f3dfc6;
  --muted: #d6b892;
  --gold: #efb15d;
  --gold-bright: #ffd086;
  --ember: #ff9440;
  --line: rgba(255, 196, 124, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(226, 134, 37, 0.12), transparent 26%),
    radial-gradient(circle at top left, rgba(255, 166, 72, 0.08), transparent 20%),
    linear-gradient(180deg, #140c08 0%, #0b0807 45%, #080606 100%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 6, 5, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
}

.main-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
}

.main-nav a:hover,
.text-link:hover { color: var(--gold-bright); }

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
}

.cinematic-hero { isolation: isolate; }

.hero-bg,
.project-atmosphere,
.hero-fog,
.project-fog,
.project-glow,
.hero-overlay,
#embers-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-1 {
  background:
    radial-gradient(circle at 75% 28%, rgba(255, 189, 94, 0.24), transparent 16%),
    radial-gradient(circle at 15% 80%, rgba(120, 42, 16, 0.28), transparent 26%),
    linear-gradient(180deg, rgba(10, 7, 6, 0.25), rgba(10, 7, 6, 0.92));
  z-index: -5;
}

.hero-bg-2 {
  background:
    linear-gradient(115deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.72) 58%),
    radial-gradient(circle at 86% 20%, rgba(255, 146, 64, 0.15), transparent 24%);
  z-index: -4;
}

.hero-overlay {
  background: radial-gradient(circle at 74% 36%, rgba(255, 167, 70, 0.1), transparent 24%);
  z-index: -2;
}

.hero-fog,
.project-fog {
  filter: blur(26px);
  opacity: 0.32;
  mix-blend-mode: screen;
}

.fog-1 {
  z-index: -3;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12), transparent 16%),
    radial-gradient(circle at 62% 26%, rgba(255, 177, 94, 0.16), transparent 12%),
    radial-gradient(circle at 78% 70%, rgba(255,255,255,0.10), transparent 18%);
  animation: driftFog 22s linear infinite alternate;
}

.fog-2 {
  z-index: -3;
  background:
    radial-gradient(circle at 15% 70%, rgba(255,255,255,0.08), transparent 16%),
    radial-gradient(circle at 85% 18%, rgba(255, 180, 110, 0.10), transparent 14%);
  animation: driftFogSlow 28s linear infinite alternate;
}

.fog-3 {
  z-index: 0;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 201, 130, 0.14), transparent 16%),
    radial-gradient(circle at 50% 75%, rgba(255,255,255,0.06), transparent 22%);
  animation: driftFog 18s linear infinite alternate;
}

#embers-canvas {
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero-grid,
.story-grid,
.two-col,
.featured-wrap {
  display: grid;
  gap: 2rem;
}

.cinematic-grid,
.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.eyebrow,
.section-tag,
.project-badge,
.panel-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
}

.eyebrow,
.section-tag,
.panel-kicker { color: var(--gold); }

h1, h2, h3 {
  margin: 0 0 1rem;
  font-family: 'Cinzel', serif;
  line-height: 1.08;
}

h1 { font-size: clamp(2.7rem, 5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 3vw, 3.4rem); }
h3 { font-size: 1.35rem; }

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 64ch;
}

.narrow { max-width: 48rem; }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.center-actions { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(180deg, #ffcc84, #d88a36);
  color: #1b110a;
  box-shadow: 0 10px 25px rgba(216, 138, 54, 0.28);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 208, 134, 0.35);
  color: var(--text);
}

.section { padding: 5rem 0; }
.alt-bg { background: rgba(255, 182, 93, 0.03); }
.small-hero { padding: 4.5rem 0 2rem; }
.stack { display: grid; gap: 1.5rem; }

.card {
  background: linear-gradient(180deg, rgba(34, 22, 15, 0.95), rgba(19, 13, 10, 0.94));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.glow {
  box-shadow:
    0 0 0 1px rgba(255, 198, 128, 0.1),
    0 10px 40px rgba(255, 146, 41, 0.1),
    var(--shadow);
}

.cinematic-logo {
  padding: 1.2rem;
  background:
    radial-gradient(circle at center, rgba(255, 166, 72, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(34, 22, 15, 0.95), rgba(19, 13, 10, 0.94));
  position: relative;
}

.cinematic-logo::after {
  content: "";
  position: absolute;
  inset: -14px;
  background: radial-gradient(circle at center, rgba(255, 170, 70, 0.18), transparent 56%);
  z-index: -1;
}

.hero-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.floating-logo {
  animation: floatLogo 6s ease-in-out infinite;
  will-change: transform;
}

.scroll-cue {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 208, 134, 0.76);
}

.stat-band { padding-top: 0; }

.stat-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(22, 14, 10, 0.76);
  box-shadow: var(--shadow);
}

.stat-value {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  color: var(--gold-bright);
}

.stat-label { color: var(--muted); }

.story-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.story-copy p,
.story-panel p,
.project-copy p,
.service-card p,
.project-card p,
.project-detail p,
.card p {
  color: var(--muted);
}

.story-panel {
  position: relative;
  overflow: hidden;
}

.story-panel::after {
  content: "";
  position: absolute;
  inset: auto -6% -35% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 157, 61, 0.18), transparent 62%);
}

.mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.mini-points span {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 208, 134, 0.2);
  background: rgba(255, 181, 93, 0.05);
  color: var(--text);
  font-size: 0.95rem;
}

.section-heading { max-width: 56rem; }

.service-grid,
.project-grid,
.cinematic-cards {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card { min-height: 220px; }

.project-badge {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--gold-bright);
}

.project-showcase { position: relative; }

.project-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 208, 134, 0.08);
  border-bottom: 1px solid rgba(255, 208, 134, 0.08);
  isolation: isolate;
}

.project-panel-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: 6rem 0;
}

.project-panel-inner.reverse {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.project-copy {
  max-width: 42rem;
  position: relative;
  z-index: 2;
}

.project-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4.8rem);
}

.project-lead {
  font-size: 1.16rem;
  color: var(--text);
}

.project-atmosphere {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center center;
  opacity: 1;
  transform: scale(1.16);
  will-change: transform;
  z-index: -3;
}

.project-glow {
  z-index: -2;
  background:
    radial-gradient(circle at 76% 34%, rgba(255, 196, 110, 0.18), transparent 10%),
    radial-gradient(circle at 82% 30%, rgba(255, 120, 40, 0.14), transparent 18%);
  animation: pulseGlow 6s ease-in-out infinite;
}

.dragonlands-panel .project-atmosphere {
  background-image:
    linear-gradient(100deg, rgba(8, 6, 5, 0.20) 0%, rgba(8, 6, 5, 0.82) 62%),
    radial-gradient(circle at 78% 34%, rgba(255, 174, 76, 0.22), transparent 16%),
    radial-gradient(circle at 88% 20%, rgba(255, 120, 44, 0.14), transparent 24%),
    url("dragonlands.jpg");
  background-position: center 42%;
}

.raven-panel .project-atmosphere {
  background:
    linear-gradient(260deg, rgba(8, 6, 5, 0.15) 0%, rgba(8, 6, 5, 0.78) 58%),
    radial-gradient(circle at 26% 30%, rgba(122, 132, 182, 0.16), transparent 16%),
    radial-gradient(circle at 24% 55%, rgba(100, 82, 140, 0.14), transparent 26%),
    linear-gradient(180deg, #15111e 0%, #0b080d 100%);
}

.drifters-panel .project-atmosphere {
  background-image:
    linear-gradient(100deg, rgba(7, 7, 10, 0.18) 0%, rgba(7, 7, 10, 0.80) 62%),
    linear-gradient(135deg, rgba(0, 214, 255, 0.10), rgba(255, 94, 58, 0.10)),
    radial-gradient(circle at 70% 48%, rgba(255, 124, 60, 0.22), transparent 14%),
    radial-gradient(circle at 80% 54%, rgba(76, 176, 255, 0.24), transparent 16%),
    radial-gradient(circle at 62% 62%, rgba(255, 80, 0, 0.10), transparent 18%),
    url("drifters.jpg");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.drifters-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    repeating-linear-gradient(
      -12deg,
      rgba(120, 210, 255, 0.00) 0px,
      rgba(120, 210, 255, 0.00) 22px,
      rgba(120, 210, 255, 0.035) 28px,
      rgba(120, 210, 255, 0.00) 42px
    ),
    linear-gradient(90deg, rgba(0,0,0,0.05), rgba(0,0,0,0));
  mix-blend-mode: screen;
}

.drifters-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 52%, rgba(88, 183, 255, 0.18), transparent 12%),
    radial-gradient(circle at 70% 50%, rgba(255, 120, 40, 0.16), transparent 14%);
  animation: driftPulse 4.8s ease-in-out infinite;
}

.drifters-panel .project-copy .section-tag {
  color: #8fd5ff;
}

.drifters-panel .project-copy .btn-primary {
  background: linear-gradient(180deg, #9fdfff, #ff9758);
  color: #101014;
  box-shadow: 0 10px 25px rgba(88, 183, 255, 0.22);
}

.text-link {
  color: var(--gold-bright);
  font-weight: 700;
}

.cta-card { text-align: center; }

.cinematic-subhero {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 166, 72, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(24, 14, 9, 0.88), rgba(10, 7, 6, 0.65));
}

.cinematic-detail-stack { gap: 1.8rem; }
.project-detail { max-width: 70rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2.2rem;
  background: rgba(8, 6, 5, 0.9);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-wrap p { margin: 0.3rem 0 0; color: var(--muted); }
.footer-wrap a { color: var(--muted); margin-left: 1rem; }

.reveal-up {
  animation: revealUp 0.8s ease both;
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes driftFog {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(2%, -1.5%, 0) scale(1.06); }
}

@keyframes driftFogSlow {
  from { transform: translate3d(2%, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 1.2%, 0) scale(1.08); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-up,
  .floating-logo,
  .hero-fog,
  .project-fog,
  .project-glow { animation: none; }
  .project-atmosphere { transform: none !important; }
}

@media (max-width: 980px) {
  .hero-grid,
  .cinematic-grid,
  .story-grid,
  .service-grid,
  .project-grid,
  .cinematic-cards,
  .stat-grid,
  .project-panel-inner,
  .project-panel-inner.reverse {
    grid-template-columns: 1fr;
  }

  .project-panel { min-height: 78vh; }
  .project-panel-inner,
  .project-panel-inner.reverse { padding: 4.5rem 0; }
}

@media (max-width: 900px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero { min-height: auto; padding-top: 3.4rem; }
  .section { padding: 3.4rem 0; }
  .main-nav { gap: 0.8rem; }
  .card { padding: 1.2rem; border-radius: 20px; }
  .scroll-cue { display: none; }
  .footer-wrap a { margin-left: 0.7rem; }
}


@keyframes driftPulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}


.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(30, 18, 12, 0.96), rgba(14, 10, 8, 0.96));
}

.contact-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 156, 70, 0.16), transparent 18%),
    radial-gradient(circle at 82% 26%, rgba(255, 208, 134, 0.14), transparent 16%),
    radial-gradient(circle at 72% 78%, rgba(90, 170, 255, 0.10), transparent 18%),
    linear-gradient(120deg, rgba(255, 156, 70, 0.06), rgba(255, 255, 255, 0.01));
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -38% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 145, 56, 0.20), transparent 64%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  padding: 3rem;
  text-align: center;
}

.contact-inner h2 {
  margin-bottom: 1rem;
}

.contact-lead {
  max-width: 46rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

@media (max-width: 640px) {
  .contact-inner {
    padding: 2rem 1.2rem;
  }
}


/* TECH BADGE CINEMATIC UPGRADE */
.tech-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.tech-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

.tech-icon {
  width: 34px;
  opacity: 0.75;
  transition: all 0.3s ease;
  filter:
    drop-shadow(0 0 6px rgba(255,120,40,0.4));
}

.tech-icon:hover {
  opacity: 1;
  transform: scale(1.15);
  filter:
    drop-shadow(0 0 12px rgba(255,140,60,0.7))
    brightness(1.2);
}

/* subtle ember flicker */
@keyframes emberFlicker {
  0%,100% { filter: drop-shadow(0 0 6px rgba(255,120,40,0.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(255,160,80,0.7)); }
}

.tech-icon.html5 {
  animation: emberFlicker 3s ease-in-out infinite;
}


.full-tech-stack {
  flex-direction: column;
  align-items: flex-start;
}

.tech-icons {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.tech-icon {
  width: 32px;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.tech-icon:hover {
  transform: scale(1.2);
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255,140,60,0.7));
}


.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(30, 18, 12, 0.96), rgba(14, 10, 8, 0.96));
}

.contact-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 156, 70, 0.16), transparent 18%),
    radial-gradient(circle at 82% 26%, rgba(255, 208, 134, 0.14), transparent 16%),
    radial-gradient(circle at 72% 78%, rgba(90, 170, 255, 0.10), transparent 18%),
    linear-gradient(120deg, rgba(255, 156, 70, 0.06), rgba(255, 255, 255, 0.01));
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -38% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 145, 56, 0.20), transparent 64%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  padding: 3rem;
  text-align: center;
}

.contact-lead {
  max-width: 46rem;
  margin: 0 auto 1.6rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.quote-form {
  max-width: 900px;
  margin: 0 auto;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.45rem;
}

.field span {
  color: var(--gold-bright);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 208, 134, 0.2);
  border-radius: 16px;
  background: rgba(12, 9, 8, 0.8);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(214, 184, 146, 0.7);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(255, 208, 134, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 170, 70, 0.08);
  background: rgba(18, 12, 10, 0.92);
}

.field textarea {
  resize: vertical;
  min-height: 160px;
}

.field-full {
  margin-bottom: 1.2rem;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.contact-note {
  margin-top: 1.4rem;
  color: var(--muted);
}

.contact-email {
  color: var(--gold-bright);
  font-weight: 700;
}

@media (max-width: 700px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    padding: 2rem 1.2rem;
  }
}



/* Hostinger-safe form control hardening */
.quote-form input,
.quote-form select,
.quote-form textarea,
.quote-form button,
.quote-form .btn {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 16px;
  font: inherit;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 208, 134, 0.22);
  background: rgba(12, 9, 8, 0.88);
  color: #f3dfc6;
  padding: 0.95rem 1rem;
  box-shadow: none;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(214, 184, 146, 0.72);
}

.quote-form select {
  padding-right: 3rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffd086 50%),
    linear-gradient(135deg, #ffd086 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.quote-form button,
.quote-form .btn {
  cursor: pointer;
  border: 0;
}

.quote-form select::-ms-expand {
  display: none;
}

.quote-form input:-webkit-autofill,
.quote-form input:-webkit-autofill:hover,
.quote-form input:-webkit-autofill:focus,
.quote-form textarea:-webkit-autofill,
.quote-form textarea:-webkit-autofill:hover,
.quote-form textarea:-webkit-autofill:focus,
.quote-form select:-webkit-autofill,
.quote-form select:-webkit-autofill:hover,
.quote-form select:-webkit-autofill:focus {
  -webkit-text-fill-color: #f3dfc6;
  -webkit-box-shadow: 0 0 0 1000px rgba(12, 9, 8, 0.88) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.quote-form select option {
  background: #140c08;
  color: #f3dfc6;
}




/* Dragonlands AAA marketing upgrade */
.trailer-btn {
  border: 1px solid rgba(120, 180, 255, 0.4);
  color: #8fd5ff;
  background: rgba(120, 180, 255, 0.06);
}

.trailer-btn:hover {
  background: rgba(120, 180, 255, 0.12);
  transform: translateY(-2px);
}

.conversion-subtext {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: rgba(255, 208, 134, 0.75);
  letter-spacing: 0.04em;
}

.glow-badge {
  animation: badgePulse 2.5s infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

.trailer-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
}

.trailer-content {
  position: relative;
  width: min(92vw, 980px);
}

.trailer-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border: 1px solid rgba(255, 208, 134, 0.18);
  border-radius: 14px;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.close-trailer {
  position: absolute;
  top: -46px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-play-btn {
  margin-top: 1rem;
  display: inline-flex;
}

@media (max-width: 640px) {
  .trailer-content iframe {
    min-height: 220px;
  }
}
