:root {
  --primary: #ff0000;
  --primary-dark: #8b0000;
  --accent: #ffffff;
  --bg-dark: #050505;
  --bg-card: #0f0f0f;
  --gold: #ffd700;
  --silver: #c0c0c0;
  --bronze: #cd7f32;
  --gradient-red: linear-gradient(135deg, #ff0000 0%, #4a0000 100%);
  --shadow-red: 0 0 25px rgba(255, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg-dark);
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.den-title {
  font-family: "Black Ops One", cursive;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

/* --- UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  /* margin-bottom: 60px; */
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  /* margin-bottom: 10px; */
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
  font-family: "Black Ops One", cursive;
}

.section-subtitle {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 4px;
  display: block;
}

.highlight {
  color: var(--primary);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  background: transparent;
  color: #fff;
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
}

.btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--primary);
  top: 0;
  left: -100%;
  z-index: -1;
  transition: 0.4s;
}

.btn:hover::after {
  left: 0;
}

.btn:hover {
  color: #000;
  box-shadow: var(--shadow-red);
  border-color: var(--primary);
}

.btn-filled {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.btn-filled::after {
  background: #fff;
}

/* --- NAVIGATION --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    transparent 100%
  );
  transition: 0.4s;
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.98);
  padding: 12px 0;
  border-bottom: 2px solid var(--primary);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-family: "Black Ops One", cursive;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo i {
  color: var(--primary);
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
}

/* --- HERO --- */
.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9)),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1470&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-content {
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 0.9;
  margin-bottom: 20px;
  font-family: "Black Ops One", cursive;
}

.hero-content h1 span {
  color: var(--primary);
  display: block;
}

.hero-tagline {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #ccc;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- STATS --- */
.stats-bar {
  background: #000;
  padding: 40px 0;
  border-bottom: 1px solid #222;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  color: var(--primary);
  font-size: 2.8rem;
  margin-bottom: 5px;
}

.stat-item p {
  font-weight: 600;
  font-size: 0.9rem;
  color: #888;
}

/* --- ABOUT US --- */
.about-section {
  background: #080808;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  position: relative;
  border: 2px solid var(--primary);
  padding: 15px;
}

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

.about-img::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 5px solid var(--primary);
  border-left: 5px solid var(--primary);
}

/* --- COACH SECTION --- */
.coach-section {
  background: linear-gradient(to bottom, #050505, #150000);
  border-top: 1px solid #333;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.medal-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #222;
  padding: 30px;
  text-align: center;
  transition: 0.3s;
}

.medal-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  background: rgba(255, 0, 0, 0.05);
}

.medal-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.gold {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.silver {
  color: var(--silver);
}

.bronze {
  color: var(--bronze);
}

/* --- LEGACY LIST --- */
.legacy-section {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border: 1px solid #222;
  border-radius: 8px;
}

.legacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.legacy-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: #ccc;
  font-size: 0.95rem;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 8px;
}

.legacy-list li::before {
  content: "\f091";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.8rem;
}

.legacy-list .highlight-year {
  color: var(--primary);
  font-weight: 700;
  margin-right: 5px;
}

.sponsored-badge {
  background: #fff;
  color: #000;
  padding: 10px 25px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-weight: 800;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 90% 100%, 0 100%);
  margin-top: 30px;
}

.sponsored-badge span {
  color: var(--primary);
}

.sponsored-badge img {
  height: 35px;
  max-width: 100%;
}

/* 🔥 Mobile Fix */
@media (max-width: 480px) {
  .sponsored-badge {
    flex-direction: column;  /* stack layout */
    gap: 6px;
    padding: 8px 12px;
    font-size: 12px;

    clip-path: none; /* 🔥 shape remove (warna tootega) */
  }

  .sponsored-badge img {
    height: 25px;
  }
}

/* --- HALL OF GAINS (TRANSFORMATIONS) --- */
.transformation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.trans-card {
  background: #111;
  border: 1px solid #222;
  overflow: hidden;
  transition: 0.4s;
}

.trans-card:hover {
  border-color: var(--primary);
}

.trans-img {
  width: 100%;
  height: 400px;
  background-color: #1a1a1a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-weight: 700;
  text-transform: uppercase;
}

.trans-img::after {
  content: "TRANSFORMATION PHOTO";
  position: absolute;
}

