/* ========================================
   BROTHERIC FONT
   ======================================== */
@font-face {
  font-family: 'Brotheric';
  src: url('./fonts/Brotheric Regular Demo.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Brotheric Ink Bleed';
  src: url('./fonts/Brotheric Ink Bleed Demo.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* ========================================
   MEDIEVAL — GLOBAL RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark: #0a0a0a;
  --dark-secondary: #0e0e0e;
  --silver: #c0c0c0;
  --silver-light: #e0e0e0;
  --silver-dark: #808080;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Brotheric', 'Cinzel', serif;
  background-color: var(--dark);
  color: #c0c0c0;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: #d0d0d0;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffffff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.45) 50%,
    rgba(10, 10, 10, 0.75) 100%
  );
  z-index: 1;
}

.hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: heroTitleFadeIn 1.8s ease-out;
}

.hero-title {
  font-family: 'Brotheric', 'Cinzel Decorative', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  background: linear-gradient(
    180deg,
    #f0f0f0 0%,
    #ffffff 15%,
    #a8a8a8 30%,
    #e8e8e8 45%,
    #c0c0c0 50%,
    #f5f5f5 55%,
    #909090 70%,
    #d0d0d0 85%,
    #b0b0b0 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.15)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
  letter-spacing: 10px;
  text-transform: none;
  white-space: nowrap;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn-silver {
  padding: 16px 48px;
  font-family: 'Brotheric', 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: #c0c0c0;
  background: transparent;
  border: 1px solid rgba(180, 180, 180, 0.3);
  border-radius: 2px;
}

.hero-btn-silver:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.hero-btn-x {
  width: 52px;
  height: 52px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(180, 180, 180, 0.3);
  border-radius: 2px;
}

.hero-btn-x svg {
  width: 24px;
  height: 24px;
  fill: #c0c0c0;
}

.hero-btn-x:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.hero-btn-x:hover svg {
  fill: #ffffff;
}

.hero-ca {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: #ffffff;
  letter-spacing: 1px;
  margin-top: 8px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.hero-ca:hover {
  opacity: 0.8;
}

.ca-copy-hint {
  font-size: 0.7rem;
  color: #808080;
  margin-left: 8px;
}

.ca-copied-msg {
  font-size: 0.7rem;
  color: #ffffff;
  margin-left: 8px;
  display: none;
}

.hero-ca.copied .ca-copy-hint {
  display: none;
}

.hero-ca.copied .ca-copied-msg {
  display: inline;
}


/* Hero fade/blend into next section */
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--dark));
  z-index: 2;
  pointer-events: none;
}

@keyframes heroTitleFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes heroButtonFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   TYPEWRITER SECTION
   ======================================== */
.typewriter-section {
  padding: 100px 0 80px;
  background: var(--dark);
}

.typewriter-section .container {
  max-width: 800px;
  text-align: center;
  position: relative;
}

.typewriter-text {
  font-family: 'Brotheric', 'Cinzel', serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: #b0b0b0;
  line-height: 2;
  letter-spacing: 1px;
  display: inline;
}

.typewriter-cursor {
  display: inline;
  font-family: monospace;
  font-size: 1.4rem;
  color: #c0c0c0;
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
}

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

/* ========================================
   SECTION SHARED STYLES
   ======================================== */
.section-ornament {
  text-align: center;
  font-size: 1.2rem;
  color: #808080;
  letter-spacing: 12px;
  margin-bottom: 12px;
  opacity: 0.6;
}

.section-title {
  font-family: 'Brotheric', 'Cinzel Decorative', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  background: linear-gradient(180deg, #f0f0f0 0%, #ffffff 20%, #a8a8a8 45%, #e0e0e0 55%, #b0b0b0 80%, #d0d0d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  letter-spacing: 3px;
}

.section-desc {
  text-align: center;
  font-family: 'Brotheric', 'Cinzel', serif;
  font-size: 1.05rem;
  color: #b0b0b0;
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.85;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  padding: 100px 0 80px;
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.about-card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(15, 15, 15, 0.95));
  border: 1px solid rgba(180, 180, 180, 0.12);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
}

.about-card:hover {
  border-color: rgba(200, 200, 200, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-family: 'Brotheric', 'Cinzel', serif;
  font-size: 1.25rem;
  color: #e0e0e0;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.about-card p {
  font-family: 'Brotheric', 'Cinzel', serif;
  font-size: 0.95rem;
  color: #a0a0a0;
  line-height: 1.7;
}

/* ========================================
   HOW TO BUY SECTION
   ======================================== */
.how-to-buy {
  padding: 80px 0 100px;
  background: var(--dark);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.step-card {
  position: relative;
  background: linear-gradient(160deg, rgba(30, 30, 30, 0.9), rgba(15, 15, 15, 0.95));
  border: 1px solid rgba(180, 180, 180, 0.12);
  border-radius: 8px;
  padding: 40px 28px 32px;
  text-align: center;
  transition: all 0.4s ease;
}

.step-card:hover {
  border-color: rgba(200, 200, 200, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d0d0d0, #808080);
  color: var(--dark);
  font-family: 'Brotheric', 'Cinzel Decorative', serif;
  font-size: 0.95rem;
  font-weight: 400;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(180, 180, 180, 0.2);
}

.step-icon {
  display: none;
}

.step-card h3 {
  font-family: 'Brotheric', 'Cinzel', serif;
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.step-card p {
  font-family: 'Brotheric', 'Cinzel', serif;
  font-size: 0.9rem;
  color: #a0a0a0;
  line-height: 1.7;
}

.step-card a {
  color: #d0d0d0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.step-card a:hover {
  color: #ffffff;
}

.buy-note {
  margin-top: 48px;
  text-align: center;
  background: rgba(180, 180, 180, 0.04);
  border: 1px solid rgba(180, 180, 180, 0.12);
  border-radius: 8px;
  padding: 20px 28px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.buy-note p {
  font-family: 'Brotheric', 'Cinzel', serif;
  font-size: 0.95rem;
  color: #a0a0a0;
  line-height: 1.6;
}

/* ========================================
   FOOTER SECTION
   ======================================== */
.footer-section {
  padding: 48px 0;
  background: var(--dark);
  border-top: 1px solid rgba(180, 180, 180, 0.08);
  text-align: center;
}

.footer-ornament {
  font-size: 1.5rem;
  color: #808080;
  opacity: 0.5;
  margin-bottom: 16px;
}

.footer-text {
  font-family: 'Brotheric', 'Cinzel', serif;
  font-size: 0.95rem;
  color: #c0c0c0;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.footer-sub {
  font-family: 'Brotheric', 'Cinzel', serif;
  font-size: 0.8rem;
  color: #808080;
  opacity: 0.6;
  letter-spacing: 1px;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .hero-title {
    letter-spacing: 3px;
  }

  .hero-btn-silver {
    padding: 14px 32px;
    font-size: 0.95rem;
  }

  .hero-btn-x {
    width: 46px;
    height: 46px;
  }

  .about-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .about {
    padding: 80px 0 60px;
  }

  .how-to-buy {
    padding: 60px 0 80px;
  }
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #606060;
}
