/* === General Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0d0d0d;
  color: #fff;
  overflow-x: hidden;
   position: relative;
  z-index: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* === Preloader === */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  flex-direction: column;
  text-align: center;
}

.bouncing-logo {
  width: 120px;
  animation: bounceTouch 1.2s ease-in-out infinite; /* reduced from 1.8s */
  position: relative;
  z-index: 2;
}

@keyframes bounceTouch {
  0%, 100% {
    transform: translateY(-30px);
  }
  50% {
    transform: translateY(38px); /* still touches the bar */
  }
}



.progress-bar {
  width: 200px;
  height: 6px;
  background-color: #222;
  justify-content: center;
  margin-top: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background-color: #ffcc00;
  animation: fillProgress 1.4s ease-out forwards; /* reduced from 2s */
}

@keyframes fillProgress {
  to {
    width: 100%;
  }
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 40px;
  background-color: rgba(18, 18, 18, 0.7);
  position: sticky;
  top: 0;
    z-index: 9999 !important;

  backdrop-filter: blur(10px);
}

.navbar .logo img {
  width: 100px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links li a {
  font-weight: 600;
  color: white;
  transition: color 0.3s;
}

/* Active Menu Button */
.navbar .nav-button {
  font-family: 'Modak', cursive;
  background: linear-gradient(to bottom, #d9a760 0%, #8a5a28 100%);
  color: #752706;
  padding: 6px 26px;
  border-radius: 30px;
  border: 3px solid #752706;
  font-size: 1.5rem;
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    0 6px 12px rgba(0, 0, 0, 0.4);
  text-shadow: 
    -1px -1px 0 #000,  
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     1px  1px 1px #f8e1b1;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.navbar .nav-button:hover {
  background: linear-gradient(to bottom, #f7c77d 0%, #a56d3a 100%);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Inactive Links with Transparent Fill and Outline */
.navbar .nav-links li a {
  font-family: 'Modak', cursive;
  font-size: 1.5rem;
  color: transparent;
  padding: 6px 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  -webkit-text-stroke: 1.2px #ffffff; /* White outline */
 
}

/* Inactive Link Hover */
.navbar .nav-links li a:not(.active):hover {
  transform: scale(1.08);
  -webkit-text-stroke: 1.5px #d9a760

}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: #fff;
  margin: 3px 0;
}

/* === Hero Section === */
.hero {
  background-image: url('assets/herobg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  padding: 1rem 1rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* === HERO SECTION === */

/* Hero Title Styling - using class now */

 .hero-title {
  margin-top: 0px;
  position: relative;
  z-index: 2;
  font-family: 'Modak', cursive;
  font-size: 8rem;
  -webkit-text-stroke: 1.2px #752706;
  -webkit-text-fill-color: #fff;
  transition: transform 0.4s ease, color 0.3s ease;
  cursor: pointer;
}

.hero-title:hover {
  transform: translateY(30px) scale(1.05) !important;
  color: #ff9900 !important;
}



.tagline {
  font-size: 20px;
  font-weight: 400;
  z-index: 2;
  position: relative;
  margin-top: 10px;
  color: #ffffff;
}
#hero-typing-text {
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #d9a760;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #d9a760;
  font-size: 1.2rem;
  animation: blinkCursor 0.8s steps(1) infinite;
}

@keyframes blinkCursor {
  0%, 100% { border-color: #f7cf46; }
  50% { border-color: transparent; }
}

/* === Cards Section === */
.cards-carousel {
  width: 100%;
  overflow: hidden;
}

.cards {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  flex-wrap: nowrap; /* change from wrap to nowrap */
}


.cards-carousel {
  position: relative;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(217, 167, 96, 0.8);
  border: none;
  color: #752706;
  font-size: 2rem;
  padding: 0 12px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 5;
  user-select: none;
}

#prev-btn {
  left: 10px;
}

#next-btn {
  right: 10px;
}


 .cards img {
  opacity: 1; /* visible */
  animation: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 12px;
}

.card-left {
  max-width: 200px;
  transform: translateX(-60px) rotate(-12deg);
  animation-delay: 0.3s;
}

.card-center {
  max-width: 240px;
  transform: rotate(0deg);
  animation-delay: 0.6s;
}

.card-right {
  max-width: 200px;
  transform: translateX(60px) rotate(12deg);
  animation-delay: 0.9s;
}

.cards img:hover {
  transform: scale(1.25) translateY(-20px) rotate(0deg);
  box-shadow: none;
  border: none;
  z-index: 10;
  transition: transform 0.4s ease;
}



@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
  }
}

/* === Social Section === */
.social-section {
  position: relative;
  padding: 10px 30px;
  text-align: center;
  background-color: #FFFAF6;
  color: #752706;
  overflow: hidden;
}

.social-heading {
  font-family: 'Modak', cursive;
  font-size: 64px;
  line-height: 1;
  
  -webkit-text-fill-color: #752706;
  -webkit-text-stroke: 1px #fff;
  position: relative;
  margin-bottom: 8px;
  z-index: 2;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.4);
}

