* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0a1f12;
  --secondary: #4a7c59;
  --accent: #00ff41;
  --accent-warm: #00d924;
  --light: #f0fdf4;
  --border: #bbf7d0;
  --success: #22c55e;
  --surface: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Orbitron", sans-serif;
  background: linear-gradient(135deg, var(--primary) 0%, #0d2818 100%);
  color: var(--primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Desktop zoom only - removed on mobile */
@media (min-width: 769px) {
  body {
    zoom: 0.75;
  }
}

/* HEADER & NAVIGATION */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(100, 116, 139, 0.1);
  padding: 1rem 2rem;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Press Start 2P", cursive;
  font-size: 1.5rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.5));
}

.logo-j {
  color: #ffffff;
  margin-right: 2px;
}

.logo-hb {
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--accent);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* MAIN CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* HERO SECTION */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease;
}

.hero-content h1 {
  font-family: "Press Start 2P", cursive;
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #ffffff;
  letter-spacing: 2px;
}

.accent-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  color: #00ff41;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #00ff41;
  font-weight: 500;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.location-icon {
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* ============================================
   COOL BUTTON EFFECTS
   ============================================ */

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

/* Shine effect pseudo-element */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.btn:hover::before {
  left: 100%;
}

/* Primary button (Get in Touch) - White border like GitHub */
.btn-primary {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #1f2937;
  z-index: -1;
  transition: left 0.3s ease;
}

.btn-primary:hover {
  background: #1f2937;
  color: #00ff41;
  border-color: #00ff41;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.8);
  transform: translateY(-3px);
}

.btn-primary:hover::before {
  left: 0;
}

/* Secondary button (View My Work) - White border like GitHub */
.btn-secondary {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #1f2937;
  z-index: -1;
  transition: left 0.3s ease;
}

.btn-secondary:hover {
  background: #1f2937;
  color: #00ff41;
  border-color: #00ff41;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.8);
  transform: translateY(-3px);
}

.btn-secondary:hover::before {
  left: 0;
}

/* GitHub button - White border */
.btn-github {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.btn-github::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #1f2937;
  z-index: -1;
  transition: left 0.3s ease;
}

.btn-github:hover {
  background: #1f2937;
  color: #00ff41;
  border-color: #00ff41;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.8);
  transform: translateY(-3px);
}

.btn-github:hover::before {
  left: 0;
}

/* Cool button class - adds pulse animation */
.btn-cool {
  animation: buttonGlow 2s ease-in-out infinite;
}

@keyframes buttonGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(0, 255, 65, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.6));
  }
}

.btn-secondary.btn-cool {
  animation: buttonGlowWhite 2s ease-in-out infinite;
}

@keyframes buttonGlowWhite {
  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
  }
}

.btn-github.btn-cool {
  animation: buttonGlowWhite 2s ease-in-out infinite;
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
  z-index: 1;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Particle effect */
.button-particle {
  position: absolute;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  pointer-events: none;
  animation: particleFloat 0.6s ease-out forwards;
  z-index: 1;
}

@keyframes particleFloat {
  to {
    opacity: 0;
    transform: translate(calc(var(--vx) * 60px), calc(var(--vy) * 60px));
  }
}

.hero-image {
  position: relative;
  animation: fadeInRight 0.8s ease 0.2s both;
}

.profile-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.profile-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.profile-stats-container {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.profile-stat {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.profile-stat:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #4a7c59;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ff41;
}

/* SECTIONS */
section {
  padding: 4rem 2rem;
  scroll-margin-top: 80px;
}

section:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.section-title {
  font-family: "Press Start 2P", cursive;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 3rem;
  color: #ffffff;
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  border-radius: 2px;
}

/* EDUCATION & EXPERIENCE CARDS */
.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.card:nth-child(1) {
  animation-delay: 0.1s;
}
.card:nth-child(2) {
  animation-delay: 0.2s;
}
.card:nth-child(3) {
  animation-delay: 0.3s;
}
.card:nth-child(4) {
  animation-delay: 0.4s;
}
.card:nth-child(5) {
  animation-delay: 0.5s;
}
.card:nth-child(6) {
  animation-delay: 0.6s;
}
.card:nth-child(7) {
  animation-delay: 0.7s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
  border-left-color: var(--accent-warm);
}

.card-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #00ff41;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-subtitle {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.card-meta {
  color: #374151;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-description {
  color: #1f2937;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.bullet-list {
  list-style: none;
  margin: 1rem 0 0 0;
}

.bullet-list li {
  color: #1f2937;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.bullet-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.skill-category {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border-top: 3px solid var(--accent);
}

.skill-category h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: linear-gradient(
    135deg,
    rgba(0, 255, 65, 0.1),
    rgba(0, 217, 36, 0.05)
  );
  color: #1f2937;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 255, 65, 0.3);
  transition: all 0.3s;
}

