.navbar {
  width: 100%;
  background: var(--bg-panel);
  border-bottom: 2px solid var(--manga-black);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

/* GitHub Follow Button */
.github-follow-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #1a1a1a;
  color: #ffffff;
  border: 2px solid #000;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-manga);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.github-follow-btn:hover {
  background: #2d2d2d;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.github-follow-btn svg {
  width: 20px;
  height: 20px;
}

.navbar-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.nav-btn {
  position: relative;
  background: var(--bg-main);
  border: 3px solid var(--manga-black);
  color: var(--manga-black);
  font-family: var(--font-manga);
  font-size: 1.1rem;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0 var(--manga-black);
  overflow: hidden;
}

.nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--manga-black);
  transition: left 0.3s ease;
  z-index: -1;
}

.nav-btn:hover::before,
.nav-btn.active::before {
  left: 0;
}

.nav-btn:hover,
.nav-btn.active {
  color: var(--bg-main);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--manga-black);
}

/* Responsive navbar */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .navbar-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }

  .nav-btn {
    width: auto;
    min-width: 80px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }
  
  .github-follow-btn {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.75rem 0.5rem;
  }

  .navbar-list {
    gap: 0.4rem;
  }

  .nav-btn {
    min-width: 70px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    box-shadow: 3px 3px 0 var(--manga-black);
  }

  .nav-btn:hover,
  .nav-btn.active {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--manga-black);
  }
}



.profile-img {
  width: 180px;
  height: 180px;
  border: 2px solid var(--manga-black);
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
}

.avatar-container {
  position: relative;
  display: inline-block;
}

.sound-effect {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--manga-red);
  color: var(--bg-main);
  font-family: var(--font-manga);
  font-size: 1.2rem;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 50%;
  border: 2px solid var(--manga-black);
  transform: rotate(-15deg);
  box-shadow: 2px 2px 0 var(--manga-gray);
}

.name-section {
  margin-left: 1rem;
}

.title {
  font-size: 2rem;
  color: var(--manga-black);
  margin: 0;
  font-weight: bold;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0.5rem 0;
}

.action-quote {
  margin: 20px 0;
  text-align: center;
}

.action-bubble {
  display: inline-block;
  background: var(--manga-yellow) !important;
  border-color: var(--manga-red) !important;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.profile-desc {
  font-size: 1.1rem;
  text-align: center;
  margin: 20px 0;
  font-style: italic;
}

.about-bubble {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%) !important;
}

.skills-section {
  margin-top: 30px;
}

.skills-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--manga-black);
  text-decoration: underline;
  text-decoration-color: var(--manga-red);
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  border-top: 2px solid var(--manga-gray);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-manga);
}

/* Neural Toggle Switch - UIverse r7chardgh/dry-rabbit-69 */
.neural-toggle-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
  padding: 10px;
}

.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 400px;
  height: 200px;
  user-select: none;
}

.switch .cb {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle {
  position: relative;
  cursor: pointer;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border: 4px solid #000;
  box-shadow: 8px 8px 0 #000;
  border-radius: 0;
  transition: 0.4s;
  text-transform: uppercase;
  font-weight: 700;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.toggle .toggle-canvas-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: #ffffff;
}

.toggle #particleCanvasToggle {
  width: 100%;
  height: 100%;
  display: block;
  background: #ffffff;
  cursor: crosshair;
}

/* Neural Text Overlay */
.neural-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 10;
  opacity: 0.85;
}

.neural-title {
  font-family: var(--font-manga);
  font-size: 1.8rem;
  font-weight: 900;
  color: #000;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 
    2px 2px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    3px 3px 0 rgba(0, 0, 0, 0.1);
}

.neural-subtitle {
  font-family: var(--font-manga);
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 
    1px 1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff;
}

/* Responsive Toggle */
@media (max-width: 768px) {
  .switch {
    width: 100%;
    max-width: 100%;
    height: 150px;
  }
  
  .neural-title {
    font-size: 1.2rem;
  }
  
  .neural-subtitle {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .switch {
    height: 125px;
  }
  
  .neural-title {
    font-size: 1rem;
  }
  
  .neural-subtitle {
    font-size: 0.7rem;
  }
}

/* ========================================
   EDUCATION FLIP CARDS - Manga Style
   Cards con efecto flip 3D estilo manga japonés
   ======================================== */

.education-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 30px;
  margin: 30px 0;
  padding: 20px;
  perspective: 1000px;
}

.education-flip-card {
  width: 100%;
  height: 380px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.education-flip-card:hover {
  transform: scale(1.02);
}

.education-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.education-flip-card:hover .education-card-inner {
  transform: rotateY(180deg);
}

/* Front and Back common styles */
.education-card-front,
.education-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 4px solid #000;
  background: #fff;
  box-shadow: 8px 8px 0 #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  overflow: hidden;
}

/* Front Face */
.education-card-front {
  background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
}

.card-corner-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 60px 60px 0 0;
  border-color: #000 transparent transparent transparent;
}

.card-number {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #fff;
  font-family: var(--font-manga);
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 1;
}

