/* ══════════════════════════════════════════
   ALEXSTV MODERN BOLD THEME v3.0
   ══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --text: #f5f5f5;
  --text-dim: #888888;
  --text-muted: #555555;
  --border: #222222;
  --border-light: #2a2a2a;
  --accent: #cdff50;
  --accent-dim: rgba(205, 255, 80, 0.1);
  --accent-text: #b8e63a;
  --hot: #ff5733;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #000;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════
   SECTION TRANSITIONS & DIVIDERS
   ═══════════════════════════════════════ */
.section {
  padding: 100px 24px;
  position: relative;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.section.reveal.visible::after {
  opacity: 1;
}

.section-alt {
  background: var(--bg-elevated);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 255, 80, 0.15), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-divider {
  position: relative;
  height: 120px;
  overflow: hidden;
  background: var(--bg);
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 0; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 255, 80, 0.1), transparent);
  z-index: 1;
}

.section-divider::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  background: var(--bg-elevated);
  border-radius: 50% 50% 0 0;
  animation: wavePulse 8s ease-in-out infinite;
}

.section-divider-alt::before {
  background: var(--bg);
}

.section-divider-reverse::before {
  top: 0;
  bottom: auto;
  border-radius: 0 0 50% 50%;
}

@keyframes wavePulse {
  0%, 100% { transform: translateY(20px) scaleY(1); }
  50% { transform: translateY(0) scaleY(1.1); }
}

/* Smooth gradient transitions between sections */
.section-transition {
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-transition::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    var(--bg-elevated, var(--bg)) 50%,
    var(--bg-elevated, var(--bg)) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s var(--ease-out);
  transform: translateY(-100%);
  animation: headerSlideIn 0.8s var(--ease-out) forwards;
}

@keyframes headerSlideIn {
  to { transform: translateY(0); }
}

#header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(20px) saturate(120%);
}

#header.hidden {
  transform: translateY(-100%);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
  transition: var(--transition);
}
.logo:hover {
  transform: scale(1.05);
}
.logo-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #000;
  font-weight: 900;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.4s var(--ease-out);
}
.logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.1);
  box-shadow: 0 4px 20px rgba(205, 255, 80, 0.4);
}

.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s var(--ease-out);
  transform: translateX(-50%);
  border-radius: 2px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--bg-card);
}
.nav-links a.active::after {
  width: 20px;
}
.nav-links a.active {
  color: var(--accent);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 24px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); position: absolute;
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { content: ''; top: -8px; }
.nav-toggle span::after { content: ''; top: 8px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; z-index: 101; }
  .logo { position: relative; z-index: 102; font-size: 0.95rem; }
  .logo-text { display: none; }
  .logo-icon { width: 36px; height: 36px; font-size: 1.1rem; }
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease-out);
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(205, 255, 80, 0.06) 0%, transparent 50%);
  pointer-events: none;
  animation: heroOrb1 12s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.04) 0%, transparent 50%);
  pointer-events: none;
  animation: heroOrb2 10s ease-in-out infinite;
}

@keyframes heroOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(-40px, 60px) scale(1.1); opacity: 1; }
}

@keyframes heroOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(30px, -40px) scale(1.15); opacity: 0.8; }
}

/* Grid pattern background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: gridFade 4s ease-in-out infinite;
}

@keyframes gridFade {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Floating green bubbles */
.hero-bubbles,
.section-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-bubbles .bubble,
.section-bubbles .bubble {
  position: absolute;
  bottom: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(205, 255, 80, 0.4), rgba(205, 255, 80, 0.03));
  border-radius: 50%;
  animation: bubbleRise linear infinite;
  opacity: 0;
}

