/* --- 0. Global Reset and Variables --- */
:root {
  --primary-background-color: #020111;
  --secondary-background-color:#05031ef5;

  /* --primary-background-color: #fafafa;
  --secondary-background-color:#f3f4f6; */




  /* Dark background purple */
  --secondary-purple: #2d1647;
  /* Slightly lighter purple */
  --tertiary-purple: #3d2159;
  /* Another variation for accents */
  --accent-green: #4CAF50;
  /* Free games accent */
  --accent-gold: #5e4600;
  /* Premium games accent */
  --text-light: #ffffff;
  --text-accent: #ffcc00;
  /* Gold/yellow accent */
  --text-muted: #aaaaaa;
  --card-radius: 12px;
  --text-white: rgba(255, 255, 255, 0.9);
}

:root {
  /* GameVault specific CSS variables with unique prefix */
  --gv-primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gv-secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gv-dark-bg: #0a0e27;
  --gv-card-bg: rgba(255, 255, 255, 0.05);
  --gv-text-primary: #ffffff;
  --gv-text-secondary: #ffffff;
  --gv-accent-gold: #ffd700;
  --gv-accent-purple: #764ba2;
  --gv-success: #4ade80;
  --gv-danger: #f87171;
}

.cash-badge{
  background-color: var(--gv-accent-gold);
  color: white;
  font-size: 9px;
}

.voucher-badge{
  background-color:  var(--gv-accent-gold);
    color: white;
  font-size: 9px;
}

.airtime-badge{
  background-color: #0AEAF2;
    color: white;
  font-size: 9px;
}

.credits-badge{
  background-color:   #f5576c;
    color: white;
  font-size: 9px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif
}

.app-container {
  /* MOBILE-FIRST: Constrained to a typical mobile width */
  width: 100%;
  max-width: 450px;
  background-color: var(--primary-background-color);
  padding-bottom: 70px;
  /* Space for the fixed bottom nav */
  overflow-x: hidden;
}

.gv-credits-display-mobile {
  display: none;
}

/* --- 1. Creative Header/Navigation Bar --- */
.header {
  background: linear-gradient(135deg, var(--primary-background-color) 0%, var(--primary-background-color) 50%, var(--primary-background-color) 100%);
  padding: 15px 15px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
  ;
  font-size: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  ;
  border-radius: 5px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.logo-text {
  font-size: 15px;
  font-weight: 600;
  background: lightcyan;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.notification-icon {
  position: relative;
  width: 35px;
  height: 34.5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  margin-left: 11px;
}

.notification-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.notification-icon i {
  font-size: 18px;
  color: var(--text-accent);
}

.notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #ff4757;
  border-radius: 50%;
  border: 2px solid var(--primary-background-color);
}

.profile-image-container {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 2px solid var(--text-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-image-container:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
}

.header-wallet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(255 255 255 / 11%);
  border-radius: 5px;
  padding: 12px 15px;
  backdrop-filter: blur(10px);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
}

.wallet-credits {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.credits-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(245, 87, 108, 0.4);
}

.credits-icon i {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.credits-info {
  display: flex;
  flex-direction: column;
}

.credits-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.credits-amount {
  font-size: 12px;
  ;
  font-weight: bold;
  color: var(--text-accent);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.add-credits-btn {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  color: var(--text-white);
  font-weight: 500;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
  transition: all 0.3s ease;
}

.add-credits-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4);
}

.add-credits-btn i {
  font-size: 12px;
}

/* --- 2. Clean Main Banner (Challenge/Announcement) --- */
.main-banner {
  position: relative;
  margin: 15px;
  border-radius: 5px;
  overflow: hidden;
  /* background: linear-gradient(135deg, var(--primary-background-color) 0%, #2d1647 50%, #3d2159 100%); */
  background-image: linear-gradient(135deg,
      #272d52,
      #1a1f3a);
  background-size: cover;
  background-position: center;
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
}

.banner-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 8%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 8%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 6%),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 6%); */
  background-size: 20px 20px, 25px 25px, 15px 15px, 30px 30px;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: 15px 15px;
  color: white;
}

.banner-header {
  margin-bottom: 20px;
}

/* Brand Details - Redesigned */
.brand-details {
  display: flex;
  align-items: stretch;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  border-radius: 5px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
 
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.brand-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 253, 230, 0.1), transparent);
  transition: left 0.6s ease;
}

.brand-details:hover::before {
  left: 100%;
}

/* Brand Details - Compact Variant (used by BrandDetails.jsx) */
.brand-details.brand-details-compact {
  padding: 14px;
  gap: 12px;
  border-radius: 5px;
  /* border: 1px solid rgba(255, 255, 255, 0.14); */
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  background: var(--gv-dark-bg, rgba(255, 255, 255, 0.12));
}

.brand-details.brand-details-compact:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.brand-details.brand-details-compact .brand-logo img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  border: 1px solid rgba(255, 253, 230, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.brand-details.brand-details-compact .brand-message {
  font-size: 11px;
  line-height: 1.25;
  margin-bottom: 0;
}

.brand-details.brand-details-compact .brand-bottom {
  gap: 10px;
}

.brand-details.brand-details-compact .brand-action {
  text-transform: none;
  letter-spacing: 0.2px;
  border-radius: 5px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.95), rgba(69, 160, 73, 0.92));
}

.brand-details.brand-details-compact .brand-action:hover {
  transform: translateY(-1px);
}

.brand-details.brand-details-compact .ad-tag {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.6px;
  box-shadow: 0 6px 18px rgba(238, 90, 36, 0.35);
}

/* Desktop-specific brand details improvements */
@media (min-width: 769px) {
  .brand-details {
    margin: 0 auto;
    background: linear-gradient(135deg, hsla(0, 0%, 100%, 0.18), rgba(255, 255, 255, 0.1));
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    padding: 24px;
    gap: 20px;
  }
  
  .brand-logo img {
    width: 70px;
    height: 70px;
    border: 3px solid rgba(255, 253, 230, 0.95);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    border-radius: 8px;
  }
  
  .brand-details:hover .brand-logo img {
    transform: scale(1.05);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  }
  
  .brand-message {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
  }
  
  .brand-action {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    border-radius: 6px;
    letter-spacing: 0.3px;
  }
  
  .brand-action:hover {
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6);
  }
  
  .ad-tag {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.6px;
  }
  
  .brand-info {
    gap: 16px;
  }
  
  .brand-top {
    gap: 16px;
  }
  
  .brand-bottom {
    gap: 12px;
    margin-top: 8px;
  }
}

.ad-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
  z-index: 10;
  animation: pulse 2s infinite;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.brand-logo img {
  width: 90px;
  height: 90px;
  border-radius: 5px;
  object-fit: cover;
  border: 2px solid rgba(255, 253, 230, 0.9);
  border: 1px solid rgba(255, 253, 230, 0.2);
  transition: all 0.3s ease;
  align-self: center;
}

