:root {
  --primary-blue: #174EA6;
  --accent-blue: #4285F4;
  --text-dark: #202124;
  --text-secondary: #5f6368;
  --background-light: #f8f9fa;
  --border-light: #e8eaed;
  --highlight-yellow: #fbbc04;
  --white: #ffffff;
  --success: #27ae60;
  --danger: #e74c3c;
  --reading-width: 85ch;
}

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

body {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  color: #fff;
  min-height: 100vh;
}

/* HEADER */

.header-container {
  background: #f5f5f5e9;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
}

header {
  height: 100%;
  margin: 0 auto;
  padding: 0rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  width: 160px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.engraved1,
.engraved2 {
  font-weight: bold;
  padding: 3px 8px;
  border: none;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: -2px;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #c3c2c2;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.engraved1 {
  color: #f9f4f4;
  background-color: #e90c0c;
  font-size: 25px;
}

.engraved2 {
  color: var(--text-dark);
  background-color: var(--highlight-yellow);
  box-shadow: inset 0 1px 0 #fff;
  font-size: 23px;
}


nav ul:not(.submenu) {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  justify-content: center;
  margin-right: 25px;
}

nav>ul>li {
  position: relative;
}

.top-nav {
  text-decoration: none;
  color: rgba(6, 14, 46, 0.97);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  font-size: 1.15rem;
  transition: color 0.3s ease;
}

.top-nav:hover {
  color: var(--primary-blue);
}

.top-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-yellow);
  transition: width 0.3s ease;
}

.top-nav:hover::after {
  width: 100%;
}

.mobile-menu-icon {
  display: none;
  font-size: 1.8rem;
  margin-right: 15px;
  cursor: pointer;
  color: var(--white);
}

/*Submenu*/

.submenu {
  width: 180px;
  display: flex;
  flex-direction: column;
  background: #fff;
  position: absolute;
  list-style: none;
  top: 52px;
  left: -5px;
  padding: 18px 0;
  visibility: hidden;
  opacity: 0;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  z-index: 800;
  transition: all 0.3s ease;
}

nav ul li:hover .submenu {
  visibility: visible;
  opacity: 1;
  top: 52px;
  gap: 0.8rem;
}

.submenu::before {
  content: '';
  height: 0;
  width: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #fff;
  position: absolute;
  top: -12px;
  left: 20px;
}

.submenu>li>a {
  display: block;
  color: #1d2655;
  padding: 4px 6px 6px 14px;
  font-size: 1.1rem;
  margin-top: 4px;
  transition: all 0.3s ease;
  list-style: none;
  text-decoration: none;
}

.submenu>li>a:hover {
  background: #0074c7;
  color: #fff;
  transform: scale(1.1);
  padding-left: 30px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}


/*Search*/

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 0.5rem 1.2rem;
  gap: 0.5rem;
  width: 300px;
  margin-bottom: 20px;
}

.search-box input {
  background: none;
  border: none;
  color: white;
  font-size: 0.95rem;
  width: 100%;
  outline: none;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.header-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

button a {
  text-decoration: none;
  font-weight: 600;
  color: #fff;
}

button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

button.active {
  background: #ff0066;
  border-color: #ff0066;
}

/* MAIN CONTENT */
main {
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
}

/* GRID & LIST VIEWS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* CARD */
.card {
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  group: 1;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 100, 0, 0.6);
  box-shadow: 0 15px 40px rgba(255, 100, 0, 0.2);
}

.card-image {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, #ff6600, #f978ac);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}


.card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.card:hover .card-image::after {
  left: 100%;
}

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff0066;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

.card-content {
  padding: 1.2rem;
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.load {
  background: var(--highlight-yellow);
  margin: 20px auto;
  display: block;
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
}

.load:hover {
  background: #fff;
  color: #000;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.icon-btn:hover {
  background: #ff0066;
}

.icon-btn.favorited {
  background: #ff0066;
}

.icon-btn i {
  pointer-events: none;
}

/*Quote*/

.leadInvite {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  padding: 10px 0;
  width: 80%;
  background: white;
  border-radius: 9px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.highlightCont {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  padding: 10px;
}

.big-quote {
  font-size: 3em;
  font-weight: bold; 
  color: white; 
  background-color: #504092;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}

.quotation {
  margin: 20px;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.55;
  color: #0b1b3a;
  font-weight: 600;
}

.author {
  margin: 18px 0 0;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(11, 27, 58, .7);
}



/* PLAYER */
#mainContent {
  background: var(--background-light);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 100vh;
}

.sampleContainer {
  max-width: 350px; 
  display: flex; 
  flex-direction: column; 
  gap: 20px;
}

.sampleContainer strong {
  color: rgb(15, 17, 41);
}

.player-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1000;
  flex-direction: column;
}

.player-container.active {
  display: flex;
}

.player-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #000;
  overflow: hidden;
}

.player-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #ff0066;
  transition: width 0.3s;
}