.card-icon {
  font-size: 3rem;
  text-align: center;
  margin: 15px 0;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-degree {
  font-family: var(--font-manga);
  font-size: 1.2rem;
  text-align: center;
  color: #000;
  margin: 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
}

.card-divider {
  width: 100px;
  height: 4px;
  background: #000;
  margin: 15px auto;
  position: relative;
}

.card-divider::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: #000;
}

.card-institution {
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin: 15px 0;
  line-height: 1.4;
}

.card-period {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin: 10px 0;
  font-family: var(--font-manga);
}

.flip-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
}

.flip-arrow {
  font-size: 1.5rem;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Back Face */
.education-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  color: #fff;
}

.card-corner-accent-back {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 60px 60px;
  border-color: transparent transparent #fff transparent;
  opacity: 0.1;
}

.back-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.back-content h4 {
  font-family: var(--font-manga);
  font-size: 1.3rem;
  text-align: center;
  color: #fff;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid #fff;
  padding-bottom: 15px;
}

.back-institution {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  margin: 10px 0;
}

.back-location,
.back-period {
  font-size: 0.95rem;
  color: #ccc;
  margin: 8px 0;
  text-align: center;
}

.visit-website-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px auto 10px;
  padding: 12px 25px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-family: var(--font-manga);
  font-weight: bold;
  font-size: 0.9rem;
  border: 3px solid #fff;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  max-width: 250px;
}

.visit-website-btn:hover {
  background: transparent;
  color: #fff;
  transform: scale(1.05);
}

.visit-website-btn span:first-child {
  font-size: 1.2rem;
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.visit-website-btn:hover .btn-arrow {
  transform: translateX(5px);
}

.flip-hint-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 10px;
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .education-cards-container {
    gap: 30px;
    padding: 15px;
  }
  
  .education-flip-card {
    height: 400px;
  }
  
  .education-card-front,
  .education-card-back {
    padding: 25px;
  }
  
  .card-degree {
    font-size: 1.2rem;
  }
  
  .card-icon {
    font-size: 3rem;
  }
}

@media (max-width: 540px) {
  .education-cards-container {
    gap: 25px;
    padding: 12px;
    grid-template-columns: 1fr;
  }
  
  .education-flip-card {
    height: 360px;
    max-width: 100%;
  }
  
  .education-card-front,
  .education-card-back {
    padding: 20px;
    border-width: 3px;
    box-shadow: 6px 6px 0 #000;
  }
  
  .card-degree {
    font-size: 1.1rem;
  }
  
  .card-icon {
    font-size: 2.5rem;
  }
  
  .card-institution {
    font-size: 0.95rem;
  }
  
  .back-content h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 430px) {
  .education-cards-container {
    gap: 20px;
    padding: 10px;
  }
  
  .education-flip-card {
    height: 340px;
  }
  
  .education-card-front,
  .education-card-back {
    padding: 18px;
    border-width: 3px;
    box-shadow: 5px 5px 0 #000;
  }
  
  .card-degree {
    font-size: 1.05rem;
  }
  
  .card-icon {
    font-size: 2.3rem;
  }
  
  .card-institution {
    font-size: 0.9rem;
  }
  
  .back-content h4 {
    font-size: 1.05rem;
  }
  
  .visit-website-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) {
  .education-cards-container {
    gap: 18px;
    padding: 8px;
  }
  
  .education-flip-card {
    height: 320px;
  }
  
  .education-card-front,
  .education-card-back {
    padding: 15px;
    border-width: 2px;
    box-shadow: 4px 4px 0 #000;
  }
  
  .card-degree {
    font-size: 1rem;
  }
  
  .card-icon {
    font-size: 2rem;
  }
  
  .card-institution {
    font-size: 0.85rem;
  }
  
  .back-content h4 {
    font-size: 1rem;
  }
  
  .back-content p {
    font-size: 0.85rem;
  }
  
  .visit-website-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .education-cards-container {
    gap: 20px;
    padding: 10px;
  }
  
  .education-flip-card {
    height: 380px;
  }
  
  .education-card-front,
  .education-card-back {
    padding: 20px;
  }
  
  .card-degree {
    font-size: 1.1rem;
  }
  
  .card-icon {
    font-size: 2.5rem;
  }
  
  .card-institution {
    font-size: 0.95rem;
  }
  
  .back-content h4 {
    font-size: 1.1rem;
  }
  
  .visit-website-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* Galaxy Z Fold 6 Cover Display */
@media (max-width: 280px) {
  .education-cards-container {
    gap: 15px;
    padding: 5px;
  }
  
  .education-flip-card {
    height: 300px;
  }
  
  .education-card-front,
  .education-card-back {
    padding: 12px;
    border-width: 2px;
    box-shadow: 4px 4px 0 #000;
  }
  
  .card-corner-accent {
    border-width: 40px 40px 0 0;
  }
  
  .card-number {
    font-size: 1rem;
    top: 5px;
    left: 5px;
  }
  
  .card-degree {
    font-size: 0.9rem;
  }
  
  .card-icon {
    font-size: 1.8rem;
    margin: 10px 0;
  }
  
  .card-institution {
    font-size: 0.75rem;
  }
  
  .card-period {
    font-size: 0.7rem;
  }
  
  .back-content h4 {
    font-size: 0.9rem;
  }
  
  .back-content p {
    font-size: 0.75rem;
  }
  
  .card-manga-frame {
    border-width: 2px;
  }
  
  .visit-website-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

/* OLD EDUCATION STYLES - REMOVED - Now using flip cards */

/* Experience section styles - keeping these for future use */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
  gap: 20px;
  margin: 30px 0;
}

.experience-panel {
  min-height: 250px;
  position: relative;
  background: var(--bg-panel);
  border: 3px solid var(--manga-black);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  overflow: hidden;
}

.experience-content {
  padding: 15px;
  position: relative;
  z-index: 1;
}

.experience-title {
  font-size: 1.3rem;
  color: var(--manga-black);
  margin: 0 0 15px 0;
  font-weight: bold;
  text-align: center;
}

.experience-meta {
  margin: 15px 0;
  text-align: center;
}

.experience-meta p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.company {
  color: var(--manga-blue);
  font-weight: bold;
}

.location {
  color: var(--text-muted);
  font-style: italic;
}

.period {
  color: var(--manga-red);
  font-weight: bold;
}

.experience-desc {
  margin: 15px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%) !important;
  border-color: var(--manga-black) !important;
}

