/* ============================================
   ASHISH MALLA - FUNKY PORTFOLIO
   Personality-first, credibility-backed
   ============================================ */

/* CSS Variables */
:root {
  /* Colors - Funky but readable */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a25;
  --bg-card: #16161f;
  
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6a6a7a;
  
  --accent-primary: #7c3aed; /* Purple */
  --accent-secondary: #06b6d4; /* Cyan */
  --accent-tertiary: #f97316; /* Orange */
  --accent-success: #22c55e; /* Green */
  --accent-pink: #ec4899;
  --accent-yellow: #facc15;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #06b6d4 50%, #f97316 100%);
  --gradient-card: linear-gradient(145deg, #1a1a25 0%, #12121a 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  
  /* Typography */
  --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-username: 'Caveat', cursive;
  --font-handwritten: 'Caveat', cursive;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Borders */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);

  /* Navigation */
  --nav-height: 64px;
  --nav-offset: 1rem;
}

/* Reset & Base */
.print-resume {
  display: none;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: calc(var(--nav-height) + var(--nav-offset) + 1rem);
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  /* Subtle noise texture via pseudo-element */
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

a, button, [role="button"] {
  cursor: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Selection style */
::selection {
  background: rgba(124, 58, 237, 0.3);
  color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* ============================================
   USERNAME FONT - Gajraj One (4 looks like h)
   ============================================ */
.username-font {
  font-family: var(--font-username);
  letter-spacing: 1px;
}

/* ============================================
   CURSOR FOLLOWER
   ============================================ */
.cursor-follower {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #06b6d4, #7c3aed);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.8;
  transition: width 0.15s ease, height 0.15s ease, opacity 0.15s ease;
  mix-blend-mode: difference;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.3);
  will-change: transform;
  transform: translate(-50%, -50%);
}

.cursor-follower.active {
  width: 50px;
  height: 50px;
  opacity: 1;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.8);
}

@media (max-width: 768px) {
  .cursor-follower {
    display: none;
  }
  
  body {
    cursor: default;
  }
  
  a, button, [role="button"] {
    cursor: pointer;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .cursor-follower {
    display: none;
  }
  
  body {
    cursor: default;
    -webkit-tap-highlight-color: rgba(124, 58, 237, 0.15);
  }
  
  a, button, [role="button"] {
    cursor: pointer;
  }

  /* Add touch feedback */
  .activity-card:active,
  .community-card:active,
  .easter-card:active,
  .contact-card:active,
  .nav-link:active,
  .mobile-link:active {
    transform: scale(0.98);
    opacity: 0.9;
  }

  .gallery-item:hover {
    transform: none;
  }

  .gallery-caption {
    transform: translateY(0);
    opacity: 0.95;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: var(--nav-offset);
  left: 0;
  right: 0;
  padding: 0 var(--space-xl);
  z-index: 1000;
}

.nav-inner {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  border-radius: 999px;
  background: rgba(12, 12, 20, 0.85);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(124, 58, 237, 0.1);
  z-index: 1000;
}

.nav-logo {
  font-weight: 600;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}

.logo-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: help;
  transition: transform var(--transition-slow);
  display: inline-block;
}

.logo-text:hover {
  transform: rotate(180deg);
  filter: brightness(1.2);
}

.nav-links {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 4px;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.nav-link.nav-download {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(124, 58, 237, 0.4);
}

.nav-link.nav-download:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(6, 182, 212, 0.3));
  border-color: rgba(6, 182, 212, 0.6);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.18);
}

.nav-link.active {
  background: rgba(124, 58, 237, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.35);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-normal);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: calc(var(--nav-offset) + var(--nav-height) + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 2rem));
  background: rgba(18, 18, 26, 0.98);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  padding: var(--space-xl);
  display: none;
  flex-direction: column;
  gap: var(--space-lg);
  z-index: 999;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  display: flex;
}

.mobile-link {
  font-size: 1.1rem;
  color: var(--text-secondary);
  padding: var(--space-md) var(--space-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--transition-fast);
}

.mobile-link:hover,
.mobile-link:active {
  color: var(--accent-primary);
}

