/* ===== FUN88 SLOT — Dark Gaming Theme ===== */
@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@400;500;700&display=swap');

:root {
  --bg: #0f0f0f;
  --bg-alt: #1a1a1a;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --primary: #dc2626;
  --primary-dark: #991b1b;
  --primary-glow: rgba(220, 38, 38, 0.4);
  --secondary: #18181b;
  --accent: #fbbf24;
  --accent-light: #fefce8;
  --accent-glow: rgba(251, 191, 36, 0.3);
  --card-bg: #1e1e1e;
  --border: #2a2a2a;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --font: 'Mitr', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

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

ul { list-style: none; }

/* ===== Utility ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

/* ===== Section ===== */
.section {
  padding: 80px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-alt);
}
.section-dark {
  background: var(--secondary);
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 50px;
}

/* ===== Parallax Section ===== */
.parallax-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0.7) 0%, rgba(15,15,15,0.9) 100%);
  z-index: 1;
}
.parallax-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}
.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15,15,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(15,15,15,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
}
.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span { color: var(--primary); }
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  background: var(--primary);
  color: var(--text) !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.nav-cta:hover {
  background: var(--primary-dark);
  color: var(--text) !important;
}
.nav-cta::after { display: none !important; }

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(15,15,15,0.98);
  backdrop-filter: blur(12px);
  padding: 20px;
  z-index: 999;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--text-muted);
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0.6) 50%, rgba(220,38,38,0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}
.hero-badge {
  display: inline-block;
  background: rgba(220,38,38,0.2);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(220,38,38,0.3);
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Stats / Counters */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 20px;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: var(--text);
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  background: #ef4444;
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}
.btn-accent {
  background: var(--accent);
  color: var(--secondary);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-accent:hover {
  background: #fcd34d;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(220,38,38,0.15), 0 0 60px rgba(220,38,38,0.05);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body {
  padding: 24px;
}
.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.card-tag {
  display: inline-block;
  background: rgba(251,191,36,0.15);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* Card with glow effect */
.card-glow {
  position: relative;
}
.card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.card-glow:hover::before {
  opacity: 0.3;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  margin-bottom: 40px;
  position: relative;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px var(--primary-glow);
  z-index: 1;
}
.timeline-content {
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 450px;
}
.timeline-year {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.timeline-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== PROMO CARD ===== */
.promo-card {
  background: linear-gradient(135deg, var(--card-bg), #252525);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.promo-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 40px var(--accent-glow);
  transform: translateY(-4px);
}
.promo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.3;
}
.promo-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--text);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 14px;
}
.promo-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.promo-desc {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.feature-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}
.feature-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(220,38,38,0.1);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .btn {
  background: var(--text);
  color: var(--primary);
  font-weight: 700;
}
.cta-section .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
}
.stats-item {
  text-align: center;
}
.stats-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.stats-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== BLOG LISTING ===== */
.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 40px var(--accent-glow);
}
.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-tag {
  display: inline-block;
  background: rgba(251,191,36,0.15);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  margin-bottom: 12px;
  align-self: flex-start;
}
.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-title a { color: var(--text); }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  flex: 1;
}
.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
}

/* ===== ARTICLE ===== */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
}
.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 30px 0 12px;
  color: var(--accent);
}
.article-content p {
  margin-bottom: 18px;
  color: var(--text-muted);
  line-height: 1.8;
}
.article-content ul, .article-content ol {
  margin: 16px 0;
  padding-left: 24px;
}
.article-content li {
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.7;
}
.article-content li::marker {
  color: var(--accent);
}
.article-img {
  width: 100%;
  border-radius: var(--radius);
  margin: 30px 0;
  border: 1px solid var(--border);
}

/* ===== BLOG HEADER ===== */
.blog-header {
  padding: 120px 20px 60px;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}
.blog-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0.6) 0%, rgba(15,15,15,0.95) 100%);
}
.blog-header > * { position: relative; z-index: 2; }
.blog-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.blog-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== REGISTRATION FORM ===== */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--secondary);
  padding: 60px 20px 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--accent); }
