* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #ec4899;
  --dark: #0f172a;
  --light: #f8fafc;
}
html {
  overflow-x: hidden;
  pointer-events: auto;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: "Be Vietnam Pro", sans-serif !important;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: var(--light);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* Wrapper for 3D perspective */
main {
  perspective: 1000px;
  transform-style: preserve-3d;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* Particle Background Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  box-sizing: border-box;
}

/* Navbar */
.navbar {
  position: relative;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: rgba(26, 32, 44, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(26, 32, 44, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-decoration: none;
}

.brand-name-suse {
  color: var(--light);
}

.brand-name-phuong {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--light) !important;
  font-weight: 600;
  margin: 0 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #ec4899, #8b5cf6);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section - 3D Text Effect */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  padding-top: 6rem;
}

.hero-content {
  transform-style: preserve-3d;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transform-style: preserve-3d;
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.badge-icon {
  font-size: 1.2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #6366f1, #ec4899, #8b5cf6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform-style: preserve-3d;
  text-shadow: 0 0 80px rgba(99, 102, 241, 0.5);
  text-align: left;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.8;
  text-align: left;
  letter-spacing: 0.5px;
}

.hero-features {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: var(--light);
  opacity: 0.9;
}

.feature-check {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-outline-3d {
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.3s ease;
  display: inline-block;
  overflow: hidden;
  z-index: 1;
}

.btn-outline-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  transition: width 0.4s ease;
  z-index: 0;
}

.btn-outline-3d:hover::before {
  width: 100%;
}

.btn-outline-3d > * {
  position: relative;
  z-index: 1;
}

.btn-outline-3d:hover {
  border-color: rgba(99, 102, 241, 0.8);
  transform: translateY(-3px);
  color: white;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.hero-stats-preview {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  transform-style: preserve-3d;
  perspective: 2000px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  z-index: 2;
}

.hero-music-icon-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-music-icon {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  animation: float-3d 6s ease-in-out infinite;
  transition: transform 0.6s ease, animation 0.3s ease;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-music-icon:hover {
  animation: none !important;
  transform: translateY(-30px) rotateY(20deg) rotateX(10deg) scale(1.1) !important;
  transition: transform 0.4s ease;
}

.hero-music-icon:hover .music-icon-main {
  animation: icon-rotate-3d 2s linear infinite !important;
  transition: transform 0.3s ease;
}

@keyframes icon-rotate-3d {
  0% {
    transform: scale(1.1) rotateY(0deg) rotateX(0deg);
  }
  25% {
    transform: scale(1.15) rotateY(90deg) rotateX(5deg);
  }
  50% {
    transform: scale(1.1) rotateY(180deg) rotateX(0deg);
  }
  75% {
    transform: scale(1.15) rotateY(270deg) rotateX(-5deg);
  }
  100% {
    transform: scale(1.1) rotateY(360deg) rotateX(0deg);
  }
}

@keyframes float-3d {
  0%,
  100% {
    transform: translateY(0) rotateY(0deg) rotateX(0deg);
  }
  25% {
    transform: translateY(-20px) rotateY(10deg) rotateX(5deg);
  }
  50% {
    transform: translateY(-10px) rotateY(0deg) rotateX(-5deg);
  }
  75% {
    transform: translateY(-20px) rotateY(-10deg) rotateX(5deg);
  }
}

.music-icon-main {
  font-size: 15rem;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.8))
    drop-shadow(0 0 60px rgba(99, 102, 241, 0.6));
  animation: icon-pulse 3s ease-in-out infinite;
  transform-style: preserve-3d;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

@keyframes icon-pulse {
  0%,
  100% {
    transform: scale(1) rotateY(0deg);
    filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.8))
      drop-shadow(0 0 60px rgba(99, 102, 241, 0.6));
  }
  50% {
    transform: scale(1.1) rotateY(15deg);
    filter: drop-shadow(0 0 50px rgba(236, 72, 153, 1))
      drop-shadow(0 0 100px rgba(99, 102, 241, 0.8));
  }
}

/* Home Page Specific Styles - Guitar Icon */
.home-guitar-icon {
  width: 700px;
  height: 700px;
  animation: home-float-3d 6s ease-in-out infinite;
}

.home-guitar-icon:hover {
  animation: home-float-3d 6s ease-in-out infinite !important;
  transform: translateY(-10px) !important;
  transition: transform 0.4s ease;
}

.home-guitar-icon:hover .music-icon-main {
  animation: home-icon-pulse 3s ease-in-out infinite !important;
  transition: transform 0.3s ease;
}

.home-guitar-icon .music-icon-main {
  animation: home-icon-pulse 3s ease-in-out infinite;
}

@keyframes home-float-3d {
  0%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(-10px);
  }
  75% {
    transform: translateY(-20px);
  }
}

@keyframes home-icon-pulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.8))
      drop-shadow(0 0 60px rgba(99, 102, 241, 0.6));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 50px rgba(236, 72, 153, 1))
      drop-shadow(0 0 100px rgba(99, 102, 241, 0.8));
  }
}