.trans-content {
  padding: 25px;
  text-align: center;
}

.trans-name {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.trans-stats {
  color: #888;
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- DEN RULES --- */
.rules-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95)),
    url("https://images.unsplash.com/photo-1541534741688-6078c6bfb5c5?q=80&w=1469&auto=format&fit=crop");
  background-attachment: fixed;
  background-size: cover;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.rule-item {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #333;
  padding: 30px;
  text-align: center;
  border-top: 4px solid var(--primary);
}
.rule-item:hover {
  border-color: var(--primary);
  background: rgba(24, 12, 12, 0.1);
  
  transform: translateY(-10px);

}   

.rule-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.rule-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.rule-item p {
  font-size: 0.85rem;
  color: #888;
}

/* --- OUR ARSENAL (EQUIPMENT) --- */
.arsenal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.arsenal-list {
  list-style: none;
}

.arsenal-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.arsenal-list li i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 5px;
}

.arsenal-list h4 {
  margin-bottom: 5px;
  color: #fff;
}

.arsenal-list p {
  font-size: 0.9rem;
  color: #888;
}

/* --- SPECIALIZED PROGRAMS --- */
.program-card {
  background: #000;
  border: 1px solid #222;
  padding: 40px;
  transition: 0.4s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program-card:hover {
  border-color: var(--primary);
  background: #080000;
}

.program-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* --- FAQ --- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #222;
  background: #111;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-question i {
  transition: 0.3s;
  color: var(--primary);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease-out;
  color: #888;
  font-size: 0.9rem;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px 20px;
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* --- CERTIFICATES --- */
.certificates-section {
  background: #0a0a0a;
  border-top: 1px solid #222;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.cert-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
  transition: 0.4s;
  position: relative;
}

.cert-card:hover {
  border-color: var(--primary);
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.cert-img-wrapper {
  width: 100%;
  height: 200px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 2px solid #222;
}

.cert-img-wrapper i {
  font-size: 4rem;
  color: #333;
  transition: 0.4s;
}

.cert-card:hover .cert-img-wrapper i {
  color: var(--primary);
  transform: rotate(10deg);
}

.cert-content {
  padding: 20px;
  text-align: center;
}

.cert-title {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #fff;
}

.cert-issuer {
  font-size: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

/* --- CONTACT --- */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #000;
  border: 1px solid #222;
}

.contact-info {
  padding: 60px;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 450px;
  /* filter: grayscale(1) invert(1); */
  border: none;
}

/* --- FOOTER --- */
footer {
  background: #000;
  padding: 80px 0 20px;
  border-top: 2px solid var(--primary-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-col p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #888;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: #888;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 4px;
}

.social-row {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-row a {
  width: 40px;
  height: 40px;
  background: #111;
  border: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: 0.3s;
}

.social-row a:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-5px);
}

.copyright-bar {
  border-top: 1px solid #111;
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #444;
  font-size: 0.8rem;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
  text-decoration: none;
  transition: 0.5s;
}

.whatsapp-float:hover {
  background-color: #03fb66;
  transform: scale(1.8);
}

/* --- MODAL --- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: #111;
  border: 2px solid var(--primary);
  padding: 40px;
  width: 90%;
  max-width: 450px;
  position: relative;
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  
  background: #000;
  border: 1px solid #333;
  color: #fff;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- MOBILE CTA --- */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  border-top: 2px solid var(--primary);
  padding: 15px;
  z-index: 999;
  display: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: #000;
    flex-direction: column;
    padding: 100px 40px;
    transition: 0.5s;
    border-left: 2px solid var(--primary);
         .price-card.featured { transform: scale(1); margin: 0; }
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

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

  .mobile-cta {
    display: block;
  }

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

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

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

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .copyright-bar {
    flex-direction: column;
    /* gap: 10px; */
    text-align: center;
    /* padding-bottom: 20px; */
    margin-bottom: 90px;
  }
}

.about-img video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* Optional: subtle border around video itself */
  border: 1px solid #222;
}