.japanese {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 35px;
  margin: 2px 0 6px;
  color: #752706 !important;
  position: relative;
  z-index: 2;   
  letter-spacing: 0.5px;
}
.social-icons {
  background: linear-gradient(to bottom, #0b0b0b 0%, #121111 100%) !important;
  color: #752706;
  border-radius: 30px;
  border: 3px solid #752706;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;

  position: relative;  /* for z-index */
  z-index: 2;         /* make sure it's above overlays */
  
  /* temporary debug outline, remove after confirmed working */
  /* outline: 2px solid limegreen; */
}

.social-icons a {
  display: inline-flex;
  transition: transform 0.3s ease;
  margin: 0;
  padding: 0;
  font-size: initial;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
}

.social-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bg-icon {
  position: absolute;
  width: 350px;
}

.bg-left {
  top: 25;
  left: -40px;
}

.bg-right {
  bottom: 0;
  right: -40px;
}

.bg-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
}

/* === Video Section === */
.video-section {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  background-color: #FFFAF6;
}

.video-banner {
  width: 90%;
  max-width: 1200px;
  border-radius: 12px;
  border: 6px solid #752706; /* warm brown border */
  box-shadow: 0 8px 20px rgba(26, 23, 22, 0.6), /* soft colored shadow */
              0 12px 40px rgba(0, 0, 0, 0.5);   /* deeper black shadow */
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.video-overlay img {
  width: 80px;
}

.mute-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 10;
}

/* === Who is Boru Section === */
.who-section {
  position: relative; /* to position bg and overlay absolutely */
  padding: 20px 60px;
  color: #1a1a1a;
  text-align: center;
  overflow: hidden; /* keep bg contained */
  z-index: 0;
}

.who-section .who-bg {
  position: absolute;
  inset: 0;
  background: url('assets/whobg.jpeg') no-repeat center center;
  background-size: cover;
  opacity: 0.13;
  z-index: 0;
}

.who-section .who-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.who-section > * {
  position: relative;
  z-index: 2; /* ensure content is above bg and overlay */
}


.who-section h2 {
  font-family: 'Modak', cursive;
  font-size: 56px;
  color: transparent;
  -webkit-text-stroke: 1.2px #752706;
  -webkit-text-fill-color: #fff; /* slightly warm fill to match Figma */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
}


.who-section .japanese {
  font-size: 40px;
  font-weight: 500;
  color: #d9a760 !important;
  margin-bottom: 30px;
    z-index: 10;
}

.who-box {
  border: 2px solid white;
  border-radius: 16px;
  padding: 20px 40px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: transparent;
  box-shadow: none;
  color: white;
  overflow: hidden;
}

.who-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 60px;
  text-align: left;
  flex-wrap: nowrap; /* changed from wrap to nowrap */
}


.who-content img {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  width: 400px;
  flex-shrink: 0;
}

.who-content img.slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* Shake animation on hover (infinite) */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.who-content img:hover {
  animation: shake 0.8s ease-in-out infinite;
  transform-origin: center;
}



.typing-paragraph {
  white-space: pre-line;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: white;
}

#typing-text::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: white;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}



/* === Court Section === */
.court {
  position: relative;
  padding: 2px 40px;
  overflow: hidden;
}

.court-bg {
  position: absolute;
  inset: 0;
  background: url('assets/courtbg.png') no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.court-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);

  z-index: 1;
}

.court-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.court-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
  padding: 20px;
}

.court-text {
  cursor: pointer; /* show pointer */
  display: inline-block; /* to shrink-wrap content */
  position: relative;
}

