:root {
  --bg-light: hsl(45, 23%, 95%);
  --bg-dark: hsl(210, 20%, 25%);
  --text-dark: hsl(210, 20%, 15%);
  --foreground: #1f262e;
  --background: #f8f8f8;
  --muted-foreground: #666;

  --gold: hsl(47.08deg 81.53% 38.26%);
  --gold-dark: hsl(111, 79%, 38%);
  --chess-gold: #f4C025;
  --chess-gold-dark: hsl(45, 85%, 45%);
  --chess-dark: #1b1b1b;
  --chess-bg: rgba(255, 255, 255, 0.05);
  --chess-glow: 0 10px 40px -10px hsla(45, 90%, 45%, 0.4);
  --royal-start: #67737E;
  --royal-end: #2c3e50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===== Pagination Styles ===== */
.pagination {
  margin: 30px 0;
  text-align: center;
}

.pagination ul {
  display: inline-flex;
  list-style: none;
  gap: 8px;
  padding: 0;
}

.pagination li {
  display: inline-block;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #f1f1f1;
  color: #333;
  border: 1px solid #ddd;
}

.pagination a:hover {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  border-color: transparent;
}

.pagination .current {
  background: linear-gradient(135deg, #ff7eb3, #ff758c);
  color: #fff;
  border: none;
  pointer-events: none;
  font-weight: 600;
}

/* ---------------- NAVIGATION ---------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 5px;
  background-color: #f5f4efcc;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.containerWithoutWrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-group svg {
  color: var(--chess-gold);
  animation: float 2s ease-in-out infinite;
}

.logo-text h1 {
  font-size: 24px;
  font-family: "Playfair Display, serif";
  color: #1f262e;
  font-weight: 600;
  padding-bottom: 5px;
}

.logo-text p {
  font-size: 12px;
  color: #67737e;
  margin: 0;
}

/* Navigation links (desktop) */
.nav-toggle-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 20px;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--chess-gold);
}

/* Action buttons */
.action-buttons {
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ghost {
  color: var(--chess-dark);
  background: var(--chess-bg);
}

.btn-royal {
  background: linear-gradient(135deg, #f0e68c, #d4af37);
  color: var(--chess-dark);
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Hamburger button */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

.nav-links a.active {
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}



/* ---------------- HERO SECTION ---------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 12rem;
  padding-bottom: 6rem;
  overflow: hidden;
  z-index: 0;
  color: #fff;
  background-color: black;
}

.hero-overlay {
  position: absolute;
  inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.5); /* adjust 0.5 for more/less darkness */
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  margin: 15px auto;
}



.left .badge {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  margin-top: 2rem;
}
.left{
    padding-top: 35px;
}

.left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}



.left h1 span {
  color: var(--gold);
  display: block;
}

.left p {
  margin-top: 1.2rem;
  font-size: 1rem;
  color: hsla(0, 0%, 100%, 0.85);
  max-width: 600px;
  line-height: 1.6;
}


.buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn.play {
  background-color: #ffce54;
  color: #000;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(255, 206, 84, 0.5);
  animation: firefly-glow 1.5s infinite ease-in-out;
  transition: transform 0.2s;
}

.btn.play:hover {
  transform: scale(1.05);
  background: var(--gold-dark);
}

.btn.learn {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
}

.btn.learn:hover {
  background: var(--gold);
  color: var(--chess-dark);
}

.stats {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--gold);
  font-weight: bold;
  border-top: 1px solid hsla(45, 90%, 55%, 0.3);
  padding-top: 1.5rem;
}

.stat {
  text-align: center;
  flex: 1 1 120px;
  min-width: 100px;
  font-size: 18px;
}

.stat small {
  display: block;
  font-size: 0.8rem;
  color: hsla(0, 0%, 100%, 0.7);
  margin-top: 0.3rem;
}

/*.right {*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*}*/

