/* ============================================
   LYRA KOI — Minimalist Dark Luxury
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --black: #000000;
  --black-alt: #0a0a0a;
  --charcoal: #111111;
  --gold: #c9a96e;
  --gold-hover: #d4b87a;
  --gold-dim: rgba(201, 169, 110, 0.45);
  --gold-glow: rgba(201, 169, 110, 0.15);
  --text-primary: #f0ece6;
  --text-secondary: #c0b8ab;
  --text-muted: #8f877b;

  /* Typography */
  --font-display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --font-heading: 'Cormorant', 'Garamond', serif;
  --font-body: 'Outfit', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --content-width: 960px;
  --content-narrow: 680px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--black);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--gold-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Grain Overlay --- */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* Staggered children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.36s; }

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.site-header.header-visible {
  transform: translateY(0);
  opacity: 1;
}

.header-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--text-primary);
}

.header-cta {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 11px 28px;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  transition: all var(--transition-base);
}

.header-cta:hover {
  background: rgba(201, 169, 110, 0.1);
  border-color: var(--gold);
  color: var(--gold-hover);
}

.cta-star {
  font-size: 10px;
  margin-left: 4px;
  vertical-align: 1px;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Placeholder gradient — remove when real image added */
.hero-placeholder-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(201, 169, 110, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(40, 30, 15, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
  z-index: 0;
}

/* When real image is used */
.hero picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Dark overlay on real image */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-pre {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 24px;
  text-shadow: 0 0 20px rgba(201, 169, 110, 0.4);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out) 0.5s forwards;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.1em;
  color: rgba(240, 236, 230, 0.8);
  margin-bottom: 52px;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 1.1s forwards;
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 18px 48px;
  border-radius: 0;
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-hover);
  color: var(--black);
  box-shadow: 0 0 40px rgba(201, 169, 110, 0.3);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
  border: 1px solid rgba(201, 169, 110, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost .arrow {
  transition: transform var(--transition-base);
}

.btn-ghost:hover .arrow {
  transform: translateX(4px);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold-dim) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* --- Keyframes --- */

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ============================================
   SECTION SHARED STYLES
   ============================================ */

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

.gold-star {
  color: var(--gold);
  font-size: 16px;
  vertical-align: 2px;
}

/* ============================================
   ABOUT
   ============================================ */

.about {
  background: var(--black);
  padding: var(--section-padding) 24px;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(201, 169, 110, 0.05) 0%, transparent 70%),
    linear-gradient(180deg, #0d0d0d 0%, #080808 100%);
  border: 1px solid rgba(201, 169, 110, 0.08);
}

.about-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 110, 0.1);
}

.about-text {
  max-width: 480px;
}

.about-greeting {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.about-text p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.85;
}

.about-anchor {
  margin-top: 44px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* ============================================
   PLATFORMS
   ============================================ */

.platforms {
  background: var(--black-alt);
  padding: var(--section-padding) 24px;
}

.platforms-container {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.platforms .section-label {
  margin-bottom: 48px;
}

.platform-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 40px;
  border: 1px solid var(--gold-dim);
  background: rgba(201, 169, 110, 0.03);
  text-align: left;
  transition: all var(--transition-base);
  text-decoration: none;
}

.platform-card:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
  box-shadow: 0 0 40px rgba(201, 169, 110, 0.06);
}

.platform-icon {
  font-size: 24px;
  color: var(--gold);
  opacity: 0.7;
  transition: opacity var(--transition-base);
  flex-shrink: 0;
}

.platform-card:hover .platform-icon {
  opacity: 1;
}

.platform-info {
  flex: 1;
}

.platform-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.platform-desc {
  display: block;
  font-size: 18px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.platform-arrow {
  font-size: 22px;
  color: var(--gold);
  opacity: 0.5;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.platform-card:hover .platform-arrow {
  color: var(--gold);
  opacity: 1;
  transform: translateX(4px);
}

.platforms-note {
  font-size: 18px;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ============================================
   OFFERINGS
   ============================================ */

.offerings {
  background: var(--black);
}

.offerings-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--section-padding) 24px;
}

/* Header with lines */
.offerings-header {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  margin-bottom: 72px;
}

.separator-line {
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: var(--gold-dim);
}

.section-label-inline {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* Side-by-side offering row */
.offering-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0;
}

.offering-row-reverse {
  direction: rtl;
}

.offering-row-reverse > * {
  direction: ltr;
}

/* Offering image */
.offering-image {
  position: relative;
  overflow: hidden;
}

.offering-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 110, 0.15);
  display: block;
}