.hero-bubbles .bubble:nth-child(1),
.section-bubbles .bubble:nth-child(1)  { left:5%;  width:12px; height:12px; animation-duration:8s;  animation-delay:0s; }
.hero-bubbles .bubble:nth-child(2),
.section-bubbles .bubble:nth-child(2)  { left:12%; width:8px;  height:8px;  animation-duration:10s; animation-delay:1s; }
.hero-bubbles .bubble:nth-child(3),
.section-bubbles .bubble:nth-child(3)  { left:18%; width:16px; height:16px; animation-duration:7s;  animation-delay:2s; }
.hero-bubbles .bubble:nth-child(4),
.section-bubbles .bubble:nth-child(4)  { left:25%; width:6px;  height:6px;  animation-duration:12s; animation-delay:0.5s; }
.hero-bubbles .bubble:nth-child(5),
.section-bubbles .bubble:nth-child(5)  { left:32%; width:10px; height:10px; animation-duration:9s;  animation-delay:3s; }
.hero-bubbles .bubble:nth-child(6),
.section-bubbles .bubble:nth-child(6)  { left:40%; width:14px; height:14px; animation-duration:11s; animation-delay:1.5s; }
.hero-bubbles .bubble:nth-child(7),
.section-bubbles .bubble:nth-child(7)  { left:48%; width:7px;  height:7px;  animation-duration:8.5s; animation-delay:4s; }
.hero-bubbles .bubble:nth-child(8),
.section-bubbles .bubble:nth-child(8)  { left:55%; width:18px; height:18px; animation-duration:6.5s; animation-delay:2.5s; }

.hero-bubbles .bubble:nth-child(9)  { left:62%; width:9px;  height:9px;  animation-duration:10.5s; animation-delay:0.8s; }
.hero-bubbles .bubble:nth-child(10) { left:70%; width:13px; height:13px; animation-duration:7.5s; animation-delay:3.5s; }
.hero-bubbles .bubble:nth-child(11) { left:78%; width:5px;  height:5px;  animation-duration:9.5s; animation-delay:1.2s; }
.hero-bubbles .bubble:nth-child(12) { left:84%; width:15px; height:15px; animation-duration:8.2s; animation-delay:2.8s; }
.hero-bubbles .bubble:nth-child(13) { left:90%; width:11px; height:11px; animation-duration:11.5s; animation-delay:4.5s; }
.hero-bubbles .bubble:nth-child(14) { left:35%; width:6px;  height:6px;  animation-duration:13s; animation-delay:5s; }
.hero-bubbles .bubble:nth-child(15) { left:60%; width:8px;  height:8px;  animation-duration:9.8s; animation-delay:5.5s; }

@keyframes bubbleRise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 0.8; }
  50%  { opacity: 0.4; }
  100% { transform: translateY(-110vh) scale(1.8); opacity: 0; }
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left { order: 1; }
.hero-right { order: 2; display: flex; justify-content: flex-end; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(205, 255, 80, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(205, 255, 80, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(205, 255, 80, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-title span {
  display: inline-block;
}

#typed-title {
  display: inline-block;
  min-height: 2em;
}

#typed-title::after {
  content: '|';
  display: inline-block;
  color: var(--accent);
  font-weight: 300;
  animation: cursorBlink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-title .gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #84cc16 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #b8c9a0;
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  transition: color 0.3s;
}
.hero-stat:hover .hero-stat-num {
  color: var(--accent);
}
.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Hero avatar */
.hero-photo-wrap {
  position: relative;
}

.hero-photo {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transition: all 0.5s var(--ease-out);
  transform: perspective(800px) rotateY(-5deg);
}

.hero-photo:hover {
  transform: perspective(800px) rotateY(0deg) scale(1.02);
  box-shadow:
    0 0 60px rgba(205, 255, 80, 0.3),
    0 0 120px rgba(205, 255, 80, 0.15),
    0 30px 80px rgba(0, 0, 0, 0.5);
  border-color: var(--accent);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  transition: transform 0.6s var(--ease-out);
}

.hero-photo:hover img {
  transform: scale(1.08);
}

.hero-photo-decor {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.7rem;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-md);
  animation: decorFloat 3s ease-in-out infinite;
}

@keyframes decorFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, -6px); }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-left { order: 2; }
  .hero-right { order: 1; justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-photo { width: 240px; height: 240px; transform: none; }
  .hero-photo:hover { transform: scale(1.02); }
  .hero-title { letter-spacing: -1px; }
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: none;
  font-family: var(--sans);
  border-radius: var(--radius-sm);
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 0 0 rgba(205, 255, 80, 0);
}
.btn-primary:hover {
  background: #bfff3a;
  box-shadow: 0 8px 30px rgba(205, 255, 80, 0.3);
  transform: translateY(-3px);
}
.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(205, 255, 80, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--text-dim);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-card);
}

.btn-sm { padding: 8px 16px; font-size: 0.78rem; }
.btn-lg { padding: 16px 32px; font-size: 0.95rem; }

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.1;
}

