:root {
  --primary-color: #396458;
  --secondary-color: #a8b5a2;
  --accent-color: #d8cbb8;
  --background-color: #f7f5f0;
  --text-color: #222222;
  --white: #ffffff;
  --text-primary: "Manrope", sans-serif;
  --text-secondary: "Space Grotesk", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--text-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* ========================================
   NAVBAR
======================================== */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background-color: #ffffff !important;
}

.navigation {
  width: 100%;
  height: 8dvh;
  min-height: 60px;
  padding: 10px 20px;
  background-color: #ffffff !important;
}

.navigation img {
  width: auto;
  height: 50px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar-brand button {
  padding: 0;
  border: none !important;
  background: transparent !important;
}

.nav-text {
  color: var(--primary-color) !important;
  text-decoration: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.desktop-nav .nav-hover {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text-color) !important;
  font-family: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.desktop-nav .nav-hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.desktop-nav .nav-hover:hover {
  color: var(--primary-color) !important;
}

.desktop-nav .nav-hover:hover::after {
  width: 100%;
}

.scroll-link {
  border: none !important;
  outline: none !important;
  background-color: transparent !important;
  cursor: pointer;
}

.nav-actions {
  display: flex !important;
  align-items: center;
  gap: 15px;
}

.nav-actions .nav-text {
  color: var(--primary-color) !important;
  cursor: pointer;
}

.nav-actions .bi-person-fill,
.nav-actions .bi-globe-asia-australia {
  color: var(--primary-color) !important;
}

.dropdown .dropdown-item:active {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.navbar-toggler {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none !important;
  background: transparent !important;
  color: var(--primary-color);
  font-size: 1.6rem;
  cursor: pointer;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ==================== NOTIFICATIONS ==================== */
.notification-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--primary-color);
  font-size: 1.3rem;
  cursor: pointer;
}

.notification-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #d9534f;
  color: #ffffff;
  font-family: var(--text-primary);
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
}

.notfication-badge:active {
  color: var(--primary-color);
}

.notification-dropdown {
  width: 360px;
  max-width: calc(100vw - 2rem);
  margin-top: 0.75rem !important;
  overflow: hidden;
  border: none;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Header */
.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #eeeeee;
}

.notification-header h6 {
  margin: 0;
  color: var(--text-color);
  font-family: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
}

.notification-header span {
  color: var(--primary-color);
  font-family: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Notification */
.notification-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: var(--text-color);
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.2s ease;
}

.notification-item:hover {
  background-color: #f7f5f0;
}

.notification-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-size: 0.9rem;
}

.notification-content {
  min-width: 0;
}

.notification-content strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.notification-content p {
  margin: 0;
  color: #666666;
  font-family: var(--text-primary);
  font-size: 0.72rem;
  line-height: 1.4;
}

.notification-content small {
  display: block;
  margin-top: 4px;
  color: #999999;
  font-family: var(--text-primary);
  font-size: 0.65rem;
}

/* Footer */
.notification-footer {
  padding: 0.85rem 1rem;
  text-align: center;
  background-color: #faf9f6;
}