.home-guitar-icon .music-icon-main img {
  width: 700px;
  height: auto;
  display: block;
}

.music-icon-notes {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.music-note {
  position: absolute;
  font-size: 4rem;
  filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.7));
  animation: note-orbit 8s linear infinite;
  transform-style: preserve-3d;
}

.note-top {
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.note-right {
  top: 50%;
  right: -15%;
  transform: translateY(-50%);
  animation-delay: 2s;
}

.note-left {
  top: 50%;
  left: -15%;
  transform: translateY(-50%);
  animation-delay: 4s;
}

.note-bottom {
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 6s;
}

@keyframes note-orbit {
  0% {
    transform: rotateZ(0deg) translateX(0) rotateZ(0deg) scale(1);
    opacity: 0.8;
  }
  25% {
    transform: rotateZ(90deg) translateX(20px) rotateZ(-90deg) scale(1.2);
    opacity: 1;
  }
  50% {
    transform: rotateZ(180deg) translateX(0) rotateZ(-180deg) scale(1);
    opacity: 0.8;
  }
  75% {
    transform: rotateZ(270deg) translateX(-20px) rotateZ(-270deg) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: rotateZ(360deg) translateX(0) rotateZ(-360deg) scale(1);
    opacity: 0.8;
  }
}

.music-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.4) 0%,
    rgba(236, 72, 153, 0.3) 30%,
    transparent 70%
  );
  border-radius: 50%;
  animation: glow-pulse 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.music-icon-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.music-icon-particles .particle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
  animation: particle-float 6s ease-in-out infinite;
}

.music-icon-particles .particle:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.music-icon-particles .particle:nth-child(2) {
  top: 30%;
  right: 15%;
  animation-delay: 1s;
}

.music-icon-particles .particle:nth-child(3) {
  bottom: 20%;
  left: 25%;
  animation-delay: 2s;
}

.music-icon-particles .particle:nth-child(4) {
  bottom: 40%;
  right: 20%;
  animation-delay: 3s;
}

.music-icon-particles .particle:nth-child(5) {
  top: 60%;
  left: 10%;
  animation-delay: 4s;
}

.music-icon-particles .particle:nth-child(6) {
  top: 20%;
  right: 30%;
  animation-delay: 5s;
}

@keyframes particle-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  25% {
    transform: translate(20px, -30px) scale(1.3);
    opacity: 1;
  }
  50% {
    transform: translate(-15px, -20px) scale(0.8);
    opacity: 0.5;
  }
  75% {
    transform: translate(10px, -40px) scale(1.2);
    opacity: 0.9;
  }
}

.hero-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-music-note {
  position: absolute;
  font-size: 3rem;
  opacity: 0.7;
  animation: float-note 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.note-1 {
  top: 5%;
  right: 15%;
  animation-delay: 0s;
  font-size: 3.5rem;
}

.note-2 {
  bottom: 10%;
  right: 20%;
  animation-delay: 1s;
  font-size: 3rem;
}

.note-3 {
  top: 60%;
  left: 15%;
  animation-delay: 2s;
  font-size: 2.5rem;
}

.note-4 {
  top: 20%;
  left: 10%;
  animation-delay: 3s;
  font-size: 2.8rem;
}

.note-5 {
  bottom: 30%;
  right: 12%;
  animation-delay: 4s;
  font-size: 2.7rem;
}

.note-6 {
  bottom: 50%;
  left: 20%;
  animation-delay: 5s;
  font-size: 2.3rem;
}

@keyframes float-note {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  25% {
    transform: translate(20px, -30px) rotate(15deg) scale(1.1);
    opacity: 1;
  }
  50% {
    transform: translate(-15px, -20px) rotate(-10deg) scale(0.9);
    opacity: 0.8;
  }
  75% {
    transform: translate(10px, -40px) rotate(20deg) scale(1.05);
    opacity: 0.9;
  }
}

.btn-3d {
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 50px;
  color: white;
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
  overflow: hidden;
  z-index: 1;
}

.btn-3d > * {
  position: relative;
  z-index: 1;
}

.btn-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.4s ease;
  z-index: 0;
}