.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
  50% { box-shadow: 0 0 40px var(--primary-glow), 0 0 60px rgba(220,38,38,0.1); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* Pulsing button */
.btn-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Glow animation for special elements */
.glow-effect {
  animation: glow 3s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 20px; }
  .stat-number { font-size: 2rem; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.6rem; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-item::before {
    left: 20px;
    transform: none;
  }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-section h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .stat-number { font-size: 1.6rem; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--text);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: var(--accent);
  color: var(--secondary);
  transform: translateY(-3px);
}


/* === STYLE & LAYOUT VARIANTS === */
/* ===== Fun88 Generator — CSS Variants ===== */
/* Each variant class is applied to <html> as variant-{name} */

/* ================================================================
   VARIANT 1: FLAT — clean, no shadows, solid colors, bold borders
   ================================================================ */
html.variant-flat .feature-card {
  border-radius: 0;
  border: 2px solid var(--primary);
  box-shadow: none;
  background: #fff;
}
html.variant-flat .feature-card:hover {
  background: var(--accent-light);
  transform: none;
}
html.variant-flat .btn-glow {
  border-radius: 0;
  box-shadow: none;
  border: 2px solid #fff;
}
html.variant-flat .btn-glow:hover {
  box-shadow: none;
  transform: none;
}
html.variant-flat .site-header {
  box-shadow: none;
  border-bottom: 3px solid var(--primary);
}
html.variant-flat .hero-section {
  min-height: 380px;
}
html.variant-flat .hero-overlay {
  background: var(--secondary);
  opacity: .92;
}
html.variant-flat .blog-card {
  border-radius: 0;
  border: 2px solid var(--border);
}
html.variant-flat .cta-section {
  border-top: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
  background: var(--primary);
}
html.variant-flat .timeline-num {
  border-radius: 0;
}

/* ================================================================
   VARIANT 2: GLASS — glassmorphism, blur, frosted, semi-transparent
   ================================================================ */
html.variant-glass .feature-card {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
}
html.variant-glass .feature-card:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-5px) scale(1.02);
}
html.variant-glass .site-header {
  background: rgba(30,41,59,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
html.variant-glass .hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.6));
}
html.variant-glass .btn-glow {
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
}
html.variant-glass .btn-glow:hover {
  background: rgba(255,255,255,.35);
  transform: translateY(-3px);
}
html.variant-glass .blog-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
}
html.variant-glass .cta-section {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
html.variant-glass .sidebar-nav {
  background: rgba(255,255,255,.05) !important;
  backdrop-filter: blur(12px);
}

/* ================================================================
   VARIANT 3: GRADIENT — bold gradients, colorful, eye-catching
   ================================================================ */
html.variant-gradient .feature-card {
  background: linear-gradient(135deg, var(--bg-alt), #fff);
  border: none;
  box-shadow: 0 8px 25px rgba(0,0,0,.1);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
html.variant-gradient .feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
html.variant-gradient .feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0,0,0,.15);
}
html.variant-gradient .site-header {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}
html.variant-gradient .hero-overlay {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: .85;
}
html.variant-gradient .btn-glow {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50px;
  padding: 1rem 2.5rem;
}
html.variant-gradient .btn-glow:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}
html.variant-gradient .blog-card {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
html.variant-gradient .cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
html.variant-gradient .stat-item span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   VARIANT 4: NEON — cyberpunk, glowing borders, neon colors, dark
   ================================================================ */
html.variant-neon .feature-card {
  background: rgba(15,15,30,.9);
  border: 1px solid var(--primary);
  box-shadow: 0 0 15px rgba(124,58,237,.2), inset 0 0 15px rgba(124,58,237,.05);
  border-radius: 4px;
}
html.variant-neon .feature-card:hover {
  box-shadow: 0 0 25px rgba(124,58,237,.4), inset 0 0 25px rgba(124,58,237,.1);
  transform: translateY(-4px);
  border-color: var(--accent);
}
html.variant-neon .feature-icon {
  text-shadow: 0 0 20px var(--primary);
}
html.variant-neon .feature-card h3 {
  text-shadow: 0 0 10px var(--primary);
}
html.variant-neon .site-header {
  background: #0a0a1a;
  border-bottom: 1px solid var(--primary);
  box-shadow: 0 2px 20px rgba(124,58,237,.3);
}
html.variant-neon .logo {
  text-shadow: 0 0 15px var(--primary);
}
html.variant-neon .hero-section {
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
}
html.variant-neon .hero-overlay {
  background: linear-gradient(180deg, rgba(10,10,26,.95), rgba(10,10,26,.7));
}
html.variant-neon .hero-content h1 {
  text-shadow: 0 0 30px var(--primary), 0 0 60px var(--primary);
}
html.variant-neon .btn-glow {
  background: transparent;
  border: 2px solid var(--primary);
  box-shadow: 0 0 15px var(--primary), inset 0 0 15px rgba(124,58,237,.1);
  color: #fff;
}
html.variant-neon .btn-glow:hover {
  background: var(--primary);
  box-shadow: 0 0 30px var(--primary);
}
html.variant-neon .blog-card {
  background: rgba(15,15,30,.8);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 4px;
}
html.variant-neon .cta-section {
  background: #0a0a1a;
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--accent);
}
html.variant-neon .cta-section .btn-glow {
  background: transparent;
}
html.variant-neon .tips-list li::before {
  text-shadow: 0 0 10px var(--primary);
}
html.variant-neon .stat-item span {
  text-shadow: 0 0 20px var(--primary);
  color: var(--accent);
}

