/* Gothic Dark Illustration — Hortz Enterprises */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gothic-bg: #0a0810;
  --gothic-bg-alt: #110e18;
  --gothic-surface: #16121f;
  --gothic-surface-2: #1e1828;
  --gothic-ink: #e8e0d4;
  --gothic-ink-muted: #9a8f82;
  --gothic-ink-faint: #5c534a;

  --gothic-crimson: #8b1538;
  --gothic-crimson-bright: #b81d45;
  --gothic-crimson-glow: rgba(184, 29, 69, 0.35);
  --gothic-gold: #c9a227;
  --gothic-gold-dim: #8a7020;
  --gothic-purple: #2d1b4e;
  --gothic-purple-deep: #1a1028;

  --gothic-border: rgba(201, 162, 39, 0.28);
  --gothic-border-strong: rgba(201, 162, 39, 0.55);
  --gothic-divider: rgba(232, 224, 212, 0.08);

  --elevation-1: 0 2px 8px rgba(0, 0, 0, 0.5);
  --elevation-2: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 1px rgba(201, 162, 39, 0.15);
  --elevation-3: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 24px rgba(139, 21, 56, 0.12);
  --elevation-4: 0 12px 48px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 21, 56, 0.18);
  --elevation-6: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 60px rgba(201, 162, 39, 0.08);

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;

  --transition-fast: 180ms ease;
  --transition-standard: 320ms ease;
  --transition-emphasized: 480ms cubic-bezier(0.22, 1, 0.36, 1);

  /* legacy aliases for script.js */
  --md-primary: var(--gothic-crimson);
  --md-primary-dark: #5c0e24;
  --md-on-primary: var(--gothic-ink);
  --md-accent: var(--gothic-gold);
  --md-on-accent: #0a0810;
  --md-on-surface: var(--gothic-ink);
  --md-on-surface-variant: var(--gothic-ink-muted);
  --md-divider: var(--gothic-divider);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
  color: var(--gothic-ink);
  background: var(--gothic-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* atmospheric overlays */
.gothic-grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gothic-vignette {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ornamental divider */
.gothic-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  color: var(--gothic-gold);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  opacity: 0.7;
}

.gothic-divider::before,
.gothic-divider::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gothic-border-strong), transparent);
}

/* gothic frame */
.gothic-frame {
  position: relative;
  border: 1px solid var(--gothic-border);
  box-shadow:
    inset 0 0 40px rgba(139, 21, 56, 0.06),
    var(--elevation-2);
}

.gothic-frame::before,
.gothic-frame::after {
  content: "◆";
  position: absolute;
  color: var(--gothic-gold-dim);
  font-size: 0.55rem;
  opacity: 0.8;
}

.gothic-frame::before { top: 8px; left: 10px; }
.gothic-frame::after { bottom: 8px; right: 10px; }

/* ripple */
.md-ripple-host {
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.md-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.35);
  transform: scale(0);
  animation: md-ripple 700ms ease;
  pointer-events: none;
}

.md-ripple-host.md-ripple-dark .md-ripple {
  background: rgba(139, 21, 56, 0.25);
}

@keyframes md-ripple {
  to { transform: scale(4); opacity: 0; }
}

/* navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 8, 16, 0.92);
  backdrop-filter: blur(12px);
  color: var(--gothic-ink);
  border-bottom: 1px solid var(--gothic-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  transition: box-shadow var(--transition-standard), border-color var(--transition-standard);
}

.navbar.scrolled {
  border-bottom-color: var(--gothic-border-strong);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(139, 21, 56, 0.1);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gothic-ink);
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: linear-gradient(145deg, var(--gothic-crimson), var(--gothic-purple-deep));
  color: var(--gothic-gold);
  font-family: "Cinzel Decorative", serif;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid var(--gothic-border-strong);
  box-shadow: 0 0 16px var(--gothic-crimson-glow);
}

.logo-text {
  max-width: 220px;
  line-height: 1.25;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-link {
  color: var(--gothic-ink-muted);
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast), text-shadow var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-link:hover {
  color: var(--gothic-gold);
  background: rgba(201, 162, 39, 0.08);
  text-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

.nav-link.active {
  color: var(--gothic-ink);
  background: rgba(139, 21, 56, 0.2);
  border: 1px solid rgba(139, 21, 56, 0.35);
}

/* buttons */
.btn-nav,
.btn,
button {
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 26px;
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    box-shadow var(--transition-standard),
    background var(--transition-fast),
    transform var(--transition-fast),
    border-color var(--transition-fast);
  overflow: hidden;
}