@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
    --nav-offset: 0.6rem;
  }

  .nav {
    padding: 0 var(--space-md);
  }

  .nav-inner {
    padding: var(--space-xs) var(--space-md);
  }

  .nav-links {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
}

/* ============================================
   PROFILE IMAGE
   ============================================ */
.profile-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid transparent;
  background: var(--gradient-hero);
  padding: 3px;
  position: relative;
  z-index: 2;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}

.profile-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: var(--gradient-hero);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  z-index: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-4xl) var(--space-xl);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    var(--gradient-glow),
    radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(249, 115, 22, 0.06) 0%, transparent 60%);
  opacity: 0.5;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3xl);
}

.hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4xl);
  width: 100%;
}

.hero-text {
  flex: 1;
  max-width: 550px;
}

.hero-image {
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius-xl);
  font-size: 0.85rem;
  color: var(--accent-success);
  animation: fadeInUp 0.6s ease;
  margin-top: var(--space-md);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.1s both;
}


.greeting {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.name {
  display: block;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.glitch-text {
  position: relative;
}

.glitch-text:hover {
  animation: glitch 0.3s ease;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

.hero-taglines {
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.tagline {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  position: relative;
  transition: var(--transition-normal);
}

.hero-personality {
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.6s ease 0.3s both;
}

.personality-line {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-style: italic;
}

.hero-terminal {
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: fadeInUp 0.6s ease 0.4s both;
  text-align: left;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.terminal-header {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-body {
  padding: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.terminal-prompt {
  color: var(--accent-success);
  margin-right: var(--space-sm);
}

.terminal-command {
  color: var(--text-primary);
}

.terminal-cursor {
  color: var(--accent-primary);
  animation: blink 1s infinite;
}

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

.terminal-output {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.output-line {
  color: var(--text-secondary);
  animation: typeIn 0.5s ease both;
}

.output-line:nth-child(1) { animation-delay: 0.5s; }
.output-line:nth-child(2) { animation-delay: 0.7s; }
.output-line:nth-child(3) { animation-delay: 0.9s; }

@keyframes typeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.scroll-hint-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: var(--space-2xl);
  left: 0;
  right: 0;
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  animation: fadeInUp 0.6s ease 0.6s both;
}

.scroll-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-arrow {
  font-size: 1.5rem;
  color: var(--accent-primary);
  animation: bounce 2s infinite;
}

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

.hero-side-note {
  position: absolute;
  right: var(--space-xl);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.side-note-content {
  font-family: var(--font-handwritten);
  font-size: 1.2rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.side-note-arrow {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .hero-side-note {
    display: none;
  }
}

/* Floating stickers */
.floating-stickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sticker {
  position: absolute;
  font-size: 2rem;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.sticker-1 { top: 20%; left: 10%; animation-delay: 0s; }
.sticker-2 { top: 30%; right: 15%; animation-delay: 1.5s; }
.sticker-3 { bottom: 30%; left: 15%; animation-delay: 3s; }
.sticker-4 { bottom: 20%; right: 10%; animation-delay: 4.5s; }
.sticker-5 { top: 50%; left: 5%; animation-delay: 2s; font-size: 1.6rem; }
.sticker-6 { bottom: 40%; right: 8%; animation-delay: 3.5s; font-size: 1.4rem; }

@keyframes float {
  0%, 100% { 
    transform: translateY(0) rotate(0deg); 
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-15px) rotate(5deg); 
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-30px) rotate(10deg); 
    opacity: 0.9;
  }
  75% { 
    transform: translateY(-15px) rotate(-5deg); 
    opacity: 0.7;
  }
}

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

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-xl) var(--space-xl);
  max-width: 600px;
  margin: 0 auto;
}

.divider-emoji {
  font-size: 1.4rem;
  opacity: 0.6;
  animation: float 4s ease-in-out infinite;
}

.divider-emoji:last-child {
  animation-delay: 2s;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.4), rgba(6, 182, 212, 0.4), transparent);
}

/* ============================================
   SECTIONS BASE
   ============================================ */
.section {
  padding: var(--space-4xl) var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.title-decorator {
  color: var(--accent-primary);
  font-family: var(--font-mono);
  margin-right: var(--space-sm);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.5;
}

.section-doodle {
  position: absolute;
  top: -20px;
  right: 20%;
  font-size: 2rem;
  animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.subsection-title {
  font-size: 1.3rem;
  color: var(--accent-secondary);
  margin-bottom: var(--space-xl);
  margin-top: var(--space-2xl);
  text-align: center;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-intro {
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.activity-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), 
              border-color var(--transition-normal),
              box-shadow var(--transition-normal);
  will-change: transform;
}

.activity-card:hover {
  will-change: auto;
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.activity-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-lg);
}

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

.activity-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.activity-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.activity-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.activity-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(124, 58, 237, 0.2);
  color: var(--accent-primary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
}

/* Card shimmer effect on hover */
.activity-card::after,
.community-card::after,
.education-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.activity-card:hover::after,
.community-card:hover::after,
.education-block:hover::after {
  left: 100%;
}

/* Roles strip */
.roles-strip {
  background: var(--bg-secondary);
  overflow: hidden;
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.roles-track {
  display: flex;
  gap: var(--space-xl);
  animation: scroll 20s linear infinite;
  width: max-content;
}

.role-item {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.role-divider {
  color: var(--accent-primary);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   COMMUNITY SECTION
   ============================================ */
.community-section {
  position: relative;
}

.community-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.community-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal),
              border-color var(--transition-normal);
  will-change: transform;
}

.community-card:hover {
  will-change: auto;
}

.community-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.community-card.main-card {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.15) 0%, var(--bg-card) 100%);
  border-color: rgba(124, 58, 237, 0.3);
}

/* Standardized logo containers */
.community-logo-container {
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: center;
}

.logo-wrapper {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-sm);
  transition: var(--transition-normal);
  overflow: hidden;
  flex-shrink: 0;
}

.community-card:hover .logo-wrapper {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
  transform: scale(1.1) rotate(5deg);
}

.logo-wrapper.logo-emoji-wrapper {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.1));
}

.community-logo-img {
  margin-bottom: var(--space-md);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-emoji {
  font-size: 2rem;
  filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.3));
}