.brand-details:hover .brand-logo img {
  transform: scale(1.05);
  border-color: rgba(255, 253, 230, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  position: relative;
  z-index: 2;
  height: 100%;
  justify-content: space-between;
}

.brand-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.brand-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.brand-message {
  color: rgba(255, 255, 255, 0.98);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 4px;
}

.brand-subtitle {
  color: rgba(255, 253, 230, 0.85);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.brand-link {
  color: rgba(255, 253, 230, 0.95);
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.brand-link:hover {
  color: rgba(255, 253, 230, 1);
  text-decoration: underline;
  transform: translateX(2px);
}

.brand-link::after {
  content: '→';
  font-size: 10px;
  transition: transform 0.2s ease;
}

.brand-link:hover::after {
  transform: translateX(2px);
}

.brand-link-inline {
  color: rgba(255, 253, 230, 0.95);
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.brand-link-inline:hover {
  color: rgba(255, 253, 230, 1);
  text-decoration: underline;
  transform: translateX(2px);
}

.brand-link-inline::after {
  content: '→';
  font-size: 10px;
  transition: transform 0.2s ease;
}

.brand-link-inline:hover::after {
  transform: translateX(2px);
}

.brand-promo {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 3px 8px rgba(238, 90, 36, 0.4);
  animation: pulse 2s infinite;
  position: relative;
  overflow: hidden;
}

.brand-promo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.brand-promo:hover::before {
  left: 100%;
}

.brand-action {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.brand-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.brand-action:hover::before {
  left: 100%;
}

.brand-action:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.5);
}

.ad-tag {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
  animation: pulse 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
}

.banner-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.banner-sponsor {
  background: rgba(102, 126, 234, 0.1);
  backdrop-filter: blur(5px);
  padding: 6px 12px;
  border-radius: 0px;
  height: 65px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
  text-align: center;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  margin-right: 6px;
}

.banner-sponsor i {
  font-size: 14px;
  color: var(--text-accent);
}

.banner-prize {
  background: rgba(102, 126, 234, 0.1);
  padding: 10px 15px;
  height: 65px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 5px;
  text-align: center;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.banner-prize i {
  font-size: 16px;
}

.banner-title {
  font-size: 15px;
  /* font-weight: 600; */
  margin-bottom: 12px;
  line-height: 1.2;
  color: #ffffff;
}

.banner-description {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  /* font-weight: 500; */
}

.banner-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.banner-timer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


.countdown {
  display: flex;
  gap: 8px;
}

.countdown-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 8px 10px;
  min-width: 45px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-accent);
  line-height: 1;
  margin-bottom: 2px;
}

.countdown-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.join-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

/* --- 3. Beautiful Compact Game Sections --- */
.game-section {
  padding: 20px 0 10px;
}

.section {
  padding: 20px 0 10px;
}

.winners-section {
  padding: 20px 0px 10px;
  margin-top: 10px;
}

.leaderboard-section {
  padding: 20px 0px 10px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 0 0;
}

.section-header h3 {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-white);
  font-weight: 600;
}

.section-header i {
  color: var(--text-accent);
}

.view-all {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.view-all button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  padding: 0;
  cursor: pointer;
}

.view-all i {
  font-size: 0.8rem;
  margin-left: 5px;
  color: var(--text-muted);
}

/* MOBILE: Horizontal Scroll for cards */
.game-cards-row {
  display: flex;
  gap: 12px;
  overflow-x: scroll;
  padding: 0 15px 10px 15px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.section-body {
  display: flex;
  gap: 12px;
  overflow-x: scroll;
  padding: 0 15px 10px 15px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.game-cards-row::-webkit-scrollbar {
  display: none;
}

.section-body::-webkit-scrollbar {
  display: none;
}

.game-card {
  flex: 0 0 100px;
  height: 140px;
  border-radius: 5px;
  background: linear-gradient(135deg, #2d1647 0%, var(--primary-background-color) 100%);
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);

}

.game-card-top {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
}

.game-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  display: none;
}

.game-icon i {
  font-size: 18px;
  color: var(--text-white);
}

.game-badge {
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.badge-free {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: var(--text-white);
}

.badge-premium {
  background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
  color: var(--primary-background-color);
}

.game-card-bottom {
  z-index: 2;
}

.game-card h4 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-white);
  line-height: 1.2;
}

.game-card p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.game-card-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 15%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 15%);
  z-index: 1;
}

/* Specific Game Card Colors */
.game-card-1 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../assets/snake.jpeg") no-repeat center center / cover;
}

.game-card-2 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../assets/CandyCrush.jpeg") no-repeat center center / cover;
}

.game-card-3 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../assets/2048.jpeg") no-repeat center center / cover;
}

.game-card-4 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../assets/hangman.jpeg") no-repeat center center / cover;
}

.game-card-5 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../assets/solitataire.jpeg") no-repeat center center / cover;
}

.game-card-6 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../assets/pacman.jpeg") no-repeat center center / cover;
}

/* --- 4. Challenges Section --- */
.challenge-card {
  flex: 0 0 100px;
  height: 140px;
  border-radius: 5px;
  background: linear-gradient(135deg, #3d2159 0%, #2d1647 100%);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.challenge-card h4 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-white);
  line-height: 1.2;
}

.challenge-card p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Challenge Card Colors */
.challenge-card-1 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../assets/bg-2.jpg") no-repeat center center / cover;
}

.challenge-card-2 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../assets/bg-4.jpg") no-repeat center center / cover;

}

.challenge-card-3 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../assets//challenge.PNG") no-repeat center center / cover;

}

.challenge-card-4 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../assets/solitataire.jpeg") no-repeat center center / cover;

}

.challenge-card-5 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../assets/snakechallenge.PNG") no-repeat center center / cover;

}

.challenge-card-6 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../assets/flame.png") no-repeat center center / cover;
}

/* --- 5. Compact Leaderboard Section --- */
.leaderboard-section {
  padding: 20px 15px 10px;
}

.leaderboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 5px;
}

.leaderboard-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.leaderboard-title i {
  color: var(--text-accent);
  font-size: 22px;
}

.tabs {
  display: flex;
  margin-bottom: 20px;
  background: rgb(255 255 255 / 11%);
  border-radius: 5px;
  padding: 4px;
  backdrop-filter: blur(10px);
}

.tab {
  flex: 1;
  padding: 12px 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 5px;
  text-align: center;
  transition: all 0.3s ease;
}

.tab.active {
  background: rgba(102, 126, 234, 0.1);
  color: var(--text-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leaderboard-item {
  background: rgb(207 216 251 / 10%);
  border-radius: 5px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  transition: all 0.3s ease;
}

.leaderboard-item:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.leaderboard-item.current-usesr {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 152, 0, 0.2) 100%);
}

.rank-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 14px;
  margin-right: 12px;
  position: relative;
  flex-shrink: 0;
}

.rank-1 {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: var(--primary-background-color);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.rank-2 {
  background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
  color: var(--text-white);
  box-shadow: 0 0 12px rgba(192, 192, 192, 0.3);
}

.rank-3 {
  background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
  color: var(--text-white);
  box-shadow: 0 0 12px rgba(205, 127, 50, 0.3);
}

.rank-other {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 12px;
}

.rank-badge i {
  position: absolute;
  top: -3px;
  right: -3px;
  font-size: 10px;
  color: var(--text-accent);
}

.player-info {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 10px;
  color: var(--text-white);
  position: relative;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.player-avatar.crown {
  border-color: var(--accent-gold);
}

.player-avatar.crown::after {
  content: '👑';
  position: absolute;
  top: -14px;
  right: -10px;
  font-size: 14px;
}

.player-details {
  flex-grow: 1;
}

.player-name {
  font-size: 12px;
  /* font-weight: 500; */
  color: var(--text-light);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.player-name .you-badge {
  background: var(--accent-gold);
  color: var(--primary-background-color);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.player-games {
  font-size: 11px;
  color: var(--text-muted);
  display: none;
  align-items: center;
  gap: 4px;
}

.player-games i {
  font-size: 9px;
  color: var(--accent-gold);
}


/* --- 6. Compact Previous Winners Section --- */
.winners-section {
  padding: 20px 15px 10px;
  margin-top: 10px;
}

.winners-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.winners-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.winners-title i {
  color: var(--accent-gold);
  font-size: 20px;
}

.winners-container {
  display: flex;
  gap: 10px;
  overflow-x: scroll;
  padding: 0 0 10px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.winners-container::-webkit-scrollbar {
  display: none;
}

.winner-card {
  flex: 0 0 110px;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.15) 100%);
  border-radius: 5px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 193, 7, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.winner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.2);
}

.winner-date {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 9px;
  color: var(--text-muted);
}

.winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-white);
  margin-bottom: 8px;
  border: 2px solid var(--accent-gold);
}

.winner-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 3px;
  line-height: 1.2;
}

