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

:root {
  --bg-primary: #0a0a12;
  --bg-secondary: #0f0f1a;
  --bg-card: #12121f;
  --bg-card-hover: #1a1a2e;
  --text-white: #ffffff;
  --text-light: #c0c0d0;
  --text-muted: #6a6a8a;
  --neon-cyan: #00f0ff;
  --neon-purple: #a855f7;
  --neon-pink: #ec4899;
  --neon-green: #22c55e;
  --neon-blue: #3b82f6;
  --neon-orange: #f97316;
  --gradient-neon: linear-gradient(135deg, #00f0ff 0%, #a855f7 100%);
  --gradient-fire: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
  --gradient-matrix: linear-gradient(135deg, #22c55e 0%, #00f0ff 100%);
  --font-display: 'Orbitron', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 60px rgba(0, 240, 255, 0.1);
  --glow-purple: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 60px rgba(168, 85, 247, 0.1);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* ========================================
   PARTICLE CANVAS
   ======================================== */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ========================================
   TEXT UTILITIES
   ======================================== */
.text-gradient {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.center { text-align: center; }

/* ========================================
   GLITCH TEXT EFFECT
   ======================================== */
.glitch-text {
  position: relative;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-pink);
  animation: glitch-1 3s infinite linear alternate-reverse;
  clip-path: inset(0 0 65% 0);
}

.glitch-text::after {
  left: -2px;
  text-shadow: 2px 0 var(--neon-cyan);
  animation: glitch-2 3s infinite linear alternate-reverse;
  clip-path: inset(65% 0 0 0);
}

@keyframes glitch-1 {
  0%, 100% { clip-path: inset(0 0 65% 0); transform: translate(0); }
  20% { clip-path: inset(10% 0 55% 0); transform: translate(-3px, 2px); }
  40% { clip-path: inset(30% 0 35% 0); transform: translate(3px, -1px); }
  60% { clip-path: inset(50% 0 15% 0); transform: translate(-2px, 1px); }
  80% { clip-path: inset(70% 0 0 0); transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
  0%, 100% { clip-path: inset(65% 0 0 0); transform: translate(0); }
  20% { clip-path: inset(55% 0 10% 0); transform: translate(3px, -2px); }
  40% { clip-path: inset(35% 0 30% 0); transform: translate(-3px, 1px); }
  60% { clip-path: inset(15% 0 50% 0); transform: translate(2px, -1px); }
  80% { clip-path: inset(0 0 70% 0); transform: translate(-2px, 2px); }
}

/* ========================================
   CYBER TAG
   ======================================== */
.cyber-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cyber-tag.center {
  justify-content: center;
}

.tag-line {
  width: 30px;
  height: 1px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

.tag-text {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-neon {
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  padding: 14px 40px;
}

.btn-neon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.15), transparent);
  transition: 0.5s;
}

.btn-neon:hover::before {
  left: 100%;
}

.btn-neon:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  padding: 12px 28px;
}

.btn-ghost:hover {
  border-color: var(--neon-purple);
  color: var(--neon-purple);
  box-shadow: var(--glow-purple);
}

.btn-discord {
  background: #5865F2;
  color: white;
  border: none;
  padding: 18px 48px;
  font-size: 14px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}

.btn-discord:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(88, 101, 242, 0.4);
}

.btn-discord .btn-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.btn-small-neon {
  padding: 10px 24px;
  font-size: 10px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0 0;
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 0;
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.05);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.site-header.scrolled .header-inner {
  flex-direction: row;
  justify-content: space-between;
  gap: 0;
  height: 70px;
}

.logo a { display: flex; align-items: center; }

.logo img {
  height: 70px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.2));
}

.site-header.scrolled .logo img {
  height: 40px;
}

.main-nav {
  position: relative;
}

.main-nav ul {
  display: flex;
  gap: 0;
}

.main-nav ul li a {
  display: block;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.main-nav ul li a:hover,
.main-nav ul li.active a {
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.main-nav ul li.active a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: navLineGlow 2s ease-in-out infinite;
}

@keyframes navLineGlow {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--neon-cyan); }
  50% { opacity: 0.6; box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan); }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--neon-cyan);
  transition: var(--transition);
  box-shadow: 0 0 5px var(--neon-cyan);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: var(--bg-secondary);
  z-index: 2000;
  padding: 80px 40px;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid rgba(0, 240, 255, 0.1);
}