/*.right img {*/
/*  width: 100%;*/
/*  max-width: 420px;*/
/*  height: auto;*/
/*  object-fit: contain;*/
/*  animation: float 1.5s ease-in-out infinite;*/
/*  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));*/
/*  position: relative;*/
/*  z-index: 2;*/
/*}*/

   .right {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .right img {
            width: 280px;
            z-index: 1;
            position: relative;
            filter: drop-shadow(0 0 20px rgba(122, 60, 255, 0.6));
        }

/*@media (max-width: 480px) {*/
/*  .right img {*/
/*    max-width: 300px;*/
/*  }*/
/*}*/


 .heroCardContainer {
            position: relative;
            width: 400px;
            height: 400px;
        }

        .heroCard {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 16px;
            overflow: hidden;
            transition: transform 0.8s ease, opacity 0.8s ease;
        }

        .heroCard img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .heroCard:nth-child(1) {
            background-color: #ff7eb9;
            z-index: 3;
            transform: rotate(-5deg);
        }

        .heroCard:nth-child(2) {
            background-color: #7d3cff;
            z-index: 2;
            transform: rotate(3deg);
        }

        .heroCard:nth-child(3) {
            background-color: #4da6ff;
            z-index: 1;
            transform: rotate(-2deg);
        }


/* ---------------- FEATURE SECTION ---------------- */
section {
  display: flex;
  justify-content: center;
  padding: 4rem 1rem; /* reduced padding for mobile */
}

.heading-container {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 1rem;
  padding: 0 1rem;
}

.heading-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  word-wrap: break-word;
}

.heading-container h2 span {
  color: var(--gold);
}

.section-description {
  font-size: 1rem;
  text-align: center;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  padding: 0 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
  width: 100%;
  max-width: 1200px;
}

.card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.3s ease;
    border-color: var(--gold);
      box-shadow: 0 0 10px rgba(150, 75, 0, 0.2);
}