.notification-footer a {
  color: var(--primary-color);
  font-family: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.notification-footer a i {
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.notification-footer a:hover i {
  transform: translateX(3px);
}

/* Mobile */
@media (max-width: 576px) {
  .notification-dropdown {
    position: fixed !important;
    top: 70px !important;
    right: 1rem !important;
    left: 1rem !important;
    width: auto;
    max-width: none;
    margin: 0 !important;
  }
}

/* ========================================
   MOBILE NAVIGATION
======================================== */

.mobile-nav {
  width: 280px;
  background-color: var(--background-color);
}

.mobile-nav .offcanvas-header {
  padding: 20px;
  border-bottom: 1px solid rgba(57, 100, 88, 0.12);
}

.mobile-nav .offcanvas-title {
  color: var(--primary-color);
  font-family: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
}

.mobile-nav .offcanvas-body {
  padding: 25px 20px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobile-nav-link {
  width: 100%;
  padding: 13px 0;
  border: none;
  background: transparent;
  color: var(--text-color);
  text-align: left;
  font-family: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.mobile-nav-link:hover {
  padding-left: 8px;
  color: var(--primary-color);
}

.mobile-language {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(57, 100, 88, 0.12);
}

.mobile-language-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--primary-color);
  font-family: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.mobile-language-title i {
  font-size: 1rem;
}

.mobile-language-options {
  display: flex;
  gap: 8px;
}

.mobile-language-option {
  padding: 7px 14px;
  border: 1px solid rgba(57, 100, 88, 0.1);
  border-radius: 20px;
  background-color: rgba(168, 181, 162, 0.15);
  color: #666666;
  font-family: var(--text-primary);
  font-size: 0.75rem;
  text-decoration: none;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.mobile-language-option:hover,
.mobile-language-option.active {
  background-color: var(--primary-color);
  color: var(--white);
}

/* ========================================
   ACTIVITY PAGE
======================================== */

.activity-page {
  padding-top: 8dvh;
  background-color: var(--background-color);
}

/* ========================================
   ACTIVITY HEADER
======================================== */

.activity-header {
  min-height: 32vh;
  padding: 3.5rem 1rem 2.5rem;
  display: flex;
  align-items: center;
  background-color: var(--background-color);
}

.activity-header .container {
  width: 100%;
}

.activity-header h1,
.browse-section h2,
.club-section h2,
.activity-cta h2 {
  color: var(--primary-color);
  font-family: var(--text-secondary);
}

.activity-header h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.1;
}

.activity-header-text {
  max-width: 600px;
  margin: 0 auto;
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.8;
}

.section-label {
  margin-bottom: 0.7rem;
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18rem;
}

/* ========================================
   DIVIDER
======================================== */

.activity-divider {
  width: min(550px, calc(100% - 40px));
  height: 1px;
  margin: 0 auto;
  background-color: var(--secondary-color);
  opacity: 0.3;
}

/* ========================================
   BROWSE ACTIVITIES
======================================== */

.browse-section {
  min-height: 68vh;
  padding: 3.5rem 0 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.browse-section h2,
.club-section h2,
.activity-cta h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

/* ========================================
   CREATE ACTIVITY
======================================== */

.browse-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.browse-heading h2 {
  margin-bottom: 0;
}

.create-activity-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--primary-color);
  border-radius: 2rem;
  background-color: var(--primary-color);
  color: var(--white);
  font-family: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.25s ease;
}

.create-activity-btn i {
  font-size: 0.85rem;
}

.create-activity-btn:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.create-activity-btn:active {
  transform: translateY(0);
}

.activity-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.5rem;
  margin-bottom: 2rem !important;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border: 1px solid #d2d8d0;
  border-radius: 2rem;
  background: transparent;
  color: #59645d;
  font-family: var(--text-primary);
  font-size: 0.85rem;
  transition: 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: #ffffff;
}

/* ========================================
   ACTIVITY CAROUSEL
======================================== */

.activity-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3.5rem;
  overflow: hidden;
}

.activity-carousel {
  display: flex;
  gap: 24px;
  width: 100%;
  transition: transform 0.45s ease;
}

.activity-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  background-color: #ffffff;
  color: var(--text-color);
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
  color: var(--text-color);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
}

.activity-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.activity-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover .activity-image img {
  transform: scale(1.04);
}

.activity-card-body {
  padding: 1.2rem;
}

.activity-category {
  color: var(--primary-color);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
}

.activity-card h3 {
  margin: 0.45rem 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.activity-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #777777;
  font-size: 0.76rem;
}

.activity-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.activity-info i {
  color: var(--primary-color);
}

/* ========================================
   CAROUSEL BUTTONS
======================================== */

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
  transition: 0.25s ease;
}

.carousel-btn:hover:not(:disabled) {
  background-color: var(--primary-color);
  color: #ffffff;
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* ========================================
   CAROUSEL INDICATORS
======================================== */

.carousel-indicators-custom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #cbd2ca;
  transition:
    width 0.25s ease,
    background-color 0.25s ease;
}

.carousel-dot.active {
  width: 20px;
  border-radius: 10px;
  background-color: var(--primary-color);
}

/* ========================================
   CLUB ACTIVITIES
======================================== */

.club-section {
  min-height: 100vh;
  padding-bottom: 4rem;
  overflow: hidden;
  background-color: #e7ece4;
}