.winner-game {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.winner-prize {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 3px;
}

.winner-prize i {
  font-size: 10px;
}

/* --- 7. Bottom Navigation Bar --- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 450px;
  height: 70px;
  background-color: var(--secondary-purple);
  border-top: 1px solid var(--primary-background-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 5px;
  z-index: 20;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  width: 20%;
  padding: 5px 0;
  transition: color 0.2s;
}

.nav-item i {
  font-size: 1.2rem;
  margin-bottom: 3px;
}

.nav-item.active {
  color: var(--text-accent);
}

/* =======================================
           DESKTOP RESPONSIVENESS (>= 768px)
           ======================================= */
@media (min-width: 768px) {

  /* Center the entire application on the screen */
  body {
    background-color: var(--secondary-background-color);
  }

  .banner-prize {
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 15px;
    border-radius: 5px;
    height: unset;
  }

  .banner-sponsor {
    margin-right: unset;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 15px;
    border-radius: 5px;
    height: unset;
  }

  .app-container {
    max-width: 1200px;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-height: 95vh;
    padding-bottom: 20px;
  }

  /* Header adjustments */
  .header {
    padding: 20px 30px;
  }

  /* Main Banner Wider */
  .main-banner {
    margin: 20px 30px;
    min-height: 200px;
  }

  .banner-title {
    font-size: 36px;
  }

  .banner-description {
    font-size: 18px;
  }

  /* Game Sections: Use Grid for organized layout */
  .game-section {
    padding: 20px 30px 10px;
  }

  .section {
    padding: 20px 30px 10px;
  }

  .game-cards-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    overflow-x: hidden;
    padding: 0;
  }

  .section-body {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    overflow-x: hidden;
    padding: 0;
  }

  .game-card {
    flex: unset;
    width: 100%;
    height: 160px;
  }

  /* Bottom Navigation Bar: Integrated into the header area */
  .bottom-nav {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0;
    background-color: transparent;
    border-top: none;
    justify-content: flex-start;
    padding: 0 30px;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .bottom-nav a {
    flex-direction: row;
    width: auto;
    padding: 10px 15px;
    border-radius: var(--card-radius);
    margin-right: 15px;
  }

  .bottom-nav i {
    display: none;
  }

  .bottom-nav span {
    /* text-transform: uppercase; */
    font-weight: bold;
    font-size: 0.9rem;
  }

  .nav-item.active {
    background-color: var(--secondary-purple);
    color: var(--text-accent);
  }
}

/* --- 3. Player Stats Section --- */
.player-stats {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 5px;
  padding: 12px;
  margin-bottom: 15px;
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.player-rank {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank-badge {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #FF9800 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 10px;
  color: var(--primary-background-color);
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.rank-badge i {
  font-size: 12px;
}

.player-position {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}

.player-score {
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-value {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-accent);
}

.score-label {
  font-size: 11px;
  color: var(--text-muted);
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
}

/* --- 4. How to Play Section --- */
.how-to-play {
  /* background: rgba(0, 0, 0, 0.2); */
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 15px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: start;
  background: #1a1f3a
}

.how-to-play-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.how-to-play-title i {
  font-size: 18px;
}

.how-to-play-steps {
  list-style-type: none;
  padding-left: 0;

}

.how-to-play-steps li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-white);
}

.how-to-play-steps li:last-child {
  margin-bottom: 0;
}

.step-number {
  background: var(--text-accent);
  color: var(--primary-background-color);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 10px;
  margin-right: 10px;
  flex-shrink: 0;
}

.step-text {
  flex-grow: 1;
}

.banner-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.banner-timer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.timer-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.countdown {
  display: flex;
  gap: 8px;
}

.countdown-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 8px 10px;
  min-width: 45px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-accent);
  line-height: 1;
  margin-bottom: 2px;
}

.countdown-label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.7);
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
}

.join-button {
  background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
  color: var(--text-white);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 10px;
  border-radius: 5px;
  margin-top: 21px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.join-button__icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.join-button__icon i {
  font-size: 10px;
}

.join-button__text {
  line-height: 1;
}

.join-button__arrow {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.3s ease;
  font-weight: 700;
  opacity: 0.95;
}

.join-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
}

.join-button:hover .join-button__arrow {
  transform: translateX(3px);
}

.join-button:active {
  transform: translateY(-1px);
}

.join-button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(0, 188, 212, 0.35),
    0 8px 20px rgba(255, 152, 0, 0.4);
}

.join-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.join-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
}

.join-button:hover:before {
  left: 100%;
}

/* --- 5. Main Content Section --- */
.main-content {
  padding: 20px 15px;
  text-align: center;
}

.content-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.content-title i {
  color: var(--text-accent);
  font-size: 26px;
}

.content-description {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}

.action-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--text-white);
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.action-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(102, 126, 234, 0.5);
}

.action-button i {
  font-size: 14px;
}

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.feature-card {
  flex: 0 0 calc(50% - 15px);
  border-radius: 5px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(10px);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  transition: all 0.3s ease;
  background: #1a1f3a
}



.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #FF9800 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.feature-icon i {
  font-size: 14px;
  color: var(--primary-background-color);
}

.feature-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.feature-description {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* --- 6. Bottom Navigation Bar --- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 450px;
  height: 70px;
  background-color: var(--secondary-purple);
  border-top: 1px solid var(--primary-background-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 5px;
  z-index: 20;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  width: 20%;
  padding: 5px 0;
  transition: color 0.2s;
}

.nav-item i {
  font-size: 1.2rem;
  margin-bottom: 3px;
}

.nav-item.active {
  color: var(--text-accent);
}

/* =======================================
           DESKTOP RESPONSIVENESS (>= 768px)
           ======================================= */
@media (min-width: 768px) {

  /* Center the entire application on the screen */
  body {
    background-color: var(--secondary-background-color);
  }

  .banner-prize {
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 15px;
    border-radius: 5px;
    height: unset;
  }

  .banner-sponsor {
    margin-right: unset;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 15px;
    border-radius: 5px;
    height: unset;
  }

  .app-container {
    max-width: 1200px;
    margin: 0px auto;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-height: 95vh;
    padding-bottom: 20px;
  }

  /* Header adjustments */
  .header {
    padding: 20px 30px;
  }

  /* Main Banner Wider */
  .main-banner {
    margin: 20px 30px;
  }

  /* Banner Card alignment for desktop */
  .banner-card {
    margin: 20px 30px;
  }

  /* Banner Card button smaller on desktop */
  .banner-card-button {
    max-width: 400px;
    margin: 0 auto;
  }
   .banner-title {
    font-size: 20px;
  }

  .banner-description {
    font-size: 12px;
  }

  /* Bottom Navigation Bar: Integrated into the header area */
  .bottom-nav {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0;
    background-color: transparent;
    border-top: none;
    justify-content: flex-start;
    padding: 0 30px;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .bottom-nav a {
    flex-direction: row;
    width: auto;
    padding: 10px 15px;
    border-radius: var(--card-radius);
    margin-right: 15px;
  }

  .bottom-nav i {
    display: none;
  }

  .bottom-nav span {
    /* text-transform: uppercase; */
    font-weight: 500;
    font-size: 12px;
  }

  .nav-item.active {
    background-color: var(--secondary-purple);
    color: var(--text-accent);
  }

  .feature-card {
    flex: 0 0 calc(25% - 15px);
  }


}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.ribbon {
  position: absolute;
  top: 6px;
  right: -42px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: var(--text-white);
  padding: 8px 40px;
  transform: rotate(45deg);
  font-size: 11px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.text-uppercase {
  text-transform: capitalize;
}



/* --- Landing Page Specific Styles --- */

/* Header Actions for Login/Signup */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.login-btn,
.signup-btn {
  background: none;
  border: 1px solid var(--text-light);
  color: var(--text-light);
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.signup-btn {
  background: var(--accent-gold);
  color: var(--primary-background-color);
  border: none;
}

.login-btn:hover,
.signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
  position: relative;
  margin: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-image: linear-gradient(135deg, #1a1f3a, rgba(255, 0, 150, 0));
  background-size: cover;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 8%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 8%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 6%),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 6%); */
  background-size: 20px 20px, 25px 25px, 15px 15px, 30px 30px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 25px 15px;
  text-align: center;
}

.hero-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.2;
}

.hero-description {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-button {
  padding: 9px 25px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-button.primary {
  background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
  color: var(--primary-background-color);
}

.hero-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Landing Footer */
.landing-footer {
  background: var(--secondary-purple);
  padding: 30px 15px 15px;
  margin-top: 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-accent);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent-gold);
  color: var(--primary-background-color);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 15px;
}

.footer-legal a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--text-accent);
}