.card:hover {
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  border-color: var(--chess-gold);
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem auto;
  background: linear-gradient(to bottom right, var(--chess-gold), var(--chess-gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.card:hover .icon-wrapper {
  animation: float 3s ease-in-out infinite;
}

.icon-wrapper svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.card-title {
  font-family: 'Playfair Display', serif;
  margin-top: 1rem;
  font-size: 1.25rem;
  color: var(--chess-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-desc {
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.5;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.cta {
  text-align: center;
  margin-top: 3rem;
  padding: 0 1rem;
}

.cta button {
  background: linear-gradient(135deg, #f0e68c, #d4af37);
  color: var(--chess-dark);
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: 0.3s ease;
}

.cta button:hover {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.cta button svg {
  width: 20px;
  height: 20px;
}



/* Optional: floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}


/* ---------------- ABOUT SECTION ---------------- */
.about-section {
  position: relative;
  background: var(--bg-dark);
  color: var(--bg-light);
  padding: 5rem 2rem;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: normal;
}

.blog-section-label {
  font-size: 35px;
  font-family: "Playfair Display", serif;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.section-label {
  font-size: 35px;
  font-family: "Playfair Display", serif;
  color: var(--background);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.section-title {
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  color: var(--gold);
  font-weight: 600;
  margin-top: 5px;
}

.highlight {
  color: var(--gold);
}

.about-grid {
  display: flex;
  gap: 8rem;
  margin-top: 1rem;
}

.about-text {
  flex: 1 1 50%;
}

.about-stats-container { 
    display: flex; 
    gap: 2rem; 
    margin: 2rem 0;
    flex-wrap: wrap;
    }

.lead-text {
  font-size: 1rem;
  line-height: 1.4; 
  font-weight: 500;
  color: var(--bg-light);
  margin-bottom: 2rem;
}

.body-text {
  color: var(--bg-light);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: small;
}

.stats-container {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  color: var(--chess-gold);
  font-weight: bold;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--bg-light);
  font-family: "Playfair Display", serif;
}

.cta-section {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  border: none;
}

.primary-cta {
  background: var(--chess-gold);
  color: var(--chess-dark);
  box-shadow: var(--chess-glow);
}

.secondary-cta {
  background: var(--chess-bg);
  color: var(--bg-light);
  border: 1px solid var(--chess-gold-dark);
}

.arrow-icon {
  width: 1em;
  height: 1em;
}


.king-icon {
  width: 80px;
  height: 80px;
  color: var(--gold-dark);
}

.bg-decoration .gradient-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(80px);
  z-index: 0;
}

.gradient-orb-1 {
  width: 300px;
  height: 300px;
  background: var(--gold);
  top: 10%;
  left: -10%;
}

.gradient-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--royal-start);
  bottom: -15%;
  right: -15%;
}

.experience-section {
  position: relative;
  max-width: 100%;
}
.img-large {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.img-small {
 position: absolute;
    bottom: -70px;
    left: -80px;
    width: 290px;
 border-radius: 20px;
 box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}


.about-visual{
    width: 40%;
}


/* ---------------- STATS SECTION ---------------- */
.stats-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  padding: 0 1rem;
}

.stats-section {
  background: linear-gradient(to bottom right, var(--chess-dark), var(--chess-board-dark));
  padding: 3rem 1rem;
}

.stats-grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: 1fr; /* Mobile default */
}


.card:hover {
  transform: translateY(-5px);
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-circle {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.icon-circle:hover {
  background: rgba(212, 175, 55, 0.3);
}

.icon {
  font-size: 2rem;
  color: var(--chess-gold);
}

.value {
     font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
        line-height: normal;
}

.label {
  font-size: 1.25rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--chess-gold);
  margin-bottom: 0.3rem;
}

.description {
  font-size: 0.9rem;
  color: var(--royal-start);
      padding-top: 10px;
}


/* ---------------- BLOG SECTION ---------------- */

    /* Global Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
}

/* Blog Section */
.blog-section {
  background: var(--background);
  padding: 5rem 1rem;
  overflow-x: hidden;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-section-title {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  margin: 1rem 0;
  font-weight: 600;
  color: var(--text-dark);
}

.highlight {
  color: var(--gold);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 1rem;
}

/* Blog Card */
.blog-card-home {
  background: var(--bg-light);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  text-align: center;
  width: 100%; /* Removed fixed 300px */
  max-width: 100%;
  box-sizing: border-box;
}


.blog-card-home:hover {
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  border-color: var(--chess-gold);
}

.blog-card-home img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Blog Image */
.blog-image img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Blog Content */
.blog-content {
  padding: 1.25rem;
}

.blog-section-Card-title {
  font-size: 1.125rem;
  font-weight: 600;
  font-family: "Playfair Display", serif;
  color: var(--gold);
  transition: color 0.3s ease;
  margin-bottom: 0.5rem;
  line-height:24px;
}

.blog-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* ----------------FOOTER SECTION ---------------- */

.footer-heading-content{
   color: var(--gold);
    font-size: 1.2rem;
    font-family: "Playfair Display", serif;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: normal;
}

.footer {
  background-color: var(--chess-dark);
  color: var(--bg-light);
  padding: 3rem 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 3rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;

  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.footer-subtext {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--bg-light);
  line-height: 20px;
}

.footer-desc {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--bg-light);
  line-height: 1.6;
}

.footer-heading {
  color: var(--gold);
  font-size: 1rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  margin: 0px;
}

.footer-list a {
  color: var(--bg-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-list a:hover {
  color: var(--chess-gold);
}

.footer-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.icon-gold {
  color: var(--chess-gold);
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--bg-light);
  margin: 0px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--bg-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--chess-gold);
}

.container-sub{
  padding: 4rem 1rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-direction: column;

}

/* ---------------- About-page ---------------- */


/* Hero */
.aboutPage-hero {
  position: relative;
  height: 70vh; /* Full screen height */
  overflow: hidden;
  text-align: center;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.aboutPage-hero .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes it act like background-size: cover */
  z-index: -1; /* send video behind text */
}

.aboutPage-hero .container {
  position: relative;
  z-index: 2;
}

.aboutPage-content{
    padding: 30px;
}

.aboutPage-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
  color: var(--chess-gold);
}

.aboutPage-hero p {
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
  color: white;
  line-height: 30px;
}

/* Section */
.aboutPage-section {
  padding: 4rem 0;
}

.aboutPage-section.light {
  background: var(--background);
  color: var(--text-dark);
}

.aboutPage-section.dark {
  background: var(--background);
  color: white;
}

.aboutPage-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.aboutPage-Heading h1 {
  font-family: "Playfair Display", serif;
  color: var(--white);
  margin-bottom: 15px;
 
}

.aboutPage-Heading span {
  font-family: "Playfair Display", serif;
  color: var(--gold);
  margin-bottom: 15px;
}

.aboutPage-Heading{
    line-height: normal;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    margin-top: 70px;
}

.aboutPage-grid-2 p {
  font-family: 'Inter', sans-serif;
  color: var(--royal-start);
  font-size: medium;
}

.aboutPage-grid-2 h2 {
  font-family: "Playfair Display", serif;
  color: var(--gold);
  margin-bottom: 15px;
  font-size: x-large;

}

.aboutPage-img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features */
.aboutPage-features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.aboutPage-feature-card {
  flex: 1 1 30%;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.3s ease;
}

.aboutPage-feature-card:hover {
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  border-color: var(--chess-gold);
}

.aboutPage-feature-card img {
  width: 70px;
  margin-bottom: 1rem;
}

.aboutPage-feature-card h3 {
  font-size: 20px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gold);

}

.aboutPage-feature-card p {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 1rem;
  color: var(--royal-start);

}


.about-page-mission-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: "Playfair Display";
}

.section-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.6;  
  font-family: 'Inter', sans-serif;

}

.mv-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mv-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.mv-icon {
  font-size: 2rem;
  margin-right: 1rem;
  color: #4a90e2;
}

.mv-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #111;
  font-family: "Playfair Display";
}

.mv-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
font-family: 'Inter', sans-serif;

}