.logo-img {
  max-width: 48px;
  max-height: 48px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  image-rendering: -webkit-optimize-contrast;
  transition: var(--transition-normal);
}

/* Hackerabad logo - full width */
.hackerabad-logo-container {
  margin-bottom: var(--space-xl);
}

.hackerabad-logo-wrapper {
  width: 100% !important;
  max-width: 280px;
  height: auto;
  padding: var(--space-lg);
}

.hackerabad-logo {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 120px !important;
}

.community-card:hover .logo-img {
  transform: scale(1.05);
}

.community-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.community-role {
  color: var(--accent-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.community-desc {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.community-stats {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.community-link {
  color: var(--accent-primary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.community-link:hover {
  color: var(--accent-secondary);
}

/* Past communities */
.past-communities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.past-community-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--bg-card);
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.past-community-item:hover {
  border-color: rgba(124, 58, 237, 0.3);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.05), var(--bg-card));
  transform: translateX(5px);
}

.past-logo-wrapper {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
  overflow: hidden;
}

.past-community-item:hover .past-logo-wrapper {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
  transform: rotate(5deg);
}

.past-logo {
  font-size: 1.2rem;
}

.past-logo-img {
  max-width: 24px;
  max-height: 24px;
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.past-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.past-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.past-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.past-link {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.past-link:hover {
  color: var(--accent-primary);
}

.community-highlights {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.highlights-title {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight-emoji {
  font-size: 1.2rem;
}

.highlight-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Gallery */
.gallery-section {
  margin-top: var(--space-3xl);
}

.gallery-title {
  text-align: center;
  font-family: var(--font-handwritten);
  font-size: 1.8rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.doodle-arrow {
  animation: bounce 2s infinite;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  transition: var(--transition-normal);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:hover {
  transform: scale(1.02);
  z-index: 10;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-card);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.placeholder-icon {
  font-size: 2rem;
  opacity: 0.5;
}

.placeholder-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transform: translateY(100%);
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
  image-rendering: -webkit-optimize-contrast;
}

.gallery-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: var(--space-lg);
  font-style: italic;
}

/* ============================================
   SPEAKING SECTION
   ============================================ */
.speaking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
}

.speaking-category {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.speaking-year {
  font-size: 1.2rem;
  color: var(--accent-secondary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.speaking-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.speaking-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.speaking-item:hover {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.05);
}

.speaking-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.speaking-event {
  font-weight: 600;
  font-size: 0.95rem;
}

.speaking-topic {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.speaking-type {
  font-size: 0.75rem;
  background: rgba(124, 58, 237, 0.2);
  color: var(--accent-primary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   EDUCATION SECTION - CLEAN BLOCKS
   ============================================ */
.education-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

/* Grid layout for education blocks */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}

/* Individual education block */
.education-block {
  background: linear-gradient(145deg, rgba(26, 26, 37, 0.95) 0%, rgba(18, 18, 26, 0.9) 100%);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.education-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.education-block:hover::before {
  transform: scaleX(1);
}

.education-block:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.3);
  background: linear-gradient(145deg, rgba(30, 30, 45, 0.95) 0%, rgba(22, 22, 32, 0.9) 100%);
}

/* Emoji at top */
.edu-emoji {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.3));
  transition: var(--transition-normal);
}

.education-block:hover .edu-emoji {
  transform: scale(1.15) rotate(5deg);
}

/* Year */
.edu-year {
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Degree name */
.edu-degree {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

/* School name */
.edu-school {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

/* Status badge */
.edu-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  backdrop-filter: blur(10px);
  margin-top: var(--space-xs);
}

.edu-badge.pursuing {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(6, 182, 212, 0.2) 100%);
  color: var(--accent-primary);
  border: 1px solid rgba(124, 58, 237, 0.4);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3); }
  50% { box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5); }
}

.edu-badge.completed {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
  color: var(--accent-success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ============================================
   EASTER EGG SECTION
   ============================================ */
.easter-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-4xl);
}

.easter-intro {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.easter-text {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.easter-icon {
  margin-right: var(--space-sm);
}

.easter-subtext {
  color: var(--text-muted);
  font-family: var(--font-handwritten);
  font-size: 1.3rem;
}

.easter-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.easter-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  transition: var(--transition-normal);
}

.easter-card:hover {
  transform: translateY(-5px) rotate(1deg);
  border-color: rgba(124, 58, 237, 0.3);
}

.easter-card-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

/* Music card */
.music-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.music-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-sm);
}

.music-note {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.artist-name {
  font-weight: 600;
  color: var(--accent-pink);
}

.music-vibe {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Watching card */
.watching-text {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.watching-subtext {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.kdrama-icons {
  font-size: 1.5rem;
}

/* Heroes card */
.heroes-text {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.heroes-subtext {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* Username reveal card */
.username-card {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.1) 0%, var(--bg-card) 100%);
  border-color: rgba(124, 58, 237, 0.3);
  position: relative;
}

.username-reveal {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.username-normal,
.username-magic,
.username-result {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.username-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-width: 100px;
}

.username-text {
  font-size: 1.5rem;
  color: var(--accent-secondary);
  letter-spacing: 2px;
}

.username-rotated {
  font-size: 1.5rem;
  color: var(--accent-tertiary);
  letter-spacing: 2px;
  transform: rotate(180deg);
  display: inline-block;
}

.username-ashish {
  font-family: var(--font-handwritten);
  font-size: 2rem;
  color: var(--accent-primary);
}

.username-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

.special-four {
  font-size: 1.3rem;
  color: var(--accent-tertiary);
  font-weight: 700;
}

.special-h {
  font-family: var(--font-handwritten);
  font-size: 1.3rem;
  color: var(--accent-primary);
  font-weight: 700;
}

.mind-blown {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

.nerd-badge {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.1));
  border: 2px solid rgba(124, 58, 237, 0.4);
  border-radius: var(--border-radius-xl);
  max-width: 300px;
  margin: 0 auto;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.nerd-badge:hover,
.nerd-badge:focus-visible {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(6, 182, 212, 0.2));
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
  outline: none;
}

.nerd-badge:hover::before {
  left: 100%;
}

.nerd-badge:active {
  transform: translateY(0) scale(0.95);
}

.nerd-text {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nerd-icon {
  font-size: 1.5rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-header {
  margin-bottom: var(--space-3xl);
}

.contact-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-md);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xl) var(--space-md);
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  transition: transform var(--transition-normal),
              border-color var(--transition-normal),
              box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.contact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0;
  transition: var(--transition-normal);
  pointer-events: none;
}

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

.contact-card:hover::after {
  opacity: 0.3;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: currentColor;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px currentColor;
}

/* Contact card hover glow pulse */
@keyframes cardGlow {
  0%, 100% { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px currentColor; }
  50% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 45px currentColor; }
}

.contact-card:hover {
  animation: cardGlow 2s ease-in-out infinite;
}

.contact-icon {
  font-size: 2.5rem;
  transition: var(--transition-normal);
}

.contact-card:hover .contact-icon {
  transform: scale(1.2) rotate(5deg);
}

.contact-label {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.9;
}

.email-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
  border-color: rgba(99, 102, 241, 0.5);
  color: rgb(165, 180, 252);
}

.email-card:hover {
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3), 0 0 40px rgba(99, 102, 241, 0.4);
}

.linkedin-card {
  background: linear-gradient(135deg, rgba(10, 102, 194, 0.25) 0%, rgba(0, 119, 181, 0.15) 100%);
  border-color: rgba(10, 102, 194, 0.5);
  color: rgb(96, 165, 250);
}

.linkedin-card:hover {
  box-shadow: 0 20px 40px rgba(10, 102, 194, 0.3), 0 0 40px rgba(10, 102, 194, 0.4);
}

.twitter-card {
  background: linear-gradient(135deg, rgba(29, 155, 240, 0.25) 0%, rgba(96, 165, 250, 0.15) 100%);
  border-color: rgba(29, 155, 240, 0.5);
  color: rgb(125, 211, 252);
}

.twitter-card:hover {
  box-shadow: 0 20px 40px rgba(29, 155, 240, 0.3), 0 0 40px rgba(29, 155, 240, 0.4);
}

.instagram-card {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25) 0%, rgba(251, 113, 133, 0.15) 100%);
  border-color: rgba(236, 72, 153, 0.5);
  color: rgb(251, 207, 232);
}

.instagram-card:hover {
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.3), 0 0 40px rgba(236, 72, 153, 0.4);
}

.github-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(168, 85, 247, 0.15) 100%);
  border-color: rgba(139, 92, 246, 0.5);
  color: rgb(196, 181, 253);
}

.github-card:hover {
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3), 0 0 40px rgba(139, 92, 246, 0.4);
}

.devpost-card {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(14, 165, 233, 0.15) 100%);
  border-color: rgba(6, 182, 212, 0.5);
  color: rgb(103, 232, 249);
}

.devpost-card:hover {
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.3), 0 0 40px rgba(6, 182, 212, 0.4);
}

.wall-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25) 0%, rgba(251, 146, 60, 0.15) 100%);
  border-color: rgba(249, 115, 22, 0.5);
  color: rgb(254, 215, 170);
}

.wall-card:hover {
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3), 0 0 40px rgba(249, 115, 22, 0.4);
}

.contact-footer {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-3xl) var(--space-xl);
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: var(--space-lg);
}

.footer-logo .logo-text {
  font-size: 1.5rem;
}

.footer-text {
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.footer-year {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-stack {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: var(--space-sm);
  opacity: 0.6;
  font-family: var(--font-mono);
}

.footer-easter {
  margin-top: var(--space-xl);
}

.footer-secret {
  font-family: var(--font-handwritten);
  font-size: 1.2rem;
  color: var(--accent-primary);
  opacity: 0.7;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet breakpoint */
@media (max-width: 1024px) {
  .hero-main {
    gap: var(--space-2xl);
  }

  .profile-image {
    width: 240px;
    height: 240px;
  }

  .profile-glow {
    width: 290px;
    height: 290px;
  }

  .speaking-grid {
    grid-template-columns: 1fr;
  }

  .community-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .activities-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .contact-options {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .hero {
    padding: var(--space-2xl) var(--space-md);
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: var(--space-3xl);
  }

  .hero-taglines .tagline {
    font-size: 1.1rem;
  }

  .greeting {
    font-size: 1.2rem;
  }

  .personality-line {
    font-size: 1rem;
  }

  .nav {
    padding: 0 var(--space-md);
  }

  .nav-logo {
    font-size: 1.1rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-menu {
    padding: var(--space-lg) var(--space-md);
  }

  .hero-main {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: var(--space-lg);
  }

  .hero-image {
    order: 1;
  }

  .hero-text {
    max-width: 100%;
    order: 2;
  }

  .hero-badge {
    justify-content: center;
    margin-bottom: var(--space-sm);
  }

  .hero-title {
    margin-bottom: var(--space-sm);
  }


  .hero-taglines {
    margin-bottom: var(--space-sm);
  }

  .hero-personality {
    margin-bottom: var(--space-lg);
  }

  .hero-terminal {
    max-width: 100%;
  }

  .terminal-body {
    font-size: 0.8rem;
    padding: var(--space-sm) var(--space-md);
  }

  .scroll-hint-wrapper {
    position: static;
    margin-top: var(--space-xl);
    display: none;
  }

  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .activity-card {
    padding: var(--space-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 180px;
  }

  .activity-desc {
    font-size: 0.85rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .activity-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
  }

  .activity-title {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .community-card {
    padding: var(--space-lg);
  }

  .community-stats {
    justify-content: center;
    gap: var(--space-2xl);
  }

  .past-communities {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .community-highlights {
    padding: var(--space-lg);
  }

  .speaking-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .speaking-category {
    padding: var(--space-lg);
  }

  .speaking-year {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
  }

  .speaking-year::after {
    content: '＋';
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
  }

  .speaking-year.expanded::after {
    content: '−';
  }

  .speaking-year.expanded {
    margin-bottom: var(--space-lg);
  }

  .speaking-items {
    display: none;
  }

  .speaking-items.expanded {
    display: flex;
  }

  .speaking-item {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
  }

  .easter-content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .easter-card {
    padding: var(--space-lg);
  }

  .username-normal,
  .username-magic,
  .username-result {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .username-label {
    min-width: auto;
  }

  .username-text,
  .username-rotated {
    font-size: 1.3rem;
  }

  .username-ashish {
    font-size: 1.6rem;
  }

  .contact-options {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .contact-card {
    padding: var(--space-lg);
  }

  /* Education grid for mobile */
  .education-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
  }

  .education-block {
    padding: var(--space-xl) var(--space-md);
  }

  .edu-emoji {
    font-size: 2.5rem;
  }

  .edu-degree {
    font-size: 1.3rem;
  }

  .floating-stickers {
    display: none;
  }

  .section-divider {
    padding: var(--space-md) var(--space-md);
  }

  .hero-content {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .profile-image {
    width: 180px;
    height: 180px;
  }

  .profile-glow {
    width: 230px;
    height: 230px;
  }

  .profile-placeholder {
    font-size: 5rem;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-caption {
    transform: translateY(0);
    font-size: 0.75rem;
    padding: var(--space-sm);
  }

  .roles-strip {
    margin-left: calc(-1 * var(--space-md));
    margin-right: calc(-1 * var(--space-md));
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .subsection-title {
    font-size: 1.1rem;
  }

  .about-intro {
    font-size: 1rem;
  }

  .easter-text {
    font-size: 1.2rem;
  }

  .easter-subtext {
    font-size: 1.1rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .footer {
    padding: var(--space-2xl) var(--space-md);
  }

  .footer-logo .logo-text {
    font-size: 1.3rem;
  }

  .gallery-title {
    font-size: 1.4rem;
  }

  .mind-blown {
    font-size: 1.5rem;
    top: 15px;
    right: 15px;
  }

  .nerd-badge {
    max-width: 260px;
  }
}

/* Small mobile breakpoint */
@media (max-width: 480px) {
  .hero {
    padding-top: 4.5rem;
  }

  .name {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .hero-taglines .tagline {
    font-size: 1rem;
  }

  .contact-options {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    text-align: left;
  }

  .contact-icon {
    font-size: 1.8rem;
  }

  .contact-label {
    font-size: 1rem;
  }

  .contact-value {
    font-size: 0.85rem;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: span 1;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .profile-glow {
    width: 200px;
    height: 200px;
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }

  .section-doodle {
    display: none;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  .terminal-body {
    font-size: 0.75rem;
  }

  .speaking-event {
    font-size: 0.9rem;
  }

  .speaking-topic {
    font-size: 0.8rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .community-name {
    font-size: 1.3rem;
  }

  .logo-emoji {
    font-size: 2.5rem;
  }

  /* Education blocks for small mobile */
  .education-block {
    padding: var(--space-lg) var(--space-md);
  }

  .edu-emoji {
    font-size: 2.2rem;
  }

  .edu-degree {
    font-size: 1.2rem;
  }

  .edu-year {
    font-size: 0.75rem;
  }

  .edu-school {
    font-size: 0.85rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .cursor-follower {
    display: none;
  }
  
  body {
    cursor: default;
  }
  
  a, button, [role="button"] {
    cursor: pointer;
  }
}

/* Focus states */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: var(--border-radius-sm);
}

.nav-link:focus-visible {
  outline-offset: 2px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent-secondary);
  outline-offset: 2px;
}

/* ============================================
   PRINT STYLES - DIY CUBE RESUME LAYOUT
   ============================================ */
@media print {
  /* Reset everything for print */
  * {
    animation: none !important;
    transition: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 11pt;
    margin: 0;
    padding: 0;
  }

  /* Hide all normal site content */
  .nav,
  .mobile-menu,
  .cursor-follower,
  .hero,
  .about-section,
  .community-section,
  .speaking-section,
  .education-section,
  .easter-section,
  .contact-section,
  .footer,
  .scroll-hint-wrapper,
  .floating-stickers,
  .hero-side-note {
    display: none !important;
  }

  /* Show the print resume */
  .print-resume {
    display: block !important;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  /* Cube layout - two columns */
  .print-cube {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    min-height: 100vh;
    page-break-inside: avoid;
  }

  .cube-side {
    padding: 30px;
    border: 2px solid #000;
  }

  .cube-left {
    border-right: 1px solid #000;
  }

  .cube-right {
    border-left: 1px solid #000;
    display: flex;
    flex-direction: column;
  }

  .print-name {
    font-family: 'Gajraj One', sans-serif;
    font-size: 24pt;
    margin: 0 0 4px 0;
    color: #000;
  }

  .print-tagline {
    font-size: 10pt;
    color: #444;
    margin: 0 0 16px 0;
  }

  .print-section-title {
    font-size: 11pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
    margin: 16px 0 8px 0;
    color: #000;
  }

  .print-item {
    margin-bottom: 10px;
  }

  .print-item-title {
    font-weight: 600;
    font-size: 10pt;
    color: #000;
  }

  .print-item-subtitle {
    font-size: 9pt;
    color: #444;
  }

  .print-item-detail {
    font-size: 9pt;
    color: #666;
  }

  .print-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
  }

  .print-skill {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 8pt;
    color: #000;
  }

  .print-qr-section {
    margin-top: auto;
    text-align: center;
    padding-top: 20px;
  }

  .print-qr-section img {
    width: 120px;
    height: 120px;
  }

  .print-qr-label {
    font-size: 8pt;
    color: #666;
    margin-top: 6px;
  }

  .print-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
  }

  .print-contact-item {
    font-size: 9pt;
    color: #000;
  }

  /* Cut guide dashes */
  .cube-cut-guide {
    border: 1px dashed #ccc;
    position: relative;
  }

  .cube-cut-guide::before {
    content: '✂ cut here';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7pt;
    color: #aaa;
    background: #fff;
    padding: 0 4px;
  }

  /* Links should not show URLs in print */
  a {
    color: #000 !important;
    text-decoration: none !important;
  }

  a::after {
    content: '' !important;
  }
}