.btn-3d:hover::before {
  width: 100%;
}

.btn-3d:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.6);
}

.btn-3d:active {
  transform: translateY(-2px) scale(0.98);
}

/* Section Divider */
.section-divider {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.6) 20%,
    rgba(139, 92, 246, 0.8) 40%,
    rgba(236, 72, 153, 0.8) 60%,
    rgba(236, 72, 153, 0.6) 80%,
    transparent 100%
  );

  position: relative;
  z-index: 1;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4), 0 0 40px rgba(236, 72, 153, 0.3);
}

.divider-icon-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  background: conic-gradient(from 0deg, #6366f1, #8b5cf6, #ec4899, #6366f1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5), 0 0 40px rgba(236, 72, 153, 0.3);
  z-index: 2;
  padding: 3px;
  box-sizing: border-box;
}

.divider-icon-wrapper::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.98);
  z-index: 1;
}

.divider-icon {
  position: relative;
  font-size: 2rem;
  z-index: 2;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.8));
  animation: icon-pulse 3s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.8));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(236, 72, 153, 1));
  }
}

/* About Section */
.about-section {
  background: rgba(255, 255, 255, 0.02);
  padding-top: 6rem;
  position: relative;
}

.about-content {
  text-align: left;
}

.about-content-first {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* About section title - giữ text-align: left cho phần about */
.about-section .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.video-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 1rem;
}

/* 3D Card Section */
.section-3d {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 5rem;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform-style: preserve-3d;
}

.card-3d {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  height: 100%;
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.card-3d::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;
}

.card-3d:hover::before {
  left: 100%;
}

.card-3d:hover {
  transform: translateY(-20px) rotateX(5deg) rotateY(5deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 0.5);
}

.card-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.card-3d:hover .card-icon {
  transform: translateZ(50px) rotateY(360deg);
}

.card-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light);
}

.card-text {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.8;
}

/* Floating 3D Elements */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3),
    rgba(236, 72, 153, 0.3)
  );
  filter: blur(60px);
  animation: float 20s infinite ease-in-out;
  pointer-events: none;
}

/* Floating Music Notes Background */
.floating-notes-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-notes-background .background-note {
  position: absolute;
  font-size: 3rem;
  opacity: 0.25;
  color: rgba(99, 102, 241, 0.5);
  filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.3));
  transform-style: preserve-3d;
  will-change: transform, opacity;
  z-index: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(100px, -100px) scale(1.2);
  }

  50% {
    transform: translate(-100px, 100px) scale(0.8);
  }

  75% {
    transform: translate(100px, 100px) scale(1.1);
  }
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  top: 60%;
  right: 15%;
  animation-delay: 5s;
}

.shape-3 {
  width: 500px;
  height: 500px;
  bottom: 10%;
  left: 50%;
  animation-delay: 10s;
}

/* 3D Parallax Section */
.parallax-section {
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.parallax-content {
  transform-style: preserve-3d;
  text-align: center;
  z-index: 10;
  width: 100%;
  max-width: 800px;
  margin: 8rem auto;
}

/* Registration Form */
.registration-form-wrapper {
  margin-top: 3rem;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.registration-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-label .required {
  color: #ec4899;
}

.form-control-3d {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1rem;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.form-control-3d::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-control-3d:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  color: rgba(255, 255, 255, 0.95) !important;
}

.form-control-3d:focus::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Fix autofill color */
.form-control-3d:-webkit-autofill,
.form-control-3d:-webkit-autofill:hover,
.form-control-3d:-webkit-autofill:focus,
.form-control-3d:-webkit-autofill:active {
  -webkit-text-fill-color: rgba(255, 255, 255, 0.95) !important;
  -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.05) inset !important;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.05) inset !important;
  background-color: transparent !important;
  background-clip: content-box !important;
}

input.form-control-3d,
textarea.form-control-3d,
select.form-control-3d {
  color: rgba(255, 255, 255, 0.95) !important;
}

.form-control-3d:hover {
  border-color: rgba(236, 72, 153, 0.3);
}