/* CTA */
/*.aboutPage-cta {*/
/*  background: var(--bg-dark);*/
/*  color: var(--chess-dark);*/
/*  text-align: center;*/
/*  padding: 4rem 2rem;*/
/*  position: relative;*/
/*}*/

/*.aboutPage-cta .container {*/
/*  position: relative;*/
/*  z-index: 1;*/
/*}*/

/*.aboutPage-cta h2 {*/
/*  font-size: 2rem;*/
/*  margin-bottom: 1rem;*/
/*  font-family: "Playfair Display", serif;*/
/*  color: var(--chess-dark);*/
/*}*/

/*.aboutPage-cta p {*/
/*  font-family: 'Inter', sans-serif;*/
/*  color: hsla(0, 0%, 100%, 0.85);*/
/*}*/

/*.aboutPage-cta span {*/
/*  font-size: 2rem;*/
/*  margin-bottom: 1rem;*/
/*  font-family: "Playfair Display", serif;*/
/*  color: var(--gold);*/
/*}*/

/*.aboutPage-cta-button {*/
/*  background: linear-gradient(135deg, #f0e68c, #d4af37);*/
/*  color: var(--chess-dark);*/
/*  font-weight: 600;*/
/*  border: 1px solid rgba(212, 175, 55, 0.2);*/
/*  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);*/
/*  font-size: 14px;*/
/*  padding: 8px;*/
/*  border-radius: 8px;*/
/*  cursor: pointer;*/
/*  display: inline-flex;*/
/*  align-items: center;*/
/*  gap: 0.75rem;*/
/*  transition: 0.3s ease;*/
/*  margin-top: 10px;*/
/*  text-decoration: none;*/
/*}*/

/*.aboutPage-cta-button:hover {*/
/*  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);*/
/*}*/

/*.aboutPage-footer-heading{*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 10px;*/
/*}*/


/*.aboutPage-footer-heading p{*/
/*    padding: 0px;*/
/*    margin: 0px;*/
/*    font-size: larger;*/
/*    color: hsla(0, 0%, 100%, 0.85);*/
/*}*/


/* HERO STYLES */
.blog-hero {
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.blog-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.blog-hero-slide.active {
    opacity: 1;
}

.blog-hero canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.blog-hero-content {
   position: relative;
    z-index: 3;
    text-align: center;
    margin-top: 220px;
    padding: 2rem;
    line-height: initial;
    display: flex;
    justify-content: flex-start;
    width: 70%;
}

.blog-title {
    font-size: 3.2rem;
    font-family: "Playfair Display", serif;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #fff;
    /* default white */
}

.blog-title span {
    color: #d4af37;
    /* gold for the highlighted part */
}

.blog-subtitle {
    font-size: 2.3rem;
    font-family: "Playfair Display", serif;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
    
}

.blog-hero-content.show .blog-title,
.blog-hero-content.show .blog-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.blog-subtitle{
    font-size: xx-large;
}


/* Blog Cards Section */
.blog-cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.3);
    overflow: hidden;
    width: 300px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
}