.court-heading {
  font-family: 'Modak', cursive;
  font-size: 44px;
  color: transparent;
  -webkit-text-stroke: 1.2px #752706;
  -webkit-text-fill-color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Hover effect triggered when hovering .court-text */
.court-text:hover .court-heading {
  transform: scale(1.1);
  text-shadow:
    3px 3px 10px #52280bcc,
    0 0 12px #752706;
  z-index: 10;
}


.coming-soon {
   background: linear-gradient(to bottom, #d9a760 0%, #d9a760 100%);

  color: #752706;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: not-allowed;
}

.stadium-wrapper {
  flex: 1;
  /* Remove overflow:hidden so hover covers full visible image */
  /* overflow: hidden; */
  display: flex;
  justify-content: flex-end;
  cursor: pointer;
  position: relative; /* for z-index context */
  padding: 20px; /* optional: add some padding around wrapper so hover area is bigger */
}

/* Image styles */
.stadium-img {
  width: 150%;
  max-width: none;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
  pointer-events: none; /* so the wrapper catches the hover */
}

/* Hover on wrapper triggers image scale */
.stadium-wrapper:hover .stadium-img {
  transform: scale(1.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  z-index: 10;
}




.court-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.4); /* Dark translucent layer */
  backdrop-filter: blur(4px);        /* Soft blur effect */
  z-index: 1;
  pointer-events: none;
}



/* === Footer === */
footer {
  background-color: #f9f4e4; /* main page background */
  padding-top: 80px;
}

/* Generic layer styling */
.footer-layer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}

/* === Layer 1: Large BORU === */
/* FOOTER CONTAINER */
.footer {
  margin-top: 80px;
  width: 100%;
  padding: 0;
}

/* GENERIC SECTION BLOCK */
.footer-section {
  width: 100%;
  text-align: center;
  padding: 40px 0;
}

/* === 1. TOP SECTION: BORU TEXT === */
.footer-top {
  background-color: #f9f4e4; /* Light cream */
}
.footer-title {
  font-family: 'Modak', cursive;
  font-size: 100px;
  color: transparent;
  -webkit-text-stroke: 1.2px #752706;
  -webkit-text-fill-color: #fff; /* slightly warm fill to match Figma */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;

  transition: transform 0.3s ease, letter-spacing 0.3s ease;
  opacity: 1; /* default visible */
  transform: translateY(0);
}

.slide-in {
  opacity: 0;
  transform: translateY(50px);
  animation: slideIn 1s ease-out forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* === 2. MIDDLE SECTION: ICON BLOCK === */
.footer-middle {
  background-color: #FFFAF6;
  border-radius: 80px 80px 0 0;
  margin: 0 auto;
  padding: 100px 0 32px; /* Increased top padding for space */
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}


.footer-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #441706, #aa3a0a); /* gradient */
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
  cursor: pointer;
  top: -40px; /* ← This moves it up above the overlap */
}


/* Optional hover effect */
.footer-icon-wrapper:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Make the icon inside responsive */
.footer-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* === 3. BOTTOM SECTION: COPYRIGHT === */
.footer-bottom {
  background-color: #752706;
  border-radius: 40px 40px 0 0;
  margin: -60px auto 0; /* ← This pulls it up to lap */
  padding: 20px 80px;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  margin: 0;
}


/* === General Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0d0d0d;
  color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* === Preloader === */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  flex-direction: column;
  text-align: center;
}

.bouncing-logo {
  width: 120px;
  animation: bounce 1.2s infinite;
  display: block;
  margin: 0 auto;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25px);
  }
}

