/* =========================================================
   OLYMPUS.COM.PL — Landing page
   Stack: Bootstrap 5 + vanilla CSS
   ========================================================= */

:root {
  --bg-primary: #070D19;
  --bg-secondary: #1F1F1F;
  --bg-elevated: #111827;

  --accent-green: #2BE275;
  --accent-green-alt: #16E580;

  --text-primary: #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-muted: #6A7282;
  --border-subtle: rgba(43, 226, 117, 0.12);

  --status-soon: #FFCE34;

  --header-h: 80px;
  --section-py: clamp(80px, 12vw, 160px);
  --container-max: 1320px;

  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: var(--container-max);
  }
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.3s var(--ease-out), backdrop-filter 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 13, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-subtle);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-omega {
  color: var(--accent-green);
  font-size: 26px;
  line-height: 1;
  text-shadow: 0 0 16px rgba(43, 226, 117, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s var(--ease-out);
}

.nav-links a:hover { color: var(--accent-green); }

.by-semtree {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.2s var(--ease-out);
}

.by-semtree:hover { opacity: 0.75; }
.by-semtree img { height: 28px; width: auto; }

.by-text {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .by-semtree { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 40px) 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: var(--accent-green);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(43, 226, 117, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
}

.star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 12px rgba(43, 226, 117, 0.8), 0 0 24px rgba(43, 226, 117, 0.4);
  animation: star-pulse 4s ease-in-out infinite;
}

.star:nth-child(odd) { animation-delay: -2s; }
.star:nth-child(3n) { animation-delay: -1s; }
.star:nth-child(5n) { animation-delay: -3s; }

@keyframes star-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  top: -2px;
  background: linear-gradient(to right, transparent, rgba(43, 226, 117, 0.5), transparent);
  opacity: 0;
  animation: scan 9s linear infinite;
}

@keyframes scan {
  0% { top: -2px; opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { top: 100%; opacity: 0; }
}

.deity-pic { display: contents; }

.deity {
  position: absolute;
  height: auto;
  mix-blend-mode: screen;
  animation: deity-glow 6s ease-in-out infinite;
  will-change: transform, opacity;
  user-select: none;
  -webkit-user-drag: none;
}

.deity--zeus {
  top: 6%;
  left: -140px;
  width: 680px;
  max-width: 75vw;
}

.deity--athena {
  top: 4%;
  left: 36%;
  width: 460px;
  max-width: 42vw;
  animation-delay: -2s;
}

.deity--hermes {
  top: 8%;
  right: -100px;
  width: 560px;
  max-width: 60vw;
  animation-delay: -3s;
}

@keyframes deity-glow {
  0%, 100% { opacity: var(--glow, 0.85); filter: drop-shadow(0 0 24px rgba(43, 226, 117, 0.25)); }
  50%     { opacity: calc(var(--glow, 0.85) * 1.08); filter: drop-shadow(0 0 40px rgba(43, 226, 117, 0.4)); }
}

.deity--zeus   { --glow: 0.92; }
.deity--athena { --glow: 0.55; }
.deity--hermes { --glow: 0.85; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-green);
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: var(--text-primary);
  text-shadow: 0 0 48px rgba(43, 226, 117, 0.18);
}

.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.55;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-green);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-out);
}

.hero-cta:hover { border-bottom-color: var(--accent-green); }

.hero-cta-arrow {
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 767px) {
  .hero-title { font-size: clamp(40px, 11vw, 64px); }
  .deity--athena { display: none; }
  .deity--zeus { --glow: 0.45; left: -80px; width: 480px; }
  .deity--hermes { --glow: 0.40; right: -80px; width: 420px; }
}

/* =========================================================
   SECTIONS — generic
   ========================================================= */
.tools-section,
.about-section {
  position: relative;
  padding: var(--section-py) 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--text-primary);
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0;
}

/* =========================================================
   GOD CARDS
   ========================================================= */
.tools-grid { row-gap: 24px !important; }

.god-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 440px;
  padding: 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition:
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    transform 0.4s var(--ease-out),
    background-color 0.4s var(--ease-out);
}

.god-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.god-card-logo {
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 260px;
  height: 260px;
  max-width: none;
  object-fit: contain;
  opacity: 0.10;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out), filter 0.4s var(--ease-out);
  filter: drop-shadow(0 0 8px rgba(43, 226, 117, 0.2));
}

.god-card--active:hover {
  border-color: var(--accent-green);
  border-width: 2px;
  padding: 39px;
  box-shadow: 0 0 60px rgba(43, 226, 117, 0.18);
  transform: translateY(-6px);
  background: var(--bg-elevated);
}

.god-card--active:hover .god-card-logo {
  opacity: 0.22;
  transform: translate(-6px, -6px) scale(1.04);
  filter: drop-shadow(0 0 16px rgba(43, 226, 117, 0.5));
}

.god-card--active:hover .god-name {
  text-shadow: 0 0 48px rgba(43, 226, 117, 0.5), 0 0 16px rgba(43, 226, 117, 0.3);
}

.god-card--soon { opacity: 0.85; }

.god-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 24px;
}

.god-badge-dot {
  font-size: 10px;
  line-height: 1;
}

.god-name {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(56px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text-primary);
  text-shadow: 0 0 32px rgba(43, 226, 117, 0.25);
  transition: text-shadow 0.4s var(--ease-out);
}

.god-role {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-green);
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

.god-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 28px;
  line-height: 1.6;
  max-width: 480px;
}

.god-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 36px;
}

.god-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.feat-arrow {
  color: var(--accent-green);
  flex-shrink: 0;
  font-weight: 700;
}

.god-cta,
.god-soon {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.god-cta {
  background: var(--accent-green);
  color: var(--bg-primary);
}

.god-cta:hover {
  background: var(--accent-green-alt);
  box-shadow: 0 0 32px rgba(43, 226, 117, 0.4);
  transform: translateY(-2px);
}

.god-soon {
  background: rgba(255, 206, 52, 0.12);
  color: var(--status-soon);
  border: 1px solid rgba(255, 206, 52, 0.3);
  cursor: not-allowed;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 13px;
}

@media (max-width: 767px) {
  .god-card { padding: 32px; min-height: 380px; }
  .god-card--active:hover { padding: 31px; }
  .god-card-bg { width: 240px; height: 240px; right: -30px; bottom: -30px; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-section { background: var(--bg-primary); }

.about-section .section-title { text-align: left; margin-bottom: 32px; }
.about-section .eyebrow { display: inline-block; }

.about-p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 18px;
  line-height: 1.7;
}

.link-green {
  color: var(--accent-green);
  border-bottom: 1px solid rgba(43, 226, 117, 0.4);
  transition: border-color 0.2s var(--ease-out);
}

.link-green:hover { border-bottom-color: var(--accent-green); }

.temple {
  width: 100%;
  height: auto;
  color: var(--accent-green);
  opacity: 0.5;
  filter: drop-shadow(0 0 24px rgba(43, 226, 117, 0.15));
}

@media (max-width: 991px) {
  .temple { max-width: 480px; margin: 0 auto; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  color: var(--text-secondary);
}

.brand--footer {
  font-size: 22px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.footer-by {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 8px;
}

.footer-semtree {
  display: inline-block;
  transition: opacity 0.2s var(--ease-out);
}

.footer-semtree:hover { opacity: 0.75; }
.footer-semtree img { height: 40px; width: auto; }

.footer-h {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-green);
  margin: 0 0 20px;
}

.footer-list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }

.footer-list a {
  color: var(--text-secondary);
  transition: color 0.2s var(--ease-out);
}

.footer-list a:hover { color: var(--text-primary); }

.footer-disabled {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-soon {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--status-soon);
  background: rgba(255, 206, 52, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.footer-muted { color: var(--text-muted); font-size: 14px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s var(--ease-out);
}

.footer-bottom-links a:hover { color: var(--text-secondary); }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

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

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 3px;
  border-radius: 4px;
}

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

  .deity, .star, .scan-line, .hero-cta-arrow { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