select.form-control-3d {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Dropdown options visibility on light dropdown backgrounds */
select.form-control-3d option {
  color: #0f172a; /* dark text for readability */
  background-color: #ffffff;
}

/* Posts page - compact filter UI */
.posts-page .filter-sidebar .form-control-3d {
  padding: 0.6rem 1rem;
}

.posts-page .filter-sidebar .btn-3d {
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* Posts page - card compact padding */
.posts-page .card-3d {
  padding: 1.5rem;
}

/* Post cards - hiệu ứng hover nhẹ nhàng hơn, không nghiêng nhiều */
.post-card.card-3d:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.4);
}

/* Post detail - readable layout, no effects */
.post-detail #particles-canvas,
.post-detail .floating-shape,
.post-detail .floating-notes-background {
  display: none !important;
}
.post-detail .card-3d,
.post-detail .card-3d:hover {
  transform: none !important;
  transition: none !important;
}
.post-detail .hero-section {
  padding: 2rem 0;
  background: transparent;
}
.post-detail .article-section {
  padding-top: 0;
}
.post-detail .article-breadcrumbs {
  color: #aab2c8;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.post-detail .article-breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
}
.post-detail .article-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 0.25rem;
}
.post-detail .article-meta {
  color: #94a3b8;
  margin-bottom: 0.8rem;
}
.post-detail .article-card {
  padding: 0.75rem 1rem;
}
.post-detail .comments-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 1rem;
}
.post-detail .comments-section {
  padding-top: 0.25rem;
  margin-top: 0.25rem;
}
.post-detail .comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}
.post-detail .comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-detail .comment-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.post-detail .comment-author {
  color: #e5e7eb;
  font-weight: 700;
}
.post-detail .comment-time {
  color: #94a3b8;
  font-size: 0.9rem;
}
.post-detail .comment-reply {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}
.post-detail .comment-reply:hover {
  background: rgba(255, 255, 255, 0.08);
}
.post-detail .comment-text {
  color: #e5e7eb;
}
.post-detail .comment-children {
  margin-top: 8px;
  padding-left: 44px;
  margin-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.post-detail .comment-children .comment-avatar {
  width: 28px;
  height: 28px;
}
.post-detail .comments-section .btn-3d {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
.post-detail .article-cover img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}
.post-detail .article-content {
  margin-top: 1rem;
}
.post-detail .article-content p {
  line-height: 1.85;
  font-size: 1.05rem;
  margin: 0 0 1rem;
}
.post-detail .article-content ul {
  margin: 0 0 1rem 1.2rem;
}
.post-detail .article-tags .tag {
  display: inline-block;
  margin-right: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  color: #e5e7eb;
  font-size: 0.85rem;
}
.post-detail .article-share {
  margin-top: 0.5rem;
  color: #cbd5e1;
}
.post-detail .article-nav a {
  text-decoration: none;
}
.post-detail .related-card {
  position: sticky;
  top: 100px;
}
.post-detail .related-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.post-detail .related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.post-detail .related-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.post-detail .related-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.post-detail .related-title {
  font-size: 1rem;
  margin: 0 0 2px;
  color: #e5e7eb;
}
.post-detail .related-excerpt {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

/* Header overlay & tighter spacing on post detail */
.post-detail .hero-section {
  padding: 8rem 0 0.75rem;
  min-height: auto !important;
  display: block !important;
  align-items: initial !important;
  justify-content: initial !important;
}
.post-detail .article-title {
  margin-bottom: 0.4rem;
}
.post-detail .article-meta {
  margin-bottom: 0.8rem;
}
.post-detail .article-section {
  padding-top: 0;
}
.post-detail .article-card {
  padding: 0.75rem 1rem;
}

/* Posts horizontal filter bar */
.posts-page .filter-bar {
  gap: 1rem;
}
.posts-page .filter-bar .filter-icon {
  font-size: 1.7rem;
}
.posts-page .filter-bar .filter-input {
  flex: 1 1 320px;
  min-width: 220px;
}
.posts-page .filter-bar .filter-select {
  width: 220px;
}
.posts-page .filter-bar .filter-btn {
  padding: 0.6rem 1.2rem;
}
/* Disable 3D hover/tilt on filter bar to avoid rotation */
.posts-page .filter-bar.card-3d,
.posts-page .filter-bar.card-3d:hover {
  transform: none !important;
  transition: none !important;
}
.posts-page .filter-bar .filter-btn {
  white-space: nowrap;
}

/* Post card thumbnail fixed height */
.posts-page .post-thumb {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

/* Clamp excerpt to two lines */
.posts-page .post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

/* Pagination theme */
.posts-page .web-pagination {
  display: flex;
  gap: 6px;
}
.posts-page .web-pagination .page-item .page-link {
  color: #e5e7eb;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
}
.posts-page .web-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: #fff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}
.posts-page .web-pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}
.posts-page .web-pagination .page-item .page-link:hover {
  background: rgba(99, 102, 241, 0.25);
}
/* Clamp title to two lines and equalize height */
.posts-page .post-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
}

textarea.form-control-3d {
  resize: vertical;
  min-height: 100px;
}

.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  will-change: transform;
}