/* CONTROLS */
.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 40px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 10;
}

.player-wrapper:hover .player-controls,
.player-controls.active {
  transform: translateY(0);
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  transition: height 0.2s;
}

.progress-bar-container:hover {
  height: 8px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff0066, #ff6600);
  border-radius: 3px;
  width: 0%;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.2s;
}

.progress-bar-container:hover .progress-bar::after {
  opacity: 1;
}

.controls-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.controls-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.controls-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.control-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-slider {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.time-display {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 100px;
  text-align: center;
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.speed-menu {
  position: relative;
}

.speed-options {
  position: absolute;
  bottom: 40px;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  display: none;
  min-width: 120px;
}

.speed-options.active {
  display: block;
}

.speed-option {
  color: white;
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 0.85rem;
}

.speed-option:hover {
  background: rgba(255, 100, 0, 0.3);
}

.speed-option.active {
  background: #ff0066;
}

/* HOVER STATE */
.player-wrapper:hover {
  cursor: auto;
}

.player-wrapper:hover .player-top {
  opacity: 1;
}

.player-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.player-info {
  flex: 1;
}

.player-info h2 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.player-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: #ff0066;
  border-color: #ff0066;
}

/* LOADING SPINNER */
.player-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ff0066;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
  z-index: 5;
}

.player-loading.active {
  display: block;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* FULLSCREEN */
.player-container.fullscreen {
  width: 100vw;
  height: 100vh;
}

@supports (aspect-ratio: 16 / 9) {
  .video-container {
    aspect-ratio: 16 / 9;
  }
}


/* About */

.other-body {
  background: white;
}

.about-hero-react {
  padding: 0;
  background: white;
  width: 100%;
}

.explore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  background: #f4f5f678;
  width: 100%;
  padding: 70px 0;
}

.explore-text {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
}

.explore-text h1 {
  font-size: 3.8rem;
  color:dodgerblue;
  margin-bottom: 15px;
}

.explore-text strong {
  font-size: 1.7rem;
  color:rgb(33, 67, 101);
}

.explore-text p {
  font-size: 1.2rem;
  color:rgb(33, 67, 101);
  width: 75%;
  margin-top: 20px;
}

.brand-cont {
  width: 130px;
  height: 60px;
  margin-top: 35px;
  cursor: pointer;
}

.brand-cont img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  cursor: pointer;
}

.collage{
  position: relative;
  width: 500px;
  max-width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
  margin: 15px 80px 0 15px;
  flex: 0 0 auto; 
}

.thumb{
  position: absolute;
  width: 60%;
  height: 60%;
  object-fit: contain;
  box-sizing: border-box;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

.t1 { left: 0; top: 0; z-index: 1; width: 60%; height: 80%;}  
.t2 { left: 44%; top: 7%; z-index: 2; width: 60%; height: 80%;}   

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
  padding-top: 40px;
}

.hero-heading {
  text-align: center;
  font-size: 1.9rem;
  margin-top: 50px;
  background: linear-gradient(135deg, #33417e 0%, #3b1f57 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/*Timeline*/

.actions-line {
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  border-left: 5px solid #000;
  margin-left: 2rem;
  padding-left: 2rem;
}

.event {
  padding: 1.5rem 1.8rem;
  position: relative;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease;
  margin-bottom: 2rem;
  border-radius: 15px;
  color: var(--text-dark);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); 
}

.event {
  opacity: 1;
  transform: translateX(0);
}

.event::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 2rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #DC143C;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px #DC143C;
}