.btn-nav {
  background: linear-gradient(180deg, var(--gothic-crimson-bright), var(--gothic-crimson));
  color: var(--gothic-ink);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: var(--elevation-2), 0 0 20px var(--gothic-crimson-glow);
}

.btn-nav:hover {
  box-shadow: var(--elevation-4), 0 0 32px var(--gothic-crimson-glow);
  border-color: var(--gothic-gold);
}

.btn-nav:active {
  transform: translateY(1px);
}

.btn { min-height: 44px; }

.btn-primary {
  background: linear-gradient(180deg, var(--gothic-crimson-bright), var(--gothic-crimson));
  color: var(--gothic-ink);
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: var(--elevation-2), 0 0 16px rgba(139, 21, 56, 0.25);
}

.btn-primary:hover {
  border-color: var(--gothic-gold);
  box-shadow: var(--elevation-4), 0 0 28px var(--gothic-crimson-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--gothic-gold);
  border: 1px solid var(--gothic-border-strong);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(201, 162, 39, 0.08);
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.12);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.68rem;
  min-height: 36px;
}

/* hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 88px;
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(45, 27, 78, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(139, 21, 56, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #0f0c16 0%, var(--gothic-bg) 70%);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-illustration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75%;
  opacity: 0.75;
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 16, 0.3) 0%, rgba(10, 8, 16, 0.85) 55%, var(--gothic-bg) 100%),
    radial-gradient(ellipse 40% 30% at 75% 15%, rgba(201, 162, 39, 0.08), transparent);
}

/* floating embers */
.particles .particle {
  display: block;
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gothic-gold);
  opacity: 0;
  box-shadow: 0 0 6px var(--gothic-gold);
  animation: emberFloat 8s ease-in-out infinite;
}

.particles .particle:nth-child(1) { left: 10%; top: 30%; animation-delay: 0s; }
.particles .particle:nth-child(2) { left: 25%; top: 50%; animation-delay: 1.2s; }
.particles .particle:nth-child(3) { left: 40%; top: 25%; animation-delay: 2.4s; }
.particles .particle:nth-child(4) { left: 55%; top: 45%; animation-delay: 0.8s; }
.particles .particle:nth-child(5) { left: 70%; top: 35%; animation-delay: 3s; }
.particles .particle:nth-child(6) { left: 85%; top: 55%; animation-delay: 1.8s; }
.particles .particle:nth-child(7) { left: 15%; top: 65%; animation-delay: 4s; }
.particles .particle:nth-child(8) { left: 60%; top: 20%; animation-delay: 2s; }
.particles .particle:nth-child(9) { left: 90%; top: 40%; animation-delay: 3.5s; }
.particles .particle:nth-child(10) { left: 35%; top: 70%; animation-delay: 5s; }

@keyframes emberFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.7; }
  50% { opacity: 0.4; transform: translateY(-40px) scale(1); }
  80% { opacity: 0; }
}

.animated-shapes .shape {
  display: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge,
.section-tag {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 20px;
  border: 1px solid var(--gothic-border);
  background: rgba(22, 18, 31, 0.8);
  color: var(--gothic-gold);
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-title {
  font-family: "Cinzel Decorative", serif;
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--gothic-ink);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
}

.title-line { display: block; }

.title-line.highlight {
  color: var(--gothic-gold);
  font-weight: 700;
  text-shadow: 0 0 40px rgba(201, 162, 39, 0.25);
}

.hero-subtitle {
  max-width: 780px;
  margin: 0 auto 36px;
  color: var(--gothic-ink-muted);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats .stat-item {
  background: var(--gothic-surface);
  padding: 20px 28px;
  border: 1px solid var(--gothic-border);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-2);
  min-width: 130px;
  transition: box-shadow var(--transition-standard), transform var(--transition-standard), border-color var(--transition-standard);
}

.hero-stats .stat-item:hover {
  box-shadow: var(--elevation-4);
  transform: translateY(-3px);
  border-color: var(--gothic-border-strong);
}

.hero-stats .stat-number {
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--gothic-gold);
  letter-spacing: 0.08em;
}

.stat-label {
  color: var(--gothic-ink-muted);
  font-size: 0.78rem;
  margin-top: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scroll-indicator { display: none; }

/* sections */
section {
  padding: 88px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-title {
  font-family: "Cinzel Decorative", serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gothic-ink);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

.section-subtitle,
.about-body,
.game-description,
.career-description,
.news-excerpt {
  color: var(--gothic-ink-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.about-block {
  max-width: 860px;
  margin: 0 auto;
  background: var(--gothic-surface);
  padding: 36px 44px;
  border-radius: var(--radius-lg);
}

.about-lead {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: var(--gothic-ink);
  font-weight: 400;
  font-style: italic;
}

.about-first {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(45, 27, 78, 0.2), transparent),
    var(--gothic-bg);
}

.games-section,
.stats-section,
.news-section {
  background:
    linear-gradient(180deg, var(--gothic-bg-alt) 0%, var(--gothic-bg) 100%);
}

.games-section::before,
.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gothic-border), transparent);
}