/* Placeholder shown when no real image loaded yet */
.offering-img-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(201, 169, 110, 0.04) 0%, transparent 70%),
    linear-gradient(180deg, #0d0d0d 0%, #080808 100%);
  border: 1px solid rgba(201, 169, 110, 0.08);
  z-index: 0;
}

/* Hide placeholder when real image loads successfully */
.offering-img[src]:not([src=""]) + .offering-img-placeholder {
  display: none;
}

/* Offering content */
.offering-content {
  text-align: left;
}

.offering-title {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.offering-price {
  font-family: var(--font-body);
  font-size: 19px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.price-amount {
  color: var(--gold);
  font-weight: 400;
}

.offering-desc {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 0 12px;
  line-height: 1.8;
}

.offering-details {
  list-style: none;
  margin: 24px 0 8px;
}

.offering-details li {
  font-size: 18px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.gold-emphasis {
  color: var(--gold);
  font-weight: 400;
}

/* Telegram CTA */
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 28px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gold-dim);
  transition: all var(--transition-base);
}

.btn-telegram:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.btn-telegram .arrow {
  transition: transform var(--transition-base);
}

.btn-telegram:hover .arrow {
  transform: translateX(4px);
}

/* Thin divider between offerings */
.offering-divider-thin {
  width: 60px;
  height: 1px;
  background: var(--gold-dim);
  margin: 0 auto;
}

/* Featured offering (keyholding) */
.offering-row-featured .offering-title {
  font-size: 50px;
}

/* ============================================
   GIFTS
   ============================================ */

.gifts {
  background: var(--charcoal);
  padding: 80px 24px;
}

.gifts-container {
  max-width: var(--content-narrow);
  margin: 0 auto;
  text-align: center;
}

.gifts-text {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.gifts-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.btn-pill {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px 40px;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  transition: all var(--transition-base);
}

.btn-pill:hover {
  background: rgba(201, 169, 110, 0.08);
  border-color: var(--gold);
}

.gifts-note {
  font-size: 18px;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--black);
  padding: 80px 24px 60px;
  text-align: center;
}

.footer-container {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.footer-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-bottom: 48px;
}

.footer-divider .separator-line {
  max-width: 80px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 44px;
}

.footer-socials {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.social-link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.social-link:hover {
  color: var(--gold);
}

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
  :root {
    --section-padding: 72px;
    --content-narrow: 560px;
  }

  body {
    font-size: 17px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 540px;
  }

  .about-image {
    order: -1;
  }

  .about-text {
    max-width: 100%;
  }

  .about-greeting {
    font-size: 38px;
  }

  .about-text p {
    font-size: 17px;
  }

  .offering-row {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 540px;
    margin: 0 auto;
  }

  .offering-row-reverse {
    direction: ltr;
  }

  .offering-content {
    text-align: center;
  }

  .offering-desc {
    margin: 0 auto 12px;
    font-size: 17px;
  }

  .offering-title {
    font-size: 32px;
  }

  .offering-row-featured .offering-title {
    font-size: 36px;
  }

  .offerings-container {
    padding: var(--section-padding) 24px;
  }

  .footer-name {
    font-size: 30px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --section-padding: 56px;
    --content-narrow: 100%;
  }

  body {
    font-size: 16px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-bg-img {
    object-position: center center;
  }

  .site-header {
    padding: 14px 20px;
  }

  .header-name {
    font-size: 14px;
    letter-spacing: 0.2em;
  }

  .header-cta {
    font-size: 13px;
    padding: 9px 20px;
  }

  .hero-name {
    letter-spacing: 0.12em;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 16px 32px;
    font-size: 14px;
  }

  .section-label {
    font-size: 13px;
  }

  .about-greeting {
    font-size: 34px;
  }

  .about-text p {
    font-size: 16px;
  }

  .platform-card {
    padding: 24px 24px;
  }

  .platform-name {
    font-size: 21px;
  }

  .platform-desc {
    font-size: 15px;
  }

  .offering-row {
    gap: 28px;
    padding: 36px 0;
  }

  .offering-title {
    font-size: 28px;
  }

  .offering-row-featured .offering-title {
    font-size: 30px;
  }

  .offering-desc {
    font-size: 16px;
  }

  .offering-price {
    font-size: 16px;
  }

  .btn-telegram {
    font-size: 14px;
  }

  .gifts-text {
    font-size: 16px;
  }

  .gifts-links {
    flex-direction: column;
    align-items: center;
  }

  .btn-pill {
    width: 240px;
    text-align: center;
    font-size: 14px;
  }

  .footer-name {
    font-size: 28px;
  }

  .footer-tagline {
    font-size: 17px;
  }

  .footer-socials {
    gap: 28px;
  }

  .social-link {
    font-size: 14px;
  }
}