.mobile-nav.active { right: 0; }

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
  color: var(--neon-cyan);
}

.mobile-nav ul li a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mobile-nav ul li a:hover {
  color: var(--neon-cyan);
  padding-left: 10px;
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide.exit {
  opacity: 0;
  transform: scale(0.95);
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(1.2);
}

.slide-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(10, 10, 18, 0.6) 0%, rgba(10, 10, 18, 0.2) 40%, rgba(10, 10, 18, 0.8) 100%),
    linear-gradient(90deg, rgba(10, 10, 18, 0.8) 0%, transparent 50%);
}

.slide-content {
  position: absolute;
  bottom: 20%;
  left: 8%;
  z-index: 5;
  max-width: 600px;
}

.slide-glitch-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.slide-glitch-tag::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

.slide-title {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 16px;
  -webkit-text-fill-color: var(--text-white);
}

.slide-desc {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Slide FX overlay */
.slide-fx {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.08;
}

.hex-grid {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(60deg, transparent 25%, rgba(0, 240, 255, 0.15) 25.5%, rgba(0, 240, 255, 0.15) 26%, transparent 26.5%),
    linear-gradient(-60deg, transparent 25%, rgba(0, 240, 255, 0.15) 25.5%, rgba(0, 240, 255, 0.15) 26%, transparent 26.5%),
    linear-gradient(60deg, transparent 74%, rgba(0, 240, 255, 0.15) 74.5%, rgba(0, 240, 255, 0.15) 75%, transparent 75.5%),
    linear-gradient(-60deg, transparent 74%, rgba(0, 240, 255, 0.15) 74.5%, rgba(0, 240, 255, 0.15) 75%, transparent 75.5%);
  background-size: 60px 104px;
  animation: hexFloat 20s linear infinite;
}

@keyframes hexFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-104px); }
}

/* Slider Navigation */
.hero-slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(10, 10, 18, 0.5);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.slider-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--glow-cyan);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 30px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  width: 50px;
}

.dot:hover { background: rgba(0, 240, 255, 0.5); }

/* Slide counter */
.slider-counter {
  position: absolute;
  bottom: 40px;
  right: 8%;
  z-index: 10;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.3);
}

.counter-current {
  color: var(--neon-cyan);
  font-size: 24px;
  font-weight: 700;
}

.counter-sep { margin: 0 4px; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--neon-cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 60px; }
  50% { opacity: 1; height: 80px; }
}

.scroll-indicator span {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

/* ========================================
   ABOUT / INTRO SECTION
   ======================================== */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.section-about {
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.about-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.stat-label {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-image-wrapper {
  position: relative;
  padding: 20px;
}

.about-image-wrapper img {
  width: 100%;
  border: 1px solid rgba(0, 240, 255, 0.1);
}

.image-glitch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 240, 255, 0.02) 2px,
    rgba(0, 240, 255, 0.02) 4px
  );
  pointer-events: none;
  animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

.corner-decor {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--neon-cyan);
  border-style: solid;
}

.corner-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.corner-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.corner-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

/* Reveal animations */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.revealed {
  opacity: 1;
  transform: translate(0);
}

/* ========================================
   PROJECTS TABBED SECTION
   ======================================== */
.section-projects {
  background: var(--bg-secondary);
}

.project-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tab-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-neon);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.tab-btn:hover {
  color: var(--text-light);
  border-color: rgba(0, 240, 255, 0.2);
}

.tab-btn.active {
  color: var(--neon-cyan);
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.05);
}

.tab-btn.active::before {
  transform: scaleX(1);
}

.tab-icon {
  font-size: 14px;
}

.tab-btn.active .tab-icon {
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

/* Panels */
.project-panel {
  display: none;
  animation: panelIn 0.5s ease;
}

.project-panel.active {
  display: block;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.05);
  overflow: hidden;
}