/* Manga-style Projects Section */
.manga-background {
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 24px,
      rgba(0,0,0,0.02) 24px,
      rgba(0,0,0,0.02) 25px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 24px,
      rgba(0,0,0,0.02) 24px,
      rgba(0,0,0,0.02) 25px
    );
  position: relative;
  overflow: hidden;
}

.manga-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
}

.manga-page-border {
  border: 3px solid var(--manga-black);
  border-radius: 0;
  background: var(--bg-main);
  position: relative;
  padding: 30px;
  margin: 20px;
  box-shadow:
    0 0 0 2px var(--bg-main),
    0 0 0 6px var(--manga-black),
    8px 8px 0 var(--manga-gray);
}

.manga-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-decoration: none !important;
  position: relative;
}

/* Estrellas eliminadas para Experience */
.experience .manga-title::before,
.experience .manga-title::after {
  content: none;
}

.projects-manga-flow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  grid-auto-rows: minmax(300px, auto);
  gap: 20px;
  position: relative;
}

/* New Projects Layout */
.projects-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin: 30px 0;
}

.project-panel {
  position: relative;
  background: var(--bg-panel);
  border: 4px solid var(--manga-black);
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: visible;
  background-image: radial-gradient(circle at 3px 3px, rgba(0,0,0,0.03) 1px, transparent 0);
  background-size: 20px 20px;
}

.project-panel:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--manga-gray);
}

.project-panel:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.project-panel.is-ended {
  background: rgba(0, 0, 0, 0.05);
}

.project-video {
  padding: 20px;
  text-align: center;
  background: var(--bg-main);
  transition: all 0.5s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-video.is-playing {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  transform: scale(1.02);
  box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.3);
}

.project-icon-container {
  margin-bottom: 15px;
}

.project-icon {
  width: 60px;
  height: 60px;
  filter: drop-shadow(2px 2px 0 var(--manga-gray));
  transition: transform 0.3s;
}

.project-icon:hover {
  transform: scale(1.1);
}

.project-title {
  font-size: 1.5rem;
  color: var(--manga-black);
  margin: 10px 0;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: var(--manga-blue);
}

.project-description {
  font-size: 1rem;
  margin: 10px 0;
  line-height: 1.4;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
}

.tech-badge {
  color: var(--text-muted);
  font-family: var(--font-manga);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 2px 0;
  display: inline;
  margin-right: 8px;
}

.project-link {
  display: inline-block;
  background: var(--manga-red);
  color: var(--bg-main);
  font-family: var(--font-manga);
  font-weight: bold;
  padding: 10px 20px;
  text-decoration: none;
  border: 2px solid var(--manga-black);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--manga-gray);
  transition: all 0.2s;
  margin-top: 15px;
}

.project-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--manga-gray);
  background: #cc0000;
}

/* Panel spans for manga frame effect */
.project-panel span {
  position: absolute;
  background: var(--manga-black);
  transition: all 0.3s;
}

.project-panel span:nth-child(2) {
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.project-panel span:nth-child(3) {
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
}

.project-panel span:nth-child(4) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 4px;
  transform: scaleX(-1);
}

.project-panel span:nth-child(5) {
  bottom: 0;
  left: 0;
  width: 4px;
  height: 100%;
  transform: scaleY(-1);
}

.project-panel.is-playing span {
  background: var(--manga-yellow);
}

.comic-panel {
  background: var(--bg-panel);
  border: 4px solid var(--manga-black);
  border-radius: 0;
  position: relative;
  padding: 20px;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: visible;
  z-index: 1;
  background-image: radial-gradient(circle at 3px 3px, rgba(0,0,0,0.03) 1px, transparent 0);
  background-size: 20px 20px;
}

.comic-panel:hover {
  transform: translate(-3px, -3px) scale(1.02);
  box-shadow: 6px 6px 0 var(--manga-gray), inset 0 0 15px rgba(0,0,0,0.1);
  z-index: 2;
}

.manga-page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid var(--manga-gray);
}

.page-number {
  background: var(--manga-black);
  color: var(--bg-main);
  font-family: var(--font-manga);
  font-size: 1rem;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 0;
}

.manga-decoration {
  font-size: 1.2rem;
  color: var(--manga-red);
  opacity: 0.8;
}