.section-desc {
  color: #a0a890;
  max-width: 500px;
  margin: 0 auto;
  font-size: 1rem;
  position: relative;
  padding-top: 18px;
}

.section-desc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.7;
}

/* ═══════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  text-decoration: none;
  color: var(--text);
}

.portfolio-item:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(205, 255, 80, 0.1), var(--shadow-lg);
}

.portfolio-item img {
  width: 100%; height: auto; object-fit: contain; display: block;
  transition: transform 0.6s var(--ease-out);
}
.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  border-radius: var(--radius);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease-out) 0.1s;
}
.portfolio-item:hover .portfolio-overlay h3 { transform: translateY(0); }
.portfolio-overlay p {
  font-size: 0.8rem;
  color: var(--text-dim);
  transform: translateY(10px);
  transition: transform 0.4s var(--ease-out) 0.15s;
}
.portfolio-item:hover .portfolio-overlay p { transform: translateY(0); }

.portfolio-placeholder {
  aspect-ratio: 16/9;
  width: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a1a2e 100%);
  gap: 10px; color: var(--text-dim);
  transition: background 0.4s;
}
.portfolio-item:hover .portfolio-placeholder {
  background: linear-gradient(135deg, var(--bg-card-hover) 0%, #1f1f3a 100%);
}
.portfolio-placeholder .icon { font-size: 2.2rem; opacity: 0.5; transition: all 0.4s; }
.portfolio-item:hover .portfolio-placeholder .icon { opacity: 0.8; transform: scale(1.2); }

/* Telegram mockup inside portfolio */
.telegram-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #17212b;
  font-family: var(--sans);
  overflow: hidden;
}
.tg-header {
  background: #242f3d;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
.tg-back { color: #6ab3f3; font-size: 1rem; font-weight: 600 }
.tg-avatar {
  width: 34px; height: 34px;
  background: #4a9c5d;
  border-radius: 50%;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tg-header-info { display: flex; flex-direction: column; line-height: 1.2 }
.tg-name { color: #fff; font-size: 0.82rem; font-weight: 600 }
.tg-status { color: #6ab3f3; font-size: 0.68rem }
.tg-chat {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.tg-msg {
  max-width: 80%;
  padding: 8px 12px;
  font-size: 0.7rem;
  line-height: 1.5;
  border-radius: 10px;
  color: #e9e9e9;
  animation: none;
}
.tg-msg.bot {
  background: #1e2c3a;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.tg-msg.user {
  background: #2b5278;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.tg-msg:last-child { opacity: 0.65 }

/* ═══════════════════════════════════════
   BLOG
   ═══════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.blog-section {
  background: var(--bg-elevated);
  position: relative;
}

.blog-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(205, 255, 80, 0.03), transparent),
    radial-gradient(ellipse 40% 50% at 80% 20%, rgba(205, 255, 80, 0.02), transparent);
  pointer-events: none;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s var(--ease-out), box-shadow 0.6s var(--ease-out);
  text-decoration: none;
  color: var(--text);
  display: block;
  position: relative;
}

.blog-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(205, 255, 80, 0.06), transparent 70%);
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(205, 255, 80, 0.35);
  box-shadow: 0 16px 40px rgba(205, 255, 80, 0.12), 0 0 30px rgba(205, 255, 80, 0.06);
}

.blog-card:hover::after {
  opacity: 1;
}
.blog-card-image {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a2a1a 100%);
}

.blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(205, 255, 80, 0.05), transparent 40%, rgba(205, 255, 80, 0.04));
  transition: opacity 0.5s ease;
}

.blog-card:nth-child(2n) .blog-card-image {
  background: linear-gradient(135deg, #16213e, #1a1a2e, #1a2a1a);
}

.blog-card:nth-child(3n) .blog-card-image {
  background: linear-gradient(135deg, #1a2a1a, #16213e, #1a1a2e);
}

.blog-card:hover .blog-card-image {
  transform: scale(1.03);
}

.blog-card:hover .blog-card-image::after {
  background: linear-gradient(135deg, rgba(205, 255, 80, 0.12), transparent 50%, rgba(205, 255, 80, 0.08));
}
.blog-card-body { padding: 24px; }
.blog-card-date {
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 500;
  font-family: var(--mono);
}
.blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.3s;
}
.blog-card:hover .blog-card-title { color: var(--accent); }
.blog-card-desc {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══════════════════════════════════════
   TECH
   ═══════════════════════════════════════ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.tech-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
}
.tech-item:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(205, 255, 80, 0.08);
}
.tech-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  transition: transform 0.4s var(--ease-spring);
}
.tech-item:hover .tech-icon { transform: scale(1.3) rotate(-5deg); }
.tech-name { font-weight: 700; font-size: 0.85rem; margin-bottom: 2px; }
.tech-level { font-size: 0.72rem; color: var(--text-dim); }

/* ═══════════════════════════════════════
   QUIZ
   ═══════════════════════════════════════ */
.quiz-section {
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.quiz-container {
  max-width: 580px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(205, 255, 80, 0.08);
}

.quiz-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(205, 255, 80, 0.3), transparent, rgba(205, 255, 80, 0.3));
  z-index: -1;
  animation: quizGlow 4s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes quizGlow {
  0%, 100% { opacity: 0.3; filter: blur(8px); }
  50% { opacity: 0.6; filter: blur(12px); }
}
.quiz-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.quiz-subtitle { color: #a0a890; font-size: 0.85rem; margin-bottom: 28px; }
.quiz-question {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
  animation: questionFadeIn 0.4s var(--ease-out);
}
@keyframes questionFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 20px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.88rem;
  transition: all 0.3s var(--ease-out);
  text-align: left;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.quiz-option:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(205, 255, 80, 0.08);
}
.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.quiz-result { display: none; }
.quiz-result.show { display: block; animation: resultShow 0.6s var(--ease-out); }

@keyframes resultShow {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.quiz-result-icon { font-size: 3.5rem; margin-bottom: 16px; }
.quiz-result-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; color: var(--accent); }
.quiz-result-desc { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 24px; line-height: 1.6; }
.quiz-progress {
  display: flex; gap: 6px; justify-content: center; margin-bottom: 24px;
}
.quiz-progress span {
  width: 8px; height: 8px;
  background: var(--border);
  border-radius: 50%;
  transition: all 0.4s var(--ease-spring);
}
.quiz-progress span.done {
  background: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 8px var(--accent);
}
.quiz-progress span.current { background: var(--text); }

/* ═══════════════════════════════════════
   CHAT WIDGET
   ═══════════════════════════════════════ */
.chat-widget {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9998;
}
.chat-toggle {
  width: 56px; height: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-md);
}
.chat-toggle:hover {
  background: var(--bg-card-hover);
  transform: scale(1.08) rotate(10deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.chat-box {
  display: none;
  position: absolute;
  bottom: 72px; right: 0;
  width: 340px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: chatSlideIn 0.3s var(--ease-out);
}
@keyframes chatSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-box.open { display: block; }
.chat-header {
  background: var(--bg-card);
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.chat-header .avatar {
  width: 32px; height: 32px;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 900;
}
.chat-header-info h4 { font-size: 0.85rem; font-weight: 700; }
.chat-header-info span {
  font-size: 0.72rem; color: var(--accent); display: flex; align-items: center; gap: 4px;
}
.chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  border-radius: var(--radius);
  animation: msgFade 0.3s var(--ease-out);
}
@keyframes msgFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  align-self: flex-start;
}
.chat-msg.user {
  background: var(--accent-dim);
  border: 1px solid rgba(205, 255, 80, 0.2);
  align-self: flex-end;
}
.chat-input-wrap {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex; gap: 8px;
}
.chat-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}
.chat-input:focus { border-color: var(--accent); }
.chat-send {
  width: 40px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  color: #000;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.chat-send:hover { background: #bfff3a; transform: scale(1.05); }

@media (max-width: 768px) {
  .chat-box { width: calc(100vw - 48px); right: -8px; }
}

/* ═══════════════════════════════════════
   CTA
   ═══════════════════════════════════════ */
.cta {
  text-align: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(205, 255, 80, 0.04), transparent);
  animation: ctaGlow 6s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.cta-desc {
  color: #a0a890;
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1rem;
  position: relative;
  padding-top: 18px;
}

.cta-desc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.7;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
#footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 60px 24px 30px;
}
.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
  transition: var(--transition);
}
.footer-brand:hover { transform: scale(1.03); }
.footer-brand-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #000;
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}
.footer-nav a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: all 0.3s var(--ease-out);
}
.footer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(205, 255, 80, 0.15);
}
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.heart {
  display: inline-block;
  color: var(--accent);
  animation: heartbeat 1.2s ease-in-out infinite;
  text-shadow: 0 0 10px var(--accent), 0 0 20px rgba(205, 255, 80, 0.5);
  margin-left: 4px;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  10%, 30% { transform: scale(1.3); opacity: 1; }
  20% { transform: scale(1.1); opacity: 0.9; }
  40%, 90% { transform: scale(1); opacity: 0.8; }
}

@media (max-width: 768px) {
  .footer-content { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 12px; }
  .portfolio-grid, .blog-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 70px 16px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}

/* ═══════════════════════════════════════
   CARDS & TAGS
   ═══════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.4s var(--ease-out);
}
.card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(205, 255, 80, 0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 16px;
}
.card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(205, 255, 80, 0.2);
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.card-desc { color: var(--text-dim); font-size: 0.85rem; line-height: 1.6; }
.card-meta { display: flex; gap: 16px; margin-top: 16px; font-size: 0.72rem; color: var(--text-dim); }

.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tag {
  font-size: 0.65rem;
  padding: 3px 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(205, 255, 80, 0.15);
  border-radius: 100px;
  color: var(--accent);
  font-weight: 500;
}

/* ═══════════════════════════════════════
   PAGE
   ═══════════════════════════════════════ */
.page-content { padding: 120px 24px 80px; position: relative; }
.page-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 300px;
  background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(205, 255, 80, 0.03), transparent);
  pointer-events: none;
}
.page-content h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.page-content p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════
   FORM
   ═══════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; margin-bottom: 6px;
  font-size: 0.82rem; color: var(--text-dim);
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(205, 255, 80, 0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ═══════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.9s; opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ═══════════════════════════════════════
   DOWNLOADS
   ═══════════════════════════════════════ */
.downloads-list { display: flex; flex-direction: column; gap: 12px; max-width: 700px; margin: 0 auto; }
.download-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: all 0.3s var(--ease-out);
  text-decoration: none; color: var(--text);
}
.download-item:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}
.download-info { display: flex; flex-direction: column; gap: 4px; }
.download-name { font-weight: 700; font-size: 0.95rem; }
.download-meta { font-size: 0.75rem; color: var(--text-dim); }
.download-btn {
  padding: 8px 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(205, 255, 80, 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.download-btn:hover {
  background: var(--accent);
  color: #000;
}

/* ═══════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ═══════════════════════════════════════
   ENHANCED GLOW EFFECTS
   ═══════════════════════════════════════ */
.cta {
  position: relative;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(205, 255, 80, 0.25), transparent);
}

.portfolio-item {
  box-shadow: 0 0 0 0 rgba(205, 255, 80, 0);
  transition: all 0.4s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.portfolio-item:hover {
  box-shadow: 0 24px 60px rgba(205, 255, 80, 0.15), 0 0 40px rgba(205, 255, 80, 0.05);
}

/* Enhanced reveal stagger — up to 15 items */
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.9s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(11) { transition-delay: 1.0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(12) { transition-delay: 1.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(13) { transition-delay: 1.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(14) { transition-delay: 1.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(15) { transition-delay: 1.4s; opacity: 1; transform: translateY(0); }

/* Enhanced photo glow ring */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 80px rgba(205, 255, 80, 0.1),
    0 0 100px rgba(205, 255, 80, 0.15),
    0 0 180px rgba(205, 255, 80, 0.08);
  pointer-events: none;
  animation: photoRingPulse 3s ease-in-out infinite;
}

@keyframes photoRingPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Hero photo-bg enhanced */
.hero-photo-bg {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(205, 255, 80, 0.15), transparent 55%);
  border-radius: 50%;
  animation: photoGlow 3s ease-in-out infinite;
  filter: blur(20px);
}

@keyframes photoGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.9; }
}

/* Quiz section glow enhancement */
.quiz-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(205, 255, 80, 0.06), transparent 55%);
  pointer-events: none;
  animation: floatQuiz 12s ease-in-out infinite;
}

@keyframes floatQuiz {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(80px, 50px); }
}

/* Download section glow */
.download-item:hover {
  box-shadow: 0 8px 30px rgba(205, 255, 80, 0.08), 0 0 20px rgba(205, 255, 80, 0.03);
}