.skill-tag:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* LANGUAGES */
.language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.language-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.language-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.1);
}

.language-name {
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.language-level {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
}

/* INTERESTS */
.interests-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.interest-item {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  color: var(--primary);
  border: 2px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.interest-item:hover {
  border-color: var(--accent);
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.05),
    rgba(249, 115, 22, 0.05)
  );
  transform: scale(1.05);
}

/* FOOTER */
footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(100, 116, 139, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  color: var(--secondary);
  margin: 0.5rem 0;
}

.footer-contact-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0 3rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-contact-item {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(74, 124, 89, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 65, 0.2);
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  background: rgba(74, 124, 89, 0.2);
  border-color: rgba(0, 255, 65, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.contact-icon {
  font-size: 2.5rem;
  min-width: 70px;
  text-align: center;
}

.footer-contact-item > div {
  flex: 1;
  text-align: left;
}

.contact-value {
  font-size: 1.1rem;
  color: white;
}

.contact-link {
  font-size: 1.1rem;
  color: #00ff41;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 600;
}

.contact-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00ff41;
  transition: width 0.3s ease;
}

.contact-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.6);
}

.contact-link:hover::after {
  width: 100%;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 2px solid #00ff41;
  background: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-btn img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.social-btn:hover {
  background: #00ff41;
  transform: translateY(-3px);
}

.social-btn:hover img {
  filter: none;
}

.github-btn:hover {
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.instagram-btn:hover {
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.facebook-btn:hover {
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  /* Better mobile navigation */
  nav {
    flex-wrap: wrap;
  }

  nav ul {
    width: 100%;
    justify-content: space-around;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  nav a {
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  /* Hero section mobile */
  .hero {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  /* Show profile image on mobile but make it compact */
  .hero-image {
    display: block;
    max-width: 300px;
    margin: 0 auto;
  }

  .profile-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .profile-image {
    height: 250px;
  }

  .profile-stats-container {
    padding: 1.5rem;
  }

  .profile-stat {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  /* Stack buttons vertically */
  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Section titles */
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  /* Cards - more padding and better spacing */
  .card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Skills grid */
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Language and interests */
  .language-grid {
    grid-template-columns: 1fr;
  }

  .interests-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Footer contact */
  .footer-contact-simple {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-contact-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-contact-item > div {
    text-align: center;
  }

  /* Social buttons */
  .social-buttons {
    gap: 1rem;
  }

  /* Sections */
  section {
    padding: 3rem 1rem;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .logo {
    font-size: 1rem;
  }

  nav ul {
    gap: 0.25rem;
  }

  nav a {
    font-size: 0.7rem;
    padding: 0.4rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  /* Make profile card even more compact on tiny screens */
  .hero-image {
    max-width: 250px;
  }

  .profile-image {
    height: 200px;
  }

  .profile-stats-container {
    padding: 1rem;
  }

  .stat-label {
    font-size: 0.6rem;
  }

  .stat-value {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .card {
    padding: 1rem;
  }

  .card-title {
    font-size: 1rem;
  }

  /* Single column for interests on very small screens */
  .interests-list {
    grid-template-columns: 1fr;
  }

  section {
    padding: 2rem 0.75rem;
  }

  /* Smaller touch targets but still accessible */
  .btn {
    padding: 0.875rem 1.25rem;
  }
}