.panel-image {
  position: relative;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

.panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.panel-image:hover img {
  transform: scale(1.05);
}

.panel-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 18, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.panel-image:hover .panel-image-overlay {
  opacity: 1;
}

.panel-info {
  padding: 40px 40px 40px 0;
}

.panel-status {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-status i {
  font-size: 8px;
  animation: statusPulse 1.5s ease-in-out infinite;
}

.status-active { color: var(--neon-green); }
.status-dev { color: var(--neon-orange); }

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

.panel-info h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.panel-tagline {
  font-family: var(--font-condensed);
  font-size: 14px;
  color: var(--neon-cyan);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.panel-info > p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.panel-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.1);
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-light);
}

.feature-chip i {
  color: var(--neon-cyan);
  font-size: 11px;
}

.panel-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================
   BLOG SECTION
   ======================================== */
.section-blog {
  padding: 120px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  min-height: 200px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), var(--glow-cyan);
}

.blog-card-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.blog-card-image .blog-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
  backdrop-filter: blur(10px);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-date {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-card-body h3 a:hover {
  color: var(--neon-cyan);
}

.blog-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-family: var(--font-condensed);
  font-size: 14px;
  letter-spacing: 2px;
  border: 1px dashed rgba(255, 255, 255, 0.05);
}

.blog-admin-toggle {
  text-align: center;
}

/* ========================================
   ADMIN PANEL
   ======================================== */
.admin-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}

.admin-overlay.active {
  display: flex;
}

.admin-panel {
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 240, 255, 0.1);
  overflow-y: auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  background: rgba(0, 240, 255, 0.03);
}

.admin-header h3 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.admin-close:hover { color: var(--neon-pink); }

.admin-body { padding: 24px; }

.admin-field {
  margin-bottom: 16px;
}

.admin-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.1);
}

.admin-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236a6a8a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.admin-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 24px 0;
}

.admin-posts-list .admin-post-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.admin-post-item span {
  font-size: 13px;
  color: var(--text-light);
}

.admin-post-item button {
  background: none;
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: var(--neon-pink);
  padding: 4px 12px;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.admin-post-item button:hover {
  background: rgba(236, 72, 153, 0.1);
}

/* ========================================
   DISCORD CTA SECTION
   ======================================== */
.section-discord {
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.discord-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(88, 101, 242, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 40%);
}

.discord-inner {
  position: relative;
  z-index: 1;
}

.discord-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}

.discord-icon-wrap > i {
  font-size: 48px;
  color: #5865F2;
  filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.5));
  z-index: 1;
  animation: discordBounce 3s ease-in-out infinite;
}

@keyframes discordBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.discord-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(88, 101, 242, 0.3);
  animation: discordPulse 2s ease-in-out infinite;
}

.discord-pulse.delay {
  animation-delay: 1s;
}

@keyframes discordPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.discord-text {
  max-width: 500px;
  margin: 0 auto 40px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
}

.discord-members {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.member-avatars {
  display: flex;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-left: -8px;
}

.avatar-circle:first-child { margin-left: 0; }

.discord-members > span {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.2));
}

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

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

.footer-links a {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--neon-cyan); }

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}

.footer-bottom span {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.15);
}

.footer-glow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { flex-direction: row; justify-content: space-between; height: 70px; }
  .site-header { padding: 0; background: rgba(10, 10, 18, 0.95); }
  .logo img { height: 40px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .panel-inner { grid-template-columns: 1fr; }
  .panel-info { padding: 30px; }
  .panel-image { min-height: 250px; }
  .slide-title { font-size: 48px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-title { font-size: 32px; }
  .slide-title { font-size: 36px; }
  .slide-content { bottom: 25%; left: 6%; right: 6%; }
  .about-stats { justify-content: center; }
  .project-tabs { gap: 8px; }
  .tab-btn { padding: 10px 16px; font-size: 10px; }
  .blog-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto 40px; }
  .cta-title { font-size: 36px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .discord-text { font-size: 14px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 26px; }
  .slide-title { font-size: 28px; }
  .slide-desc { font-size: 13px; }
  .container { padding: 0 16px; }
  .about-stats { flex-direction: column; gap: 20px; }
  .tab-btn span:not(.tab-icon) { display: none; }
  .tab-btn .tab-icon { font-size: 18px; }
}