.blog-Cards-title {
    font-family: "Playfair Display", serif;
    margin-bottom: 1rem;
    color: var(--gold);
}

.blog-card:hover {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    border-color: var(--chess-gold);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.meta {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.blog-description {
    font-size: 14px;
    color: var(--bg-dark);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.read-more {
    color: var(--royal-start);
    text-decoration: none;
    font-weight: 500;
}


/* ---------------- TOURNAMENT-PAGE ---------------- */

  .tournament-page-body{
      min-height: 100vh;
  }

  .tournament-page-hero {
      position: relative;
      height: 70vh;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding: 0 10%;
      padding-top: 70px; /* for header space */
    }

    .tournament-page-hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -2;
    }

    .tournament-page-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, rgba(14, 26, 36, 0.6), rgba(14, 26, 36, 0.8));
      z-index: -1;
    }

    .tournament-page-hero-content {
      position: relative;
      z-index: 1;
      max-width: 600px;
      color: #fff;
    }

    .tournament-page-hero-text h1 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      min-height: 40px; /* avoids content jump during typing */
      font-family: "Playfair Display", serif;
      color: #d4af37;
    }

    .tournament-page-hero-text span {
      color: #ff3b3f;
    }

    .tournament-page-hero-text p {
      font-size: 1rem;
      margin-bottom: 2rem;
    }
    .tournament-page-hero-text{
        margin-top: 40px;
    }

    .tournament-page-btn {
      background: #ff3b3f;
      color: #fff;
      border: none;
      padding: 0.8rem 1.5rem;
      font-size: 1rem;
      cursor: pointer;
      border-radius: 4px;
      transition: background 0.3s;
    }

    .tournament-page-btn:hover {
      background: #ff1a23;
    }

    .tournament-page-features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.5rem;
      padding: 3rem 10%;
      text-align: center;
    }
    
    .tournament-page-features a{
        text-decoration: none;
    }

   .tournament-page-feature-box {
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--gold);
    box-shadow: 0 0 10px rgba(150, 75, 0, 0.2);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.tournament-page-feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--chess-gold);
    box-shadow: 0 6px 15px rgba(150, 75, 0, 0.3);
}

    .tournament-page-feature-box h3 {
    font-size: 1rem;
    font-family: "Playfair Display", serif;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.3rem;
   }
   
   .tournament-page-feature-box p{
    font-size: 0.9rem;
    color: var(--royal-start);
    padding-top: 10px;
   }
   
   
     .start-btn {
    padding: 12px 22px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    background: var(--accent);
    color: white;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: 0.2s;
  }
  .start-btn:hover { transform: scale(1.05); }

  /* modal overlay */
  .tournament-page-modal {
    display: none; /* hide initially */
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
  }

  .tournament-page-modal-content {
    background: var(--card);
    border-radius: 12px;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 6px 30px rgba(2,10,20,0.6);
    position: relative;
  }

  .tournament-page-modal-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    top: 10px; right: 16px;
  }

  .tournament-page-card{
    background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    backdrop-filter: blur(12px);   
    border-radius:12px;
    padding:28px;
    border: 1px solid rgba(255,255,255,0.03);
  }
  
  
  .tournament-page-card h2{
      color: white;
  }
  .tournament-page-pills{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px;}
  .tournament-page-pill{
    background: var(--glass);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:8px;
    padding:10px;
    cursor:pointer;
    color:white;
    text-align:center;
  }
  .tournament-page-pill.selected{background:linear-gradient(90deg,#0fb8c5,#35d0a2);color:#022;}
  

/* ---------------- tournamentDetail ---------------- */

.tournamentDetail-section.only-image {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem; /* spacing between images */
}

.tournamentDetail-section.only-image img {
  width: 300px;   /* adjust size */
  border-radius: 12px;
  flex: 1 1 auto;
  max-width: 100%;
}

.tournamentDetail-container {
  max-width: 1100px;
 min-height: 100vh;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.tournamentDetail-box {
  background: #fff;
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(220,220,220,0.5);
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  margin-top: 100px;
}
.tournamentDetail-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.tournamentDetail-header {
  display: flex;
  align-items: center;
  justify-content: center; /* Center heading */
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative; /* For positioning back button */
}

.tournamentDetail-back-btn {
  position: absolute; /* Move back button to left */
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  background: #f8f9fa;
  transition: 0.25s;
}
.tournamentDetail-back-btn:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.tournamentDetail-back-btn::before {
  content: "← ";
}


.tournamentDetail-box h1 {
  font-size: 2rem;
   font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}

.tournament-district-Heading{
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 35px;
}

.tournament-district-Heading h1{
 font-family: 'Playfair Display', serif;
 color: var(--gold);
}

.tournamentDetail-section {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.tournamentDetail-section.even {
  flex-direction: row-reverse;
}
.tournamentDetail-section img {
  width: 420px;
  border-radius: 12px;
  flex-shrink: 0;
}
.tournamentDetail-section div {
  flex: 1;
}
.tournamentDetail-section p {
  font-size: 15px;
  color: #444;
   font-family: 'Inter', sans-serif;
}
.tournamentDetail-section h2 {
  font-size: 1.4rem;
  color: #1e293b;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 6px;
  margin-bottom: 1rem;
}

.tournamentDetail-section.only-image,
.tournamentDetail-section.only-text {
  justify-content: center;
  text-align: center;
}


/* ---------------- location ---------------- */

/* ========== Layout ========== */
.location-sidebar-layout {
    display: flex;
    gap: 50px;
    max-width: 1300px;
    margin: 60px auto;
    padding: 20px;
    flex-wrap: wrap;
}

.location-area{
    min-height: 100vh;
}

/* ========== Sidebar ========== */
.location-sidebar {
    width: 28%;
    min-width: 250px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    padding: 30px 20px;
    border-right: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: left 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.location-sidebar h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1d1d1f;
}

.location-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.location-sidebar ul li {
    margin-bottom: 14px;
}

.location-sidebar ul li a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    color: #555;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.location-sidebar ul li a:hover {
    background: rgba(0,0,0,0.06);
    color: #000;
}

.location-sidebar ul li a.active {
    font-weight: 600;
    background: linear-gradient(135deg, #0071e3, #00c6ff);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,113,227,0.35);
}

/* ========== Content Grid ========== */
.location-content {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 80px;
}

.location-h2{
    grid-column: 1/-1; 
    margin-bottom: 20px; 
    font-size:34px; 
    color:var(--royal-start);
     font-family: 'Playfair Display', serif;
}



/* ========== Place Card ========== */
.location-place-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 360px;
}
.location-place-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.location-place-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.location-place-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.location-place-card h3 {
    font-size: 24px; 
    font-weight: 600; 
    padding: 14px; 
    color: #111;
     font-family: 'Playfair Display', serif;
}
.location-place-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
     font-family: 'Inter', sans-serif;
}

/* Read More button */
.location-place-card .read-more {
    display: inline-block;
    padding: 10px 18px;
    font-size: 14px;
    background: linear-gradient(135deg, #0071e3, #00c6ff);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
}
.location-place-card .read-more:hover {
    background: linear-gradient(135deg, #005bb5, #009edb);
}

.location-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #0071e3, #00c6ff);
    color: #fff;
    width: 130px;
    height: 60px;
    border-radius: 5%;
    box-shadow: 0 6px 20px rgba(0,113,227,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    cursor: pointer;
    z-index: 2000;
}

/* Overlay for mobile sidebar */
.location-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1400;
}
.location-sidebar-overlay.active {
    display: block;
}


.notFound{
    max-width: 216px;
    display: flex;
    justify-self: center;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}




/* ---------------- RESULT PAGE ---------------- */
.result-body{
    min-height: 100vh;
}

.result-page-hero {
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.result-page-hero-bg {
    position: absolute;
    width: 100%; height: 100%;
    object-fit: cover;
    top:0; left:0;
    z-index: -2;
}

.result-page-overlay {
    position: absolute;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.85));
    z-index: -1;
}

.result-page-hero-content{
    max-width: 80%;
    line-height: normal;
    margin-top: 40px;

}

.result-page-hero-content h1 {
    font-size: 2.7rem;
    color: #ffd700;
    font-family: 'Playfair Display', serif;
       margin: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.result-page-hero-content p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 30px;
    
}

.result-page-hero-content .btn {
    background: linear-gradient(90deg, #0fb8c5, #35d0a2);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: 0.3s;
}
.result-page-hero-content .btn:hover { transform: scale(1.05); }

.result-page-stat-box {
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--gold);
    box-shadow: 0 0 10px rgba(150, 75, 0, 0.2);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    background: transparent;
}

.result-page-stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--chess-gold);
    box-shadow: 0 6px 15px rgba(150, 75, 0, 0.3);
}