/* Stats Section with 3D Counter */
.stats-section {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.stat-card {
  text-align: center;
  padding: 2rem;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  transform-style: preserve-3d;
}

.stat-label {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

/* 3D Gallery */
.gallery-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.gallery-item {
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.5s ease;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  transform: translateZ(50px) rotateY(10deg) rotateX(5deg);
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.4);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Gallery Carousel */

.gallery-slide {
  padding: 0 15px;
  outline: none;
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0;
  border-radius: 10px;
  transition: all 0.5s ease;
  transform-style: preserve-3d;
  box-shadow: none;
  border: none;
  outline: none;
  background: transparent;
  display: block;
}

.gallery-slide:hover img {
  transform: translateY(-10px) rotateY(5deg) scale(1.05);
  box-shadow: none;
}

/* Slick Carousel Custom Styles */
.gallery-carousel .slick-dots {
  /* bottom: -50px; */
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gallery-carousel .slick-dots li {
  margin: 0;
  width: auto;
  height: auto;
}

.gallery-carousel .slick-dots li button {
  width: 30px;
  height: 6px;
  padding: 0;
  border: none;
  background: rgba(99, 102, 241, 0.25);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.gallery-carousel .slick-dots li button:before {
  display: none;
}

.gallery-carousel .slick-dots li button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  border-radius: 10px;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-carousel .slick-dots li.slick-active button {
  background: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.7), 0 0 35px rgba(236, 72, 153, 0.5),
    inset 0 0 15px rgba(255, 255, 255, 0.2);
  transform: scale(1.3);
  width: 40px;
}

.gallery-carousel .slick-dots li.slick-active button::after {
  left: 0;
}

.gallery-carousel .slick-dots li button:hover {
  background: rgba(99, 102, 241, 0.45);
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.gallery-carousel .slick-prev,
.gallery-carousel .slick-next {
  z-index: 10;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3),
    rgba(236, 72, 153, 0.3)
  );
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  margin: 0;
}

.gallery-carousel .slick-prev.custom-arrow,
.gallery-carousel .slick-next.custom-arrow {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.gallery-carousel .slick-prev:before,
.gallery-carousel .slick-next:before,
.gallery-carousel .slick-prev:after,
.gallery-carousel .slick-next:after {
  display: none !important;
}

.gallery-carousel .slick-prev i,
.gallery-carousel .slick-next i {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 2px 10px rgba(99, 102, 241, 0.5);
  line-height: 1;
  transition: all 0.3s ease;
  display: inline-block !important;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  visibility: visible !important;
  opacity: 1 !important;
}

.gallery-carousel .slick-prev:hover,
.gallery-carousel .slick-next:hover {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.6),
    rgba(236, 72, 153, 0.6)
  );
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4),
    0 0 30px rgba(236, 72, 153, 0.3);
}

.gallery-carousel .slick-prev:hover i,
.gallery-carousel .slick-next:hover i {
  transform: scale(1.2);
  text-shadow: 0 4px 15px rgba(99, 102, 241, 0.8);
  color: rgba(255, 255, 255, 1);
}

.gallery-carousel .slick-prev {
  left: -60px;
}

.gallery-carousel .slick-next {
  right: -60px;
}

/* Footer */
footer {
  padding: 4rem 0;
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

footer h4 {
  margin-bottom: 1rem;
  color: var(--light);
}

footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 9999;
  box-sizing: border-box;
}