/* Mobile responsive for brand details */
@media (max-width: 768px) {
  .brand-details {
    padding: 16px;
    gap: 12px;
  }
  
  .brand-details.brand-details-compact {
    padding: 12px;
  }
  
  .brand-logo img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
  }
  
  .brand-info {
    gap: 8px;
  }

  .brand-message {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
  }

  .brand-subtitle {
    font-size: 12px;
  }

  .brand-link {
    display: none; /* Hide separate link on mobile */
  }
  
  .brand-link-inline {
    display: inline-flex; /* Show inline link on mobile */
    margin-left: 4px; /* Proper spacing before inline link */
  }

  .brand-promo {
    padding: 4px 8px;
    font-size: 10px;
  }

  .brand-action {
    padding: 6px 12px;
    font-size: 11px;
  }
}

@media (min-width: 769px) {
  .brand-info {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .brand-link-inline {
    display: none; /* Hide inline link on desktop */
  }
}

/* Desktop Responsiveness for Landing Page */
@media (min-width: 768px) {
  .hero-section {
    margin: 20px 30px;
    min-height: 400px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
    max-width: 600px;
  }

  .steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow-x: hidden;
  }

  .step {
    flex: unset;
    width: 100%;
  }

  .testimonials-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    overflow-x: hidden;
  }

  .testimonial-card {
    flex: unset;
    width: 100%;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-logo {
    justify-content: flex-start;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-social {
    justify-content: flex-end;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}



.cols-1 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.cols-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cols-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.cols-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.border-radius {
  border-radius: 10px;
}

.open-modal-btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #4a00e0;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.open-modal-btn:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- Modal Overlay & Content (The Glass Effect) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  /* background: rgba(255, 255, 255, 0.1); */
  background: #041b4e4a;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
 
  color: #fff;
  text-align: center;
  transform: scale(0.7);
  transition: transform 0.3s ease;
  position: relative;
  /* Needed for close button positioning */
}

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

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.close-btn:hover {
  opacity: 1;
}

/* --- Form Styling inside Modal --- */
.login-form h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.login-form p {
  opacity: 0.9;
  margin-bottom: 30px;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  color: white;
  display: block;
  /* font-weight: 600; */
  margin-bottom: 8px;
  font-size: 12px;
}

.input-group input {
  width: 100%;
  padding: 6px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgb(58 58 58 / 30%);
  border-radius: 8px;
  font-size: 12px;
  color: #fff;
  transition: all 0.3s ease;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.input-group input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 14px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
}

.forgot-password {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.forgot-password:hover {
  opacity: 1;
  text-decoration: underline;
}

.login-button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
  color: var(--primary-background-color);
  border: none;
  border-radius: 0px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-button:hover {
  background: #fff;
  transform: translateY(-2px);
}

.signup-link {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.9;
}

.signup-link a {
  color: #fff;
  text-decoration: none;
  /* font-weight: 600; */
}

.signup-link a:hover {
  text-decoration: underline;
}

/* --- Message Styling --- */
.message-container {
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}

.message-container.success {
  background-color: rgba(212, 237, 218, 0.9);
  color: #155724;
}

.message-container.error {
  background-color: rgba(248, 215, 218, 0.9);
  color: #721c24;
}

/* --- Responsive Design --- */
@media (max-width: 480px) {
  .main-content h1 {
    font-size: 2rem;
  }

  .modal-content {
    padding: 30px 20px;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section-header {
    padding: 0 15px;
  }
}





/***Auth****/

/* AuthLoaderModal.css */

.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.auth-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.auth-loader-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
  position: relative;
  min-width: 350px;
  max-width: 500px;
  width: 100%;
  transform: scale(0);
  animation: auth-containerAppear 0.5s ease-out forwards;
  z-index: 1;
}

@keyframes auth-containerAppear {
  to {
    transform: scale(1);
  }
}

.auth-loader-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 30px;
}

.auth-circular-loader {
  width: 100%;
  height: 100%;
  position: relative;
}

.auth-circular-loader svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.auth-track {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 8;
}

.auth-progress {
  fill: none;
  stroke: url(#auth-gradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 628.32;
  animation: auth-progressAnimation 2s ease-in-out forwards;
}

@keyframes auth-progressAnimation {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes auth-progressAnimationFailure {
  0% {
    stroke-dashoffset: 0;
  }

  70% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 628.32;
  }
}

.auth-success-icon,
.auth-error-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

.auth-success-icon svg,
.auth-error-icon svg {
  width: 80px;
  height: 80px;
}

.auth-checkmark,
.auth-x-mark {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.auth-checkmark {
  stroke: #10b981;
}

.auth-x-mark {
  stroke: #ef4444;
  stroke-width: 6;
}

.auth-success-circle,
.auth-error-circle {
  fill: none;
  stroke-width: 4;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}

.auth-success-circle {
  stroke: #10b981;
}

.auth-error-circle {
  stroke: #ef4444;
}

.auth-fingerprint,
.auth-shield,
.auth-lock,
.auth-warning-triangle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.auth-fingerprint {
  width: 100px;
  height: 100px;
  animation: auth-fingerprintPulse 2s ease-in-out infinite;
}

@keyframes auth-fingerprintPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.7;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
  }
}

.auth-fingerprint svg {
  width: 100%;
  height: 100%;
}

.auth-fingerprint-path {
  fill: none;
  stroke: url(#auth-fingerprintGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: auth-fingerprintDraw 2s ease-in-out 0.5s forwards;
}

@keyframes auth-fingerprintDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.auth-shield {
  width: 80px;
  height: 80px;
}

.auth-shield svg {
  width: 100%;
  height: 100%;
}

.auth-shield-path {
  fill: none;
  stroke: #3b82f6;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.auth-lock {
  width: 100px;
  height: 100px;
  animation: auth-lockPulse 2s ease-in-out infinite;
}

@keyframes auth-lockPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.7;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
  }
}

.auth-lock svg {
  width: 100%;
  height: 100%;
}

.auth-lock-path {
  fill: none;
  stroke: url(#auth-lockGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: auth-lockDraw 2s ease-in-out 0.5s forwards;
}

@keyframes auth-lockDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.auth-warning-triangle {
  width: 80px;
  height: 80px;
}

.auth-warning-triangle svg {
  width: 100%;
  height: 100%;
}

.auth-triangle-path {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.auth-exclamation {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
}

.auth-status-text {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 10px;
  opacity: 0;
  animation: auth-fadeInUp 0.5s ease-out 0.3s forwards;
}

.auth-sub-text {
  font-size: 14px;
  color: #6b7280;
  opacity: 0;
  animation: auth-fadeInUp 0.5s ease-out 0.5s forwards;
}

.auth-progress-text {
  font-size: 16px;
  font-weight: 500;
  margin-top: 15px;
  opacity: 0;
  animation: auth-fadeInUp 0.5s ease-out 0.7s forwards;
}

@keyframes auth-fadeInUp {
  to {
    opacity: 1;
    transform: translateY(-5px);
  }
}

.auth-dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 5px;
}

.auth-dot {
  width: 6px;
  height: 6px;
  background: #6b7280;
  border-radius: 50%;
  animation: auth-dotPulse 1.4s ease-in-out infinite;
}

.auth-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.auth-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes auth-dotPulse {

  0%,
  60%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  30% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.auth-security-check,
.auth-attempt-counter {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: auth-fadeInUp 0.5s ease-out 1s forwards;
}

.auth-security-icon,
.auth-attempt-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
}

.auth-security-icon {
  background: #10b981;
  color: var(--text-white);
}

.auth-attempt-icon {
  background: #f59e0b;
  color: var(--text-white);
}

.auth-attempt-icon.locked {
  background: #dc2626;
}

.auth-security-text {
  font-size: 12px;
  color: #10b981;
  font-weight: 500;
}

.auth-attempt-text {
  font-size: 12px;
  color: #f59e0b;
  font-weight: 500;
}

.auth-attempt-text.locked {
  color: #dc2626;
}

.auth-shake {
  animation: auth-shake 0.5s ease-in-out;
}

@keyframes auth-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.auth-warning-flash {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 30px;
  opacity: 0;
  pointer-events: none;
}

.auth-warning-flash.flash {
  animation: auth-warningFlash 0.5s ease-out;
}

@keyframes auth-warningFlash {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.auth-particles,
.auth-error-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.auth-particle,
.auth-error-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0;
  top: 50%;
  left: 50%;
}

.auth-particle {
  background: #10b981;
  animation: auth-particleExplode 1s ease-out 2s forwards;
}

.auth-error-particle {
  background: #ef4444;
  animation: auth-errorParticleExplode 1s ease-out 2.5s forwards;
}

@keyframes auth-particleExplode {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }

  100% {
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1);
    opacity: 0;
  }
}

@keyframes auth-errorParticleExplode {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }

  100% {
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1);
    opacity: 0;
  }
}

.auth-welcome-message,
.auth-error-message {
  display: none;
  margin-top: 20px;
  padding: 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  animation: auth-slideIn 0.5s ease-out forwards;
}

.auth-welcome-message {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--text-white);
}

.auth-error-message {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: var(--text-white);
}

@keyframes auth-slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.auth-error-details {
  display: none;
  margin-top: 12px;
  padding: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 13px;
  color: #991b1b;
  animation: auth-slideIn 0.5s ease-out 4s forwards;
}

.auth-error-code {
  font-weight: 600;
  color: #dc2626;
}

.auth-retry-button {
  display: none;
  margin-top: 20px;
  padding: 10px 24px;
  color: var(--text-white);
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: auth-fadeInUp 0.5s ease-out 3.5s forwards;
}

.auth-retry-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(102, 126, 234, 0.4);
}

.auth-retry-button:active {
  transform: translateY(0);
}

.auth-sound-wave {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  opacity: 0;
}

.auth-sound-bar {
  width: 3px;
  height: 16px;
  background: linear-gradient(to top, #667eea, #764ba2);
  border-radius: 2px;
  animation: auth-soundWave 1s ease-in-out infinite;
}

@keyframes auth-soundWave {

  0%,
  100% {
    height: 16px;
  }

  50% {
    height: 32px;
  }
}

.auth-loader-container.success {
  animation: auth-successPulse 0.5s ease-out 2s;
}

@keyframes auth-successPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes auth-scaleIn {
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .auth-modal-overlay {
    padding: 15px;
  }

  .section-header {
    padding: 0 15px;
  }

  .auth-loader-container {
    min-width: 300px;
    padding: 30px 20px;
  }

  .auth-loader-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
  }

  .auth-status-text {
    font-size: 18px;
  }

  .auth-sub-text {
    font-size: 13px;
  }

  .auth-progress-text {
    font-size: 14px;
    margin-top: 10px;
  }

  .auth-welcome-message,
  .auth-error-message {
    font-size: 14px;
    padding: 10px;
  }

  .auth-error-details {
    font-size: 12px;
    padding: 8px;
  }

  .auth-retry-button {
    font-size: 13px;
    padding: 8px 20px;
  }

  .auth-security-check,
  .auth-attempt-counter {
    top: 10px;
    right: 10px;
    gap: 4px;
  }

  .auth-security-icon,
  .auth-attempt-icon {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .auth-security-text,
  .auth-attempt-text {
    font-size: 11px;
  }

  .auth-success-icon svg,
  .auth-error-icon svg {
    width: 60px;
    height: 60px;
  }

  .auth-fingerprint {
    width: 80px;
    height: 80px;
  }

  .auth-shield,
  .auth-warning-triangle {
    width: 60px;
    height: 60px;
  }

  .auth-lock {
    width: 80px;
    height: 80px;
  }

  .auth-sound-wave {
    bottom: 10px;
  }

  .auth-sound-bar {
    width: 2px;
    height: 12px;
  }

  @keyframes auth-soundWave {

    0%,
    100% {
      height: 12px;
    }

    50% {
      height: 24px;
    }
  }
  #gv-header-container .gv-main-header {

    padding: 15px 0px !important;
  }
}

@media (max-width: 480px) {
  .auth-loader-container {
    min-width: 280px;
    padding: 25px 15px;
  }

  .auth-loader-wrapper {
    width: 140px;
    height: 140px;
  }

  .auth-status-text {
    font-size: 16px;
  }

  .auth-sub-text {
    font-size: 12px;
  }

  .auth-progress-text {
    font-size: 13px;
  }
}

/* Tablet styles */
@media (min-width: 641px) and (max-width: 1024px) {
  .auth-loader-container {
    min-width: 380px;
    padding: 45px 35px;
  }

  .section-header {
    padding: 0 15px;
  }

  .auth-loader-wrapper {
    width: 180px;
    height: 180px;
  }
}

/* src/components/EngageoLogo.css */

/*
  NOTE: This component requires the 'Poppins' font.
  Make sure to import it in your main CSS file (e.g., index.css or App.css):
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
*/

.engageo-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* --- Icon --- */
.engageo-logo__icon {
  position: relative;
  flex-shrink: 0;
  /* Prevents the icon from shrinking */
}

.engageo-logo__shape-left,
.engageo-logo__shape-right {
  position: absolute;
  border-radius: 50%;
  box-sizing: border-box;
  /* We set the style here, width and color are set by other classes */
  border-style: solid;
}

.engageo-logo__shape-left {
  transform: rotate(-45deg);
}

.engageo-logo__shape-right {
  transform: rotate(-45deg);
}

.engageo-logo__spark {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: engageo-pulse 2s infinite ease-in-out;
}

/* --- Wordmark --- */
.engageo-logo__wordmark {
  font-weight: 500;
  letter-spacing: -0.5px;
}

.engageo-logo__wordmark-o {
  font-weight: 700;
}

/* --- Theme Variations (FIXED) --- */
/* The fix is to set the main color AND the transparent colors together here. */
.engageo-logo--light .engageo-logo__shape-left {
  border-color: #0052d4;
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.engageo-logo--light .engageo-logo__shape-right {
  border-color: #ff6a00;
  border-left-color: transparent;
  border-top-color: transparent;
}

.engageo-logo--light .engageo-logo__spark {
  background-color: #ff6a00;
}

.engageo-logo--light .engageo-logo__wordmark {
  color: #333333;
}

.engageo-logo--light .engageo-logo__wordmark-o {
  color: #ff6a00;
}

.engageo-logo--dark .engageo-logo__shape-left {
  border-color: #bbe1fa;
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.engageo-logo--dark .engageo-logo__shape-right {
  border-color: #ff6a00;
  border-left-color: transparent;
  border-top-color: transparent;
}

.engageo-logo--dark .engageo-logo__spark {
  background-color: #ff6a00;
}

.engageo-logo--dark .engageo-logo__wordmark {
  color: #ffffff;
}

.engageo-logo--dark .engageo-logo__wordmark-o {
  color: #FFD700;
}

/* --- Size Variations --- */
.engageo-logo--small .engageo-logo__icon {
  width: 40px;
  height: 20px;
}

.engageo-logo--small .engageo-logo__shape-left,
.engageo-logo--small .engageo-logo__shape-right {
  width: 28px;
  height: 28px;
  border-width: 8px;
}

.engageo-logo--small .engageo-logo__shape-left {
  top: 0px;
  left: 0;
}

.engageo-logo--small .engageo-logo__shape-right {
  bottom: 0px;
  right: 0;
}

.engageo-logo--small .engageo-logo__spark {
  width: 8px;
  height: 8px;
}

.engageo-logo--small .engageo-logo__wordmark {
  font-size: 19.5px;
}

.engageo-logo--medium .engageo-logo__icon {
  width: 60px;
  height: 60px;
}

.engageo-logo--medium .engageo-logo__shape-left,
.engageo-logo--medium .engageo-logo__shape-right {
  width: 40px;
  height: 40px;
  border-width: 12px;
}

.engageo-logo--medium .engageo-logo__shape-left {
  top: 5px;
  left: 0;
}

.engageo-logo--medium .engageo-logo__shape-right {
  bottom: 5px;
  right: 0;
}

.engageo-logo--medium .engageo-logo__spark {
  width: 12px;
  height: 12px;
}

.engageo-logo--medium .engageo-logo__wordmark {
  font-size: 3rem;
}

.engageo-logo--large .engageo-logo__icon {
  width: 80px;
  height: 80px;
}

.engageo-logo--large .engageo-logo__shape-left,
.engageo-logo--large .engageo-logo__shape-right {
  width: 54px;
  height: 54px;
  border-width: 10px;
}

.engageo-logo--large .engageo-logo__shape-left {
  top: 13px;
  left: 0;
}

.engageo-logo--large .engageo-logo__shape-right {
  bottom: 13px;
  right: 0;
}

.engageo-logo--large .engageo-logo__spark {
  width: 16px;
  height: 16px;
}

.engageo-logo--large .engageo-logo__wordmark {
  font-size: 4rem;
}


/* --- Animation --- */
@keyframes engageo-pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}



/* Scoped styles - only apply within the GameVault container */
#gv-header-container * {
  box-sizing: border-box;
}