/* ================================================================
   VARIANT 5: CARD-SHADOW — depth, large shadows, layered, premium
   ================================================================ */
html.variant-shadow .feature-card {
  background: #fff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,.1);
  padding: 2rem;
  transition: all .3s ease;
}
html.variant-shadow .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
html.variant-shadow .feature-icon {
  width: 60px; height: 60px;
  background: var(--accent-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
html.variant-shadow .site-header {
  background: #fff;
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
}
html.variant-shadow .site-header .logo { color: var(--primary); }
html.variant-shadow .site-header .logo .accent { color: var(--accent); }
html.variant-shadow .main-nav a { color: var(--text); }
html.variant-shadow .main-nav a:hover,
html.variant-shadow .main-nav a.active {
  color: #fff;
  background: var(--primary);
  border-radius: 50px;
}
html.variant-shadow .hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.7));
}
html.variant-shadow .btn-glow {
  border-radius: 50px;
  padding: 1rem 2.5rem;
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}
html.variant-shadow .blog-card {
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  border: none;
  overflow: hidden;
}
html.variant-shadow .cta-section {
  border-radius: 0;
  box-shadow: inset 0 0 80px rgba(0,0,0,.1);
}
html.variant-shadow .stat-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

/* ================================================================
   VARIANT 6: OUTLINE — thin lines, minimal fill, sketch feel
   ================================================================ */
html.variant-outline .feature-card {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  position: relative;
}
html.variant-outline .feature-card::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px; right: -3px; bottom: -3px;
  border: 1.5px solid var(--primary);
  border-radius: 12px;
  z-index: -1;
  opacity: .3;
}
html.variant-outline .feature-card:hover {
  border-color: var(--primary);
  transform: translate(-2px, -2px);
}
html.variant-outline .site-header {
  background: #fff;
  border-bottom: 1.5px solid var(--border);
  box-shadow: none;
}
html.variant-outline .site-header .logo { color: var(--text); }
html.variant-outline .site-header .logo .accent { color: var(--primary); }
html.variant-outline .main-nav a { color: var(--text); }
html.variant-outline .main-nav a:hover,
html.variant-outline .main-nav a.active {
  color: var(--primary);
  background: transparent;
  border-bottom: 2px solid var(--primary);
  border-radius: 0;
}
html.variant-outline .hero-section {
  min-height: 360px;
  border-bottom: 1.5px solid var(--border);
}
html.variant-outline .hero-overlay {
  background: var(--bg-alt);
  opacity: .95;
}
html.variant-outline .hero-content { color: var(--text); }
html.variant-outline .hero-content h1 { color: var(--primary); text-shadow: none; }
html.variant-outline .hero-sub { color: var(--text-muted); }
html.variant-outline .btn-glow {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}
html.variant-outline .btn-glow:hover {
  background: var(--primary);
  color: #fff;
  transform: none;
}
html.variant-outline .blog-card {
  background: transparent;
  border: 1.5px solid var(--border);
}
html.variant-outline .cta-section {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--primary);
  border-radius: 12px;
  max-width: 800px;
  margin: 2rem auto;
}
html.variant-outline .cta-section h2 { color: var(--primary); }
html.variant-outline .cta-section .btn-glow {
  border-color: var(--primary);
}

/* ================================================================
   VARIANT 7: MINIMAL — super clean, lots of whitespace, tiny accents
   ================================================================ */