.games-grid,
.stats-grid,
.careers-grid,
.news-grid {
  display: grid;
  gap: 24px;
}

.games-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.careers-grid,
.news-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* cards */
.game-card,
.stat-card,
.career-card,
.news-card,
.feature-item,
.info-card,
.contact-form {
  background: var(--gothic-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gothic-border);
  box-shadow: var(--elevation-2);
  transition:
    box-shadow var(--transition-standard),
    transform var(--transition-standard),
    border-color var(--transition-standard);
}

.game-card { overflow: hidden; }

.game-card.featured {
  border-color: var(--gothic-border-strong);
  box-shadow: var(--elevation-3), 0 0 30px rgba(139, 21, 56, 0.1);
}

.game-card:hover,
.stat-card:hover,
.career-card:hover,
.news-card:hover,
.feature-item:hover,
.info-card:hover {
  box-shadow: var(--elevation-6);
  transform: translateY(-4px);
  border-color: var(--gothic-border-strong);
}

.game-card:active,
.stat-card:active,
.info-card:active {
  transform: translateY(0);
}

.game-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.game-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 8, 16, 0.7) 100%);
  pointer-events: none;
}

.game-placeholder,
.about-placeholder,
.news-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* illustrated card panels — etched gothic scenes */
.game-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23c9a227' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
}

.game-overlay-content {
  text-align: center;
  color: var(--gothic-ink);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  position: relative;
  z-index: 1;
}

.game-overlay-content h3 {
  font-family: "Cinzel Decorative", serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gothic-gold);
  letter-spacing: 0.1em;
}

.game-overlay-content p {
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gothic-ink-muted);
  margin-top: 4px;
}