.result-page-stat-box h3 {
    font-size: 1rem;
    font-family: "Playfair Display", serif;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.result-page-stat-box p {
    font-size: 0.9rem;
    color: var(--royal-start);
    padding-top: 10px;
}

/* Modal */
.result-page-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}

.result-page-modal-content {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 6px 30px rgba(0,0,0,0.5);
}

.result-page-modal-close-btn {
    position: absolute;
    top: 10px; right: 16px;
    font-size: 28px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

.result-page-card h2 {
    color: #ffd700;
    margin-bottom: 15px;
}

.result-page-pills {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin-top: 20px;
}
.result-page-pill {
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    background: rgba(255,255,255,0.1);
    text-align: center;
    transition: 0.3s;
}
.result-page-pill:hover {
    background: linear-gradient(90deg,#0fb8c5,#35d0a2);
    color: #022;
}

.resultPageStatus {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 40px;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
}


/* ===== RESPONSIVE ADJUSTMENTS ===== */





/* Mobile */
@media (max-width: 350px) {
  .resultPageStatus {
    flex-direction: column; /* stack items vertically */
    align-items: center;
    margin: 15px;
    gap: 1rem;
  }
}


@media (max-width: 360px) {
    .location-content { margin-top: 125px; }
    .location-place-card img { height: 180px; }
}



/* Prevent card overflow on smallest screens */
@media (max-width: 400px) {
  .blog-card-home {
    width: 90%;
  }
  
  .grid{
      width: 300px;
  }
  
   .heroCardContainer{
        width: 250px;
        height:250px;
    }
    
}


@media (max-width: 450px) {
  .tournamentDetail-container {
      margin: 10rem auto;
      line-height: normal;
  }
}


@media (max-width: 460px) {
    .blog-subtitle{
    font-size: 16px;
    }
}

@media(max-width:480px){
    .result-page-pills{grid-template-columns:1fr;}
    .result-page-stat-box{padding:1.5rem;}
      .tournament-page-hero {
    margin-top: 100px; /* keep header space */
    min-height: 60vh;
  }
  
  .logo-text h1{
      line-height: 1;
  }

  .tournament-page-hero-text h1 {
    font-size: 1.5rem;
  }

  .tournament-page-hero-text p {
    font-size: 0.85rem;
  }

  .tournament-page-pills {
    grid-template-columns: 1fr; /* stack pills on mobile */
  }

  .tournament-page-feature-box {
    padding: 1.2rem;
  }
    
}



/* Smaller devices */
@media (max-width: 600px) {
    .location-content { grid-template-columns: 1fr; margin-top: 90px; }
    .location-sidebar { padding: 30px 15px; }
      .aboutPage-hero {
    padding: 1rem;
    height: auto; /* allow content to expand */
    min-height: 80vh;
  }

  .aboutPage-hero h1 {
    font-size: 1.8rem;
  }

  .aboutPage-hero p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .aboutPage-feature-card {
    flex: 1 1 100%;
    padding: 1.5rem;
  }

  .aboutPage-feature-card img {
    width: 50px;
  }
    .blog-section-title {
    font-size: 1.75rem;
  }

  .container-sub {
    padding: 2rem 1rem;
  }
  
   .heroCardContainer{
        width: 350px;
        height:350px;
    }
    
  .section-label {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
    line-height: 30px;
  }

  .lead-text {
    font-size: 1rem;
  }

  .cta-section {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .stats-container {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    text-align: left;
  }

  .king-icon {
    width: 60px;
    height: 60px;
  }

  .visual-card {
    padding: 1.5rem;
  }

  .card-description {
    font-size: 0.85rem;
  }

  .gradient-orb-1,
  .gradient-orb-2 {
    display: none; /* hide background decorations on very small screens */
  }
  
   .stats-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}



@media (max-width: 650px) {
    .heading-container{
        line-height: 50px;
    }
}



/* Responsive */
@media(max-width:768px){
    .result-page-hero-content h1{ font-size:2rem; line-height: normal;}
    .result-page-hero-content p{ font-size:1rem;}
    .result-page-pills{grid-template-columns:repeat(2,1fr);}
      .resultPageStatus {
    justify-content: space-around;
    margin: 20px;
    gap: 1.5rem;
  }
  
 .tournamentDetail-back-btn {
    display: none;
  }
  .tournamentDetail-section,
  .tournamentDetail-section.even {
    flex-direction: column !important;
    text-align: center;
  }
  .tournamentDetail-section img {
    margin: 0 auto 1rem;
    max-width: 100%;
  }
  
    .tournament-page-hero {
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    height: auto;
    min-height: 70vh;
  }

  .tournament-page-hero-content {
    max-width: 100%;
  }

  .tournament-page-hero-text h1 {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }

  .tournament-page-hero-text p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .start-btn, .tournament-page-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  .tournament-page-pills {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablet */
  }
  
    .about-visual {
    display: none; /* completely remove images on tablets/mobiles */
  }
  
   .hero-content {
    grid-template-columns: 1fr;
  }
  .left p {
    font-size: 1.1rem;
  }
  .left h1 {
    font-size: 3.2rem;
  }
}


/* Responsive Heading */
@media (max-width: 800px) {
  .blog-section-title{
      line-height: 50px;
  }
}


    .location-btn { display: none; }

/* Desktop (show sidebar, hide icon) */
@media (max-width: 900px) {
    .aboutPage-grid-2{
        grid-template-columns: 1fr;
    }
     .location-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        border-radius: 0;
        padding: 40px 20px;
        z-index: 1500;
        transition: left 0.4s ease;
    }
    .location-sidebar.active { left: 0; }
    .location-btn { display: flex; }
    .location-sidebar-layout { flex-direction: column; padding: 0 10px; gap: 20px; }
      .stats-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
 
}

@media (max-width: 1040px) {
  .hamburger {
    display: block;
  }

  .nav-toggle-group {
    display: none;
    position: absolute;
    top: 100%;   /* Just below the navbar */
    left: 0;
    right: 0;
    background-color: #c5c5c4;
   
    padding: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    flex-direction: column;
    gap: 1rem;
    border-radius: 0 0 8px 8px;
  }

  .nav-toggle-group.show {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links a {
    font-size: 16px;
    padding: 0.5rem 0;
    width: 100%;
  }

  .action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}




/* Large Screens (>=1120px) */
@media (min-width: 1120px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}








@media (max-width: 1180px) {
  .about-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .about-visual {
    text-align: center;
  }


  .section-title {
    font-size: 2rem;
    line-height: 50px;
  }

  .lead-text {
    font-size: 1.1rem;
  }
  
  .card-description {
    font-size: 0.9rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }
  
  .img-large {
   display: none;
  }

  .img-small {
    display: none;
  }
}




/* ---------------- ANIMATIONS ---------------- */

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-1200px) scale(1.5);
    opacity: 0;
  }
}

@keyframes subtlePulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.06;
  }

  50% {
    transform: scale(1.02);
    opacity: 0.08;
  }
}

@keyframes firefly-glow {

  0%,
  100% {
    box-shadow: 0 0 6px rgba(255, 206, 84, 0.2),
      0 0 12px rgba(255, 206, 84, 0.4),
      0 0 20px rgba(255, 206, 84, 0.6);
  }

  50% {
    box-shadow: 0 0 10px rgba(255, 206, 84, 0.6),
      0 0 20px rgba(255, 206, 84, 0.8),
      0 0 30px rgba(255, 206, 84, 1);
  }
}

.element-1 {
  top: 10%;
  left: 20%;
}

.element-2 {
  top: 50%;
  left: 70%;
}

.element-3 {
  top: 80%;
  left: 40%;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}