html.variant-minimal .feature-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 1.5rem 0;
  box-shadow: none;
}
html.variant-minimal .feature-card:hover {
  transform: none;
  box-shadow: none;
}
html.variant-minimal .feature-icon {
  font-size: 1.5rem;
  margin-bottom: .25rem;
}
html.variant-minimal .feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
html.variant-minimal .feature-card p {
  font-size: .85rem;
}
html.variant-minimal .site-header {
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
html.variant-minimal .site-header .logo { color: var(--text); font-size: 1.2rem; }
html.variant-minimal .site-header .logo .accent { color: var(--primary); }
html.variant-minimal .main-nav a {
  color: var(--text-muted);
  font-size: .85rem;
  padding: .4rem .6rem;
}
html.variant-minimal .main-nav a:hover,
html.variant-minimal .main-nav a.active {
  color: var(--text);
  background: transparent;
}
html.variant-minimal .hero-section {
  min-height: 320px;
}
html.variant-minimal .hero-overlay { background: var(--bg-alt); opacity: .98; }
html.variant-minimal .hero-content { color: var(--text); max-width: 600px; }
html.variant-minimal .hero-content h1 {
  color: var(--text);
  text-shadow: none;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
html.variant-minimal .hero-sub { color: var(--text-muted); font-size: 1rem; }
html.variant-minimal .btn-glow {
  background: var(--text);
  color: #fff;
  border-radius: 4px;
  padding: .7rem 1.5rem;
  font-size: .9rem;
  box-shadow: none;
}
html.variant-minimal .btn-glow:hover {
  transform: none;
  box-shadow: none;
  opacity: .85;
}
html.variant-minimal .content-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -.01em;
  border-bottom: none;
  border-left: none;
  padding-left: 0;
  padding-bottom: .25rem;
}
html.variant-minimal .blog-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding-bottom: 1.5rem;
}
html.variant-minimal .blog-card:hover { transform: none; }
html.variant-minimal .cta-section {
  background: var(--text);
  color: #fff;
  padding: 2rem;
}
html.variant-minimal .feature-grid {
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
html.variant-minimal .content-section {
  max-width: 720px;
}
html.variant-minimal .stat-item {
  text-align: left;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

/* ================================================================
   LAYOUT VARIANTS — applied as layout-{name} on <body>
   ================================================================ */

/* --- LAYOUT: sidebar-right (default is sidebar-left) --- */
body.layout-sidebar-right main {
  display: grid;
  grid-template-columns: 1fr 240px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 60vh;
}
body.layout-sidebar-right .sidebar-nav {
  background: var(--bg-alt);
  padding: 1.5rem;
  border-left: 1px solid var(--border);
  border-right: none;
  order: 2;
}
body.layout-sidebar-right .content-section {
  max-width: 100%;
}
@media (max-width: 768px) {
  body.layout-sidebar-right main { grid-template-columns: 1fr; }
  body.layout-sidebar-right .sidebar-nav { border-left: none; border-bottom: 1px solid var(--border); order: 0; }
}

/* --- LAYOUT: magazine (2-col content, hero = banner) --- */
body.layout-magazine .hero-section {
  min-height: 280px;
  border-radius: 0;
}
body.layout-magazine .content-section {
  max-width: 100%;
  padding: 2rem;
}
body.layout-magazine .feature-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
body.layout-magazine .feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
body.layout-magazine .feature-icon { margin-bottom: 0; flex-shrink: 0; }
body.layout-magazine .blog-card {
  flex-direction: column;
}
body.layout-magazine .blog-card img {
  width: 100%;
  min-height: 180px;
}
body.layout-magazine main {
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  body.layout-magazine .feature-grid { grid-template-columns: 1fr; }
}

/* --- LAYOUT: split-hero (hero = 2 cols: text left, image right) --- */
body.layout-split-hero .hero-section {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
body.layout-split-hero .hero-overlay { display: none; }
body.layout-split-hero .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 3rem;
  background: var(--secondary);
  max-width: 100%;
}
body.layout-split-hero .hero-image-col {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}
@media (max-width: 768px) {
  body.layout-split-hero .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  body.layout-split-hero .hero-image-col { min-height: 200px; order: -1; }
  body.layout-split-hero .hero-content { text-align: center; padding: 2rem 1.5rem; }
}

/* --- LAYOUT: fullwidth-centered (narrow content, wide hero) --- */
body.layout-fullwidth-centered .hero-section {
  min-height: 60vh;
}
body.layout-fullwidth-centered .content-section {
  max-width: 700px;
  padding: 3rem 1.5rem;
}
body.layout-fullwidth-centered .feature-grid {
  max-width: 900px;
  margin: 1.5rem auto 0;
}
body.layout-fullwidth-centered .cta-section {
  padding: 4rem 1.5rem;
}