.club-heading {
  max-width: 650px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.club-heading > p:last-child {
  color: #687269;
  line-height: 1.8;
}

/* ========================================
   CLUB CAROUSEL
======================================== */

.club-carousel-area {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.club-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.club-carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.club-carousel-track {
  display: flex;
  gap: 24px;
  width: 100%;
  transition: transform 0.45s ease;
}

.club-lock-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.club-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

/* ========================================
   CLUB LOGGED OUT STATE
======================================== */

.club-carousel-area:not(.logged-in) .club-carousel-track {
  opacity: 0.65;
  filter: none;
}

/* ========================================
   CLUB LOGGED IN STATE
======================================== */

.club-carousel-area.logged-in .club-carousel-track {
  width: 100%;
  animation: none;
  filter: none;
  opacity: 1;
}

.club-carousel-area.logged-in .club-card:hover {
  transform: translateY(-5px);
}

/* ========================================
   CLUB CAROUSEL BUTTONS
======================================== */

.club-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
  transition: 0.25s ease;
}

.club-carousel-btn:hover:not(:disabled) {
  background-color: var(--primary-color);
  color: #ffffff;
}

.club-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.club-carousel-prev {
  left: 10px;
}

.club-carousel-next {
  right: 10px;
}

.club-carousel-area:not(.logged-in) .club-carousel-btn {
  display: none;
}

/* ========================================
   MEMBERSHIP OVERLAY
======================================== */

.club-carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.72);
}

.club-carousel-area.logged-in .club-carousel-overlay {
  display: none;
}

.club-lock {
  width: min(90%, 380px);
  text-align: center;
}

.club-lock i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 1.35rem;
}

.club-lock h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
}

.club-lock p {
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 0.9rem;
}

.join-member-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: 2rem;
  background-color: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  transition: 0.25s ease;
}

.join-member-btn:hover {
  background-color: #2f5449;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ========================================
   JOIN CTA
======================================== */

.activity-cta {
  min-height: 45vh;
  padding: 5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-color);
  text-align: center;
}

.activity-cta .container {
  max-width: 700px;
}

.activity-cta h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

.activity-cta p:not(.section-label) {
  max-width: 600px;
  margin: 0 auto 1.8rem;
  color: #687269;
  font-size: 0.9rem;
  line-height: 1.8;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--primary-color);
  border-radius: 2rem;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 0.82rem;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.cta-btn i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.cta-btn:hover i {
  transform: translateX(4px);
}

/* ========================================
   FOOTER
======================================== */

.footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--text-primary);
  font-size: 0.72rem;
  text-align: center;
}

.footer p {
  margin: 0;
}

/* ========================================
   TABLET 769px - 991px
======================================== */

@media (min-width: 769px) and (max-width: 991px) {
  .activity-header {
    min-height: 30vh;
    padding: 3rem 1rem 2.5rem;
  }

  .browse-section {
    min-height: auto;
    padding: 3.5rem 0 4rem;
  }

  .activity-carousel-wrapper {
    padding: 0 3.5rem;
  }

  .activity-carousel {
    gap: 24px;
  }

  .activity-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .activity-image {
    height: 180px;
  }

  .club-section {
    min-height: auto;
    padding: 4rem 0 5rem;
  }

  .club-carousel-area {
    min-height: 400px;
  }

  .club-carousel-wrapper {
    padding: 0 3.5rem;
  }

  .club-carousel-track {
    gap: 24px;
  }

  .club-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

/* ========================================
   PHONE 768px AND BELOW
======================================== */

@media (max-width: 768px) {
  /* NAVBAR */

  #navbar {
    height: 64px;
  }

  .navigation {
    height: 64px;
    min-height: 64px;
    padding: 8px 15px;
  }

  .navigation img {
    height: 44px;
  }

  .navbar-toggler {
    display: flex !important;
    flex-shrink: 0;
  }

  .desktop-nav {
    display: none !important;
  }

  .desktop-language {
    display: none !important;
  }

  .navbar-brand {
    display: flex !important;
    align-items: center;
    margin-right: auto;
  }

  .navbar-brand .nav-text {
    display: block !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center;
    gap: 0 !important;
    margin-left: 10px;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-actions > .dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-actions .bi-person-fill {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--primary-color) !important;
    font-size: 1.3rem !important;
    line-height: 1;
  }

  /* PAGE */

  .activity-page {
    padding-top: 64px;
  }

  /* HEADER */

  .activity-header {
    min-height: auto;
    padding: 4rem 1.2rem 3rem;
  }

  .activity-header h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .activity-header-text {
    max-width: 500px;
    font-size: 0.82rem;
    line-height: 1.75;
  }

  .activity-divider {
    width: calc(100% - 50px);
  }

  /* BROWSE */

  .browse-section {
    min-height: auto;
    padding: 3.5rem 0 4rem;
  }

  .browse-section h2,
  .club-section h2,
  .activity-cta h2 {
    font-size: 2rem;
  }

  .browse-heading {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    text-align: center;
  }

  .create-activity-btn {
    padding: 0.7rem 1.15rem;
    font-size: 0.78rem;
  }

  .activity-filter {
    margin-top: 1.2rem;
    margin-bottom: 1.8rem !important;
    padding: 0 1rem;
    gap: 6px;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.76rem;
  }

  /* ACTIVITY CAROUSEL */

  .activity-carousel-wrapper {
    width: 100%;
    padding: 0 2.5rem;
    overflow: hidden;
  }

  .activity-carousel {
    width: 100%;
    gap: 18px;
  }

  .activity-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
  }

  .activity-image {
    height: 190px;
  }

  .activity-card-body {
    padding: 1.1rem;
  }

  .activity-card h3 {
    font-size: 1rem;
  }

  .activity-info {
    font-size: 0.72rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .carousel-prev {
    left: 5px;
  }

  .carousel-next {
    right: 5px;
  }

  /* CLUB */

  .club-section {
    min-height: auto;
    padding: 4rem 0 5rem;
  }

  .club-heading {
    margin-bottom: 2rem;
    padding: 0 1.2rem;
  }

  .club-heading > p:last-child {
    font-size: 0.82rem;
  }

  .club-carousel-area {
    min-height: 390px;
  }

  .club-carousel-wrapper {
    width: 100%;
    padding: 0 2.5rem;
  }

  .club-carousel-track {
    width: 100%;
    gap: 18px;
  }

  .club-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
  }

  .club-carousel-area:not(.logged-in) .club-carousel-track {
    filter: none;
    opacity: 0.65;
  }

  .club-lock {
    width: min(85%, 340px);
  }

  .club-lock i {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .club-lock h3 {
    font-size: 0.95rem;
  }

  .club-lock p {
    font-size: 0.82rem;
  }

  .club-carousel-btn {
    width: 38px;
    height: 38px;
  }

  .club-carousel-prev {
    left: 8px;
  }

  .club-carousel-next {
    right: 8px;
  }

  /* CTA */

  .activity-cta {
    min-height: auto;
    padding: 5rem 1.2rem;
  }

  .activity-cta p:not(.section-label) {
    font-size: 0.82rem;
    line-height: 1.75;
  }

  .cta-btn {
    padding: 0.75rem 1.3rem;
    font-size: 0.78rem;
  }

  /* FOOTER */

  .footer {
    padding: 0;
    font-size: 0.68rem;
  }
}