.scroll-progress {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #ec4899, #8b5cf6);
  width: 0%;
  transition: width 0.1s ease;
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

.loader-content {
  text-align: center;
}

.loader-content h3 {
  color: white;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(99, 102, 241, 0.3);
  border-top: 4px solid #6366f1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 2rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Active Nav Link */
.nav-link.active {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link.active::after {
  width: 100%;
  background: linear-gradient(90deg, #6366f1, #ec4899, #8b5cf6);
}

/* CTA Secondary Button */
.cta-secondary {
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  background: rgba(255, 255, 255, 0.1);
  color: #22c55e;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.cta-secondary:hover {
  background: rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

/* Video Section */
.video-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: relative;
  z-index: 100;
  pointer-events: auto !important;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
  z-index: 100;
  pointer-events: auto !important;
  cursor: pointer;
}

.video-wrapper:hover {
  /* transform: translateY(-10px) rotateY(5deg); */
  box-shadow: 0 30px 80px rgba(34, 197, 94, 0.4);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  z-index: 100;
  pointer-events: auto !important;
  cursor: pointer;
  border: none;
}

/* About Image Section */
.about-image-section {
  transform-style: preserve-3d;
  position: relative;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  transition: all 0.5s ease;
  display: block;
}

.about-img:hover {
  transform: translateY(-10px) rotateY(-5deg);
  box-shadow: 0 30px 80px rgba(99, 102, 241, 0.4);
}

/* Floating Buttons */
.floating-buttons {
  position: fixed !important;
  right: 2rem;
  bottom: 2rem;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-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, height 0.6s;
}

.floating-btn:hover::before {
  width: 300px;
  height: 300px;
}

.floating-btn i {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.floating-btn-phone {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.9),
    rgba(37, 99, 235, 0.9)
  );
  color: white;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4),
    0 0 20px rgba(59, 130, 246, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  animation: pulse-phone 3s ease-in-out infinite;
}

@keyframes pulse-phone {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4),
      0 0 20px rgba(59, 130, 246, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6),
      0 0 30px rgba(59, 130, 246, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  }
}

.floating-btn-phone:hover {
  transform: translateY(-8px) scale(1.1) rotate(5deg);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.6),
    0 0 40px rgba(59, 130, 246, 0.5);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 1),
    rgba(37, 99, 235, 1)
  );
  border-color: rgba(255, 255, 255, 0.4);
}

.floating-btn-phone:hover i {
  transform: scale(1.2) rotate(-5deg);
}

.floating-btn-messenger {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.9),
    rgba(124, 58, 237, 0.9)
  );
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4),
    0 0 20px rgba(139, 92, 246, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  animation: pulse-messenger 3s ease-in-out infinite 0.5s;
}

@keyframes pulse-messenger {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4),
      0 0 20px rgba(139, 92, 246, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6),
      0 0 30px rgba(139, 92, 246, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  }
}

.floating-btn-messenger:hover {
  transform: translateY(-8px) scale(1.1) rotate(-5deg);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.6),
    0 0 40px rgba(139, 92, 246, 0.5);
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 1),
    rgba(124, 58, 237, 1)
  );
  border-color: rgba(255, 255, 255, 0.4);
}

.floating-btn-messenger:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Testimonials Section */
.testimonials-section {
  background: rgba(255, 255, 255, 0.02);
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.testimonial-icon {
  font-size: 2rem;
  margin-right: 1rem;
  display: inline-block;
}

.experience-link {
  color: var(--light);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.experience-link span {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  font-size: 1.2rem;
}

.experience-link:hover {
  transform: translateX(5px);
  color: var(--light);
}

.testimonial-card-3d {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.5s ease;
  height: 100%;
}

.testimonial-card-3d:hover {
  transform: translateY(-10px) rotateX(3deg) rotateY(3deg);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 0.5);
}

.testimonial-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--light);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.testimonial-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--light);
  margin: 0;
}

.testimonial-rating {
  color: #fcd34d;
  font-size: 1.2rem;
}

.testimonial-time {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.testimonial-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--light);
  margin-top: 0.5rem;
}

.testimonial-badge.positive {
  background: rgba(236, 72, 153, 0.2);
  border-color: rgba(236, 72, 153, 0.4);
}

/* Footer */
.main-footer {
  padding: 5rem 0 3rem;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.footer-brand,
.footer-info,
.footer-address {
  text-align: left;
}

.footer-brand-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-align: left;
}

.brand-name-suse-footer {
  color: var(--light);
}

.brand-name-phuong-footer {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
}

.footer-contact-info {
  margin-bottom: 1rem;
  text-align: left;
}

.footer-contact-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-align: left;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 1rem;
  text-align: left;
}

.footer-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 1.5rem;
  text-align: left;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-nav-list li {
  margin-bottom: 0.8rem;
  text-align: left;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav-icon {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  transition: all 0.3s ease;
}

.footer-nav-link:hover {
  color: var(--light);
  transform: translateX(5px);
}

.footer-nav-link:hover .footer-nav-icon {
  transform: translateX(3px);
}

.footer-address-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
}

