/* Variables */
:root {
  --purple-glow: 0 0 10px #a855f7, 0 0 20px #a855f7;
  --cyan-glow: 0 0 10px #22d3ee, 0 0 20px #22d3ee;
  --green-glow: 0 0 10px #4ade80, 0 0 20px #4ade80;
  --bg-color: #000;
  --bg-gradient: linear-gradient(to bottom, #000, #0f172a);
  --text-color: #fff;
  --text-secondary: #94a3b8;
  --purple: #a855f7;
  --cyan: #22d3ee;
  --green: #4ade80;
  --facebook: #1877f2;
  --glass-bg: rgba(15, 23, 42, 0.25);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --transition-smooth: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg-gradient);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  width: 100%;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
}

h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--purple), var(--cyan));
  border-radius: 3px;
}

p {
  margin-bottom: 15px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Glow Text Effects */
.glow-text-purple {
  text-shadow: var(--purple-glow);
  color: var(--purple);
  animation: pulse-purple 3s infinite alternate;
}

.glow-text-cyan {
  text-shadow: var(--cyan-glow);
  color: var(--cyan);
  animation: pulse-cyan 3s infinite alternate;
}

.glow-text-green {
  text-shadow: var(--green-glow);
  color: var(--green);
  animation: pulse-green 3s infinite alternate;
}

@keyframes pulse-purple {
  0% { text-shadow: 0 0 10px #a855f7, 0 0 20px #a855f7; }
  100% { text-shadow: 0 0 15px #a855f7, 0 0 30px #a855f7, 0 0 40px #a855f7; }
}

@keyframes pulse-cyan {
  0% { text-shadow: 0 0 10px #22d3ee, 0 0 20px #22d3ee; }
  100% { text-shadow: 0 0 15px #22d3ee, 0 0 30px #22d3ee, 0 0 40px #22d3ee; }
}

@keyframes pulse-green {
  0% { text-shadow: 0 0 10px #4ade80, 0 0 20px #4ade80; }
  100% { text-shadow: 0 0 15px #4ade80, 0 0 30px #4ade80, 0 0 40px #4ade80; }
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(45deg, var(--purple), var(--cyan));
  color: white;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.6);
}

.btn-primary::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 100%;
  top: 0;
  left: -30px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -30px; }
  20% { left: 120%; }
  100% { left: 120%; }
}

.btn-project {
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-project::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(45deg, rgba(168, 85, 247, 0.2), rgba(34, 211, 238, 0.2));
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-project:hover::before {
  width: 100%;
}

.btn-project:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}

/* Video Intro */
.video-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease, visibility 1s ease;
}

.video-intro.hidden {
  opacity: 0;
  visibility: hidden;
}

.video-intro video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-intro .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(15, 23, 42, 0.7));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-intro .logo-animation {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  opacity: 0;
  transform: scale(0.5);
  animation: logoReveal 2s forwards 0.5s;
}

@keyframes logoReveal {
  0% { opacity: 0; transform: scale(0.5); }
  100% { opacity: 1; transform: scale(1); }
}

.video-intro .tagline {
  font-size: clamp(1rem, 4vw, 1.5rem);
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: taglineReveal 2s forwards 1.5s;
}

@keyframes taglineReveal {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.skip-intro {
  position: absolute;
  bottom: 30px;
  right: 30px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: white;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: var(--transition-smooth);
}

.skip-intro:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition-smooth);
}

#navbar.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--glass-border);
}

#navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 700;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--purple), var(--cyan));
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
  position: relative;
}

.nav-links li a {
  position: relative;
  font-weight: 500;
  padding: 5px 0;
}

.nav-links li a:hover {
  color: var(--cyan);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li.active a {
  color: var(--cyan);
}

.nav-links li.active a::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.menu-toggle:hover {
  color: var(--cyan);
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  margin: 6px 0;
  transition: var(--transition-smooth);
  border-radius: 3px;
}

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

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.1);
  animation: videoWave 10s infinite alternate;
}

@keyframes videoWave {
  0% { transform: scale(1.05); filter: brightness(0.7) contrast(1.1); }
  50% { transform: scale(1); filter: brightness(0.8) contrast(1.2); }
  100% { transform: scale(1.05); filter: brightness(0.7) contrast(1.1); }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(15, 23, 42, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInDown 0.8s forwards;
  letter-spacing: 2px;
}

.hero .slogan {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 0.8s 0.5s forwards;
  letter-spacing: 1px;
}

.profile-image {
  width: clamp(120px, 30vw, 200px);
  height: clamp(120px, 30vw, 200px);
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 30px;
  border: 4px solid var(--purple);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.7);
  opacity: 0;
  transform: scale(0);
  animation: scaleIn 0.5s 1s forwards;
  position: relative;
}

.profile-image::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--purple), var(--cyan), var(--green), var(--purple));
  z-index: -1;
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

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

.typing-container {
  height: 30px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 0.8s 1.5s forwards;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 20px;
  background-color: var(--green);
  margin-left: 5px;
  animation: blink 1s infinite;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: bounce 2s 2s infinite;
}

.scroll-indicator span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.scroll-indicator i {
  color: var(--purple);
  font-size: 1.2rem;
}

/* About Section */
.about {
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="%23a855f7" opacity="0.3"/></svg>');
  opacity: 0.1;
  z-index: -1;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-text {
  opacity: 0;
  transform: translateX(-20px);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.about-text:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.about-text.animate {
  animation: fadeInLeft 0.8s forwards;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.skills {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--glass-shadow);
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition-smooth);
}

.skills:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.skills.animate {
  animation: fadeInRight 0.8s forwards;
}

.skill {
  margin-bottom: 25px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 500;
}

.skill-bar {
  height: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  width: 0;
  border-radius: 5px;
  transition: width 1.5s ease-out;
  position: relative;
  overflow: hidden;
}

.skill-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: skillShine 2s infinite;
}

