/* ============================================
   Rabbit HOME PAGE - Specific Styles
   ============================================ */

/* --- 1. Hero Slider --- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 450px;
  max-height: 650px;
  overflow: hidden;
  margin-top: var(--header-height);
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Stage light effects on slides */
.slide::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 25%;
  width: 180px;
  height: 140%;
  background: linear-gradient(to bottom, rgba(100, 120, 255, 0.2), transparent 60%);
  transform: rotate(8deg);
  pointer-events: none;
}

.slide::after {
  content: '';
  position: absolute;
  top: -20%;
  right: 20%;
  width: 150px;
  height: 140%;
  background: linear-gradient(to bottom, rgba(180, 100, 255, 0.15), transparent 50%);
  transform: rotate(-12deg);
  pointer-events: none;
}

/* Silhouette shapes at bottom of slides */
.slide-silhouettes {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dots .dot.active {
  background: var(--white);
}

.slider-dots .dot:hover {
  background: rgba(255,255,255,0.7);
}


/* --- 2. Home Banner Cards --- */
.home-banners {
  padding: 50px 20px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.home-banners-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-banner-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
}

.home-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.home-banner-card:hover .home-banner-img {
  transform: scale(1.05);
}

.home-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  z-index: 2;
}

.home-banner-overlay h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4px;
}

.home-banner-overlay p {
  font-size: 14px;
  margin-top: 5px;
  opacity: 0.85;
}

.home-banners-desc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.home-banners-desc p {
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1.7;
  text-align: center;
}


/* --- 3. YouTube Videos Section --- */
.home-videos {
  padding: 50px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.home-videos-inner {
  text-align: center;
}

.home-videos-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 25px;
  padding-left: 15px;
  border-left: 4px solid var(--section-accent);
  text-align: left;
  letter-spacing: 1px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.video-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.video-thumb:hover .video-thumb-img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 0, 0, 0.85);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  pointer-events: none;
  z-index: 2;
}

.video-label {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 8px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* --- 4. About Section --- */
.home-about {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.home-about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.home-about-logo svg {
  display: block;
}

.home-about-text {
  text-align: center;
}

.home-about-text p {
  font-size: 14px;
  line-height: 2;
  color: var(--text-gray);
  margin-bottom: 10px;
}


/* --- 5. Home Teachers Section --- */
.home-teachers-section {
  background: var(--white);
}


/* --- 6. Performance Section --- */
.home-performance {
  margin: 0;
}

.performance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.performance-item {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.performance-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

.performance-item:hover::after {
  background: rgba(0,0,0,0.1);
}

.performance-play {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  background: rgba(255, 0, 0, 0.85);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  transition: transform 0.3s ease;
}

.performance-item:hover .performance-play {
  transform: scale(1.1);
}


/* --- 7. News + Social 2-Column --- */
.home-news-social {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.home-news-social-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.home-news-col .section-title {
  margin-bottom: 20px;
}

.home-news-col .news-list {
  border-top: 1px solid var(--border-color);
}

.home-news-col .news-item {
  padding: 12px 0;
}

.home-news-more {
  margin-top: 25px;
  text-align: center;
}

.read-more-btn {
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid var(--text-dark);
  border-radius: 25px;
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

/* Social Links Column */
.home-social-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  color: var(--white);
  font-size: 13px;
  transition: opacity 0.3s ease;
}

.home-social-link:hover {
  opacity: 0.85;
}

.home-social-link.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-radius: 4px 4px 0 0;
}

.home-social-link.dance-challenge {
  background: #455a64;
}

.home-social-link.line {
  background: #06c755;
}

.home-social-link.facebook {
  background: #1877f2;
  border-radius: 0 0 4px 4px;
}

.home-social-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.home-social-text {
  line-height: 1.4;
  font-size: 13px;
}

.home-social-text small {
  font-size: 11px;
  opacity: 0.8;
}

.home-social-text strong {
  font-weight: 600;
}


/* --- 8. Home Access Table --- */
.home-access-section {
  border-top: 1px solid var(--border-color);
}

.home-access-table {
  width: 100%;
  border-collapse: collapse;
}

.home-access-table tr {
  border-bottom: 1px solid var(--border-color);
}

.home-access-table th {
  padding: 14px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  width: 130px;
  vertical-align: top;
  color: var(--primary-blue);
}

.home-access-table td {
  padding: 14px 15px;
  font-size: 14px;
}


/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-slider {
    height: 50vh;
    min-height: 300px;
    margin-top: var(--header-height);
  }

  .home-banners-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-banner-card {
    aspect-ratio: 16 / 8;
  }

  .home-banners-desc {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .performance-grid {
    grid-template-columns: 1fr;
  }

  .home-news-social-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-access-table th {
    width: 100px;
    font-size: 12px;
  }

  .home-access-table td {
    font-size: 13px;
  }
}
