/* ================================
   Base & Reset
=================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #050505;
  color: #ffffff;
  overflow-x: hidden;
  cursor: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0e0e0e;
}

::-webkit-scrollbar-thumb {
  background: rgba(244, 196, 48, 0.4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(244, 196, 48, 0.7);
}

/* ================================
   Custom Cursor
=================================== */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #f4c430;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(244, 196, 48, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease-out;
}

/* ================================
   Loader
=================================== */
#loader {
  transition: opacity 0.5s ease;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(244, 196, 48, 0.2);
  border-top-color: #f4c430;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================================
   Navigation
=================================== */
nav {
  backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
  position: relative;
  color: #bdbdbd;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #f4c430;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f4c430;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(20px);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-link {
  color: #bdbdbd;
  transition: color 0.3s;
}

.mobile-link:hover {
  color: #f4c430;
}

/* ================================
   Buttons
=================================== */
.premium-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f4c430, #ffd95e);
  color: #050505;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(244, 196, 48, 0.35);
}

.premium-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(244, 196, 48, 0.55);
}

.premium-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.premium-btn:hover::before {
  left: 100%;
}

.premium-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(244, 196, 48, 0.5);
  color: #f4c430;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
}

.premium-btn-outline:hover {
  background: rgba(244, 196, 48, 0.1);
  transform: translateY(-3px);
}

.premium-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: rgba(244, 196, 48, 0.15);
  color: #f4c430;
  font-weight: 600;
  border: 1px solid rgba(244, 196, 48, 0.3);
  transition: all 0.3s ease;
}

.premium-btn-secondary:hover {
  background: rgba(244, 196, 48, 0.25);
  transform: translateY(-3px);
}

/* ================================
   Hero Section
=================================== */
#hero {
  position: relative;
}

.typing-container {
  min-height: 2rem;
}

/* Profile Image */
.profile-container {
  position: relative;
  width: 320px;
  height: 320px;
}

.profile-ring,
.profile-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(244, 196, 48, 0.3);
  animation: spin-slow linear infinite;
}

.profile-ring-outer {
  border: 2px dashed rgba(244, 196, 48, 0.2);
  animation-direction: reverse;
  animation-duration: 20s;
}

.profile-image-wrapper {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(244, 196, 48, 0.35);
  animation: float 6s ease-in-out infinite;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profile-image-wrapper:hover .profile-image {
  transform: scale(1.05);
}

.profile-orbit {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #f4c430;
  border-radius: 50%;
  box-shadow: 0 0 15px #f4c430;
}

.orbit-1 {
  top: 10%;
  left: 10%;
  animation: float2 4s ease-in-out infinite;
}

.orbit-2 {
  bottom: 15%;
  right: 10%;
  animation: float2 5s ease-in-out infinite reverse;
}

/* Background Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 196, 48, 0.3), transparent);
  top: 10%;
  left: 10%;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 217, 94, 0.25), transparent);
  bottom: 20%;
  right: 15%;
  animation-delay: 2s;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(244, 196, 48, 0.2), transparent);
  top: 50%;
  right: 10%;
  animation-delay: 4s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

.spotlight {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 196, 48, 0.15), transparent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: all 0.1s ease;
}

/* ================================
   Sections
=================================== */
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f4c430, #ffd95e);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Glass Cards */
.glass-card {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(244, 196, 48, 0.15);
  border-color: rgba(244, 196, 48, 0.3);
}

/* Skills */
.skill-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, #f4c430, #ffd95e);
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #f4c430, #ffd95e);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2.35rem;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  background: #f4c430;
  border-radius: 50%;
  box-shadow: 0 0 10px #f4c430;
}

/* Projects */
.project-card {
  transition: all 0.4s ease;
}

.project-image-wrapper {
  overflow: hidden;
  height: 200px;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.tech-badge {
  padding: 0.25rem 0.75rem;
  background: rgba(244, 196, 48, 0.15);
  color: #f4c430;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(244, 196, 48, 0.3);
}

.project-btn,
.project-btn-primary {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-btn {
  background: transparent;
  border: 1px solid rgba(244, 196, 48, 0.4);
  color: #f4c430;
}

.project-btn:hover {
  background: rgba(244, 196, 48, 0.15);
}

.project-btn-primary {
  background: linear-gradient(135deg, #f4c430, #ffd95e);
  color: #050505;
}

.project-btn-primary:hover {
  box-shadow: 0 0 20px rgba(244, 196, 48, 0.5);
  transform: translateY(-2px);
}

/* Contact Form */
.input-group {
  position: relative;
}

.glass-input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.3s ease;
}

.glass-input:focus {
  outline: none;
  border-color: #f4c430;
  background: rgba(244, 196, 48, 0.05);
  box-shadow: 0 0 20px rgba(244, 196, 48, 0.15);
}

.glass-input::placeholder {
  color: #6b6b6b;
}

/* Social Icons */
.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(244, 196, 48, 0.1);
  color: #f4c430;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #f4c430;
  color: #050505;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(244, 196, 48, 0.5);
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #f4c430, #ffd95e);
  width: 0%;
  z-index: 100;
  transition: width 0.1s ease;
}

/* ================================
   Animations
=================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.zoom-in {
  animation: zoomIn 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-container {
    width: 260px;
    height: 260px;
  }

  .section-title {
    font-size: 2rem;
  }

  h1 {
    font-size: 2.5rem !important;
  }
}
/* Build With Me Page Specifics */
.gain-card {
  transition: all 0.4s ease;
}

.gain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 50px rgba(244, 196, 48, 0.18);
}