/* ========================================
   SMALL PHONE
======================================== */

@media (max-width: 576px) {
  .navigation {
    padding: 8px 12px;
  }

  .navigation img {
    height: 40px;
  }

  .navbar-brand .nav-text {
    font-size: 0.85rem;
  }

  .navbar-toggler {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  .nav-actions .bi-person-fill {
    font-size: 1.2rem !important;
  }

  .activity-header {
    padding: 3.5rem 1rem 2.5rem;
  }

  .activity-header h1 {
    font-size: 2.15rem;
  }

  .activity-header-text {
    font-size: 0.78rem;
  }

  .activity-carousel-wrapper {
    padding: 0 2.5rem;
  }

  .activity-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .activity-image {
    height: 175px;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
  }

  .carousel-prev {
    left: 3px;
  }

  .carousel-next {
    right: 3px;
  }

  .club-carousel-wrapper {
    padding: 0 2.5rem;
  }

  .club-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .club-carousel-area {
    min-height: 365px;
  }

  .club-lock {
    width: 88%;
  }
}

/* ========================================
   MOBILE ACCOUNT ICON
======================================== */

@media (max-width: 768px) {
  .nav-actions .desktop-language {
    display: none !important;
  }

  .nav-actions > .dropdown:not(.desktop-language) {
    display: block !important;
  }

  .nav-actions .bi-person-fill {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* ========================================
   CAROUSEL EDGE FADE
======================================== */

.activity-carousel-wrapper {
  position: relative;
}

.activity-carousel-wrapper::before,
.activity-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: 55px;
  pointer-events: none;
}

.activity-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--background-color),
    rgba(247, 245, 240, 0)
  );
}

.activity-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--background-color),
    rgba(247, 245, 240, 0)
  );
}

/* ========================================
   ACTIVE PAGE NAV LINK
======================================== */

