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

body {
    background: #2a2a2a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: #3a3a3a;
    color: #ff8c42;
}

.nav-item.active {
    color: #ff8c42;
    background: #2a2a2a;
}



.arena-container {
    width: 90vw;
    max-width: 1200px;
    height: 80vh;
    position: relative;
    background: #1a1a1a;
    margin-top: 80px;
}

/* Crowd area - curved section arcing downwards */
.crowd-area {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 65%;
    background: #3a3a3a;
    border-radius: 50% 50% 0 0 / 30% 30% 0 0;
    overflow: hidden;
}

/* Individual crowd member SVG icons */
.crowd-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    transition: color 0.5s ease-in-out;
    will-change: color;
}

.crowd-icon svg {
    width: 100%;
    height: 100%;
    color: #888888; /* Default neutral gray color */
}

/* Hover instruction note */
.hover-instruction {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    pointer-events: none;
    z-index: 50;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.hover-instruction.hidden {
    opacity: 0;
    pointer-events: none;
}

.hover-instruction p {
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

/* Speech bubbles */
.speech-bubble {
    position: absolute;
    top: 20%;
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    pointer-events: none;
    z-index: 100;
}

.speech-bubble.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.speech-bubble img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Position speech bubbles over each crowd section */
.speech-bubble-1 {
    left: 10%;
}

.speech-bubble-2 {
    left: 50%;
    transform: translateX(-50%) scale(0.8) translateY(10px);
}

.speech-bubble-2.show {
    transform: translateX(-50%) scale(1) translateY(0);
}

.speech-bubble-3 {
    right: 10%;
}

/* Basketball court - trapezoid shape for perspective */
.court {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: #c4955f;
    clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
    perspective: 800px;
}

/* Court markings - Far side (top/back) */
.lane-left-far, .lane-right-far {
    position: absolute;
    top: 0;
    width: 2px;
    height: 35%;
    background: white;
}

.lane-left-far {
    left: 44%;
}

.lane-right-far {
    right: 44%;
}

.free-throw-line-far {
    position: absolute;
    top: 35%;
    left: 44%;
    right: 44%;
    height: 2px;
    background: white;
}

.free-throw-circle-far {
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 22px;
    border: 2px solid white;
    border-top: none;
    border-radius: 0 0 50% 50%;
}

.three-point-line-far {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 55%;
    border: 2px solid white;
    border-top: none;
    border-radius: 0 0 50% 50% / 0 0 40% 40%;
}

/* Sidelines extending full court - angled to match court perspective */
.sideline-left, .sideline-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: white;
}

.sideline-left {
    left: 25%;
    transform: skewX(-20deg);
}

.sideline-right {
    right: 25%;
    transform: skewX(20deg);
}

/* Basketball */
.basketball {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-image: url('img/basketball.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

/* Basketball hoop and backboard */
.hoop-pole {
    position: absolute;
    bottom: 35%;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 150px;
    background: #555;
    z-index: 3;
}

.backboard {
    position: absolute;
    bottom: 45%;
    margin-bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 90px;
    background: rgba(255, 255, 255, 0.95);
    border: 4px solid #444;
    z-index: 5;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hoop {
    position: absolute;
    bottom: 45%;
    margin-bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    border: 3px solid #d35400;
    border-top: none;
    border-radius: 0 0 50% 50%;
    z-index: 6;
}

/* About Page Styles */
.about-container {
    max-width: 1200px;
    width: 90vw;
    margin: 100px auto 50px;
    padding: 40px 20px;
}

.about-title {
    color: #ffffff;
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    font-weight: 600;
}

/* BTS Page Styles */
.bts-container {
    max-width: 1200px;
    width: 90vw;
    margin: 100px auto 50px;
    padding: 40px 20px;
}

.bts-title {
    color: #ffffff;
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    font-weight: 600;
}

/* Carousel Styles */
.carousel-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #1a1a1a;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #1a1a1a;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #1a1a1a;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 30px 20px 20px;
    text-align: center;
    z-index: 2;
}

.carousel-caption p {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 140, 66, 0.8);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(255, 140, 66, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.5);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-indicator:hover {
    background: #777;
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: #ff8c42;
    width: 14px;
    height: 14px;
    border-color: #ff8c42;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: center;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
}

.member-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: #3a3a3a;
    border: 3px solid #555;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.member-image-placeholder:hover {
    border-color: #ff8c42;
    background: #4a4a4a;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

.placeholder-text {
    color: #888;
    font-size: 18px;
    font-weight: 500;
}

.member-name {
    color: #ffffff;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
}

.member-description {
    color: #cccccc;
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
    margin: 0;
    padding: 0 15px;
}

/* Choice Buttons Styles */
.choice-buttons-container {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

/* Play Button */
.play-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-btn {
    background: #ff8c42;
    color: #ffffff;
    border: none;
    padding: 20px 50px;
    font-size: 24px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
    min-width: 200px;
}

.play-btn:hover {
    background: #ff7040;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.6);
}

.play-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 140, 66, 0.4);
}

.choice-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(26, 26, 26, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid #ff8c42;
}

.choice-buttons .choice-btn {
    display: inline-block;
}

.choice-buttons .button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.choice-buttons h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.choice-btn {
    background: #ff8c42;
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    box-shadow: 0 2px 10px rgba(255, 140, 66, 0.3);
}

.choice-btn:hover {
    background: #ff7040;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.5);
}

.choice-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(255, 140, 66, 0.3);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-member {
        max-width: 100%;
    }
    
    .about-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
}

/* ====== HOME ====== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('bg.png') no-repeat center center;
  background-size: 120%;          
  background-position: 15% 15%;   
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  text-align: left;
  overflow: hidden;       
}

/* dark overlay covering the entire banner */
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.70) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.35) 65%,
    rgba(0,0,0,0.10) 100%
  );
  z-index: 1;
}

/* text content */
.hero-overlay {
  position: relative;
  z-index: 2;          
  max-width: 950px;
  padding: 80px 80px;
  top: 3rem;
}

.hero-title {
  font-size: clamp(45px, 5vw, 65px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ff8c42;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 45px;
}

.btn-primary {
  background: linear-gradient(180deg, #ffa563 0%, #ff8c42 100%);
  color: #2b1400;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 140, 66, 0.4);
}

/* --- Desktop fine-tune --- */
@media (max-width: 1200px){
  .hero-banner{ background-position: 66% 14%; }
}
@media (max-width: 900px){
  .hero-banner{ background-position: 60% 18%; }
}
@media (max-width: 700px){
  .hero-banner{ background-position: 55% 22%; }
}



@media (max-width: 700px){
  html, body {
    height: 100%;
    overflow: hidden;        
  }

  .nav-container {
    gap: 10px;
    padding: 8px;
  }
  .nav-item {
    font-size: 19px;
    padding: 6px 10px;
  }

  .hero-banner {
    margin-top: 50px;
    height: 100vh;       
    background: url('bg.png') no-repeat center 22%;
    background-size: cover;
    position: relative;
  }

  .hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.70);
    z-index: 1;
  }

  .hero-overlay {
    position: absolute;
    z-index: 2;
    bottom: 12vh;            
    left: 6vw;
    right: 6vw;
    max-width: 90%;
    padding: 0;
    background: none;
    text-align: left;
    top: 20rem;
  }

  .hero-title {
    font-size: clamp(34px, 8vw, 45px);
    margin-bottom: 15px;
  }

  .hero-sub {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 25px;
  }
}