.game-1 {
  background:
    radial-gradient(ellipse at 30% 70%, rgba(139, 21, 56, 0.4), transparent 60%),
    linear-gradient(160deg, #1a1028 0%, #0f0c16 50%, #1e1528 100%);
}
.game-2 {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(45, 27, 78, 0.5), transparent 55%),
    linear-gradient(200deg, #14101c 0%, #0a0810 60%, #1a1428 100%);
}
.game-3 {
  background:
    radial-gradient(ellipse at 50% 80%, rgba(201, 162, 39, 0.15), transparent 50%),
    linear-gradient(170deg, #1e1828 0%, #110e18 50%, #1a1028 100%);
}
.game-4 {
  background:
    radial-gradient(ellipse at 60% 40%, rgba(139, 21, 56, 0.3), transparent 55%),
    linear-gradient(190deg, #16121f 0%, #0a0810 50%, #2d1b4e 100%);
}

.news-1 { background: linear-gradient(135deg, var(--gothic-purple-deep), var(--gothic-crimson)); }
.news-2 { background: linear-gradient(135deg, var(--gothic-bg-alt), var(--gothic-purple)); }
.news-3 { background: linear-gradient(135deg, var(--gothic-surface-2), var(--gothic-purple-deep)); }

.game-overlay { display: none; }

.game-content,
.news-content,
.stat-card,
.feature-item,
.info-card {
  padding: 22px 24px;
}

.game-title,
.career-title,
.news-title {
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--gothic-ink);
  letter-spacing: 0.06em;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.tag,
.career-category,
.news-badge,
.game-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: rgba(139, 21, 56, 0.15);
  color: var(--gothic-gold);
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.game-badge.coming,
.game-badge.popular {
  background: rgba(45, 27, 78, 0.3);
  color: var(--gothic-ink-muted);
  border-color: var(--gothic-border);
}

.game-actions { margin-top: 10px; }

.about-section {
  background: var(--gothic-bg);
}

.about-content {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
}

.about-features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-item {
  text-align: center;
  padding: 28px 16px !important;
}

.gothic-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  color: var(--gothic-gold);
}

.gothic-icon svg {
  width: 100%;
  height: 100%;
}

.feature-icon { font-size: 0; }

.feature-item h4 {
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
  color: var(--gothic-ink);
}

.feature-item p {
  font-size: 0.82rem;
  color: var(--gothic-ink-muted);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  border: 1px solid var(--gothic-border-strong);
  box-shadow: var(--elevation-3), 0 0 40px rgba(139, 21, 56, 0.1);
}

.about-placeholder {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(201, 162, 39, 0.12), transparent 50%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M200 40 L220 120 L300 120 L235 170 L260 250 L200 200 L140 250 L165 170 L100 120 L180 120 Z' fill='none' stroke='%23c9a227' stroke-width='1' opacity='0.3'/%3E%3Cpath d='M80 260 L120 100 L160 260 Z' fill='%231a1028' stroke='%233d2f52' stroke-width='1'/%3E%3Cpath d='M240 260 L280 80 L320 260 Z' fill='%2314101c' stroke='%233d2f52' stroke-width='1'/%3E%3Ccircle cx='320' cy='60' r='25' fill='%23e8dcc8' opacity='0.15'/%3E%3C/svg%3E") center/cover no-repeat,
    linear-gradient(180deg, #14101c, #0a0810);
  min-height: 100%;
}

.about-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: rgba(10, 8, 16, 0.9);
  border: 1px solid var(--gothic-border-strong);
  box-shadow: var(--elevation-3);
}

.badge-number {
  font-family: "Cinzel Decorative", serif;
  font-weight: 700;
  color: var(--gothic-gold);
  display: block;
  font-size: 1.1rem;
}

.badge-text {
  font-size: 0.72rem;
  color: var(--gothic-ink-muted);
  letter-spacing: 0.06em;
}

.compliance-section {
  background:
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(139, 21, 56, 0.08), transparent),
    var(--gothic-bg-alt);
}

.compliance-block {
  max-width: 860px;
  margin: 0 auto;
  background: var(--gothic-surface);
  padding: 32px 40px;
  border-radius: var(--radius-lg);
}

.compliance-block .about-body + .about-body { margin-top: 14px; }

.contact-section {
  background: var(--gothic-bg);
}

.contact-content {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1.4fr;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.info-card h4 {
  font-family: "Cinzel", serif;
  font-weight: 500;
  margin: 10px 0 8px;
  color: var(--gothic-gold);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.info-card p,
.info-card a {
  color: var(--gothic-ink-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  text-decoration: none;
}

.info-card a:hover {
  color: var(--gothic-gold);
  text-shadow: 0 0 12px rgba(201, 162, 39, 0.3);
}

.info-icon { font-size: 0; }

.stat-icon {
  margin-bottom: 12px;
}

.stat-card .stat-number {
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--gothic-gold);
  letter-spacing: 0.06em;
}

.contact-form {
  padding: 32px 36px !important;
  background:
    linear-gradient(145deg, var(--gothic-surface) 0%, var(--gothic-surface-2) 100%);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--gothic-gold-dim);
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--gothic-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--gothic-ink);
  background: rgba(10, 8, 16, 0.6);
  font-family: "Crimson Pro", serif;
  font-size: 1rem;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gothic-ink-faint);
  font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gothic-gold);
  background: rgba(10, 8, 16, 0.85);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--gothic-surface);
  color: var(--gothic-ink);
}

/* footer */
.footer {
  padding: 56px 0 28px;
  background:
    linear-gradient(180deg, var(--gothic-bg-alt) 0%, #06050a 100%);
  color: var(--gothic-ink-muted);
  border-top: 1px solid var(--gothic-border);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gothic-gold), transparent);
}

.footer .logo { color: var(--gothic-ink); }

.footer-description {
  margin-top: 16px;
  color: var(--gothic-ink-muted);
  max-width: 720px;
  line-height: 1.75;
  font-style: italic;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gothic-divider);
  padding-top: 22px;
  margin-top: 36px;
  color: var(--gothic-ink-faint);
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--gothic-ink-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.footer-bottom-links a:hover {
  color: var(--gothic-gold);
}

.hamburger { display: none; }

.notification {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--elevation-4) !important;
  border: 1px solid var(--gothic-border-strong) !important;
}

@media (max-width: 980px) {
  .about-content,
  .contact-content { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
}

/* scroll reveal */
section.md-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 500ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

section.md-reveal.md-visible {
  opacity: 1;
  transform: translateY(0);
}

section#home.md-reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 0.78rem;
    max-width: 130px;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 100%;
    padding: 20px 16px;
    background: rgba(10, 8, 16, 0.98);
    border-bottom: 1px solid var(--gothic-border);
    box-shadow: var(--elevation-4);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: left var(--transition-emphasized);
  }

  .nav-menu.active { left: 0; }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
  }

  .hamburger:hover {
    background: rgba(201, 162, 39, 0.1);
  }

  .hamburger span {
    width: 24px;
    height: 2px;
    background: var(--gothic-gold);
    border-radius: 1px;
    transition: transform var(--transition-standard);
  }

  .form-row { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .about-block,
  .compliance-block { padding: 24px; }

  .hero-illustration { height: 55%; opacity: 0.5; }
}
