/* ===========================================
   RESET & BASE STYLES
   =========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--primary-black);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ===========================================
   CSS VARIABLES (THEME SYSTEM)
   =========================================== */

:root {
  /* Dark Theme Colors */
  --primary-black: #000000;
  --secondary-black: #111111;
  --tertiary-black: #1a1a1a;
  --primary-white: #ffffff;
  --secondary-white: #f0f0f0;
  --accent-gray: #333333;
  --light-gray: #999999;
  --border-gray: #444444;
  --glow-white: rgba(255, 255, 255, 0.8);
  --glow-soft: rgba(255, 255, 255, 0.1);

  /* Theme Variables */
  --card-grad-1: var(--secondary-black);
  --card-grad-2: var(--tertiary-black);
  --text-body: var(--primary-white);
  --text-dim: var(--light-gray);
  --link-underline: var(--primary-white);
  --accent-strong: var(--primary-white);
}

/* Light Theme Override */
body.light {
  --primary-black: #f7f7f7;
  --secondary-black: #ffffff;
  --tertiary-black: #f1f1f1;
  --primary-white: #111111;
  --secondary-white: #333333;
  --accent-gray: #dddddd;
  --light-gray: #666666;
  --border-gray: #e5e5e5;
  --glow-white: rgba(0, 0, 0, 0.15);
  --glow-soft: rgba(0, 0, 0, 0.05);

  --card-grad-1: #ffffff;
  --card-grad-2: #f5f5f5;
  --text-body: #111111;
  --text-dim: #555555;
  --link-underline: #111111;
  --accent-strong: #000000;
}

/* ===========================================
   PARTICLE BACKGROUND
   =========================================== */

#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, var(--primary-black) 0%, var(--secondary-black) 50%, var(--primary-black) 100%);
}

.particle {
  position: absolute;
  background: var(--accent-strong);
  border-radius: 50%;
  opacity: 0.08;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%, 90% { opacity: 0.1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* ===========================================
   LOADING SCREEN
   =========================================== */

#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--primary-black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  font-family: 'Orbitron', monospace;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 8px;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, var(--accent-strong), #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 2s infinite;
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: var(--accent-gray);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-strong), var(--text-dim));
  width: 0%;
  animation: loadProgress 3s ease-in-out;
}

.loading-text {
  font-size: 1.2rem;
  color: var(--text-dim);
  letter-spacing: 2px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

@keyframes loadProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ===========================================
   NAVIGATION BAR
   =========================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gray);
  z-index: 1000;
  transition: all .3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.light .navbar {
  background: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

body.light .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Navigation Brand */
.nav-brand {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 3px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .5px;
  position: relative;
  transition: all .3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--link-underline);
  transition: width .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-body);
  margin: 3px 0;
  transition: .3s;
}

/* Theme Toggle Button */
.theme-toggle {
  margin-left: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-gray);
  cursor: pointer;
  transition: transform .2s ease, background .3s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
}

/* ===========================================
   LAYOUT COMPONENTS
   =========================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.section-line {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
  margin: 0 auto;
}

/* ===========================================
   HERO SECTION
   =========================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1000px;
}

/* Profile Image Section */
.profile-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-ring {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-strong), transparent, var(--accent-strong));
  padding: 4px;
  animation: rotate 10s linear infinite;
}

.profile-image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--primary-black);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.2);
  transition: filter .5s ease;
}

.profile-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, .8) 100%);
  opacity: 0;
  transition: opacity .5s ease;
}

.profile-ring:hover .profile-image {
  filter: grayscale(0) contrast(1);
}

.profile-ring:hover .profile-overlay {
  opacity: 1;
}

@keyframes rotate {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

/* Hero Text Section */
.hero-text {
  text-align: left;
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: 4rem;
  font-weight: 900;
  line-height: .9;
  margin-bottom: 1rem;
  overflow: hidden;
}

.title-line {
  display: block;
  transform: translateY(100%);
  animation: slideUp 1s ease .5s forwards;
}

.title-line:nth-child(2) {
  animation-delay: .7s;
}

@keyframes slideUp {
  to { transform: translateY(0); }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeInUp 1s ease 1s forwards;
}

/* Typing Cursor Effect */
.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* Hero Statistics */
.hero-stats {
  display: flex;
  gap: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease 1.2s forwards;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.stat-label {
  font-size: .9rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-dim);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--accent-strong);
  margin: 0 auto .5rem;
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent-strong);
  border-bottom: 2px solid var(--accent-strong);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===========================================
   ABOUT & SKILLS SECTION
   =========================================== */

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-intro {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--secondary-white);
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-dim);
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skill-item {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--card-grad-1), var(--card-grad-2));
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  transition: all .3s ease;
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--glow-soft);
  border-color: var(--accent-strong);
}

.skill-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.skill-item h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
  font-weight: 700;
}

.skill-item p {
  color: var(--text-dim);
  font-size: .95rem;
}

/* ===========================================
   PROJECTS SECTION
   =========================================== */

/* Project Filter Buttons */
.projects-filter {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: .5rem 1rem;
  border: 1px solid var(--border-gray);
  background: transparent;
  color: var(--text-body);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .5px;
  transition: all .2s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--glow-soft);
}

.filter-btn.active {
  background: var(--accent-strong);
  color: var(--primary-black);
}

body.light .filter-btn.active {
  color: #fff;
  background: #111;
}

/* Project Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

/* Project Cards */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-gray);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--card-grad-1), var(--card-grad-2));
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease;
}

.project-card:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(-2deg);
  box-shadow: 0 20px 40px var(--glow-soft);
  border-color: var(--accent-strong);
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-gray);
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}

.project-desc {
  color: var(--text-dim);
  font-size: .95rem;
  margin-bottom: .5rem;
}

.project-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.project-tags span {
  font-size: .75rem;
  border: 1px dashed var(--border-gray);
  padding: .2rem .5rem;
  border-radius: 6px;
}

/* Project Button */
.project-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.7rem 1.4rem;
  background: linear-gradient(90deg, #00d4ff, #007bff);
  background-size: 200% auto;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  transition: all 0.35s ease;
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.project-btn:hover {
  background-position: right center;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.6);
}

.project-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: left 0.5s ease;
}

.project-btn:hover::after {
  left: 100%;
}

/* ===========================================
   MUSIC PLAYER SECTION
   =========================================== */

.music-player-container {
  max-width: 600px;
  margin: 0 auto;
}

.music-player {
  background: linear-gradient(135deg, var(--card-grad-1), var(--card-grad-2));
  border: 2px solid var(--border-gray);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

body.light .music-player {
  box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.player-background {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, var(--glow-soft), transparent);
  pointer-events: none;
}

/* Music Visualizer */
.music-visualizer {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 2rem;
  height: 60px;
  align-items: end;
}

.visualizer-bar {
  width: 4px;
  background: linear-gradient(to top, var(--accent-strong), var(--text-dim));
  border-radius: 2px;
  animation: visualize 1s ease-in-out infinite alternate;
}

.visualizer-bar:nth-child(1) { animation-delay: 0s; height: 20px; }
.visualizer-bar:nth-child(2) { animation-delay: .1s; height: 35px; }
.visualizer-bar:nth-child(3) { animation-delay: .2s; height: 50px; }
.visualizer-bar:nth-child(4) { animation-delay: .3s; height: 30px; }
.visualizer-bar:nth-child(5) { animation-delay: .4s; height: 45px; }
.visualizer-bar:nth-child(6) { animation-delay: .5s; height: 25px; }
.visualizer-bar:nth-child(7) { animation-delay: .6s; height: 40px; }
.visualizer-bar:nth-child(8) { animation-delay: .7s; height: 15px; }

@keyframes visualize {
  0% { height: 10px; opacity: .3; }
  100% { opacity: 1; }
}

/* Music Info */
.music-info {
  text-align: center;
  margin-bottom: 1.4rem;
}

.song-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: .25rem;
}

.artist {
  font-size: 1.05rem;
  color: var(--text-dim);
}

/* Player Controls */
.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.control-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--accent-gray);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all .3s ease;
  display: grid;
  place-items: center;
}

.play-btn {
  width: 70px;
  height: 70px;
  background: var(--accent-strong);
  color: var(--primary-black);
  font-size: 1.5rem;
}

.control-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 15px var(--glow-soft);
}

/* Progress Section */
.progress-section {
  margin-bottom: 1rem;
}

.progress-container {
  width: 100%;
  height: 8px;
  background: var(--accent-gray);
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-strong), var(--text-dim));
  border-radius: 4px;
  width: 0%;
  transition: width .1s ease;
}

.progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 16px;
  height: 16px;
  background: var(--accent-strong);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s ease;
}

.progress-container:hover .progress-handle {
  opacity: 1;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  color: var(--text-dim);
  font-family: 'Orbitron', monospace;
}

/* Volume Section */
.volume-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.volume-icon {
  font-size: 1.2rem;
}

.volume-slider input {
  width: 100px;
  height: 4px;
  background: var(--accent-gray);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
}

.volume-slider input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--accent-strong);
  border-radius: 50%;
  cursor: pointer;
}

/* ===========================================
   TIMELINE SECTION
   =========================================== */

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(var(--accent-strong), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 2rem 0;
}

.timeline-item:nth-child(odd) .timeline-card {
  grid-column: 1 / 2;
  justify-self: end;
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 2 / 3;
  justify-self: start;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--glow-soft);
}

.timeline-card {
  width: 90%;
  background: linear-gradient(135deg, var(--card-grad-1), var(--card-grad-2));
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 25px var(--glow-soft);
}

.timeline-card h3 {
  margin-bottom: .3rem;
  font-weight: 800;
}

.timeline-card p {
  color: var(--text-dim);
  margin-bottom: .4rem;
}

.timeline-meta {
  font-size: .8rem;
  color: var(--text-dim);
}

/* ===========================================
   CONTACT SECTION
   =========================================== */

.contact-section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 4rem;
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-intro p {
  font-size: 1.4rem;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.6;
  position: relative;
}

.contact-intro p::after {
  content: '✨';
  margin-left: 0.5rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

/* Social Media Grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Social Media Cards */
.social-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-body);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.social-card::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.6s ease;
}

.social-card::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.5),
    rgba(139, 92, 246, 0.5),
    rgba(6, 182, 212, 0.5)
  );
  border-radius: 20px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-card:hover::before {
  left: 100%;
}

.social-card:hover::after {
  opacity: 1;
}

.social-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 50px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.social-card:active {
  transform: translateY(-6px) scale(1.01);
}

.social-icon {
  font-size: 2.5rem;
  min-width: 60px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.social-card:hover .social-icon {
  transform: scale(1.1) rotate(-5deg);
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
}

.social-info {
  flex: 1;
}

.social-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-body) 0%, var(--accent-strong) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.social-card:hover .social-info h3 {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-strong) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social-info p {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.social-card:hover .social-info p {
  color: rgba(255, 255, 255, 0.8);
}

.social-arrow {
  font-size: 1.8rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.7;
}

.social-card:hover .social-arrow {
  transform: translateX(8px) scale(1.2);
  opacity: 1;
  color: var(--accent-strong);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Platform-Specific Hover Effects */
.social-card.instagram:hover {
  box-shadow: 
    0 25px 50px rgba(225, 48, 108, 0.4),
    0 0 80px rgba(252, 163, 17, 0.2),
    0 0 120px rgba(129, 52, 175, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.1), rgba(252, 163, 17, 0.05));
}

.social-card.github:hover {
  box-shadow: 
    0 25px 50px rgba(33, 37, 41, 0.4),
    0 0 80px rgba(88, 166, 255, 0.3),
    0 0 120px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(33, 37, 41, 0.1), rgba(88, 166, 255, 0.05));
}

.social-card.facebook:hover {
  box-shadow: 
    0 25px 50px rgba(24, 119, 242, 0.4),
    0 0 80px rgba(66, 165, 245, 0.3),
    0 0 120px rgba(100, 181, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.1), rgba(66, 165, 245, 0.05));
}

.social-card.discord:hover {
  box-shadow: 
    0 25px 50px rgba(88, 101, 242, 0.4),
    0 0 80px rgba(114, 137, 218, 0.3),
    0 0 120px rgba(129, 140, 248, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(114, 137, 218, 0.05));
}

.social-card.tiktok:hover {
  box-shadow: 
    0 25px 50px rgba(255, 0, 80, 0.4),
    0 0 80px rgba(37, 244, 238, 0.3),
    0 0 120px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 0, 80, 0.1), rgba(37, 244, 238, 0.05));
}

.social-card.mal:hover {
  box-shadow: 
    0 25px 50px rgba(46, 81, 162, 0.4),
    0 0 80px rgba(76, 175, 80, 0.3),
    0 0 120px rgba(255, 193, 7, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(46, 81, 162, 0.1), rgba(76, 175, 80, 0.05));
}

/* ===========================================
   FOOTER SECTION
   =========================================== */

.footer {
  border-top: 1px solid var(--border-gray);
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-brand {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.footer-text p {
  color: var(--text-dim);
  margin-bottom: .5rem;
}

/* ===========================================
   SECRET OVERLAY
   =========================================== */

#secret-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

#secret-overlay.active {
  display: flex;
}

.secret-content {
  width: min(92vw, 520px);
  background: linear-gradient(135deg, var(--card-grad-1), var(--card-grad-2));
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  animation: fadeInUp .3s ease;
}

#close-secret {
  margin-top: .75rem;
  border: 1px solid var(--border-gray);
  background: transparent;
  color: var(--text-body);
  padding: .5rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

/* ===========================================
   GENERAL ANIMATIONS
   =========================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Tablet Styles */
@media (max-width: 768px) {
  /* Navigation */
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }

  /* Hero Section */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Profile */
  .profile-ring {
    width: 250px;
    height: 250px;
  }

  /* General */
  .section-title {
    font-size: 2.5rem;
  }

  /* Contact */
  .social-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline-item {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 24px;
    transform: none;
  }
  
  .timeline-dot {
    left: 24px;
  }
  
  .timeline-card {
    width: calc(100% - 48px);
    margin-left: 48px;
  }

  /* Contact Section */
  .contact-section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .contact-intro p {
    font-size: 1.1rem;
  }
  
  .social-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .social-card {
    padding: 1.5rem;
  }
  
  .social-icon {
    font-size: 2rem;
    min-width: 50px;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  /* Layout */
  .container {
    padding: 0 1rem;
  }

  /* Hero */
  .hero-title {
    font-size: 2.5rem;
  }

  /* Profile */
  .profile-ring {
    width: 200px;
    height: 200px;
  }

  /* Music Player */
  .music-player {
    padding: 1.5rem;
  }

  /* General */
  .section-title {
    font-size: 2rem;
  }
}