/* Animated Background - scoped to prevent affecting other elements */
#gv-header-container .gv-bg-animation {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(45deg, #3b436e,#3b436e);
  overflow: hidden;
}

#gv-header-container .gv-bg-animation::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  animation: gv-rotate 30s linear infinite;
}

@keyframes gv-rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Header Container - using ID for higher specificity */
#gv-header-container {
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: gv-slideDown 0.5s ease-out;
}

@keyframes gv-slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

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

/* Top Bar */
#gv-header-container .gv-top-bar {
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 0;
  font-size: 12px;
  color: var(--gv-text-secondary);
}

#gv-header-container .gv-top-bar-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
}

#gv-header-container .gv-server-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

#gv-header-container .gv-status-dot {
  width: 8px;
  height: 8px;
  background: var(--gv-success);
  border-radius: 50%;
  animation: gv-pulse 2s infinite;
}

@keyframes gv-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Main Header */
#gv-header-container .gv-main-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
#gv-header-container .gv-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--gv-text-primary);
  transition: transform 0.3s ease;
}

#gv-header-container .gv-logo:hover {
  transform: scale(1.05);
}

#gv-header-container .gv-logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gv-primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

#gv-header-container .gv-logo-text {
  font-size: 24px;
  font-weight: 800;
  background: var(--gv-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
#gv-header-container .gv-nav-menu {
  display: flex;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#gv-header-container .gv-nav-item {
  position: relative;
}

#gv-header-container .gv-nav-link {
  padding: 10px 20px;
  color: var(--gv-text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

#gv-header-container .gv-nav-link:hover {
  background: rgba(102, 126, 234, 0.1);
  color: var(--gv-text-primary);
  transform: translateY(-2px);
}

#gv-header-container .gv-nav-link.gv-active {
  background: var(--gv-primary-gradient);
  color: var(--text-white);
}

#gv-header-container .gv-nav-badge {
  background: var(--gv-danger);
  color: var(--text-white);
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: bold;
  animation: gv-bounce 2s infinite;
}

@keyframes gv-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

/* Right Section */
#gv-header-container .gv-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Search Bar */
#gv-header-container .gv-search-container {
  position: relative;
}

#gv-header-container .gv-search-bar {
  /* background: var(--gv-card-bg); */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 8px 40px 8px 15px;
  color: var(--gv-text-primary);
  transition: all 0.3s ease;
}

#gv-header-container .gv-search-bar:focus {
  outline: none;
  border-color: var(--gv-text-primary);
  /* width: 300px; */
  background: rgba(255, 255, 255, 0.08);
}

#gv-header-container .gv-search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gv-primary-gradient);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#gv-header-container .gv-search-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Credits Display */
#gv-header-container .gv-credits-display {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 25px;
  padding: 4px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#gv-header-container .gv-credits-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
  transition: left 0.5s ease;
}

#gv-header-container .gv-credits-display:hover::before {
  left: 100%;
}

#gv-header-container .gv-credits-display:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

#gv-header-container .gv-credits-icon {
  width: 24px;
  height: 24px;
  background: var(--gv-accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--gv-dark-bg);
  font-size: 11px;
}

#gv-header-container .gv-credits-amount {
  font-weight: 600;
  font-size: 12px;
  color: var(--gv-accent-gold);
}

#gv-header-container .gv-add-credits-btn {
  background: var(--gv-accent-gold);
  color: var(--gv-dark-bg);
  border: none;
  border-radius: 50%;
  padding: 4px 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#gv-header-container .gv-add-credits-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.5);
}

/* Notifications */
#gv-header-container .gv-notification-btn {
  position: relative;
  background: var(--gv-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 37px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

#gv-header-container .gv-notification-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  transform: scale(1.1);
}

#gv-header-container .gv-notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gv-danger);
  color: var(--text-white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  animation: gv-shake 2s infinite;
}

.gv-notification-btn.mobile {
  display: none !important;
}

@keyframes gv-shake {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-5deg);
  }

  75% {
    transform: rotate(5deg);
  }
}

/* User Profile */
#gv-header-container .gv-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 15px;
  background: var(--gv-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#gv-header-container .gv-user-profile:hover {
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

#gv-header-container .gv-user-avatar {
  width: 28px;
  height: 27px;
  border-radius: 50%;
  background: var(--gv-secondary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: relative;
  font-size: 12px;
}

#gv-header-container .gv-user-level {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: var(--gv-accent-gold);
  color: var(--gv-dark-bg);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  border: 2px solid var(--gv-dark-bg);
}

#gv-header-container .gv-user-info {
  display: flex;
  flex-direction: column;
}

#gv-header-container .gv-username {
  font-weight: 600;
  font-size: 12px;
}

#gv-header-container .gv-user-rank {
  font-size: 11px;
  color: var(--gv-text-secondary);
}

/* Challenge Banner */
#gv-header-container .gv-challenge-banner {
  background: var(--gv-primary-gradient);
  padding: 15px 0;
  position: relative;
  overflow: hidden;
}

#gv-header-container .gv-challenge-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: gv-shimmer 3s infinite;
}

@keyframes gv-shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

#gv-header-container .gv-challenge-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

#gv-header-container .gv-challenge-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

#gv-header-container .gv-challenge-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

#gv-header-container .gv-challenge-details h3 {
  font-size: 14px;
  margin-bottom: 5px;
}

#gv-header-container .gv-challenge-details p {
  font-size: 14px;
  opacity: 0.9;
}

#gv-header-container .gv-challenge-timer {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 15px;
  border-radius: 20px;
}

#gv-header-container .gv-timer-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#gv-header-container .gv-timer-value {
  font-size: 20px;
  font-weight: bold;
}

#gv-header-container .gv-timer-label {
  font-size: 10px;
  opacity: 0.8;
}

#gv-header-container .gv-join-challenge-btn {
  background: white;
  color: var(--gv-accent-purple);
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#gv-header-container .gv-join-challenge-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Mobile Menu Toggle */
#gv-header-container .gv-mobile-menu-toggle {
  display: none;
  background: var(--gv-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {

  /* #gv-header-container .gv-nav-menu {
    display: none;
  } */
  #gv-header-container .gv-header-right,
  .gv-nav-badge,
  .gv-server-status,
  .home-item {
    display: none !important;
  }

  #gv-header-container .gv-nav-link {
    padding: 10px 10px;
  }

  .gv-credits-display-mobile {
    display: flex;

  }

  .gv-credits-display-mobile .gv-credits-display {
    border-radius: 4px !important;
    padding: 3px 4px !important;
  }

  #gv-header-container .gv-mobile-menu-toggle {
    display: block;
  }

  #gv-header-container .gv-search-bar {
    width: 180px;
  }

  #gv-header-container .gv-search-bar:focus {
    width: 200px;
  }
}

@media (max-width: 768px) {
  #gv-header-container .gv-header-right {
    gap: 10px;
  }

  /* Hide only the mobile menu toggle, keep navigation visible */
  /* #gv-header-container .gv-mobile-menu-toggle {
    display: none !important;
  } */

  #gv-header-container .gv-search-container {
    display: none;
  }

  #gv-header-container .gv-credits-display {
    padding: 8px 15px;
  }

  #gv-header-container .gv-challenge-content {
    flex-direction: column;
    gap: 15px;
  }

  #gv-header-container .gv-challenge-timer {
    order: -1;
  }

  #gv-header-container .gv-notification-btn {
    display: none;
  }

  #gv-header-container .gv-notification-btn.mobile,
  .logout {
    position: relative;
    width: 35px;
    height: 34.5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    margin-left: 11px;
    border: unset;
  }



  .gv-header-right {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

}

.text-small {
  font-size: 12px !important;
}

/* Premium Upgrade Modal Styles - Prefixed to avoid conflicts */
.premium-upgrade-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 10px;
}

