/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #0a0a0a;
  color: #eee;
  overflow-x: hidden;
  position: relative;
}

/* Footer Socials */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 50px 0;
}
.social-icon {
  width: 28px;
  height: 28px;
  transition: transform 0.3s;
}
.social-icon:hover {
  transform: scale(1.2);
}
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
}

/* Floating Barça logos */
.floating-barca img {
  width: 10px;
  opacity: 0.55; /* increased visibility slightly */
  position: absolute;
  animation: float linear infinite;
}
.floating-barca img:nth-child(1) { top: 10%; left: 5%; animation-duration: 18s; }
.floating-barca img:nth-child(2) { top: 20%; left: 70%; animation-duration: 22s; }
.floating-barca img:nth-child(3) { top: 50%; left: 40%; animation-duration: 20s; }
.floating-barca img:nth-child(4) { top: 65%; left: 15%; animation-duration: 25s; }
.floating-barca img:nth-child(5) { top: 30%; left: 55%; animation-duration: 23s; }
@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(50vw, 10vh) rotate(45deg); }
  50% { transform: translate(20vw, 80vh) rotate(90deg); }
  75% { transform: translate(70vw, 60vh) rotate(135deg); }
  100% { transform: translate(0, 0) rotate(180deg); }
}

/* Hamburger & Side Menu */
.hamburger {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #8a2be2;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #111;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  gap: 20px;
  transition: left 0.3s;
  z-index: 1000;
}
.side-menu.open { left: 0; }
.side-menu a {
  color: #eee;
  text-decoration: none;
  padding: 10px 20px;
  transition: 0.3s;
}
.side-menu a:hover { color: #8a2be2; }

/* Hero Section */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
}
.hero {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 40px;
  text-align: center;
  z-index: 1;
  position: relative;
}
.hero-left h1 {
  font-family: 'Cutive Mono', monospace;
  font-size: 2.8rem;
  color: #8a2be2;
}
.hero-left .subtitle {
  color: #bbb;
  margin: 10px 0;
  font-size: 1.1rem;
}
.hero-left .tagline {
  color: #aaa;
  font-size: 1rem;
  line-height: 1.6;
}
.hero-right .profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #8a2be2;
  transition: 0.3s;
}
.hero-right .profile-pic:hover {
  transform: scale(1.05) rotate(-2deg);
}

/* Skills */
.skills {
  padding: 80px 0;
  text-align: center;
  z-index: 1;
  position: relative;
}
.skills h2 {
  color: #8a2be2;
  font-size: 2rem;
  margin-bottom: 30px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
}
.skill-card {
  background: #111;
  padding: 15px;
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
  transition: 0.3s;
}
.skill-card:hover {
  box-shadow: 0 0 20px #8a2be2;
  transform: translateY(-3px);
}
.skill-card h4 { margin-bottom: 10px; }
.skill-bar {
  width: 100%;
  height: 10px;
  background: #222;
  border-radius: 5px;
  overflow: hidden;
}
.skill-level {
  height: 10px;
  background: #8a2be2;
  border-radius: 5px;
  transition: 0.5s;
}

/* Fun Cards */
.fun-cards {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 50px 0;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
}
.fun-card {
  background: #111;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
  transition: 0.3s;
  cursor: pointer;
  color: #eee;
  font-weight: 500;
}
.fun-card:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 20px #8a2be2;
}

/* CTA Buttons */
.cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 80px;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
}
.btn {
  padding: 12px 30px;
  border-radius: 50px;
  background: #8a2be2;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #8a2be2;
}

/* About Page Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}
.card {
  background: #111;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(138, 43, 226, 0.6);
}
.card-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.card h3 {
  color: #8a2be2;
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.card p {
  font-weight: 500;
  font-size: 0.9rem;
  color: #ccc;
}

/* Milestones */
.milestones h3 {
  color: #8a2be2;
  margin-bottom: 15px;
}
.milestones ul {
  list-style: none;
  padding-left: 0;
}
.milestones ul li {
  margin-bottom: 10px;
  font-weight: 500;
  color: #ddd;
}