body.modal-open {
  overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff6b6b;
}

:root {
  --primary: #ff6b6b;
  --primary-dark: #e05a5a;
  --secondary: #4ecdc4;
  --accent: #ffe66d;
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --gray: #6c757d;
  --glass: rgba(255, 255, 255, 0.85);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-outline {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 107, 107, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
}

@media (min-width: 768px) {
  .cursor-dot,
  .cursor-outline {
    opacity: 1;
  }

  body {
    cursor: none;
  }
}

/* --- Header / Nav --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  z-index: 998;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

nav.scrolled {
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.logo img {
  width: 180px;
  height: auto;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  padding: 200px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5%;
  max-width: 1000px;
}

.hero-tag {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 40px;
  color: white;
  margin-bottom: 30px;
  line-height: 1.1;
  font-weight: 800;
  max-width: 1000px;
}

.hero-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 650px;
}

.hero-promo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-promo-card img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  text-align: center;
  padding: 10px 20px;
  border: 2px solid white;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* --- Section Intro --- */
.section-intro {
  padding: 100px 8% 10px;
  text-align: center;
}

.section-intro h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.highlight {
  color: var(--primary);
  position: relative;
}

/* --- Tabbing System --- */
.tab-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px 5%;
  margin-bottom: 40px;
}

.tab-nav {
  background: white;
  padding: 10px;
  border-radius: 20px;
  display: flex;
  gap: 10px;
  box-shadow: var(--shadow);
}

.tab-btn {
  border: none;
  background: none;
  padding: 15px 30px;
  font-weight: 700;
  border-radius: 15px;
  font-size: 16px;
  cursor: pointer;
  color: var(--gray);
  transition: 0.3s;
}

.tab-btn.active {
  background: var(--primary);
  color: white;
}

.tab-pane {
  display: none;
  padding: 0 5% 80px;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.tab-pane.active {
  display: grid;
}

@media (max-width: 1200px) {
  .tab-pane {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .tab-pane {
    grid-template-columns: 1fr;
  }

  .tab-nav {
    flex-direction: column;
    width: 100%;
  }
}

/* --- Promo Card --- */
.promo-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.promo-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.promo-image-container {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.promo-img {
  width: 100%;
  height: 100%;
  transition: 0.6s;
}

.promo-card:hover .promo-img {
  transform: scale(1.1);
}

.promo-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  z-index: 2;
}

.promo-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.promo-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.promo-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.promo-body p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 15px;
}

.promo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

/* --- MODAL UPDATED WITH VERTICAL TABS --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-container {
  background: white;
  width: 100%;
  max-width: 900px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.modal-header-banner {
  width: 100%;
  height: 200px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header-banner img {
  height: 80%;
  object-fit: contain;
}

.modal-main {
  display: flex;
  flex-grow: 1;
  overflow: hidden;
}

/* Sidebar Tabs */
.modal-sidebar {
  width: 200px;
  border-right: 1px solid #eee;
  background: #fcfcfc;
  padding: 20px 10px;
  overflow-y: auto;
}

.merchant-tab {
  width: 100%;
  padding: 12px 15px;
  text-align: left;
  border: none;
  background: none;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 8px;
  transition: 0.3s;
  color: var(--gray);
  font-size: 0.9rem;
}

.merchant-tab.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Content Area */
.modal-body {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
}

.modal-body h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.merchant-desc {
  color: var(--gray);
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.tnc-section h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 15px;
}

.tnc-content {
  font-size: 0.95rem;
}

.tnc-content ul {
  padding-left: 18px;
}

.tnc-content li {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .modal-main {
    flex-direction: column;
  }

  .modal-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 10px;
    padding: 15px;
  }

  .merchant-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    white-space: nowrap;
    width: auto;
  }

  .modal-header-banner {
    height: 150px;
  }
}

/* Start Site Footer Section */
.site-footer-section {
  padding: 20px;
  background-color: #d32f2f;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-left: 4%;
  padding-right: 4%;
  margin: 0 auto;
  align-items: center;
}

.site-footer-content p {
  font-size: 14px;
  color: white;
}

@media screen and (max-width: 750px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-content {
    text-align: center;
  }
}
