@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@1,400;1,600;1,700&display=swap');

@font-face {
  font-family: 'Onder';
  src: url('Onder-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* CSS Variables: Light Theme Design System */
:root {
  --bg-color: #ffffff;
  --bg-section-alt: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.6);
  --bg-card-hover: rgba(255, 255, 255, 0.85);
  --border-color: rgba(0, 0, 0, 0.06);
  --border-color-hover: rgba(234, 255, 0, 0.6);
  --text-primary: #0f172a;
  --text-secondary: #515866;
  --text-dark: #0f172a;
  
  /* The custom gradient requested */
  --neon-gradient: linear-gradient(90deg, rgba(234, 255, 0, 1) 0%, rgba(226, 237, 157, 1) 46%, rgba(234, 255, 0, 1) 100%);
  --neon-solid: #eaff00;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-bold: 'Outfit', sans-serif;
  --font-custom: 'Onder', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(234, 255, 0, 0.3) var(--bg-color);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-solid);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  background-color: var(--bg-color);
  min-height: 100vh;
  position: relative;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle background tech grid and soft ambient glows */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
}



/* Typography styles */
.serif-italic-lowercase {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: lowercase;
  font-weight: 400;
  letter-spacing: -0.03em;
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  line-height: 1.1;
}

p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.05rem;
  font-weight: 300;
}

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

/* Highlights */
.highlight-text {
  background: var(--neon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 600;
}

.highlight-underline {
  position: relative;
  display: inline-block;
}
.highlight-underline::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon-gradient);
  transform: scaleX(1);
  transform-origin: left;
  transition: var(--transition-smooth);
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Navigation: Floating White Capsule with Glassmorphism */
nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #555c68;
  padding: 8px 20px;
  border-radius: 100px;
  transition: var(--transition-smooth);
  display: block;
}

.nav-link:hover {
  color: #000000;
  background: rgba(0, 0, 0, 0.04);
}

.nav-link.active {
  background: var(--neon-gradient);
  color: var(--text-dark);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(234, 255, 0, 0.35);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 2rem 4rem 2rem;
}

/* Background image handling with full opacity */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('herobackground.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom overlay: fully transparent at top/center, fades to solid white background at bottom */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.1) 60%, 
    rgba(255, 255, 255, 1) 100%
  );
  z-index: 1;
}

/* Floating white glass container for text readability on background */
.hero-content {
  z-index: 2;
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 3.5rem 2.5rem;
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-solid);
  box-shadow: 0 0 8px var(--neon-solid);
  animation: pulse 2s infinite;
}

.badge.active-badge {
  border-color: rgba(234, 255, 0, 0.6);
  color: var(--text-primary);
  background: rgba(234, 255, 0, 0.05);
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px var(--neon-solid); }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: var(--text-primary);
}

.hero-title span.role {
  display: block;
  font-size: 0.75em;
}

.hero-description {
  max-width: 580px;
  font-size: 1.2rem;
  margin: 0.5rem 0 1rem 0;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--neon-gradient);
  color: #000000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 25px rgba(234, 255, 0, 0.25);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(234, 255, 0, 0.45);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateY(2px);
}

/* Sections General */
section {
  padding: 8rem 0;
  position: relative;
}

section:nth-of-type(even) {
  background-color: var(--bg-section-alt);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.section-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #0f172a;
  background: var(--neon-gradient);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: inline-block;
  align-self: flex-start;
  width: max-content;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.2rem;
  margin-top: 0.5rem;
}

/* Showcase Section */
.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Custom Video Player Container */
/* Hide default WebKit controls to ensure custom player renders */
video::-webkit-media-controls {
  display: none !important;
}
video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* Custom styled video player container */
.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #09090b;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth) !important;
}

.video-wrapper:hover {
  border-color: rgba(234, 255, 0, 0.5);
  box-shadow: 0 30px 60px rgba(234, 255, 0, 0.08);
}