.footer-map-wrapper {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  transition: all 0.3s ease;
}

.footer-map-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.footer-map {
  width: 100%;
  border-radius: 15px;
  display: block;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 3rem 0 2rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Footer Links */
.footer-link {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: underline;
}

/* Floating Scroll Button */
.floating-btn-scroll {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.9),
    rgba(236, 72, 153, 0.9)
  );
  color: white;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4),
    0 0 20px rgba(236, 72, 153, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  animation: pulse-scroll 3s ease-in-out infinite 1s;
}

@keyframes pulse-scroll {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4),
      0 0 20px rgba(236, 72, 153, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6),
      0 0 30px rgba(236, 72, 153, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  }
}

.floating-btn-scroll:hover {
  transform: translateY(-8px) scale(1.1) rotate(-5deg);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.6),
    0 0 40px rgba(236, 72, 153, 0.5);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 1),
    rgba(236, 72, 153, 1)
  );
  border-color: rgba(255, 255, 255, 0.4);
}

.floating-btn-scroll:hover i {
  transform: scale(1.2) translateY(-3px);
}

/* About Section Text */
.section-3d .card-text {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
  color: var(--light);
}

/* Feature Showcase Sections */
.features-showcase {
  background: rgba(255, 255, 255, 0.02);
}

/* Feature heading đã được merge vào section-title */