.premium-upgrade-modal-close {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 10px 10px;
  border-radius: 25px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.premium-upgrade-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.premium-upgrade-modal-container {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: transform 0.3s;
}

.premium-upgrade-modal-overlay.active .premium-upgrade-modal-container {
  transform: scale(1);
}

.premium-upgrade-modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.premium-upgrade-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s;
}

.premium-upgrade-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.premium-upgrade-modal-title {
  font-size: 14px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.premium-upgrade-modal-subtitle {
  font-size: 13px;
  opacity: 0.9;
}

.premium-upgrade-modal-body {
  padding: 2rem;
}

.premium-upgrade-current-access {
  background-color: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 10px;
  margin-bottom: 2rem;
  border-radius: 0 8px 8px 0;
}

.premium-upgrade-current-access-title {
  font-weight: 600;
  color: #1976d2;
  margin-bottom: 0.5rem;
  font-size: 14px;
}

.premium-upgrade-plan-card {
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.premium-upgrade-plan-card:hover {
  transform: translateY(-3px);
}

.premium-upgrade-plan-card::before {
  content: "RECOMMENDED";
  position: absolute;
  top: 24px;
  right: -48px;
  background: #ff4757;
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 11px;
  font-weight: bold;
}

.premium-upgrade-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.premium-upgrade-plan-name {
  font-size: 12px;
  font-weight: 600;
}

.premium-upgrade-plan-price {
  font-size: 12px;
  font-weight: 700;
  margin-right: 72px;
  ;
}

.premium-upgrade-plan-features {
  list-style: none;
  flex-grow: 1;
}

.premium-upgrade-plan-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6px;
}

.premium-upgrade-feature-icon {
  margin-right: 0.8rem;
  flex-shrink: 0;
  font-size: 12px;
}

.premium-upgrade-feature-text {
  flex-grow: 1;
  font-size: 12px;
  font-weight: 500;
}

.premium-upgrade-modal-footer {
  padding: 0 2rem 2rem;
  display: flex;
  justify-content: center;
}

.premium-upgrade-upgrade-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  width: 100%;
}

.premium-upgrade-upgrade-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.premium-upgrade-upgrade-btn:active {
  transform: translateY(0);
}

.premium-upgrade-comparison-highlight {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 10px;
  margin-top: 2rem;
  text-align: center;
  font-size: 12px;
  color: #856404;
  font-weight: 500;
}

.premium-upgrade-benefit-highlight {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  border-left: 4px solid #ffc107;
}