.video-player {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  cursor: pointer;
}

/* Custom Video Controls overlay overlaying video on hover (Light Theme layout) */
.video-controls {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  width: calc(100% - 30px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth) !important;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.video-wrapper:hover .video-controls,
.video-wrapper.paused .video-controls {
  opacity: 1;
  transform: translateY(0);
}

.video-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: height 0.2s ease;
}

.video-progress-bar:hover {
  height: 7px;
}

.video-progress-filled {
  height: 100%;
  background: var(--neon-gradient);
  border-radius: 10px;
  position: relative;
  width: 0%;
}

/* Progress bar thumb handle (draws on hover) */
.video-progress-filled::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 12px;
  height: 12px;
  background: #000000;
  border: 2px solid var(--neon-solid);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.video-progress-bar:hover .video-progress-filled::after {
  transform: translateY(-50%) scale(1);
}

.video-control-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-controls-left, .video-controls-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.video-btn {
  background: transparent;
  border: none;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: var(--transition-smooth) !important;
  opacity: 0.8;
}

.video-btn:hover {
  opacity: 1;
  color: #000000;
  transform: scale(1.1) !important;
}

.video-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.video-time {
  font-size: 0.85rem;
  color: #515866;
  font-variant-numeric: tabular-nums;
}

/* Custom Play Overlay (Light themed glass) */
.video-overlay-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-bounce) !important;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-overlay-play:hover {
  transform: translate(-50%, -50%) scale(1.1) !important;
  border-color: var(--neon-solid) !important;
  box-shadow: 0 0 35px rgba(234, 255, 0, 0.4) !important;
}

.video-overlay-play svg {
  width: 32px;
  height: 32px;
  fill: #0f172a;
  margin-left: 6px;
  transition: var(--transition-smooth);
}

.video-overlay-play:hover svg {
  fill: #000000;
}

.video-wrapper:not(.paused) .video-overlay-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
}

/* Grid layout for new Technical Skills section */
.skills-grid-new {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.skills-grid-new .card-glass {
  max-width: 650px;
  width: 100%;
}

/* Grid layout for Why Hire Me section */
.reasons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.reason-card {
  flex: 1 1 300px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.2rem 2rem;
  position: relative;
}

.reason-number {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.5rem;
  color: #0f172a;
  opacity: 0.1;
  position: absolute;
  top: 1.2rem;
  right: 1.8rem;
}

.reason-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0.5rem;
  color: var(--text-primary);
}

/* Showcase Info */
.showcase-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.showcase-desc {
  font-size: 1.1rem;
}

.meta-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.stat-value {
  font-size: 1.1rem;
  font-family: var(--font-bold);
  font-weight: normal;
  color: var(--text-primary);
}

/* Philosophy / Skills / Commission Section */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.philosophy-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.philosophy-quote {
  font-size: 1.8rem;
  line-height: 1.3;
  color: var(--text-primary);
  position: relative;
  padding-left: 1rem;
}

.philosophy-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--neon-gradient);
}

.cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  box-shadow: 0 15px 40px rgba(234, 255, 0, 0.1);
  transform: translateY(-3px);
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.card-title svg {
  width: 22px;
  height: 22px;
  color: #0f172a;
}

/* Tags/List inside cards */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.tag-pill {
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.tag-pill:hover {
  color: #000000;
  border-color: rgba(234, 255, 0, 0.6);
  background: rgba(234, 255, 0, 0.04);
}

/* Socials Section */
.socials-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.socials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .socials-grid {
    grid-template-columns: 1fr;
  }
}

.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
  cursor: pointer;
  transition: var(--transition-bounce);
}

.social-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(234, 255, 0, 0.1);
}

.social-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.social-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: #0f172a;
}

.social-card:hover .social-icon-box {
  border-color: rgba(234, 255, 0, 0.4);
  background: rgba(234, 255, 0, 0.08);
  color: #000000;
}