.progress-bar {
  width: 200px;
  height: 6px;
  background-color: #222;
  justify-content: center;
  margin-top: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #fff;
  width: 0;
  transition: width 0.4s ease;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 40px;
  background-color: rgba(18, 18, 18, 0.7);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.navbar .logo img {
  width: 100px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links li a {
  font-weight: 600;
  color: white;
  transition: color 0.3s;
}

/* Active Menu Button */
.navbar .nav-button {
  font-family: 'Modak', cursive;
  background: linear-gradient(to bottom, #d9a760 0%, #8a5a28 100%);
  color: #752706;
  padding: 6px 26px;
  border-radius: 30px;
  border: 3px solid #752706;
  font-size: 1.5rem;
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    0 6px 12px rgba(0, 0, 0, 0.4);
  text-shadow: 
    -1px -1px 0 #000,  
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     1px  1px 1px #f8e1b1;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.navbar .nav-button:hover {
  background: linear-gradient(to bottom, #f7c77d 0%, #a56d3a 100%);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Inactive Links with Transparent Fill and Outline */
.navbar .nav-links li a {
  font-family: 'Modak', cursive;
  font-size: 1.5rem;
  color: transparent;
  padding: 6px 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  -webkit-text-stroke: 1.2px #ffffff; /* White outline */
}

.navbar .nav-links li a:not(.active):hover {
  transform: scale(1.08);
  -webkit-text-stroke: 1.5px #d9a760;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: #fff;
  margin: 3px 0;
}

/* === Hero Section === */
.hero {
  background-image: url('assets/herobg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  padding: 1rem 1rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-title {
  margin-top: 0px;
  position: relative;
  z-index: 2;
  font-family: 'Modak', cursive;
  font-size: 8rem;
  -webkit-text-stroke: 1.2px #752706;
  -webkit-text-fill-color: #fff;
  transition: transform 0.4s ease, color 0.3s ease;
  cursor: pointer;
}

.hero-title:hover {
  transform: translateY(30px) scale(1.05) !important;
  color: #ff9900 !important;
}

.tagline {
  font-size: 20px;
  font-weight: 400;
  z-index: 2;
  position: relative;
  margin-top: 10px;
  color: #ffffff;
}

#hero-typing-text {
  
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #d9a760;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #d9a760;
  font-size: 1.2rem;
  animation: blinkCursor 0.8s steps(1) infinite;
}

@keyframes blinkCursor {
  0%, 100% { border-color: #f7cf46; }
  50% { border-color: transparent; }
}

/* === Cards Section === */
.cards-carousel {
  width: 100%;
  overflow: hidden;
}

.cards {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  flex-wrap: nowrap; /* desktop: no wrap */
}

.cards img {
  opacity: 1;
  animation: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 12px;
}

.card-left {
  max-width: 200px;
  transform: translateX(-60px) rotate(-12deg);
  animation-delay: 0.3s;
}

.card-center {
  max-width: 240px;
  transform: rotate(0deg);
  animation-delay: 0.6s;
}

.card-right {
  max-width: 200px;
  transform: translateX(60px) rotate(12deg);
  animation-delay: 0.9s;
}

.cards img:hover {
  transform: scale(1.25) translateY(-20px) rotate(0deg);
  box-shadow: none;
  border: none;
  z-index: 10;
  transition: transform 0.4s ease;
}

/* === Social Section === */
.social-section {
  position: relative;
  padding: 10px 30px;
  text-align: center;
  background-color: #FFFAF6;
  color: #752706;
  overflow: hidden;
}

.social-heading {
  font-family: 'Modak', cursive;
  font-size: 64px;
  line-height: 1;
  -webkit-text-fill-color: #752706;
  -webkit-text-stroke: 1px #fff;
  position: relative;
  margin-bottom: 8px;
  z-index: 2;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.4);
}

.japanese {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 35px;
  margin: 2px 0 6px;
  color: #752706 !important;
  position: relative;
  z-index: 10;
  letter-spacing: 0.5px;
}
.social-icons {
  background: none !important;
  border: none !important;
  padding: 20px !important;
  margin: 0;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.social-icons a {
  background: none !important;
  border: none !important;
  padding: 0;
  margin: 0;
  display: inline-flex;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}



.social-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bg-icon {
  position: absolute;
  width: 350px;
}

.bg-left {
  top: 25;
  left: -40px;
}

.bg-right {
  bottom: 0;
  right: -40px;
}

.bg-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
}

/* === Video Section === */
.video-section {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  background-color: #FFFAF6;
}

.video-banner {
  width: 90%;
  max-width: 1200px;
  border-radius: 12px;
  border: 6px solid #752706;
  box-shadow: 0 8px 20px rgba(26, 23, 22, 0.6),
              0 12px 40px rgba(0, 0, 0, 0.5);
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.video-overlay img {
  width: 80px;
}

.mute-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 10;
}

/* === Who is Boru Section === */
.who-section {
  position: relative;
  padding: 20px 60px;
  color: #1a1a1a;
  text-align: center;
  overflow: hidden;
  z-index: 0;
}

.who-section .who-bg {
  position: absolute;
  inset: 0;
  background: url('assets/whobg.jpeg') no-repeat center center;
  background-size: cover;
  opacity: 0.13;
  z-index: 0;
}

.who-section .who-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.who-section > * {
  position: relative;
  z-index: 2;
}

.who-section h2 {
  font-family: 'Modak', cursive;
  font-size: 56px;
  color: transparent;
  -webkit-text-stroke: 1.2px #752706;
  -webkit-text-fill-color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
}

.who-section .japanese {
  font-size: 40px;
  font-weight: 500;
  color: #d9a760 !important;
  margin-bottom: 30px;
  z-index: 10;
}

.who-box {
  border: 2px solid white;
  border-radius: 16px;
  padding: 20px 40px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: transparent;
  box-shadow: none;
  color: white;
  overflow: hidden;
}

.who-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 60px;
  text-align: left;
  flex-wrap: nowrap;
}

.who-content img {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  width: 400px;
  flex-shrink: 0;
}

.who-content img.slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* Shake animation on hover (infinite) */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.who-content img:hover {
  animation: shake 0.8s ease-in-out infinite;
  transform-origin: center;
}

.typing-paragraph {
  white-space: pre-line;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: white;
}

#typing-text::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: white;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* === Court Section === */
.court {
  position: relative;
  padding: 2px 40px;
  overflow: hidden;
}

.court-bg {
  position: absolute;
  inset: 0;
  background: url('assets/courtbg.png') no-repeat center center;
  background-size: cover;
  opacity: 0.3;
  z-index: 0;
}

.court-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1;
  pointer-events: none;
}

.court-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.court-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
  padding: 20px;
}

.court-text {
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.court-heading {
  font-family: 'Modak', cursive;
  font-size: 44px;
  color: transparent;
  -webkit-text-stroke: 1.2px #752706;
  -webkit-text-fill-color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.court-text:hover .court-heading {
  transform: scale(1.1);
  text-shadow: 0 4px 10px rgba(169, 104, 23, 0.8);
}

.court-cta {
  font-family: 'Modak', cursive;
  font-size: 26px;
  background: linear-gradient(to bottom, #d9a760 0%, #8a5a28 100%);
  border: none;
  padding: 10px 26px;
  color: #752706;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 1px #fff;
}

.court-cta:hover {
  background: linear-gradient(to bottom, #f7c77d 0%, #a56d3a 100%);
  box-shadow: 0 0 10px #d9a760;
}

.stadium-img {
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(117, 39, 6, 0.4);
}

/* === Responsive === */
@media (max-width: 768px) {

  /* Hide nav-links by default on mobile */
@media (max-width: 768px) {

  
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(18, 18, 18, 0.9);
    position: absolute;
    top: 60px; /* adjust based on your navbar height */
    right: 40px; /* adjust based on your navbar padding */
    border-radius: 8px;
    padding: 20px;
    gap: 15px;
    width: 200px;
    z-index: 20;
  }

  /* Show nav-links when active */
  .nav-links.active {
    display: flex;
  }
  
  /* Hamburger visible on mobile */
  .hamburger {
    display: flex;
  }
}

  .hero-title {
    font-size: 60px;
  }
   #hero-typing-text {
    font-size: 15px; /* reduced size for mobile */
  }

    #hero-typing-text {
    font-size: 15px; /* reduced size for mobile */
  }
  .tagline {
    font-size: 18px;
  }

  
  .cards-wrapper {
    width: 100vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    margin: 0 auto;
  }

  .cards-wrapper::-webkit-scrollbar {
    display: none;
  }

  .cards {
    display: flex;             /* flexbox to arrange horizontally */
    gap: 20px;
    padding-bottom: 10px;
  }

  .card-left,
  .card-center,
  .card-right {
    flex: 0 0 100vw;           /* each card takes 100% viewport width */
    scroll-snap-align: start;  /* snap to each card */
    max-width: 100vw;
    border-radius: 12px;
  }

  .cards img {
    width: 100%;
    border-radius: 12px;
  }

  .card-left,
  .card-right {
    transform: none;
    max-width: 140px;
  }

  .card-center {
    max-width: 200px;
  }

   .social-icons {
    display: flex;             /* Required to activate flex behavior */
    flex-direction: row;       /* Make icons horizontal */
    justify-content: center;   /* Optional: center them horizontally */
    gap: 30px;                 /* Space between icons */
    padding: 10px 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Stack content vertically */
  .who-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .who-content img {
    width: 80%;
    max-width: 320px;
    height: auto;
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
  /* Center paragraphs */
   .who-content p,
  .typing-paragraph,
  #typing-text {
    display: block !important;      /* force show */
    opacity: 1 !important;          /* fully visible */
    visibility: visible !important; /* ensure visible */
    white-space: normal !important; /* allow wrapping */
    overflow: visible !important;   /* no clipping */
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    text-align: center;
    position: relative;
  }

  /* Image sizing for mobile */
  

  /* Headings size & spacing */
  .who-section h2 {
    font-size: 2.5rem;
    -webkit-text-stroke: 0.8px #752706;
    margin-bottom: 12px;
  }

  .who-section .japanese {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  /* Padding inside the who-box */
  .who-box {
    padding: 20px 24px;
  }
 .court-inner {
    display: flex;
    flex-direction: column;  /* stack vertically */
    align-items: center;     /* center horizontally */
    gap: 20px;               /* space between text and image */
  }

  .court-text {
    order: 0;
    text-align: center;
    width: 100%;
    max-width: 600px;
  }

  .stadium-wrapper {
    order: 1;
    width: 100%;
    max-width: 600px;
  }

  .stadium-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
  }

  .court {
    padding: 40px 16px;
  }

  .court-heading {
    font-size: 32px;
  }

}