/* Responsive Design */
@media (max-width: 768px) {
  .premium-upgrade-modal-container {
    max-width: 95%;
  }

  .premium-upgrade-modal-header {
    padding: 1.5rem;
  }

  .premium-upgrade-modal-title {
    font-size: 14px;
  }

  .premium-upgrade-modal-body {
    padding: 1.5rem;
  }

  .premium-upgrade-plan-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {

  .premium-upgrade-modal-header {
    padding: 10px;
  }

  .premium-upgrade-modal-title {
    font-size: 14px;
  }

  .premium-upgrade-modal-body {
    padding: 10px;
  }

  .premium-upgrade-plan-card {
    padding: 10px;
  }

  .premium-upgrade-upgrade-btn {
    padding: 0.8rem 2rem;
    font-size: 12px;
  }
}


.bg-primary {
  background: linear-gradient(45deg, #3b436e,#3b436e);
}

.highlight-text {
  font-size: 14px;
  color: var(--text-white);
  font-weight: 600;
}

.btn {
  font-size: 12px !important;
}

.heading-subtext {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 12px;
}

.banner-container {
  background: linear-gradient(45deg, var(--gv-dark-bg), #1a1f3a);
}

.border {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.bg-secondary-light {
  background: linear-gradient(45deg, #3b436e,#3b436e);
  color: rgba(255, 255, 255, 0.9) !important;
  ;
}

.banner-actions {
  margin-top: 15px;
  ;
}

.landing-page-banner {
  padding: 20px;
}

.countdown-container {
  display: flex;
  gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
}

.ring {
  width: 65px;
  height: 65px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.svg {
  transform: rotate(-90deg);
  width: 65px;
  height: 65px;
  position: absolute;
  top: 0;
  left: 0;
}

circle {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

.bg {
  stroke: #ddd;
}

.progress-days {
  stroke: #ff9800;
}

.progress-hours {
  stroke: #4caf50;
}

.progress-minutes {
  stroke: #2196f3;
}

.progress-seconds {
  stroke: #f44336;
}

.number {
  font-size: 1rem;
  font-weight: bold;
  z-index: 1;
}

.label {
  font-size: 0.65rem;
  color: whitesmoke;
  margin-top: 3px;
  z-index: 1;
  text-transform: uppercase;
}

.next-challenge-prize,
.next-challenge-label {
  font-size: 13px;
}

.next-challenge-prize {
  margin-right: 50px;
}

/* .next-challenge-label{
 margin-left: 20px;
} */
.banner-actions-sm {
  display: none !important;
}




input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.1) inset;
  /* Change 'white' to your desired background */
  -webkit-text-fill-color: grey;
  /* Change text color if needed */
  transition: background-color 5000s ease-in-out 0s;
}


.modal-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  background: rgba(0, 0, 0, 0.7);
}

.modal-loader-overlay.modal-loader-active {
  opacity: 1;
  visibility: visible;
  background: rgb(25 24 34 / 70%);
  ;
}

.modal-loader-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  background: rgba(0, 0, 0, 0.7);
  border-radius: inherit;
}

.modal-loader-container.modal-loader-active {
  opacity: 1;
  visibility: visible;
}

.modal-loader-content {
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.modal-loader-overlay.modal-loader-active .modal-loader-content,
.modal-loader-container.modal-loader-active .modal-loader-content {
  transform: scale(1);
}

.modal-loader-text {
  margin-top: 60px;
  font-size: 16px;
  color: #fff;
}

/* Spinner Loader */
.modal-loader-spinner {
  position: relative;
  width: var(--loader-size, 60px);
  height: var(--loader-size, 60px);
}

.modal-loader-spinner-inner {
  width: 100%;
  height: 100%;
  border: calc(var(--loader-size, 60px) / 10) solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--loader-color, #ffffff);
  animation: modal-loader-spin var(--loader-speed, 1s) ease-in-out infinite;
}

@keyframes modal-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Dots Loader */
.modal-loader-dots {
  display: flex;
  gap: calc(var(--loader-size, 60px) / 5);
}

.modal-loader-dot {
  width: calc(var(--loader-size, 60px) / 3);
  height: calc(var(--loader-size, 60px) / 3);
  border-radius: 50%;
  background-color: var(--loader-color, #ffffff);
  animation: modal-loader-bounce var(--loader-speed, 1s) ease-in-out infinite both;
}

.modal-loader-dot:nth-child(1) {
  animation-delay: calc(var(--loader-speed, 1s) * -0.32);
}

.modal-loader-dot:nth-child(2) {
  animation-delay: calc(var(--loader-speed, 1s) * -0.16);
}

@keyframes modal-loader-bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

/* Pulse Loader */
.modal-loader-pulse {
  position: relative;
  width: var(--loader-size, 60px);
  height: var(--loader-size, 60px);
}

.modal-loader-pulse-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--loader-color, #ffffff);
  animation: modal-loader-pulse-animation var(--loader-speed, 1s) ease-in-out infinite;
}

@keyframes modal-loader-pulse-animation {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

  100% {
    transform: scale(0.6);
    opacity: 1;
  }
}

/* Bars Loader */
.modal-loader-bars {
  display: flex;
  gap: calc(var(--loader-size, 60px) / 10);
  height: var(--loader-size, 60px);
  align-items: center;
}

.modal-loader-bar {
  width: calc(var(--loader-size, 60px) / 6);
  height: calc(var(--loader-size, 60px) * 0.8);
  background-color: var(--loader-color, #ffffff);
  animation: modal-loader-bar-animation var(--loader-speed, 1s) ease-in-out infinite;
}

.modal-loader-bar:nth-child(1) {
  animation-delay: 0s;
}

.modal-loader-bar:nth-child(2) {
  animation-delay: calc(var(--loader-speed, 1s) * 0.1);
}

.modal-loader-bar:nth-child(3) {
  animation-delay: calc(var(--loader-speed, 1s) * 0.2);
}

.modal-loader-bar:nth-child(4) {
  animation-delay: calc(var(--loader-speed, 1s) * 0.3);
}

.modal-loader-bar:nth-child(5) {
  animation-delay: calc(var(--loader-speed, 1s) * 0.4);
}

@keyframes modal-loader-bar-animation {

  0%,
  40%,
  100% {
    transform: scaleY(0.4);
  }

  20% {
    transform: scaleY(1);
  }
}

/* Circles Loader */
.modal-loader-circles {
  position: relative;
  width: var(--loader-size, 60px);
  height: var(--loader-size, 60px);
}

.modal-loader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: calc(var(--loader-size, 60px) / 20) solid transparent;
  border-top-color: var(--loader-color, #ffffff);
  animation: modal-loader-circle-animation var(--loader-speed, 1s) cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.modal-loader-circle:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  animation-delay: calc(var(--loader-speed, 1s) * 0.2);
}

.modal-loader-circle:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  animation-delay: calc(var(--loader-speed, 1s) * 0.4);
}

@keyframes modal-loader-circle-animation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Progress Loader */
.modal-loader-progress {
  position: relative;
  width: calc(var(--loader-size, 60px) * 3);
  height: calc(var(--loader-size, 60px) / 5);
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: calc(var(--loader-size, 60px) / 10);
  overflow: hidden;
}

.modal-loader-progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--loader-color, #ffffff);
  border-radius: calc(var(--loader-size, 60px) / 10);
  animation: modal-loader-progress-animation calc(var(--loader-speed, 1s) * 3) ease-in-out infinite;
}

@keyframes modal-loader-progress-animation {
  0% {
    width: 0%;
  }

  50% {
    width: 100%;
  }

  100% {
    width: 0%;
  }
}

/* Square Loader */
.modal-loader-square {
  position: relative;
  width: var(--loader-size, 60px);
  height: var(--loader-size, 60px);
}

.modal-loader-square-inner {
  width: 100%;
  height: 100%;
  background-color: var(--loader-color, #ffffff);
  border-radius: calc(var(--loader-size, 60px) / 10);
  animation: modal-loader-square-animation calc(var(--loader-speed, 1s) * 2) ease-in-out infinite;
}

@keyframes modal-loader-square-animation {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }

  50% {
    transform: rotate(180deg) scale(0.5);
    opacity: 0.5;
  }

  100% {
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

/* Hexagon Loader */
.modal-loader-hexagon {
  position: relative;
  width: var(--loader-size, 60px);
  height: var(--loader-size, 60px);
}

.modal-loader-hexagon-wrapper {
  width: 100%;
  height: 100%;
  animation: modal-loader-hexagon-animation calc(var(--loader-speed, 1s) * 2) ease-in-out infinite;
}

.modal-loader-hexagon-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform: rotate(30deg);
}

.modal-loader-hexagon-inner:before,
.modal-loader-hexagon-inner:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--loader-color, #ffffff);
  border-radius: calc(var(--loader-size, 60px) / 12);
}

.modal-loader-hexagon-inner:before {
  transform: rotate(60deg);
}

.modal-loader-hexagon-inner:after {
  transform: rotate(-60deg);
}

@keyframes modal-loader-hexagon-animation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.logout {
  position: relative;
  width: 35px;
  height: 34.5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  margin-left: 11px;
  border: unset;
}


@media (max-width: 800px) {
  .banner-container {
    border: unset !important;
    padding: 20px 0px !important;
  }
  .banner-container.brand-details {
    padding: 20px 10px !important;
  }

  .banner-actions {
    display: none !important;
  }

  .banner-actions-sm {
    display: flex !important;
  }


}

.banner-heading {
  text-align: left;
}

@media (max-width: 800px) {
  .banner-heading {
    text-align: center;
  }

  .fs-20 {
    font-size: 20px;
  }

  .brands-section {
    margin-top: 20px !important;
  }
}

.card-body strong {
  font-size: 12px !important;
  font-weight: 600;
}


.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.close-button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}



.package-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.package-btn {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
}

.package-btn:hover {
  background: #f5f5f5;
}

.package-btn.selected {
  background: #e6f7ff;
  border-color: #1890ff;
}

.pay-button {
  width: 100%;
  padding: 12px;
  background: #1890ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
}

.pay-button:hover {
  background: #40a9ff;
}

.pay-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.modal-header h3{
  font-size: 20px;;
}
.swal2-confirm{
  font-size: 12px !important;
}
.swal2-title{
  font-size: 16px;
}
.grey-background{
  background: rgba(255, 255, 255, 0.1);
}

.border{
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-grey{
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.border-light{
  border:  1px solid white !important;
}

.border-yellow{
 border: 1px solid rgba(255, 215, 0, 0.3);
}

    /* --- Banner Card (Join/Resume Area) --- */
.banner-card {
  position: relative;
  margin: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-image: linear-gradient(135deg,
      #272d52,
      #1a1f3a);
  background-size: cover;
  background-position: center;
}

.banner-card-content {
  position: relative;
  z-index: 3;
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.banner-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.banner-card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--text-accent) 0%, #ff9500 100%);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
  flex-shrink: 0;
}

.banner-card-icon i {
  font-size: 20px;
  color: var(--primary-background-color);
}

.banner-card-title h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  margin: 0 0 5px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
  .banner-card-title h3 {
    font-size: 14px;
    font-weight: 600;
  }
}

.banner-card-title p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.banner-card-body {
  margin-bottom: 20px;
  text-align: center;
}

.banner-card-button {
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--text-accent) 0%, #ff9500 100%);
  color: var(--primary-background-color);
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.banner-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.5);
}

.banner-card-button:active {
  transform: translateY(0);
}

.banner-card-button.disabled {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.6;
}

.banner-card-button i {
  font-size: 16px;
}

.banner-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.banner-stats {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.stat-item i {
  font-size: 16px;
  color: var(--text-accent);
}

.stat-item span {
  font-weight: 600;
}

/* --- Prize Modal --- */
.prize-modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
padding: 20px;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(5px);
}

.prize-modal-container {
background: linear-gradient(135deg, #272d52, #1a1f3a);
border-radius: 12px;
padding: 30px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
text-align: center;
position: relative;
min-width: 350px;
max-width: 500px;
width: 100%;
border: 1px solid rgba(255, 255, 255, 0.1);
}

.prize-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
}

.prize-modal-title {
font-size: 20px;
font-weight: 700;
color: var(--text-light);
display: flex;
align-items: center;
gap: 10px;
}

.prize-modal-title i {
color: var(--text-accent);
font-size: 24px;
}

.prize-modal-close {
background: none;
border: none;
color: var(--text-muted);
font-size: 24px;
cursor: pointer;
transition: color 0.3s ease;
padding: 5px;
}

.prize-modal-close:hover {
color: var(--text-light);
}

.prize-ranges {
display: flex;
flex-direction: column;
gap: 15px;
margin-bottom: 25px;
}

.prize-range {
background: rgba(255, 255, 255, 0.08);
border-radius: 8px;
padding: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}

.prize-range:hover {
background: rgba(255, 255, 255, 0.12);
transform: translateY(-2px);
}

.prize-range-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}

.prize-range-title {
font-size: 16px;
font-weight: 600;
color: var(--text-light);
display: flex;
align-items: center;
gap: 8px;
}

.prize-range-rank {
font-size: 14px;
font-weight: 700;
color: var(--text-accent);
background: rgba(255, 204, 0, 0.2);
padding: 4px 8px;
border-radius: 4px;
}

.prize-range-amount {
font-size: 18px;
font-weight: 700;
color: var(--text-accent);
margin-bottom: 5px;
}

.prize-range-description {
font-size: 13px;
color: var(--text-muted);
line-height: 1.4;
}

.prize-modal-footer {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 20px;
}

.prize-modal-note {
font-size: 12px;
color: var(--text-muted);
line-height: 1.5;
}

.prize-trigger {
cursor: pointer;
transition: all 0.3s ease;
border-radius: 4px;
padding: 2px 6px;
}

.prize-trigger:hover {
background: rgba(255, 204, 0, 0.1);
transform: scale(1.05);
}