.projects-comic-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin: 30px 0;
}

.project-panel {
  background: var(--bg-panel);
  border: 4px solid var(--manga-black);
  border-radius: 0;
  position: relative;
  padding: 20px;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.project-panel:hover {
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0 var(--manga-gray), inset 0 0 15px rgba(0,0,0,0.1);
}

.project-panel.wide {
  grid-column: span 2;
}

.project-panel.tall {
  grid-row: span 2;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--manga-gray);
  padding-bottom: 10px;
}

.panel-number {
  background: transparent;
  color: var(--manga-black);
  font-family: var(--font-manga);
  font-size: 1.2rem;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 0;
  border: 2px solid var(--manga-black);
}

.sound-effect {
  background: var(--manga-yellow);
  color: var(--manga-black);
  font-family: var(--font-manga);
  font-size: 1rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 50%;
  border: 2px solid var(--manga-black);
  transform: rotate(-10deg);
  box-shadow: 2px 2px 0 var(--manga-gray);
}

.project-title {
  font-size: 1.5rem;
  color: var(--manga-black);
  margin: 0 0 15px 0;
  font-weight: bold;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: var(--manga-blue);
}

.project-icon-container {
  text-align: center;
  margin-bottom: 15px;
}

.project-icon {
  width: 60px;
  height: 60px;
  filter: drop-shadow(2px 2px 0 var(--manga-gray));
  transition: transform 0.3s;
}

.project-icon:hover {
  transform: scale(1.1);
}

.project-desc {
  margin: 15px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%) !important;
  border-color: var(--manga-blue) !important;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
  justify-content: center;
}

.tech-badge {
  background: var(--manga-green);
  color: var(--bg-main);
  font-family: var(--font-manga);
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 0;
  border: 1px solid var(--manga-black);
  box-shadow: 1px 1px 0 var(--manga-gray);
}

.project-actions {
  text-align: center;
  margin-top: 20px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--manga-red);
  color: var(--bg-main);
  font-family: var(--font-manga);
  font-weight: bold;
  padding: 10px 20px;
  text-decoration: none;
  border: 2px solid var(--manga-black);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--manga-gray);
  transition: all 0.2s;
}

.project-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--manga-gray);
  background: var(--manga-red-dark);
}

.link-text {
  font-size: 1rem;
}

.action-lines {
  font-size: 0.8rem;
  opacity: 0.8;
}

.panel-footer {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 50px;
  height: 30px;
}