.feature-image-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.5s ease;
  cursor: pointer;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-image-card:hover {
  transform: translateY(-20px) rotateY(5deg) rotateX(5deg);
  box-shadow: 0 30px 80px rgba(99, 102, 241, 0.4);
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-image-card:hover .feature-img {
  transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators-custom {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.indicator.active {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  width: 40px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.5);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}
/* Auth pages */
.login-page .hero-section,
.register-page .hero-section {
  padding: 8rem 0 4rem;
}
.login-page .card-3d,
.login-page .card-3d:hover {
  transform: none !important;
  transition: none !important;
}
.register-page .card-3d,
.register-page .card-3d:hover {
  transform: none !important;
  transition: none !important;
}
/* Smaller auth typography and controls */
.login-page .hero-title,
.register-page .hero-title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}
.login-page .hero-subtitle,
.register-page .hero-subtitle {
  font-size: 0.9rem;
}
.auth-form .form-control-3d {
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
}
.login-page .btn-3d,
.register-page .btn-3d {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
}
.login-page .card-3d,
.register-page .card-3d {
  padding: 1.25rem 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
/* Tighter radii for auth inputs and buttons */
.login-page .form-control-3d,
.register-page .form-control-3d {
  border-radius: 8px;
}
.login-page .btn-3d,
.register-page .btn-3d {
  border-radius: 10px;
}

.auth-form .form-label {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9rem;
}
.auth-form {
  text-align: left;
}
.auth-divider {
  position: relative;
  text-align: center;
  color: #94a3b8;
}
.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.auth-divider span {
  position: relative;
  background: transparent;
  padding: 0 0.5rem;
}
.auth-form-note {
  color: #fff;
}
.auth-register-link {
  color: #22c55e;
  text-decoration: underline;
  text-decoration-color: #22c55e;
  text-underline-offset: 2px;
}
.auth-register-link:hover {
  color: #34d399;
  text-decoration-color: #34d399;
}
.auth-login-link {
  color: #22c55e;
  text-decoration: underline;
  text-decoration-color: #22c55e;
  text-underline-offset: 2px;
}
.auth-login-link:hover {
  color: #34d399;
  text-decoration-color: #34d399;
}
.login-page .card-icon {
  animation: lockFloat 2.2s ease-in-out infinite;
}
@keyframes lockFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
/* ============================================
   RESPONSIVE - Tablet & Mobile (< 992px)
   ============================================ */
@media (max-width: 991px) {
  /* Hero Section Mobile */
  .hero-section {
    padding: 8rem 0;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
  }

  .hero-features {
    align-items: flex-start;
  }

  .hero-feature-item {
    text-align: left;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats-preview {
    justify-content: center;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-visual {
    margin-top: 3rem;
    min-height: 400px;
  }

  .hero-music-icon {
    width: 300px;
    height: 300px;
  }

  .music-icon-main {
    font-size: 10rem;
  }

  /* Home Page Mobile - Guitar Icon */
  .home-guitar-icon {
    width: 400px;
    height: 400px;
  }

  .home-guitar-icon .music-icon-main img {
    width: 400px;
    height: auto;
  }

  .music-note {
    font-size: 2.5rem;
  }

  .music-icon-particles .particle {
    width: 8px;
    height: 8px;
  }

  .floating-music-note {
    font-size: 2rem !important;
    opacity: 0.5;
  }

  /* Section Divider Mobile */
  .section-divider {
    height: 1.5px;
  }

  .divider-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .divider-icon-wrapper::before {
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
  }

  .divider-icon {
    font-size: 1.5rem;
  }

  /* About Section Mobile */
  .about-section {
    border-radius: 20px 20px 0 0;
    padding-top: 4rem;
  }

  /* About section title mobile */
  .about-section .section-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .about-content {
    text-align: center;
  }

  .about-image-section {
    margin-bottom: 2rem;
  }

  .about-img {
    max-width: 100%;
    height: auto;
  }

  /* Cards Mobile */
  .card-3d {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }

  .section-3d {
    padding: 4rem 0;
  }

  /* Features Showcase Mobile - Nhỏ gọn hơn */
  .features-showcase .card-3d {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }

  .features-showcase .card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }

  .features-showcase .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .features-showcase .card-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .features-showcase .feature-heading {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  /* Stats Section Mobile - Fix chữ bị cắt */
  .stats-section {
    padding: 3rem 0;
  }

  .stat-card {
    padding: 1.5rem 0.5rem;
    min-height: auto;
  }

  .stat-number {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .stat-label {
    font-size: 0.9rem;
    letter-spacing: 1px;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
    padding: 0 0.5rem;
  }

  /* Courses Section Mobile - Nhỏ gọn hơn */
  #courses .card-3d {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }

  #courses .card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }

  #courses .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  #courses .card-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }

  /* Courses section - đã dùng section-title chung */

  #courses .cta-secondary {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  /* Why Choose Us Section Mobile - Nhỏ gọn hơn */
  #why-us .card-3d {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }

  #why-us .card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }

  #why-us .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  #why-us .card-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
  }

  /* Gallery Carousel Mobile */
  .gallery-carousel .slick-prev,
  .gallery-carousel .slick-next {
    display: none !important;
  }

  .gallery-carousel {
    margin: 0;
  }

  .gallery-slide {
    padding: 0 10px;
  }

  /* Floating Buttons Mobile */
  .floating-buttons {
    right: 1rem;
    bottom: 1rem;
  }

  .floating-btn-phone,
  .floating-btn-messenger,
  .floating-btn-scroll {
    width: 60px;
    height: 60px;
  }

  .floating-btn i {
    font-size: 1.3rem;
  }

  /* Feature Heading Mobile */
  /* Thống nhất tất cả section titles trên mobile */
  .section-title {
    font-size: 1.8rem !important;
    margin-bottom: 2rem;
  }

  .feature-image-card {
    margin-bottom: 2rem;
  }

  /* Testimonials Mobile - Nhỏ gọn hơn */
  .testimonials-section .testimonial-card-3d {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }

  .testimonials-section .testimonial-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 0.5rem;
  }

  .testimonials-section .testimonial-name {
    font-size: 1rem;
  }

  .testimonials-section .testimonial-rating {
    font-size: 1rem;
  }

  .testimonials-section .testimonial-time {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
  }

  .testimonials-section .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }

  .testimonials-section .testimonial-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  /* Registration Form Button Mobile - Nhỏ gọn hơn */
  #register .btn-3d,
  .registration-form .btn-3d {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    letter-spacing: 1px;
  }

  /* Footer Mobile */
  .footer-brand-title {
    font-size: 2rem;
  }

  .footer-map {
    height: 200px;
  }

  /* Background Animations Mobile - Giảm range để tránh kéo dãn */
  .floating-shape {
    animation-duration: 15s;
  }

  .shape-1,
  .shape-2,
  .shape-3 {
    width: 200px;
    height: 200px;
  }

  @keyframes float {
    0%,
    100% {
      transform: translate(0, 0) scale(1);
    }

    25% {
      transform: translate(50px, -50px) scale(1.1);
    }

    50% {
      transform: translate(-50px, 50px) scale(0.9);
    }

    75% {
      transform: translate(50px, 50px) scale(1.05);
    }
  }

  .floating-notes-background .background-note {
    font-size: 2rem;
  }

  /* Giảm particles trên mobile */
  #particles-canvas {
    opacity: 0.5;
  }

  /* Registration Form Mobile */
  .registration-form-wrapper {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  .form-control-3d {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  textarea.form-control-3d {
    min-height: 80px;
  }
}