.desktop-nav .nav-hover.active {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.desktop-nav .nav-hover.active::after {
  width: 100%;
}

.desktop-nav .nav-hover.active:hover {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.desktop-nav .nav-hover.disabled {
  cursor: default;
  pointer-events: none;
}

/* ======================================== CREATE ACTIVITY MODAL ======================================== */
.create-activity-modal {
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  max-height: calc(100dvh - 32px);
  background: var(--background-color);
  box-shadow: 0 28px 80px rgba(26, 60, 48, 0.22);
}
#createActivityModal .modal-dialog {
  max-height: calc(100dvh - 32px);
}
.create-activity-modal .modal-header {
  flex-shrink: 0;
  padding: 28px 34px 24px;
  border-bottom: 1px solid rgba(57, 100, 88, 0.1);
  background: linear-gradient(120deg, #ffffff, #edf3ed);
}
.modal-section-label {
  margin: 0 0 6px;
  color: var(--primary-color);
  font-family: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.create-activity-modal .modal-title {
  margin: 0;
  color: var(--text-color);
  font-family: var(--text-secondary);
  font-size: 1.8rem;
  font-weight: 700;
}
.modal-subtitle {
  margin: 6px 0 0;
  color: #777;
  font-size: 0.9rem;
}
.create-activity-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #a8b5a2 transparent;
  padding: 26px 34px 34px;
}
.create-activity-modal .modal-body::-webkit-scrollbar {
  display: block;
  width: 6px;
}
.create-activity-modal .modal-body::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: #a8b5a2;
}
.activity-step-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  font-family: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
}
.activity-step-title span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: var(--primary-color);
  color: white;
  font-family: var(--text-primary);
  font-size: .72rem;
}
.activity-details-step {
  padding-top: 22px;
  border-top: 1px solid #dfe6dc;
}
.activity-mode-picker {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}
.activity-mode-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.activity-mode-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 98px;
  padding: 17px;
  border: 1px solid #d9e2d9;
  border-radius: 16px;
  background: var(--white);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.activity-mode-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(57, 100, 88, .08);
}
.activity-mode-option:has(input:checked) {
  border-color: var(--primary-color);
  background: #eff5ef;
  box-shadow: inset 0 0 0 1px var(--primary-color);
}
.activity-mode-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.activity-mode-option::after {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border: 2px solid #aebcaf;
  border-radius: 50%;
  background: #fff;
}
.activity-mode-option:has(input:checked)::after {
  border-color: var(--primary-color);
  background: var(--primary-color);
  box-shadow: inset 0 0 0 4px #fff;
}
.activity-mode-option:has(input:focus-visible) {
  outline: 3px solid #83a890;
  outline-offset: 3px;
}
.activity-mode-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e7eee5;
  color: var(--primary-color);
  font-size: 1rem;
}
.activity-mode-option strong,
.activity-mode-option small {
  display: block;
}
.activity-mode-option strong {
  color: var(--primary-color);
  font-size: .9rem;
}
.activity-mode-option small,
.activity-preset-note {
  color: #66736a;
  font-size: 0.78rem;
  line-height: 1.5;
}
.activity-preset-field {
  margin-bottom: 28px;
}
.activity-preset-field[hidden],
.activity-preset-preview[hidden] {
  display: none;
}
.activity-preset-field > .form-select {
  min-height: 50px;
  border-radius: 12px;
  border-color: #d8e2d6;
}
.activity-preset-preview {
  display: block;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e0e8dd;
  border-radius: 16px;
  background: #fff;
}
.activity-preset-preview span {
  display: block;
  color: var(--primary-color);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.activity-preset-preview strong {
  display: block;
  margin-top: 4px;
  color: var(--text-color);
}
.activity-preset-preview p {
  margin: 2px 0 0;
  color: #66736a;
  font-size: .78rem;
}
.activity-preset-note {
  margin: 10px 0 0;
}
.activity-footer-hint {
  margin-right: auto;
  color: #68736b;
  font-size: .78rem;
}
.activity-footer-hint i {
  margin-right: 5px;
  color: var(--primary-color);
}
.create-activity-modal .form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-size: 0.82rem;
  font-weight: 700;
}
.form-input-wrapper {
  position: relative;
}
.form-input-wrapper > i {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--primary-color);
  pointer-events: none;
}
.form-input-wrapper .form-control,
.form-input-wrapper .form-select {
  min-height: 48px;
  padding-left: 43px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: var(--white);
  color: var(--text-color);
  font-family: var(--text-primary);
  font-size: 0.9rem;
  box-shadow: none;
}
.form-input-wrapper .form-control:focus,
.form-input-wrapper .form-select:focus,
.create-activity-modal textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(57, 100, 88, 0.1);
}
.create-activity-modal textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 14px 16px;
  resize: vertical;
  background: var(--white);
  color: var(--text-color);
  font-family: var(--text-primary);
  font-size: 0.9rem;
}
.create-activity-modal .modal-footer {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 34px 28px;
  border-top: 1px solid rgba(57, 100, 88, 0.1);
  background: var(--white);
}
.modal-cancel-btn,
.modal-create-btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-family: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  transition: 0.25s ease;
}
.modal-cancel-btn {
  border: 1px solid #ddd;
  background: var(--white);
  color: #666;
}
.modal-cancel-btn:hover {
  border-color: #bbb;
  background: #f7f7f7;
}
.modal-create-btn {
  border: 0;
  background: var(--primary-color);
  color: var(--white);
}
.modal-create-btn:hover {
  background: var(--dark-green);
  transform: translateY(-1px);
}
@media (max-width: 576px) {
  .activity-mode-options {
    grid-template-columns: 1fr;
  }
  .activity-footer-hint {
    width: 100%;
    text-align: center;
  }
  .create-activity-modal .modal-header,
  .create-activity-modal .modal-body,
  .create-activity-modal .modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .create-activity-modal .modal-title {
    font-size: 1.5rem;
  }
  .create-activity-modal .modal-footer {
    flex-direction: column-reverse;
  }
  .modal-cancel-btn,
  .modal-create-btn {
    width: 100%;
  }
}