@keyframes skillShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(500%); }
}

.html { background: linear-gradient(to right, #e34c26, #ff7e55); }
.css { background: linear-gradient(to right, #264de4, #2965f1); }
.javascript { background: linear-gradient(to right, #f0db4f, #ffec82); }
.react { background: linear-gradient(to right, #61dafb, #a0e9ff); }
.python { background: linear-gradient(to right, #3776ab, #74a9d8); }
.java { background: linear-gradient(to right, #f89820, #ffc463); }

/* Projects Section */
.projects {
  position: relative;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="%2322d3ee" opacity="0.3"/></svg>');
  opacity: 0.1;
  z-index: -1;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition-smooth);
  opacity: 0;
  transform: translateY(20px);
  box-shadow: var(--glass-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card.animate {
  animation: fadeInUp 0.8s forwards;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.project-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.project-card:hover .project-image::before {
  opacity: 1;
}

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

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

.project-content {
  padding: 25px;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.project-card:hover .project-content h3 {
  color: var(--cyan);
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 8px;
}

.project-tags span {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.project-tags span:hover {
  background: rgba(168, 85, 247, 0.25);
  transform: translateY(-2px);
}

/* Contact Section */
.contact {
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="%234ade80" opacity="0.3"/></svg>');
  opacity: 0.1;
  z-index: -1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--glass-shadow);
  opacity: 0;
  transform: translateX(-20px);
  transition: var(--transition-smooth);
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.contact-form.animate {
  animation: fadeInLeft 0.8s forwards;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.form-group:focus-within label {
  color: var(--purple);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-color);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
  background: rgba(30, 41, 59, 0.6);
}

.contact-method-selector {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-method-option {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.contact-method-option:hover {
  background: rgba(30, 41, 59, 0.6);
}

.contact-method-option.active {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--purple);
}

.contact-method-option i {
  font-size: 1.5rem;
  margin-bottom: 5px;
  display: block;
}

.contact-info {
  opacity: 0;
  transform: translateX(20px);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.contact-info.animate {
  animation: fadeInRight 0.8s forwards;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, #25D366, #128C7E);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 30px;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.whatsapp-btn:hover::before {
  transform: translateX(100%);
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.social-links h4 {
  margin-bottom: 20px;
  color: var(--text-color);
  position: relative;
  display: inline-block;
}

.social-links h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--purple), var(--cyan));
}

.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.4);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-btn:hover::before {
  opacity: 1;
}

.social-btn i {
  font-size: 1.3rem;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  transform: translateY(-5px) scale(1.1);
}

.facebook:hover {
  color: var(--facebook);
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.7);
}

.tiktok:hover {
  color: #EE1D52;
  box-shadow: 0 0 20px rgba(238, 29, 82, 0.7);
}

.instagram:hover {
  color: #E1306C;
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.7);
}

.whatsapp:hover {
  color: #25D366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.7);
}

.email:hover {
  color: #4285F4;
  box-shadow: 0 0 20px rgba(66, 133, 244, 0.7);
}

/* Rating Tool */
.rating-container {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 25px;
  margin-top: 40px;
  box-shadow: var(--glass-shadow);
  text-align: center;
  transition: var(--transition-smooth);
}

.rating-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.rating-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--cyan);
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.rating-star {
  font-size: 2rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.rating-star:hover,
.rating-star.active {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.rating-feedback {
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  height: 20px;
}

.rating-submit {
  margin-top: 15px;
  padding: 8px 20px;
  background: linear-gradient(45deg, var(--purple), var(--cyan));
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.rating-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

.rating-thanks {
  display: none;
  color: var(--green);
  margin-top: 10px;
  font-weight: 500;
}

/* Footer */
footer {
  text-align: center;
  padding: 25px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
  position: relative;
}

/* Canvas for particles */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.6;
}

/* Floating code snippets */
#code-snippets {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
}

.code-snippet {
  position: absolute;
  font-family: monospace;
  color: var(--green);
  white-space: nowrap;
  text-shadow: 0 0 5px var(--green);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); opacity: 1; }
  40% { transform: translateY(-15px) translateX(-50%); opacity: 0.7; }
  60% { transform: translateY(-7px) translateX(-50%); opacity: 0.7; }
}

/* Parallax Effects */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

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

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--purple), var(--cyan));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--cyan), var(--green));
}

/* Responsive Design */
@media (min-width: 768px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .video-intro .logo-animation {
    font-size: 3rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero .slogan {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--glass-border);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .slogan {
    font-size: 1.2rem;
  }
  
  .profile-image {
    width: 150px;
    height: 150px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }
  
  h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .slogan {
    font-size: 1rem;
  }
  
  .profile-image {
    width: 120px;
    height: 120px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-method-selector {
    flex-direction: column;
    gap: 10px;
  }
  
  .rating-stars {
    gap: 5px;
  }
  
  .rating-star {
    font-size: 1.8rem;
  }
}

/* Dark mode optimization */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #000;
    --bg-gradient: linear-gradient(to bottom, #000, #0f172a);
    --text-color: #fff;
    --text-secondary: #94a3b8;
  }
}

/* Light mode support */
@media (prefers-color-scheme: light) {
  :root {
    --bg-color: #0f172a;
    --bg-gradient: linear-gradient(to bottom, #0f172a, #1e293b);
    --text-color: #fff;
    --text-secondary: #cbd5e1;
    --glass-bg: rgba(15, 23, 42, 0.7);
  }
}
