@charset "UTF-8";
.contact-form, .timeline-content, .skill-category, .stat-card,
.experience-card,
.project-card {
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(115, 43, 133, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: black;
  background-color: #f5f5f5;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.highlight {
  color: #6e00ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body.theme-tech {
  margin: 0;
  background: radial-gradient(60vw 60vh at 10% -10%, rgba(139, 92, 246, 0.12), transparent 55%), radial-gradient(80vw 60vh at 110% 20%, rgba(192, 132, 252, 0.1), transparent 60%), #0b0b11;
  color: #f7f7f7;
  font-family: Inter, ui-sans-serif, system-ui, Segoe UI, Roboto, Arial, sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #6e00ff, #00f0ff);
  border-radius: 2px;
}

@media (min-width: 992px) {
  .section-title {
    font-size: 3rem;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(2px);
  }
  75% {
    transform: translateX(-2px);
  }
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background-color: #6e00ff;
  color: #f8f9fa;
}
.btn-primary:hover {
  background-color: #4a00b3;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(110, 0, 255, 0.3);
}
.btn-secondary {
  background-color: transparent;
  color: #f8f9fa;
  border-color: #f8f9fa;
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.nav {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: rgba(30, 0, 80, 0.8);
  padding: 1rem 0;
  transform: translateY(-150%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
}
.nav.active {
  transform: translateY(0);
  opacity: 1;
}
.nav .nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.nav .nav-link {
  color: #f8f9fa;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  padding: 0.5rem 0;
}
.nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #00f0ff;
  transition: all 0.3s ease;
}
.nav .nav-link:hover::after, .nav .nav-link.active::after {
  width: 100%;
}
.nav .nav-link.active {
  color: #00f0ff;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: #f8f9fa;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  .nav {
    position: static;
    transform: none;
    opacity: 1;
    width: auto;
    background-color: transparent;
    padding: 0;
  }
  .nav .nav-list {
    flex-direction: row;
    gap: 2rem;
  }
}
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #6e00ff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(110, 0, 255, 0.3);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background-color: #4a00b3;
  transform: translateY(-3px);
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-card {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.header.scrolled {
  background-color: rgba(10, 10, 20, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.header .logo {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #f8f9fa;
  letter-spacing: 1px;
}
.header .logo .highlight {
  color: #00f0ff;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(10, 10, 20, 0.9), rgba(30, 0, 80, 0.8)), url("../img/hero-bg.jpg") no-repeat center/cover;
  color: #f8f9fa;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(110, 0, 255, 0.2), transparent 50%);
}
.hero .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero .hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
}
.hero .hero-subtitle {
  font-size: 1.2rem;
  margin: 0 auto 2rem;
  opacity: 0.9;
  max-width: 600px;
}
.hero .hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero .hero-image {
  margin-top: 3rem;
  position: relative;
}
.hero .profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #6e00ff;
  box-shadow: 0 0 30px rgba(110, 0, 255, 0.5);
  margin: 0 auto;
  display: block;
}
.hero .tech-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero .tech-icons i {
  font-size: 2.5rem;
  color: #00f0ff;
  transition: all 0.3s ease;
}
.hero .tech-icons i:hover {
  transform: translateY(-5px) scale(1.1);
  color: #f8f9fa;
}

@media (min-width: 768px) {
  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
  .hero .hero-content {
    text-align: left;
  }
  .hero .hero-btns {
    justify-content: flex-start;
  }
  .hero .hero-image {
    margin-top: 0;
  }
}
@media (min-width: 992px) {
  .hero .hero-title {
    font-size: 4rem;
  }
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.personal-info {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.personal-info .info-item {
  display: flex;
  gap: 0.5rem;
}
.personal-info .info-label {
  font-weight: 500;
  color: #6e00ff;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-number {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #6e00ff;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 0.9rem;
  color: #6c757d;
}

@media (min-width: 576px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .personal-info {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
  }
}
.skills-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.skill-category {
  padding: 1.5rem;
}

.skill-category-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #6e00ff;
  position: relative;
  padding-bottom: 0.5rem;
}
.skill-category-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #00f0ff;
  border-radius: 2px;
}

.skill-list {
  list-style: none;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-name {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.skill-bar {
  height: 10px;
  background-color: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background: linear-gradient(to right, #6e00ff, #00f0ff);
  border-radius: 5px;
  position: relative;
}
.skill-level::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
}

@media (min-width: 768px) {
  .skills-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
.soft-skills {
  background-color: rgba(30, 0, 80, 0.8);
  color: #f8f9fa;
}
.soft-skills .section-title::after {
  background: linear-gradient(to right, #00f0ff, #6e00ff);
}

.soft-skills-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.soft-skill-card {
  background-color: rgba(137, 132, 132, 0.05);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.soft-skill-card:hover {
  transform: translateY(-5px);
  background-color: rgba(110, 0, 255, 0.1);
  border-color: #6e00ff;
}

.soft-skill-icon {
  font-size: 2.5rem;
  color: #00f0ff;
  margin-bottom: 1.5rem;
}

.soft-skill-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.soft-skill-desc {
  font-size: 0.95rem;
  opacity: 0.8;
}

@media (min-width: 576px) {
  .soft-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .soft-skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: #6e00ff;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-date {
  position: absolute;
  top: 0;
  width: 120px;
  padding: 0.5rem;
  background-color: #6e00ff;
  color: white;
  text-align: center;
  border-radius: 8px;
  font-weight: 500;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-content {
  padding: 1.5rem;
  position: relative;
  margin-top: 2.5rem;
}
.timeline-content::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background-color: #f8f9fa;
  box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.05);
}

.timeline-title {
  font-size: 1.3rem;
  color: #6e00ff;
}

.timeline-institution {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: rgba(30, 0, 80, 0.8);
}

.timeline-desc {
  font-size: 0.95rem;
  opacity: 0.9;
}

@media (min-width: 992px) {
  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    width: calc(50% - 2rem);
  }
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    width: calc(50% - 2rem);
  }
  .timeline-item:nth-child(odd) .timeline-date {
    left: calc(50% - 140px);
    transform: none;
  }
  .timeline-item:nth-child(even) .timeline-date {
    left: calc(50% + 20px);
    transform: none;
  }
  .timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
    transform: rotate(45deg);
  }
  .timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -10px;
    transform: rotate(45deg);
  }
}
.projects {
  background-color: rgba(30, 0, 80, 0.8);
  color: #f8f9fa;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
  justify-content: center;
}

.project-tech {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 0.5rem;
}
.project-tech span {
  background-color: rgba(10, 10, 20, 0.8);
  color: #f8f9fa;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: rgba(30, 0, 80, 0.8);
}

.project-desc {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #6c757d;
}

.project-links {
  display: flex;
  gap: 1rem;
}
.project-links .project-link {
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.project-links .project-link:first-child {
  background-color: #6e00ff;
  color: #f8f9fa;
}
.project-links .project-link:first-child:hover {
  background-color: #4a00b3;
}
.project-links .project-link:last-child {
  background-color: transparent;
  color: #6e00ff;
  border: 1px solid #6e00ff;
}
.project-links .project-link:last-child:hover {
  background-color: rgba(110, 0, 255, 0.1);
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-info {
  text-align: center;
}

.contact-subtitle {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.contact-text {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.1rem;
}
.contact-method i {
  color: #6e00ff;
  font-size: 1.3rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(110, 0, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.social-link:hover {
  background-color: #6e00ff;
  color: white;
  transform: translateY(-3px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-form {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6e00ff;
  box-shadow: 0 0 0 3px rgba(110, 0, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

@media (min-width: 768px) {
  .contact-content {
    flex-direction: row;
  }
  .contact-info {
    flex: 1;
    text-align: left;
  }
  .contact-methods {
    align-items: flex-start;
  }
  .social-links {
    justify-content: flex-start;
  }
  .contact-form {
    flex: 1;
  }
}
.footer {
  background-color: rgba(30, 0, 80, 0.8);
  color: #f8f9fa;
  padding: 3rem 0 0;
}
.footer .footer-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer .footer-brand {
  text-align: center;
}
.footer .footer-text {
  opacity: 0.8;
  margin-top: 1rem;
  font-size: 0.95rem;
}
.footer .footer-links h3,
.footer .footer-contact h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer .footer-links h3::after,
.footer .footer-contact h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #00f0ff;
}
.footer .footer-links ul,
.footer .footer-contact ul {
  list-style: none;
}
.footer .footer-links li {
  margin-bottom: 0.8rem;
}
.footer .footer-links a {
  opacity: 0.8;
  transition: all 0.3s ease;
}
.footer .footer-links a:hover {
  opacity: 1;
  color: #00f0ff;
  padding-left: 5px;
}
.footer .footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  opacity: 0.8;
}
.footer .footer-contact i {
  color: #00f0ff;
}
.footer .footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}
.footer .footer-legal {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.footer .footer-legal a:hover {
  color: #00f0ff;
}
@media (min-width: 768px) {
  .footer .footer-content {
    flex-direction: row;
  }
  .footer .footer-brand {
    flex: 2;
    text-align: left;
  }
  .footer .footer-links {
    flex: 1;
  }
  .footer .footer-contact {
    flex: 1;
  }
}

.shell {
  min-height: 100%;
  padding: 28px;
  display: grid;
  place-items: center;
}

.back-chip {
  position: fixed;
  top: 16px;
  left: 16px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #f7f7f7;
  border: 1px solid rgba(139, 92, 246, 0.35);
  backdrop-filter: blur(8px);
  transition: 0.2s;
}
.back-chip:hover {
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.35);
  border-color: #c084fc;
  color: #fff;
}

.card {
  width: min(760px, 100%);
  padding: 28px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 15, 26, 0.9), rgba(13, 15, 26, 0.92));
  border: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow: 0 30px 60px rgba(115, 43, 133, 0.45);
}
.card h1 {
  margin: 0 0 10px;
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: 0.2px;
  background: linear-gradient(90deg, #fff, #c7bfff 40%, #8b5cf6 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

form {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  font-weight: 700;
  color: #d7dbeb;
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(168, 174, 196, 0.18);
  outline: none;
  background: linear-gradient(180deg, #2b0067, #4a00b3);
  color: #f7f7f7;
  transition: 0.15s;
}
.field input::placeholder, .field textarea::placeholder {
  color: #7e85a1;
}
.field input:focus, .field textarea:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.35);
}
.field.is-ok input, .field.is-ok textarea {
  border-color: rgba(34, 197, 94, 0.8);
}
.field.is-ok .field-msg {
  color: #22c55e;
}
.field.is-err input, .field.is-err textarea {
  border-color: rgba(244, 63, 94, 0.9);
  animation: shake 0.2s linear 1;
}
.field.is-err .field-msg {
  color: #f43f5e;
}
.field .field-msg {
  min-height: 1.1em;
  font-size: 0.9rem;
}

.cta {
  margin-top: 6px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  color: white;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  background: linear-gradient(90deg, #8b5cf6, #c084fc);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.35);
  transition: transform 0.1s, filter 0.2s, box-shadow 0.2s;
}
.cta:hover {
  filter: saturate(110%);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.45);
}
.cta:active {
  transform: translateY(1px);
}
.cta[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.global-msg {
  margin-top: 4px;
  text-align: center;
  min-height: 1.2em;
}

.hp {
  position: absolute !important;
  opacity: 0 !important;
  left: -9999px !important;
}

@media (max-width: 520px) {
  .shell {
    padding: 18px;
  }
  .back-chip {
    position: static;
    margin-bottom: 14px;
  }
  .card {
    padding: 22px 16px;
  }
}
.faq-container {
  max-width: 760px;
  margin: 40px auto;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 17, 32, 0.9), rgba(20, 20, 35, 0.92));
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.faq-title {
  text-align: center;
  margin-bottom: 24px;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #fff, #c7bfff 40%, #8b5cf6 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-item {
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  padding: 12px 0;
}

.faq-q {
  font-weight: 600;
  font-size: 1.1rem;
  color: #e8eaf2;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-q:hover {
  color: #c084fc;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.35s ease;
  color: #aab0c0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 4px;
}

.faq-item.active .faq-a {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

.back-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #8b5cf6, #c084fc);
  box-shadow: 0 8px 18px rgba(139, 92, 246, 0.35);
  transition: all 0.2s ease;
  margin-bottom: 20px;
}

.back-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.45);
}

/* Paleta base (ya la tienes, se reusa) */
.books-shell {
  min-height: 100dvh;
  padding: 28px clamp(16px, 3vw, 32px);
  background: radial-gradient(70vw 60vh at 0% -20%, rgba(139, 92, 246, 0.12), transparent 50%), radial-gradient(70vw 60vh at 100% 0%, rgba(192, 132, 252, 0.1), transparent 55%), #0b0b11;
  color: #e8eaf2;
}

.books-head {
  max-width: 1180px;
  margin: 0 auto 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr minmax(260px, 420px);
}
.books-head h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 6px;
}
.books-head h1 span {
  background: linear-gradient(90deg, #fff, #c084fc 45%, #8b5cf6 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.books-head .muted {
  color: #aab0c0;
}
.books-head .search {
  align-self: end;
  position: relative;
}
.books-head .search input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border-radius: 14px;
  border: 1px solid rgba(168, 174, 196, 0.18);
  background: linear-gradient(180deg, #0d0f1a, #0f1324);
  color: #e8eaf2;
  outline: none;
  transition: 0.15s;
}
.books-head .search input::placeholder {
  color: #7e85a1;
}
.books-head .search input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.35);
}
.books-head .search .fi {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}
@media (max-width: 920px) {
  .books-head {
    grid-template-columns: 1fr;
  }
}

/* Grid de tarjetas */
.books-grid {
  max-width: 1180px;
  margin: 10px auto 40px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Tarjeta */
.book-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(13, 15, 26, 0.92), rgba(13, 15, 26, 0.98));
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.book-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.book-card .cover-wrap {
  aspect-ratio: 3/4;
  display: block;
  background: #0f1324;
}
.book-card .cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.book-card .cover-wrap .cover-ph {
  display: grid;
  place-items: center;
  height: 100%;
  color: #aab0c0;
}
.book-card .book-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.book-card .book-title {
  margin: 0;
  font-size: 1.05rem;
}
.book-card .book-title a {
  color: #fff;
  text-decoration: none;
}
.book-card .book-title a:hover {
  color: #c084fc;
}
.book-card .book-meta {
  margin: 0;
  color: #aab0c0;
  font-size: 0.9rem;
}
.book-card .book-resume {
  margin: 2px 0 0;
  color: #d7dbeb;
  font-size: 0.95rem;
}
.book-card .book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.book-card .book-tags li {
  padding: 6px 10px;
  font-size: 0.8rem;
  color: #ebd9ff;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 999px;
}
.book-card .book-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}
.book-card .btn {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.book-card .btn.ghost {
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: linear-gradient(180deg, rgba(13, 15, 26, 0.6), rgba(13, 15, 26, 0.35));
}
.book-card .btn.ghost:hover {
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.35);
  border-color: #c084fc;
}

.empty {
  text-align: center;
  color: #aab0c0;
  padding: 40px 0;
}

.book-detail {
  max-width: 860px;
  margin: 50px auto;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(13, 15, 26, 0.95) 0%, rgba(26, 19, 48, 0.92) 50%, rgba(13, 15, 26, 0.98) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 80px rgba(139, 92, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #e8eaf2;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}
.book-detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), transparent);
  z-index: 1;
}
.book-detail h1 {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 8px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #c084fc 40%, #8b5cf6 80%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}
.book-detail h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #c084fc);
  border-radius: 2px;
}
.book-detail .book-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  position: relative;
}
@media (min-width: 768px) {
  .book-detail .book-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
}
.book-detail .book-header .book-cover {
  width: 220px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.25), 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.2);
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
}
.book-detail .book-header .book-cover:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4), 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.3);
}
.book-detail .book-header .book-meta {
  font-size: 1.1rem;
  color: #c084fc;
  margin-top: 8px;
  font-weight: 500;
  text-align: center;
}
@media (min-width: 768px) {
  .book-detail .book-header .book-meta {
    text-align: left;
  }
}
.book-detail .book-header .book-meta::before {
  content: "📖 ";
  margin-right: 4px;
}
.book-detail .book-summary {
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(192, 132, 252, 0.1));
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 4px solid #8b5cf6;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.book-detail .book-description {
  margin-bottom: 24px;
  color: #d7dbeb;
  font-size: 1.05rem;
}
.book-detail .book-description p {
  margin-bottom: 1.2rem;
  text-align: justify;
}
.book-detail .book-description p:last-child {
  margin-bottom: 0;
}
.book-detail .book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin-top: 28px;
}
.book-detail .book-tags li {
  padding: 8px 16px;
  font-size: 0.9rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(192, 132, 252, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  color: #ebd9ff;
  transition: all 0.3s ease;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.book-detail .book-tags li::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}
.book-detail .book-tags li:hover {
  border-color: #c084fc;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4), 0 0 0 3px rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}
.book-detail .book-tags li:hover::before {
  left: 100%;
}

/*# sourceMappingURL=main.css.map */