/* ======================================== CLUB ACTIVITY CARD ======================================== */
.activity-card {
  position: relative;
}
.activity-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.delete-activity-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #777;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: 0.25s ease;
}
.delete-activity-btn:hover {
  background: #fff;
  color: #b94a48;
}
.delete-activity-btn:active {
  transform: scale(0.95);
}

/* ======================================== DELETE ACTIVITY BUTTON ======================================== */
.activity-card {
  position: relative;
}
.activity-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.delete-activity-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #777;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: 0.25s ease;
}
.delete-activity-btn:hover {
  background: #fff;
  color: #b94a48;
}
.delete-activity-btn:active {
  transform: scale(0.95);
} /* ======================================== DELETE ACTIVITY MODAL ======================================== */
.delete-activity-modal {
  border: 0;
  border-radius: 22px;
  padding: 30px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 20px 60px rgba(34, 34, 34, 0.18);
}
.delete-modal-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #f8e9e8;
  color: #b94a48;
  font-size: 1.2rem;
}
.delete-modal-content h3 {
  margin: 0 0 8px;
  color: var(--text-color);
  font-family: var(--text-secondary);
  font-size: 1.25rem;
  font-weight: 700;
}
.delete-modal-content p {
  margin: 0;
  color: #777;
  font-size: 0.88rem;
  line-height: 1.6;
}
.delete-modal-content strong {
  color: var(--text-color);
  font-weight: 700;
}
.delete-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}
.delete-cancel-btn,
.delete-confirm-btn {
  flex: 1;
  min-height: 44px;
  border-radius: 10px;
  font-family: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  transition: 0.25s ease;
}
.delete-cancel-btn {
  border: 1px solid #ddd;
  background: var(--white);
  color: #666;
}
.delete-cancel-btn:hover {
  background: #f7f7f7;
  border-color: #ccc;
}
.delete-confirm-btn {
  border: 0;
  background: #b94a48;
  color: var(--white);
}
.delete-confirm-btn:hover {
  background: #9f3d3b;
}
@media (max-width: 576px) {
  .delete-activity-modal {
    margin: 15px;
    padding: 25px 20px;
  }
}

  /* ========================================
   ACTIVITY TOAST
======================================== */
.activity-toast {
  min-width: 340px;
  max-width: 400px;
  border: 0;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(34,34,34,.16);
  overflow: hidden;
}
.activity-toast .toast-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}
.activity-toast-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
}
.activity-toast-icon.success {
  color: var(--primary-color);
}
.activity-toast-icon.error {
  color: #b94a48;
}
.activity-toast-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}
.activity-toast-text strong {
  color: var(--text-color);
  font-family: var(--text-secondary);
  font-size: .88rem;
  font-weight: 700;
}
.activity-toast-text span {
  color: #777;
  font-size: .78rem;
  line-height: 1.4;
}
.activity-toast .btn-close {
  flex-shrink: 0;
  margin: 0;
  padding: 6px;
  font-size: .65rem;
  box-shadow: none;
}
@media (max-width: 576px) {
  .toast-container {
    width: 100%;
    padding: 15px !important;
  }
  .activity-toast {
    min-width: 0;
    width: 100%;
  }
}