/* Theme variations for project cards */
.comic-panel.fire {
  border-color: var(--manga-red);
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

.comic-panel.fire .panel-number {
  background: var(--manga-red);
}

.comic-panel.fire .project-title {
  text-decoration-color: var(--manga-red);
}

.comic-panel.fire-bubble {
  background: linear-gradient(135deg, var(--bg-main) 0%, #ffcccc 100%) !important;
  border-color: var(--manga-red) !important;
}

.comic-panel.electric {
  border-color: var(--manga-blue);
  background: linear-gradient(135deg, var(--bg-panel) 0%, #e6f3ff 100%);
}

.comic-panel.electric .panel-number {
  background: var(--manga-blue);
}

.comic-panel.electric .project-title {
  text-decoration-color: var(--manga-blue);
}

.comic-panel.electric-bubble {
  background: linear-gradient(135deg, var(--bg-main) 0%, #cce6ff 100%) !important;
  border-color: var(--manga-blue) !important;
}

.comic-panel.wind {
  border-color: var(--manga-green);
  background: linear-gradient(135deg, var(--bg-panel) 0%, #e6ffe6 100%);
}

.comic-panel.wind .panel-number {
  background: var(--manga-green);
}

.comic-panel.wind .project-title {
  text-decoration-color: var(--manga-green);
}

.comic-panel.wind-bubble {
  background: linear-gradient(135deg, var(--bg-main) 0%, #ccffcc 100%) !important;
  border-color: var(--manga-green) !important;
}

.comic-panel.earth {
  border-color: #8B4513;
  background: linear-gradient(135deg, var(--bg-panel) 0%, #f4e4bc 100%);
}

.comic-panel.earth .panel-number {
  background: #8B4513;
}

.comic-panel.earth .project-title {
  text-decoration-color: #8B4513;
}

.comic-panel.earth-bubble {
  background: linear-gradient(135deg, var(--bg-main) 0%, #e6d4a3 100%) !important;
  border-color: #8B4513 !important;
}

.comic-panel.water {
  border-color: #00CED1;
  background: linear-gradient(135deg, var(--bg-panel) 0%, #e0f7ff 100%);
}

.comic-panel.water .panel-number {
  background: #00CED1;
}

.comic-panel.water .project-title {
  text-decoration-color: #00CED1;
}

.comic-panel.water-bubble {
  background: linear-gradient(135deg, var(--bg-main) 0%, #b3e6ff 100%) !important;
  border-color: #00CED1 !important;
}

.comic-panel.light {
  border-color: var(--manga-yellow);
  background: linear-gradient(135deg, var(--bg-panel) 0%, #fffde6 100%);
}

.comic-panel.light .panel-number {
  background: var(--manga-yellow);
  color: var(--manga-black);
}

.comic-panel.light .project-title {
  text-decoration-color: var(--manga-yellow);
}

.comic-panel.light-bubble {
  background: linear-gradient(135deg, var(--bg-main) 0%, #ffffcc 100%) !important;
  border-color: var(--manga-yellow) !important;
}

/* Color variations for elements */
.sound-effect.red {
  background: var(--manga-red);
}

.sound-effect.blue {
  background: var(--manga-blue);
}

.sound-effect.green {
  background: var(--manga-green);
}

.sound-effect.brown {
  background: #8B4513;
}

.sound-effect.cyan {
  background: #00CED1;
}

.sound-effect.yellow {
  background: var(--manga-yellow);
  color: var(--manga-black);
}

.tech-badge.red {
  background: var(--manga-red);
}

.tech-badge.blue {
  background: var(--manga-blue);
}

.tech-badge.green {
  background: var(--manga-green);
}

.tech-badge.brown {
  background: #8B4513;
}

.tech-badge.cyan {
  background: #00CED1;
}

.tech-badge.yellow {
  background: var(--manga-yellow);
  color: var(--manga-black);
}

/* ========================================
   BOTONES CINEMA SPOTLIGHT - PROJECTS
   Efecto de foco de cine con luz que ilumina
   ======================================== */

.project-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 10px;
}

/* View Project Button - UIverse kamehame-ha/kind-otter-31 */
.view-project-btn {
  padding: 0.8em 1.8em;
  border: 3px solid var(--manga-black);
  position: relative;
  overflow: hidden;
  background-color: transparent;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  font-family: var(--font-manga);
  transition: 0.3s;
  z-index: 1;
  color: var(--manga-black);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  letter-spacing: 1px;
}

.view-project-btn::before {
  content: '';
  width: 0;
  height: 300%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--manga-black);
  transition: 0.5s ease;
  display: block;
  z-index: -1;
}

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

.view-project-btn:hover {
  color: var(--bg-main);
  border-color: var(--manga-black);
}

.light-button a.bt.btn-style-6:hover .light-holder .light {
  background: linear-gradient(
    180deg,
    rgba(128, 208, 199, 1) 0%,
    rgba(128, 208, 199, 0.3) 75%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Responsive */
@media (max-width: 768px) {
  .light-button a.bt {
    height: 120px;
  }

  .light-button a.bt .button-holder {
    height: 70px;
    width: 100px;
  }

  .light-button a.bt .button-holder svg {
    height: 30px;
    width: 30px;
  }

  .light-button a.bt .button-holder p {
    font-size: 0.65rem;
  }

  .light-button a.bt .light-holder {
    height: 120px;
    width: 100px;
  }

  .light-button a.bt .light-holder .light {
    width: 120px;
    height: 120px;
  }
}

/* Speed lines variations */
.speed-lines.fire::before {
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 5px,
    rgba(255,0,0,0.2) 5px,
    rgba(255,0,0,0.2) 10px
  );
}

.speed-lines.electric::before {
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 5px,
    rgba(0,0,255,0.2) 5px,
    rgba(0,0,255,0.2) 10px
  );
}

.speed-lines.wind::before {
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 5px,
    rgba(0,255,0,0.2) 5px,
    rgba(0,255,0,0.2) 10px
  );
}

.speed-lines.earth::before {
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 5px,
    rgba(139,69,19,0.2) 5px,
    rgba(139,69,19,0.2) 10px
  );
}

.speed-lines.water::before {
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 5px,
    rgba(0,206,209,0.2) 5px,
    rgba(0,206,209,0.2) 10px
  );
}

.speed-lines.light::before {
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 5px,
    rgba(255,255,0,0.2) 5px,
    rgba(255,255,0,0.2) 10px
  );
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .manga-page-border {
    margin: 10px;
    padding: 20px;
  }

  .manga-title::before,
  .manga-title::after {
    display: none;
  }

  .projects-manga-flow {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(250px, auto);
    gap: 15px;
  }

  .project-panel.large,
  .project-panel.medium,
  .project-panel.small {
    grid-column: span 1;
    grid-row: auto;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .experience-panel {
    min-height: 200px;
  }

  .panel-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .manga-page-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .project-title {
    font-size: 1.3rem;
  }

  .project-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .manga-page-border {
    margin: 5px;
    padding: 15px;
  }

  .project-panel {
    padding: 15px;
  }

  .project-video {
    padding: 15px;
    min-height: 150px;
  }

  .project-title {
    font-size: 1.2rem;
  }

  .project-description {
    font-size: 0.9rem;
  }

  .tech-stack {
    gap: 6px;
  }

  .tech-badge {
    font-size: 0.75rem;
    padding: 3px 6px;
  }

  .experience-title {
    font-size: 1.1rem;
  }

  .experience-meta p {
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) {
  .manga-page-border {
    margin: 0;
    padding: 10px;
  }

  .project-panel {
    padding: 10px;
  }

  .project-video {
    padding: 10px;
  }

  .project-title {
    font-size: 1.1rem;
  }

  .project-icon {
    width: 40px;
    height: 40px;
  }

  .tech-badge {
    font-size: 0.7rem;
    padding: 2px 5px;
  }
}

/* Galaxy Z Fold 6 Cover Display (Extra Narrow ~280px) */
@media (max-width: 280px) {
  .navbar {
    padding: 0.5rem 0.25rem;
  }

  .navbar-list {
    gap: 0.3rem;
  }

  .nav-btn {
    min-width: 60px;
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    box-shadow: 2px 2px 0 var(--manga-black);
    border-width: 2px;
  }

  .nav-btn:hover,
  .nav-btn.active {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--manga-black);
  }

  .github-follow-btn {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .github-follow-btn svg {
    width: 16px;
    height: 16px;
  }

  /* Neural Toggle */
  .switch {
    height: 100px;
    font-size: 14px;
  }
  
  .neural-title {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }
  
  .neural-subtitle {
    font-size: 0.6rem;
  }

  /* Education Cards */
  .education-cards-container {
    gap: 15px;
    padding: 5px;
  }
  
  .education-flip-card {
    height: 340px;
  }
  
  .education-card-front,
  .education-card-back {
    padding: 15px;
    border-width: 3px;
  }
  
  .card-degree {
    font-size: 0.95rem;
  }
  
  .card-icon {
    font-size: 2rem;
  }
  
  .card-institution {
    font-size: 0.85rem;
  }
  
  .back-content h4 {
    font-size: 0.95rem;
    letter-spacing: 1px;
  }
  
  .visit-website-btn {
    padding: 8px 15px;
    font-size: 0.75rem;
  }

  /* Projects */
  .manga-page-border {
    margin: 0;
    padding: 8px;
    border-width: 2px;
  }

  .projects-main {
    gap: 12px;
  }

  .project-panel {
    padding: 8px;
    border-width: 3px;
  }

  .project-video {
    padding: 8px;
    min-height: 120px;
  }

  .project-title {
    font-size: 1rem;
  }

  .project-description {
    font-size: 0.8rem;
  }

  .project-icon {
    width: 35px;
    height: 35px;
  }

  .tech-badge {
    font-size: 0.65rem;
    padding: 2px 4px;
  }

  .view-project-btn {
    padding: 0.6em 1.2em;
    font-size: 12px;
  }

  /* Experience */
  .experience-panel {
    min-height: 180px;
  }

  .experience-title {
    font-size: 1rem;
  }

  .experience-meta p {
    font-size: 0.75rem;
  }

  /* Contact Form */
  .contact-social-links {
    flex-direction: column;
    gap: 1rem;
  }

  .social-link {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .manga-input {
    padding: 10px;
    font-size: 0.85rem;
  }

  .manga-submit-btn {
    padding: 12px;
    font-size: 0.9rem;
  }
}

.skills-list, .projects-list, .experience-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.skill-item, .project-item, .experience-item {
  padding: 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--manga-gray);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive grids */
@media (max-width: 768px) {
  .skills-list, .projects-list, .experience-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .skill-item, .project-item, .experience-item {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .skill-item, .project-item, .experience-item {
    padding: 0.75rem;
  }
}

/* ===================================
   MANGA PAGE LAYOUT - EXPERIENCE
   Estilo página de manga japonesa
   =================================== */

.experience-manga {
  background: 
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.02) 50%, transparent 100%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px),
    #f5f5dc;
  padding: 2rem;
  position: relative;
  overflow: visible;
}

.manga-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.1);
}

.manga-page {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 15px;
  min-height: 450px;
  position: relative;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 0 0 4px #000000;
}

/* Manga halftone dots background for consistency */
.manga-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

/* Paneles con diferentes tamaños y posiciones */
.manga-panel {
  position: relative;
  background: white;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.manga-panel:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 10;
}

/* Panel grande a la izquierda */
.manga-panel.left.big {
  grid-column: 1;
  grid-row: 1 / 3;
  transform: rotate(-2deg);
  transform-origin: center;
}

/* Paneles pequeños a la derecha */
.manga-panel.right.small.top {
  grid-column: 2;
  grid-row: 1;
  transform: rotate(1.5deg);
  transform-origin: center;
}

.manga-panel.right.small.bottom {
  grid-column: 2;
  grid-row: 2;
  transform: rotate(-1deg);
  transform-origin: center;
}

/* Bordes de los paneles */
.panel-border {
  position: relative;
  height: 100%;
  border: 3px solid var(--manga-black);
  padding: 20px 15px 15px 15px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 
    inset 0 0 0 2px white,
    inset 0 0 0 5px var(--manga-black);
  overflow: visible;
}

.panel-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow-y: auto;
  max-height: 100%;
}

/* Etiqueta de número de panel */
.panel-number-tag {
  position: absolute;
  top: 3px;
  right: 8px;
  background: var(--manga-black);
  color: white;
  padding: 3px 12px;
  font-family: var(--font-manga);
  font-size: 0.7rem;
  font-weight: bold;
  border: 2px solid white;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  z-index: 5;
  transform: rotate(3deg);
}

/* Experience titles */
.experience-title-manga {
  font-family: var(--font-manga);
  font-size: 1rem;
  color: var(--manga-black);
  margin: 8px 0 5px 0;
  line-height: 1.3;
  font-weight: bold;
  text-transform: uppercase;
}

/* Meta información */
.experience-meta-manga {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.company-manga {
  color: var(--manga-blue);
  font-weight: bold;
  margin: 0;
}

.period-manga {
  color: var(--manga-red);
  font-weight: bold;
  margin: 0;
}

/* Burbujas de texto en manga */
.experience-bubble {
  background: white;
  border: 2px solid var(--manga-black);
  border-radius: 15px;
  padding: 12px;
  position: relative;
  font-size: 0.8rem;
  line-height: 1.4;
  margin-top: 8px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.experience-bubble::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 15px solid var(--manga-black);
}

.experience-bubble::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 32px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid white;
}

.experience-bubble p {
  margin: 0;
  color: var(--manga-black);
}

/* Líneas de efecto manga */
.manga-effect-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.1;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      var(--manga-black) 10px,
      var(--manga-black) 11px
    );
  z-index: 0;
}

.panel-content > * {
  position: relative;
  z-index: 1;
}

/* Indicador de página */
.manga-page-indicator {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-manga);
  font-size: 0.9rem;
  color: var(--manga-black);
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .manga-page {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
    padding: 15px;
  }

  .manga-panel.left.big,
  .manga-panel.right.small.top,
  .manga-panel.right.small.bottom {
    grid-column: 1;
    grid-row: auto;
    transform: rotate(0deg) !important;
  }

  .manga-panel {
    min-height: 250px;
  }

  .manga-title {
    font-size: 1.8rem;
  }

  .experience-title-manga {
    font-size: 1rem;
  }

  .experience-bubble {
    font-size: 0.8rem;
    padding: 12px;
  }
}

/* ===================================
   CONTACT FORM - MANGA JAPANESE STYLE
   Formulario seguro con estilo manga
   =================================== */

.contact-manga-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Social Links con Emojis */
.contact-social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #fff;
  border: 3px solid #000;
  text-decoration: none;
  font-family: var(--font-manga);
  font-weight: bold;
  font-size: 1rem;
  color: #000;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: 4px 4px 0 #000;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  z-index: 0;
}

.github-link::before {
  background: #333;
}

.linkedin-link::before {
  background: #0077b5;
}

.social-link:hover::before {
  left: 0;
}

.social-link:hover {
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}

.social-emoji,
.social-icon {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-icon {
  fill: currentColor;
}

.social-text {
  position: relative;
  z-index: 1;
}

.social-link:hover .social-emoji,
.social-link:hover .social-icon {
  transform: scale(1.2) rotate(5deg);
  animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {
  0%, 100% { transform: scale(1.2) rotate(5deg) translateY(0); }
  50% { transform: scale(1.2) rotate(5deg) translateY(-5px); }
}

/* Contact Form Wrapper - Estilo manga */
.contact-form-wrapper {
  background: #fff;
  border: 4px solid #000;
  box-shadow: 10px 10px 0 #000;
  padding: 2.5rem;
  position: relative;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid #000;
  pointer-events: none;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid #000;
}

.contact-form-title {
  font-family: var(--font-manga);
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-form-subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0;
  font-style: italic;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-manga);
  font-weight: bold;
  font-size: 0.9rem;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.label-icon {
  font-size: 1.2rem;
}

.form-input,
.form-textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  color: #000;
  background: #fff;
  border: 3px solid #000;
  outline: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: 3px 3px 0 #000;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #000;
  border-color: #000;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  max-height: 300px;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Submit Button - Manga Style */
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: #000;
  color: #fff;
  font-family: var(--font-manga);
  font-weight: bold;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: 6px 6px 0 #000;
  position: relative;
  overflow: hidden;
  align-self: center;
}

.contact-submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.contact-submit-btn:hover::before {
  width: 300px;
  height: 300px;
}

.contact-submit-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 #000;
}

.contact-submit-btn:active {
  transform: translate(0, 0);
  box-shadow: 3px 3px 0 #000;
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-arrow {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.contact-submit-btn:hover .btn-arrow {
  transform: translateX(5px);
  animation: arrow-move 0.6s ease infinite;
}

@keyframes arrow-move {
  0%, 100% { transform: translateX(5px); }
  50% { transform: translateX(10px); }
}

/* Form Status Messages */
.form-status {
  text-align: center;
  padding: 12px;
  font-family: var(--font-manga);
  font-weight: bold;
  font-size: 0.95rem;
  border: 2px solid transparent;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.form-status.success {
  background: #d4edda;
  color: #155724;
  border-color: #155724;
}

.form-status.error {
  background: #f8d7da;
  color: #721c24;
  border-color: #721c24;
}

/* Form Footer */
.contact-form-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 3px solid #000;
  text-align: center;
}

.contact-email-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #333;
  margin: 0;
}

.email-icon {
  font-size: 1.3rem;
}

.contact-email-direct a {
  color: #000;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.contact-email-direct a:hover {
  color: #0077b5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-manga-container {
    padding: 1rem;
  }

  .contact-social-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .social-link {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
    box-shadow: 6px 6px 0 #000;
  }

  .contact-form-wrapper::before {
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .contact-form-title {
    font-size: 1.5rem;
  }

  .contact-submit-btn {
    width: 100%;
    padding: 14px 30px;
  }

  .contact-email-direct {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .contact-manga-container {
    padding: 0.5rem;
  }

  .contact-social-links {
    gap: 0.75rem;
  }

  .social-link {
    max-width: 200px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .contact-form-wrapper {
    padding: 1rem;
    box-shadow: 4px 4px 0 #000;
    border-width: 3px;
  }

  .contact-form-wrapper::before {
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
  }

  .contact-form-title {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .contact-form-subtitle {
    font-size: 0.9rem;
  }

  .form-label {
    font-size: 0.85rem;
  }

  .form-input,
  .form-textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
    box-shadow: 2px 2px 0 #000;
  }

  .form-input:focus,
  .form-textarea:focus {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #000;
  }

  .form-textarea {
    min-height: 100px;
  }

  .contact-submit-btn {
    padding: 12px 25px;
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0 #000;
  }

  .contact-submit-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
  }

  .contact-email-direct {
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) {
  .social-link {
    max-width: 180px;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .contact-form-wrapper {
    padding: 0.75rem;
  }

  .contact-form-title {
    font-size: 1.2rem;
  }

  .form-input,
  .form-textarea {
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .contact-submit-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/* Galaxy Z Fold 6 Cover Display - Contact Form */
@media (max-width: 280px) {
  .contact-manga-container {
    padding: 0.25rem;
  }

  .contact-social-links {
    gap: 0.5rem;
  }

  .social-link {
    max-width: 100%;
    padding: 8px 12px;
    font-size: 0.8rem;
    box-shadow: 3px 3px 0 #000;
  }

  .social-icon {
    width: 20px;
    height: 20px;
  }

  .contact-form-wrapper {
    padding: 0.5rem;
    border-width: 3px;
    box-shadow: 4px 4px 0 #000;
  }

  .contact-form-wrapper::before {
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-width: 1px;
  }

  .contact-form-header {
    padding-bottom: 1rem;
    border-bottom-width: 2px;
  }

  .contact-form-title {
    font-size: 1rem;
    letter-spacing: 0.5px;
  }

  .contact-form-subtitle {
    font-size: 0.8rem;
  }

  .contact-form {
    gap: 1rem;
  }

  .form-label {
    font-size: 0.75rem;
  }

  .label-icon {
    font-size: 1rem;
  }

  .form-input,
  .form-textarea {
    padding: 8px 10px;
    font-size: 0.85rem;
    border-width: 2px;
    box-shadow: 2px 2px 0 #000;
  }

  .form-input:focus,
  .form-textarea:focus {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #000;
  }

  .form-textarea {
    min-height: 80px;
  }

  .contact-submit-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 3px 3px 0 #000;
  }

  .contact-submit-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #000;
  }

  .btn-arrow {
    font-size: 1.1rem;
  }

  .contact-form-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top-width: 2px;
  }

  .contact-email-direct {
    font-size: 0.75rem;
    flex-wrap: wrap;
  }

  .email-icon {
    font-size: 1.1rem;
  }
}

/* ===================================
   CONTACT ICONS - ANIMATED SVG (OLD - REMOVED)
   =================================== */

/* ========================================
   MANGA SPEECH BUBBLES - Universal Component
   Burbujas de diálogo estilo manga japonés
   ======================================== */

.manga-speech-bubble {
  background: #fff;
  border: 3px solid var(--manga-black);
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  margin: 1rem 0;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.manga-speech-bubble:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

/* Cola de la burbuja - izquierda */
.manga-speech-bubble.left::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid var(--manga-black);
}

.manga-speech-bubble.left::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 33px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 16px solid #fff;
}

/* Cola de la burbuja - derecha */
.manga-speech-bubble.right::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: 30px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid var(--manga-black);
}

.manga-speech-bubble.right::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: 33px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 16px solid #fff;
}

/* Variantes de color para burbujas */
.manga-speech-bubble.red {
  background: linear-gradient(135deg, #fff 0%, #ffebee 100%);
  border-color: var(--manga-red);
}

.manga-speech-bubble.blue {
  background: linear-gradient(135deg, #fff 0%, #e3f2fd 100%);
  border-color: var(--manga-blue);
}

.manga-speech-bubble.yellow {
  background: linear-gradient(135deg, #fff 0%, #fff9c4 100%);
  border-color: var(--manga-yellow);
}

.manga-speech-bubble.green {
  background: linear-gradient(135deg, #fff 0%, #e8f5e9 100%);
  border-color: var(--manga-green);
}

/* Thought bubble - burbuja de pensamiento */
.manga-thought-bubble {
  background: #fff;
  border: 3px dashed var(--manga-black);
  border-radius: 50px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
  margin: 1rem 0;
  font-style: italic;
}

.manga-thought-bubble::before,
.manga-thought-bubble::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 40px;
  width: 15px;
  height: 15px;
  background: #fff;
  border: 3px dashed var(--manga-black);
  border-radius: 50%;
}

.manga-thought-bubble::after {
  bottom: -40px;
  left: 25px;
  width: 10px;
  height: 10px;
}

/* ========================================
   MANGA ACTION LINES - Speed Lines Effect
   Líneas de acción estilo manga
   ======================================== */

.manga-action-lines {
  position: relative;
  overflow: hidden;
}

.manga-action-lines::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(0, 0, 0, 0.05) 10px,
      rgba(0, 0, 0, 0.05) 12px
    );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.manga-action-lines:hover::before {
  opacity: 1;
  animation: action-lines-move 0.8s linear infinite;
}

@keyframes action-lines-move {
  0% {
    transform: translateX(-20px) translateY(-20px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}



