/* ===== Custom Properties — Cryptomania Brand ===== */
:root {
  --primary: #b1cb20;
  --primary-hover: #9ab51c;
  --secondary: #4d9de0;
  --white: #ffffff;
  --black: #000000;
  --gray1: #F1F1F1;
  --gray2: #D5D6D7;
  --gray3: #6c757d;
  --gray4: #57626A;
  --body-color: #000;
  --footer-bg: #000;
  --footer-color: #fff;
}

/* ===== Global ===== */
html { scroll-behavior: smooth; }

body {
  font-family: azo-sans-web, sans-serif;
  color: var(--body-color);
  background: var(--white);
}

section { padding: 5rem 0; }

/* ===== Navbar ===== */
.navbar {
  background: var(--white) !important;
  backdrop-filter: blur(12px);
  transition: box-shadow .3s;
  border-bottom: 1px solid var(--gray2);
}
.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border-bottom-color: transparent;
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: var(--black) !important;
}
.navbar-brand .accent { color: var(--primary); }
.nav-link {
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .01em;
  color: var(--black) !important;
  transition: color .2s;
}
.nav-link:hover, .nav-link:focus { color: var(--primary) !important; }
.navbar-toggler { border-color: var(--gray2); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(177, 203, 32, .1) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, rgba(77, 157, 224, .08) 0%, transparent 50%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  opacity: .8;
  line-height: 1.7;
}
.hero .accent-text { color: var(--primary); }
.hero .gold-text { color: var(--secondary); }

/* Floating cipher decoration */
.cipher-float {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  color: rgba(177, 203, 32, .06);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.cipher-float:nth-child(1) { top: 10%; left: 5%; transform: rotate(-12deg); }
.cipher-float:nth-child(2) { top: 25%; right: 8%; transform: rotate(8deg); color: rgba(77, 157, 224, .06); }
.cipher-float:nth-child(3) { bottom: 20%; left: 10%; transform: rotate(5deg); }
.cipher-float:nth-child(4) { bottom: 35%; right: 5%; transform: rotate(-6deg); color: rgba(77, 157, 224, .06); }

/* ===== Buttons ===== */
.btn-accent {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  padding: .75rem 2rem;
  font-weight: 600;
  border-radius: .4rem;
  transition: all .25s;
}
.btn-accent:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77, 157, 224, .3);
}
.btn-outline-light {
  padding: .75rem 2rem;
  font-weight: 600;
  border-radius: .4rem;
}
.btn-outline-light:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ===== Section headings ===== */
.section-title {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
  color: var(--black);
}
.section-subtitle {
  color: var(--gray3);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* ===== What are cifrovacky ===== */
.about-section { background: var(--white); }
.about-icon {
  width: 56px;
  height: 56px;
  background: rgba(177, 203, 32, .12);
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ===== Benefits ===== */
.benefits-section { background: var(--gray1); }
.benefit-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.benefit-icon {
  width: 64px;
  height: 64px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.6rem;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,.06);
}
.benefit-card h5 {
  font-weight: 700;
  font-size: 1.05rem;
}

/* ===== Game types ===== */
.types-section { background: var(--white); }
.game-card {
  border: 1px solid var(--gray2);
  border-radius: .75rem;
  overflow: hidden;
  transition: all .3s;
  height: 100%;
  box-shadow: none;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  border-color: var(--primary);
}
.game-card .card-header {
  padding: 1.75rem 1.5rem 1rem;
  border: none;
  position: relative;
}
.game-card .card-body { padding: 0 1.5rem 1.5rem; }
.game-icon {
  width: 48px;
  height: 48px;
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: .75rem;
}
.game-card h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: .5rem;
  color: var(--black);
}
.game-card p {
  font-size: .92rem;
  color: var(--gray4);
  line-height: 1.6;
}
.game-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: .25rem;
  background: rgba(177, 203, 32, .12);
  color: #7a8f10;
  margin-top: .5rem;
}

/* Card color accents */
.game-icon.bg-teal { background: var(--primary); }
.game-icon.bg-blue { background: var(--secondary); }
.game-icon.bg-purple { background: #7a8f10; }
.game-icon.bg-orange { background: #f59e0b; }
.game-icon.bg-rose { background: #e60000; }
.game-icon.bg-indigo { background: var(--secondary); }

/* ===== Outdoor Escape ===== */
.outdoor-section {
  background: var(--black);
  color: var(--white);
}
.outdoor-section .accent-text { color: var(--primary); }
.outdoor-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(177, 203, 32, .15);
  color: var(--primary);
  padding: .4rem 1rem;
  border-radius: .25rem;
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 1.5rem;
}
.comparison-table {
  border-radius: .75rem;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.comparison-table table { margin: 0; }
.comparison-table th {
  background: rgba(177, 203, 32, .15) !important;
  color: var(--primary) !important;
  font-weight: 700;
  border-color: rgba(255,255,255,.08) !important;
  font-size: .9rem;
}
.comparison-table td {
  background: transparent !important;
  border-color: rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.85) !important;
  font-size: .9rem;
  vertical-align: middle;
}

/* ===== How it works ===== */
.process-section { background: var(--gray1); }
.process-step {
  text-align: center;
  position: relative;
  padding: 1.5rem 1rem;
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.process-step h5 {
  font-weight: 700;
  font-size: 1.05rem;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--primary);
  color: var(--white);
  text-align: center;
}
.cta-section h2 {
  font-weight: 800;
  font-size: 2rem;
}
.btn-cta-white {
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  padding: .85rem 2.5rem;
  border-radius: .4rem;
  border: none;
  font-size: 1.05rem;
  transition: all .25s;
}
.btn-cta-white:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

/* ===== Contact ===== */
.contact-section { background: var(--white); }
.contact-info-card {
  background: var(--gray1);
  border-radius: .75rem;
  padding: 2rem;
  height: 100%;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(177, 203, 32, .12);
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===== Footer ===== */
footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.6);
  padding: 2.5rem 0;
  font-size: .88rem;
}
footer a { color: var(--primary); text-decoration: none; }
footer a:hover { color: var(--secondary); }

/* ===== Utilities ===== */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .section-title { font-size: 1.6rem; }
  .cipher-float { display: none; }
}

/* ===== Inline-style replacements (CSP hardening) ===== */
.hero-meta { font-size: .9rem; }
.about-lead { line-height: 1.8; }

.outdoor-section .section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.outdoor-lead { opacity: .85; line-height: 1.8; font-size: 1.1rem; }
.outdoor-body { opacity: .8; line-height: 1.8; }

.comparison-title { color: var(--primary); font-weight: 700; }
.comparison-arrow { font-size: 1rem; margin-top: .2rem; }
.comparison-arrow--secondary { color: var(--secondary); }
.comparison-arrow--primary { color: var(--primary); }
.comparison-text { color: rgba(255,255,255,.8); font-size: .92rem; line-height: 1.6; }
.comparison-text strong { color: #fff; }
.comparison-divider { border-color: rgba(255,255,255,.1); }
.comparison-footer { color: rgba(255,255,255,.6); font-size: .88rem; line-height: 1.6; }
.comparison-footer strong { color: var(--primary); }

.cta-subtitle { opacity: .9; }
.footer-brand-accent { color: var(--primary); }

/* Smooth appearance */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