.number {
  font-weight: 700;
  color: var(--color-bg-dark);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.event>strong {
  font-size: 1.5rem;
}

.event>p {
  margin: 10px 0;
  font-size: 1.2rem;
}

.globe-icon {
  font-size: 16px;
}

.greeting {
  display: block;
  color: #1e293b;
}

.name-gradient {
  display: block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description-react {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary, #categSearchBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #667eea;
  padding: 12px 24px;
  border: 2px solid #667eea;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #667eea;
  color: white;
}

.btn-icon {
  font-size: 18px;
}

/* Hero Image Container */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-img-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 550px;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-card {
  position: absolute;
  bottom: -24px;
  right: -10px;
  background: white;
  border-radius: 16px;
  padding: 16px 25px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stats-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stats-text {
  text-align: center;
}

.stats-number {
  font-size: 1.2rem;
  color: #1e293b;
  margin: 0;
}

.stats-label {
  font-size: 1.5rem;
  color: #64748b;
  margin: 0;
  font-weight: 700;
}

/* Language Journey Section */
.deep-section {
  padding: 80px 0;
  background: #f8fafc;
}

.deep-grid-react {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.deep-intro {
  color: #0f0f0f;
  font-size: 1.2rem;
}

.deep-card-react {
  background: white;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 0;
}

.deep-card-react:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.color-ball {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin: 14px auto;
  display: block;
}

.first {
  background: rgb(164, 184, 210);
}

.second {
  background: rgb(116, 168, 99);
}

.third {
  background: rgb(139, 88, 149);
  color: white;
}

.fourth {
  background: rgb(225, 225, 40);
}

.fifth {
  background: rgb(169, 55, 66);
  color: white;
}


.level-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.level-badge.uno {
  background: #dbeafe;
  color: #1e40af;
}

.level-badge.dos {
  background: #f3e8ff;
  color: #7c2d12;
}

.level-badge.cuatro {
  background: #f8dcbd;
  color: black;
}

.level-badge.tres {
  background: #fce7f3;
  color: #be185d;
}

.language-card-react .years {
  color: #64748b;
  font-size: 14px;
}

/* Story Section */
.story-section-react {
  padding: 40px 0;
  background: white;
}

.story-content-react {
  max-width: 500px;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.8;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #4153b0 0%, #67329c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.story-content-react li {
  color: #64748b;
  margin-bottom: 24px;
  font-size: 1.3rem;
  margin-left: 20px;
}

/* Testimonials Section */
.testimonials-section-react {
  padding: 80px 0;
  background: #f8fafc;
}

.testimonials-grid-react {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.testimonial-card-react {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 0;
}

.stars {
  margin-bottom: 16px;
  font-size: 20px;
}

.testimonial-card-react blockquote {
  color: #64748b;
  margin-bottom: 16px;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-author strong {
  display: block;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.testimonial-author span {
  color: #64748b;
  font-size: 14px;
}

/* CTA Section */
.cta-section-react {
  padding: 80px 0;
  background: linear-gradient(135deg, #cfa3b7e2 0%, #e2d6adcf 100%);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(8, 0, 0);
  margin-bottom: 24px;
}

.cta-description {
  font-size: 1.25rem;
  color: rgb(8, 0, 0);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #174EA6;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cta-white:hover {
  background: #eaedf0;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  padding: 12px 24px;
  border: 2px solid white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cta-outline:hover {
  background: white;
  color: #667eea;
}


/* CATEGORIES */
.categories {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  scroll-behavior: smooth;
}

.category-btn {
  white-space: nowrap;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
  background: #ff0066;
  border-color: #ff0066;
}

/*Featured*/
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 50px 0;
}

.topic-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.topic-card:hover {
  box-shadow: 0 4px 12px rgba(243, 240, 240, 0.15);
  transform: translateY(-8px);
}

.topic-header {
  color: white;
  padding: 20px;
}

.fst {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.snd {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.trd {
  background: linear-gradient(135deg, #428bca 0%, #cceada 100%);
}

.fth {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.topic-title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}

.topic-body {
  padding: 20px;
}

.topic-sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}

.topic-preview {
  list-style: none;
  margin-bottom: 15px;
}

.topic-preview li {
  padding: 10px 0px;
  border-bottom: 1px solid #eee;
  background: #f7f8f8f3;
  border-radius: 8px;
  margin: 10px 0;
}

.topic-preview li a {
  text-decoration: none;
  font-size: 1rem;
  color: var(--text-dark);
  padding: 4px 8px;
}

.topic-preview li a:hover {
  text-decoration: underline;
  cursor: pointer;
  color: var(--primary-blue);
}

.topic-preview li:last-child {
  border-bottom: none;
}

/* Footer */
.footer {
  background: #2a3545;
  color: white;
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-brand p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a, .social {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.social i {
  color: var(--accent-blue);
  font-size: 1.3rem;
  margin-left: 4px;
}

.footer-section ul li a:hover {
  color: #e88fb5;
  font-weight: bold;
}

.footer-bottom {
  border-top: 1px solid #334155;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #94a3b8;
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255, 255, 255, 0.5);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* LOADING */
.skeleton {
  background: linear-gradient(90deg, #1a1a1a 0%, #252525 50%, #1a1a1a 100%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.file-input-wrapper {
  position: relative;
  max-width: 55%;
  margin: 20px 0;
}

.file-input-wrapper input[type="file"] {
  display: none;
}

.file-input-zone {
  border: 2px dashed #bfcede;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(240, 243, 248, 0.761);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.file-input-zone.dragover {
  border-color: #4299e1;
  background: #ebf8ff;
  box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.1);
}

.drag-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  color: #262b4d;
  transition: all 0.3s ease;
}

.file-input-zone.dragover .drag-icon {
  color: #4299e1;
  transform: scale(1.1);
}

.file-input-zone h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
}

.file-input-zone p {
  font-size: 14px;
  color: #718096;
  margin: 0;
}

.file-input-zone .highlight {
  color: var(--primary-blue);
  font-weight: 500;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: #f7fafc;
  border-radius: 8px;
  border-left: 4px solid #4299e1;
  font-size: 14px;
  color: #2d3748;
}

/* SVG Icon Styling */
.drag-icon {
  width: 35%;
  height: 35%;
}

@media screen and (max-width: 1050px) {
  .explore {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    background: #f4f5f68c;
    width: 100%;
    padding: 50px 0;
  }

  .collage {
    width: 480px;
    height: 390px;
    margin-top: 70px;
  }
}


@media screen and (max-width: 900px) {

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.2rem;
  }

  .header-container {
    padding: 0;
  }

  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    gap: 0;
  }

  .logo {
    width: 160px;
    flex-shrink: 0;
  }

  .engraved1 {
    font-size: 18px;
  }

  .engraved2 {
    font-size: 16px;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
  }

  nav ul:not(.submenu) {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px 0;
    margin: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.nav-active {
    display: flex;
  }

  .top-nav {
    padding: 12px 15px;
    font-size: 1rem;
    width: 100%;
    margin-left: 25px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    display: block;
  }

  .last {
    border-bottom: none;
  }

  .top-nav::after {
    display: none;
  }

  .mobile-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 10px 0 0;
    cursor: pointer;
    color: #000;
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 5px;
  }

  .submenu {
    width: 100%;
    display: none;
    flex-direction: column;
    position: static;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    top: auto;
    left: auto;
  }

  .submenu::before {
    display: none;
  }

  .submenu.show {
    display: flex;
  }

  .submenu > li > a {
  padding: 8px 10px;
  margin-left: 20px;
  font-size: 0.95rem;
  text-align: left;
  border-bottom: none;
  }


  .submenu > li > a:hover {
    background: #0074c7;
    color: #fff;
    transform: none;
    padding-left: 30px;
    box-shadow: none;
  }

  .unfold {
    cursor: pointer;
    position: relative;
  }

  .unfold::after {
    content: ' ▼';
    font-size: 0.8rem;
    margin-left: 5px;
  }

  #mainContent {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .about-hero-react {
    text-align: center;
  }

  .explore {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    background: #f4f5f64c;
    width: 100%;
    padding: 50px 0;
  }

  .explore-text h1 {
    font-size: 2.3rem;
  }

  .explore-text strong {
    font-size: 1.4rem;
  }

  .explore-text p {
    font-size: 1.2rem;
  }

  .collage {
    width: 590px;
    height: 480px;
    margin-top: 80px;
    margin-left: 10px;
  }

  .thumb{
    position: absolute;
    width: 80%;
    height: 80%;
    object-fit: contain;
    box-sizing: border-box;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: auto;
  }

  .t1 { left: 0; top: 0; z-index: 1; width: 75%; height: 80%;}  
  .t2 { left: 34%; top: 8%; z-index: 2; width: 75%; height: 80%;} 

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .actions-line {
    padding: 0.5rem;
    width: 100%;
    margin: 0;
  }
  
  .hero-heading {
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: 2.1rem;
  }

  .timeline {
    width: 96%;
    margin-left: 0.8rem;
    padding-left: 0.8rem;
  }

  .event {
    margin-bottom: 1.8rem;
    border-radius: 15px;
    padding: 1rem 1.3rem;
    text-align: left;
  }
  
  .event::before {
    left: -2rem;
    top: 1.2rem;
    width: 1.3rem;
    height: 1.3rem;
  }
  
  .number {
    font-weight: 700;
    color: #1f282e;
    font-size: 1.4rem;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .event>strong {
    font-size: 1.1rem;
  }
  
  .event>p {
    font-size: 1rem;
  }
}

/* RESPONSIVE */
@media (max-width: 650px) {

  main {
    padding: 1.2rem 0.7rem;
    width: 100%;
    margin: 0 auto;
  }

  .search-box {
    width: 150px;
  }

  .grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .player-info {
    grid-template-columns: 1fr;
  }

  .categories {
    gap: 0.5rem;
  }

  .category-btn {
    padding: 0.5rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
  }

  header {
    flex-direction: column;
    gap: 1rem;
  }

  .header-left {
    width: 100%;
    gap: 1rem;
  }

  .search-box {
    width: 100%;
  }

  .header-container {
    padding: 0;
  }

  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    gap: 0;
  }

  .logo {
    width: 160px;
    flex-shrink: 0;
  }

  .engraved1 {
    font-size: 18px;
  }

  .engraved2 {
    font-size: 16px;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
  }

  nav ul:not(.submenu) {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px 0;
    margin: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.nav-active {
    display: flex;
  }

  .top-nav {
    padding: 10px 15px;
    font-size: 1rem;
    width: 100%;
    margin-left: 7px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    display: block;
  }

  .last {
    border-bottom: none;
  }

  .top-nav::after {
    display: none;
  }

  .mobile-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 10px 0 0;
    cursor: pointer;
    color: #000;
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 5px;
  }

  .submenu {
    width: 100%;
    display: none;
    flex-direction: column;
    position: static;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    top: auto;
    left: auto;
  }

  .submenu::before {
    display: none;
  }

  .submenu.show {
    display: flex;
  }

  .submenu > li > a {
  padding: 8px 10px;
  margin-left: 20px;
  font-size: 0.95rem;
  text-align: left;
  border-bottom: none;
  }


  .submenu > li > a:hover {
    background: #0074c7;
    color: #fff;
    transform: none;
    padding-left: 30px;
    box-shadow: none;
  }

  .unfold {
    cursor: pointer;
    position: relative;
  }

  .unfold::after {
    content: ' ▼';
    font-size: 0.8rem;
    margin-left: 5px;
  }


  .about-hero-react {
    text-align: center;
  }

  .explore {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    background: #f4f5f68c;
    width: 100%;
    padding: 35px 0;
  }

  .explore-text h1 {
    font-size: 2rem;
  }

  .collage {
    width: 470px;
    height: 370px;
    margin-top: 80px;
  }

  .t1 { left: 7%; top: 0; z-index: 1; width: 65%; height: 80%;}  
  .t2 { left: 37%; top: 7%; z-index: 2; width: 60%; height: 80%;}

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .actions-line {
    padding: 0.5rem;
    width: 100%;
    margin: 0;
  }
  
  .hero-heading {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 2.1rem;
  }

  .timeline {
    width: 96%;
    margin-left: 0.8rem;
    padding-left: 0.8rem;
  }

  .event {
    margin-bottom: 1.8rem;
    border-radius: 15px;
    padding: 1rem 1.3rem;
    text-align: left;
  }
  
  .event::before {
    left: -2rem;
    top: 1.2rem;
    width: 1.3rem;
    height: 1.3rem;
  }
  
  .number {
    font-weight: 700;
    color: #1f282e;
    font-size: 1.4rem;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .event>strong {
    font-size: 1.2rem;
  }
  
  .event>p {
    font-size: 1.05rem;
  }

  /* Story Section */
.story-section-react {
  padding: 30px 0;
  background: white;
}

.story-content-react {
  width: 100%;
  margin: 0;
  padding: 0 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.story-content-react li {
  font-size: 1rem;
  margin-left: 15px;
}

  .stats-card {
    display: none;
  }

  .hero-buttons {
    justify-content: center;
  }

  #mainContent {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  
  .sampleContainer {
    max-width: 300px; 
    display: flex; 
    flex-direction: column; 
    gap: 20px;
    margin-top: 15px;
  }

  .file-input-wrapper {
    width: 96%;
    margin-bottom: 40px;
  }

  .file-input-zone {
    min-height: 250px;
  }

  .drag-icon {
    width: 70px;
    height: 70px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    padding: 0 25px;
  }

  .footer-section {
    margin-bottom: 0;
  }

  .footer-bottom {
    padding: 15px 25px;
  }

  .control-btn {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
  }

  .time-display {
    min-width: 80px;
    font-size: 0.75rem;
  }

  .volume-slider {
    width: 60px;
  }

  .featured {
    margin-top: 60px;
  }

  .leadInvite {
    margin: 25px auto;
    width: 90%;
  }
  
  .highlightCont {
    width: 95%;
  }
  
  .big-quote {
    font-size: 2.7em;
    width: 50px;
    height: 50px;
  }
  
  .quotation {
    margin: 20px;
    font-size: clamp(15px, 2vw, 21px);
    line-height: 1.4;
  }
  
  .author {
    margin: 10px 0 0;
    font-size: 0.9rem;
  }
}