.social-icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.social-name {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.social-handle {
  font-size: 1.2rem;
  font-family: var(--font-custom);
  font-weight: normal;
  color: var(--text-primary);
}

.social-action {
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

#contact #discord-action-text {
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

#contact .section-label {
  font-family: var(--font-custom);
  font-weight: normal;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.social-card:hover .social-action {
  color: #000000;
  transform: translateX(3px);
}

/* For Discord click-to-copy card (vertical layout with button) */
.discord-card-vertical {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1.25rem;
}

.discord-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.discord-copy-btn-new {
  width: 100%;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.85rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  color: #0f172a;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.discord-copy-btn-new:hover {
  background: var(--neon-gradient) !important;
  border-color: transparent !important;
  color: #000000 !important;
  box-shadow: 0 4px 15px rgba(234, 255, 0, 0.25) !important;
  transform: translateY(-2px);
}

.discord-copy-btn-new:active {
  transform: translateY(0);
}

.discord-copy-btn-new.copied {
  background: #22c55e !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25) !important;
}

/* Toast Notifications (Light theme styled card) */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #ffffff;
  border: 1px solid rgba(234, 255, 0, 0.6);
  color: #0f172a;
  padding: 1rem 1.8rem;
  border-radius: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateY(150%) scale(0.9);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.toast-notification.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.toast-icon {
  width: 18px;
  height: 18px;
  color: #000000;
}

/* Staggered Scroll Animations (Intersection Observer Active) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Footer styling */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2;
  position: relative;
}

.footer-logo {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-domain {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #0f172a;
  opacity: 0.7;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Small adjustments for lazy readers (bold highlights) */
.lazy-bold {
  font-family: var(--font-bold);
  font-weight: normal;
  color: #000000;
  letter-spacing: 0.02em;
}

/* Staggered load animation for hero capsule */
.hero-content {
  animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.hero-content > * {
  opacity: 0;
  animation: heroChildEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .badge { animation-delay: 0.2s; }
.hero-content .hero-title { animation-delay: 0.4s; }
.hero-content .hero-description { animation-delay: 0.6s; }
.hero-content .btn-primary { animation-delay: 0.8s; }

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

/* Interactive hover scales and card elevations */
.social-card {
  transition: var(--transition-bounce) !important;
}

.social-card:hover {
  background: var(--bg-card-hover) !important;
  border-color: var(--border-color-hover) !important;
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(234, 255, 0, 0.12) !important;
}

.social-card .social-action {
  transition: var(--transition-smooth) !important;
}

.social-card:hover .social-action {
  transform: translateX(5px) scale(1.1) !important;
}

.card-glass {
  transition: var(--transition-smooth) !important;
}

.card-glass:hover {
  background: var(--bg-card-hover) !important;
  border-color: var(--border-color-hover) !important;
  transform: translateY(-5px) scale(1.01) !important;
  box-shadow: 0 15px 35px rgba(234, 255, 0, 0.12) !important;
}

.btn-primary {
  transition: var(--transition-bounce) !important;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 10px 30px rgba(234, 255, 0, 0.4) !important;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98) !important;
}

/* Premium button sheen swipe effect */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 25%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
}

.btn-primary:hover::after {
  left: 125%;
  transition: left 0.75s ease-in-out;
}

.badge::before {
  animation: pulse 2s infinite !important;
}

.video-overlay-play {
  transition: var(--transition-bounce) !important;
}

.video-overlay-play:hover {
  transform: translate(-50%, -50%) scale(1.08) !important;
  border-color: var(--neon-solid) !important;
  box-shadow: 0 0 30px rgba(234, 255, 0, 0.35) !important;
}

.video-btn {
  transition: var(--transition-smooth) !important;
}

.video-btn:hover {
  transform: scale(1.1) !important;
}

/* --- Theme Toggle & Dark Mode Support --- */

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  color: #555c68;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #000000;
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
}

/* Visibility of Sun and Moon Icons */
html[data-theme="dark"] .sun-icon {
  display: block;
}
html[data-theme="dark"] .moon-icon {
  display: none;
}
html:not([data-theme="dark"]) .sun-icon {
  display: none;
}
html:not([data-theme="dark"]) .moon-icon {
  display: block;
}

/* Light theme variables override (explicit definition to prevent theme lock) */
html[data-theme="light"] {
  --bg-color: #ffffff;
  --bg-section-alt: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.6);
  --bg-card-hover: rgba(255, 255, 255, 0.85);
  --border-color: rgba(0, 0, 0, 0.06);
  --border-color-hover: rgba(234, 255, 0, 0.6);
  --text-primary: #0f172a;
  --text-secondary: #515866;
}

/* Dark theme variables override */
html[data-theme="dark"] {
  --bg-color: #09090b;
  --bg-section-alt: #0e0e11;
  --bg-card: rgba(20, 20, 25, 0.55);
  --bg-card-hover: rgba(28, 28, 35, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(234, 255, 0, 0.7);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
}

/* Dark theme layout and visual adjustments */
html[data-theme="dark"] body::before {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px) !important;
}



html[data-theme="dark"] .hero-overlay {
  background: linear-gradient(
    180deg, 
    rgba(9, 9, 11, 0) 0%, 
    rgba(9, 9, 11, 0.2) 60%, 
    rgba(9, 9, 11, 1) 100%
  ) !important;
}

html[data-theme="dark"] .hero-content {
  background: rgba(15, 15, 18, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] nav {
  background: rgba(15, 15, 18, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .nav-link {
  color: #94a3b8;
}

html[data-theme="dark"] .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .theme-toggle-btn {
  color: #94a3b8;
}

html[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

/* Dark mode custom video player overrides */
html[data-theme="dark"] .video-wrapper {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .video-controls {
  background: rgba(15, 15, 18, 0.95);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .video-btn {
  color: #f8fafc;
}

html[data-theme="dark"] .video-btn:hover {
  color: #ffffff;
}

html[data-theme="dark"] .video-overlay-play {
  background: rgba(15, 15, 18, 0.95);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .video-overlay-play svg {
  fill: #f8fafc;
}

html[data-theme="dark"] .video-overlay-play:hover svg {
  fill: #ffffff;
}

html[data-theme="dark"] .video-time {
  color: #94a3b8;
}

/* Why Hire Me number background in dark mode */
html[data-theme="dark"] .reason-number {
  color: #f8fafc;
  opacity: 0.05;
}

/* Dark mode socials styling */
html[data-theme="dark"] .social-icon-box {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
}

html[data-theme="dark"] .social-card:hover .social-icon-box {
  border-color: rgba(234, 255, 0, 0.4);
  background: rgba(234, 255, 0, 0.08);
  color: #ffffff;
}

html[data-theme="dark"] .social-action {
  color: #94a3b8;
}

html[data-theme="dark"] .social-card:hover .social-action {
  color: #ffffff;
}

html[data-theme="dark"] .discord-copy-btn-new {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

html[data-theme="dark"] .tag-pill {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
}

html[data-theme="dark"] .tag-pill:hover {
  color: #ffffff;
  border-color: rgba(234, 255, 0, 0.6);
  background: rgba(234, 255, 0, 0.04);
}

/* Toast Dark Mode */
html[data-theme="dark"] .toast-notification {
  background: #121216;
  border-color: rgba(234, 255, 0, 0.6);
  color: #f8fafc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .toast-icon {
  color: #ffffff;
}

/* Footer Dark Mode */
html[data-theme="dark"] footer {
  background: rgba(9, 9, 11, 0.95);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .footer-domain {
  color: #f8fafc;
  opacity: 0.8;
}

/* Lazy Bold Highlight text correction in Dark Mode */
html[data-theme="dark"] .lazy-bold {
  color: #ffffff;
}