.toggel {
  display: flex;
  justify-content: end;
  padding: 20px;
}


     /* --- PRICING SLIDER SYSTEM --- */
        .pricing-toggle {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-bottom: 40px;
        }

        .toggle-btn {
            background: #111;
            border: 2px solid #333;
            color: #888;
            padding: 10px 25px;
            font-family: "Oswald", sans-serif;
            cursor: pointer;
            transition: 0.3s;
            font-weight: 700;
        }

        .toggle-btn.active {
            background: var(--primary);
            color: #000;
            border-color: var(--primary);
        }

        .plans-slider-container {
            overflow-x: auto;
            padding-bottom: 20px;
            scrollbar-width: thin;
            scrollbar-color: var(--primary) #111;
        }

        .plans-slider-container::-webkit-scrollbar { height: 6px; }
        .plans-slider-container::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

        .plans-grid {
            display: flex;
            gap: 20px;
            min-width: max-content;
        }

        .price-card {
            background: #000;
            border: 1px solid #222;
            padding: 40px 30px;
            width: 300px;
            text-align: center;
            position: relative;
            transition: 0.4s;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .price-card:hover {
            border-color: var(--primary);
            background: #0a0000;
            transform: translateY(-5px);
        }

        .price-card.featured {
            border: 2px solid var(--primary);
            background: #110000;
            transform: scale(1.05);
            z-index: 2;
        }

        .badge {
            position: absolute;
            top: 0; left: 50%;
            transform: translate(-50%, -50%);
            background: var(--primary);
            color: #000;
            padding: 4px 15px;
            font-size: 0.75rem;
            font-weight: 800;
            font-family: "Oswald", sans-serif;
        }

        .plan-name { font-size: 1.4rem; margin-bottom: 15px; color: #fff; }
        .price-main { font-size: 3rem; color: var(--primary); font-family: 'Oswald'; line-height: 1; }
        .price-regular { font-size: 1.1rem; color: #555; text-decoration: line-through; margin-top: 5px; display: block; }
        .price-sub { font-size: 0.9rem; color: #555; }
        
        .plan-features { margin: 25px 0; text-align: left; }
        .plan-features li { margin-bottom: 10px; color: #888; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
        .plan-features li i { color: var(--primary); font-size: 0.8rem; }



        /* --- POWER GRID GALLERY --- */
        .gym-equipment { background: #080808; text-align: center; }
        .gallery-container {
            display: none; /* Hidden until button clicked */
            padding: 20px;
            max-width: 1400px;
            margin: 40px auto 0;
            column-count: 4;
            column-gap: 15px;
            animation: slideInUp 0.6s ease-out forwards;
        }

         @media (max-width: 1100px) { .gallery-container { column-count: 3; } }
        @media (max-width: 768px) { .gallery-container { column-count: 2; } }
        @media (max-width: 480px) { .gallery-container { column-count: 1; } }

        .gallery-item {
            break-inside: avoid;
            margin-bottom: 15px;
            position: relative;
            cursor: pointer;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            background: #111;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: 0 0 25px rgba(255, 0, 0, 0.3);
        }

        .gallery-item img, .gallery-item video {
            width: 100%;
            display: block;
            object-fit: cover;
            filter: grayscale(40%);
            transition: 0.4s ease;
        }

        .gallery-item:hover img, .gallery-item:hover video { filter: grayscale(0%); }

        .item-overlay {
            position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(255, 0, 0, 0.7)); opacity: 0; transition: 0.3s; display: flex; align-items: flex-end; padding: 15px; font-weight: bold; font-size: 0.8rem; text-transform: uppercase;
        }

        .gallery-item:hover .item-overlay { opacity: 1; }

        .video-indicator {
            position: absolute; top: 10px; right: 10px; background: var(--primary); border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; z-index: 10;
        }

        /* --- MODAL --- */
        .modal {
            /* position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.95); display: none; justify-content: center; align-items: center; z-index: 2000; padding: 20px; backdrop-filter: blur(15px); opacity: 0; transition: opacity 0.3s; */
        }

        .modal.active { display: flex; opacity: 1; }

        .modal-content {
            position: relative; max-width: 100%; max-height: 90vh; transform: scale(0.9); transition: 0.3s;
        }

        .modal.active .modal-content { transform: scale(1); }

        .modal-content img, .modal-content video {
            max-width: 100%; max-height: 80vh; border: 2px solid var(--primary); box-shadow: 0 0 50px rgba(255, 0, 0, 0.2);
        }

        .close-btn {
            position: absolute; top: -20px; right: -20px; width: 44px; height: 44px; background-color: var(--primary); color: white; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; z-index: 2001;
        }

        @keyframes slideInUp {
            from { transform: translateY(50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }