:root {
  --primary: #4facfe;
  --secondary: #00f2fe;
  --accent: #667eea;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --text-dark: #121723;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --bg-light: #f8fafc;
  --bg-lighter: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.12);
  --shadow-lg: rgba(0, 0, 0, 0.15);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes bgFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(50px, -50px) scale(1.05);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 100% 0%;
  }
}

@keyframes shimmerFlow {
  0% {
    right: -50%;
  }

  100% {
    right: 100%;
  }
}

* {
  box-sizing: border-box;
}

.dashboard-new-profile-pg {
  background: linear-gradient(326deg, #4c4e4e 0%, #9ddfe8 50%, #94aee7cc 100%);
  min-height: 100vh;
  padding: 30px 20px;
  position: relative;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.dashboard-new-profile-pg::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 10% 10%, #74a5a5 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, #4c4e4e 0%, transparent 40%),
    radial-gradient(circle at 50% 70%, #94aee7cc 0%, transparent 50%);
  /* animation: bgFloat 25s ease-in-out infinite; */
  z-index: 0;
  pointer-events: none;
}

/* Stats Grid */
.stats-grid-new-profile-pg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  animation: slideUp 0.6s ease-out;
}

@media (max-width: 1024px) {
  .stats-grid-new-profile-pg {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid-new-profile-pg {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.stat-card-new-profile-pg {
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  padding: 28px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 15px 50px rgba(79, 172, 254, 0.15);
  border: 2px solid rgba(79, 172, 254, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stat-card-new-profile-pg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4facfe, #00f2fe, #667eea);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card-new-profile-pg:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(79, 172, 254, 0.25);
  border-color: rgba(79, 172, 254, 0.25);
}

.stat-card-new-profile-pg:hover::after {
  opacity: 1;
}

.stat-card-new-profile-pg div:first-child {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
  display: block;
  position: relative;
  z-index: 1;
}

.stat-value-new-profile-pg {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.stat-value-new-profile-pg div:last-child {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: float 3s ease-in-out infinite;
}

.t-coin-new-profile-pg img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 3px 6px rgba(79, 172, 254, 0.3));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: float 3s ease-in-out infinite;
}

.stat-card-new-profile-pg:hover .t-coin-new-profile-pg img {
  filter: drop-shadow(0 6px 12px rgba(79, 172, 254, 0.5));
}

/* Profile Section */
.profile-section-new-profile-pg {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  margin-bottom: 40px;
  animation: slideUp 0.6s ease-out 0.1s both;
}

@media (max-width: 1024px) {
  .profile-section-new-profile-pg {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.profile-left-new-profile-pg {
  background: linear-gradient(135deg, #91f2f4 0%, #9beedb 100%);
  padding: 32px 24px;
  border-radius: 24px;
  box-shadow:
    0 20px 60px rgba(79, 172, 254, 0.15),
    0 0 1px rgba(79, 172, 254, 0.05);
  text-align: center;
  border: 2px solid rgba(79, 172, 254, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideUp 0.6s ease-out;
}

.profile-left-new-profile-pg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    #4facfe 0%,
    #00f2fe 50%,
    #667eea 100%,
    #4facfe
  );
  background-size: 200% 100%;
  animation: gradientShift 3.5s ease-in-out infinite;
}

.profile-left-new-profile-pg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(
    circle at 20% 80%,
    rgba(79, 172, 254, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.profile-left-new-profile-pg:hover {
  box-shadow:
    0 30px 90px rgba(79, 172, 254, 0.2),
    0 0 20px rgba(79, 172, 254, 0.1);
  border-color: rgba(79, 172, 254, 0.2);
  transform: translateY(-4px);
}

/* Profile Stats Section */
.profile-stats-new-profile-pg {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 2px solid rgba(79, 172, 254, 0.08);
  display: grid;
  /*grid-template-columns: 1fr 1fr;*/
  gap: 16px;
  animation: slideUp 0.7s ease-out 0.1s both;
}

@media (max-width: 768px) {
  .profile-stats-new-profile-pg {
    gap: 12px;
  }
}

.profile-stat-item-new-profile-pg {
  text-align: center;
  padding: 16px 12px;
  background: linear-gradient(326deg, #73a0e9 0%, #56afef 50%, #8b5cf6cc 100%);
  border-radius: 14px;
  border: 1.5px solid rgba(79, 172, 254, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.profile-stat-item-new-profile-pg::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-stat-item-new-profile-pg:hover {
  background: linear-gradient(326deg, #7375e9 0%, #56aaef 50%, #5cd7f6cc 100%);
  border-color: rgba(79, 172, 254, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(79, 172, 254, 0.18);
}

.profile-stat-item-new-profile-pg:hover::before {
  left: 150%;
}

.profile-stat-icon-new-profile-pg {
  font-size: 22px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  display: block;
  transition: transform 0.3s ease;
}

.profile-stat-item-new-profile-pg:hover .profile-stat-icon-new-profile-pg {
  transform: scale(1.2) rotate(-5deg);
}

.profile-stat-value-new-profile-pg {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--text-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.profile-stat-label-new-profile-pg {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.profile-image-new-profile-pg {
  margin-bottom: 12px;
  animation: slideUp 0.6s ease-out;
}

.profile-image-new-profile-pg img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 5px solid var(--primary);
  object-fit: cover;
  box-shadow:
    0 0 30px rgba(79, 172, 254, 0.3),
    inset 0 0 20px rgba(79, 172, 254, 0.1);
  animation: float 3.2s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.profile-image-new-profile-pg img:hover {
  box-shadow:
    0 0 50px rgba(79, 172, 254, 0.5),
    inset 0 0 20px rgba(79, 172, 254, 0.15);
  transform: scale(1.08);
}

.level-info-new-profile-pg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 8px;
}

.level-info-new-profile-pg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.level-info-new-profile-pg:hover::after {
  width: 80px;
}

.level-info-new-profile-pg svg {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.level-info-new-profile-pg:hover svg {
  transform: rotate(180deg);
}

.points-btn-new-profile-pg,
.level-btn-new-profile-pg {
  flex: 1;
  padding: 12px 16px;
  margin: 8px 6px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: auto;
  min-width: 140px;
}

.points-btn-new-profile-pg {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: rgb(13, 13, 14);
  box-shadow: 0 8px 20px rgba(79, 172, 254, 0.25);
}

.points-btn-new-profile-pg:hover {
  box-shadow: 0 12px 32px rgba(79, 172, 254, 0.35);
  transform: translateY(-2px);
}

.points-btn-new-profile-pg:active {
  transform: translateY(0);
}

.points-btn-new-profile-pg::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.points-btn-new-profile-pg:hover::before {
  left: 100%;
}

.buttons-container-new-profile-pg {
  display: flex;
  gap: 10px;
  margin: 14px 0;
  justify-content: center;
  flex-wrap: wrap;
}

.level-btn-new-profile-pg {
  background: var(--bg-card);
  color: rgb(0, 0, 0);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.level-btn-new-profile-pg:hover {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(79, 172, 254, 0.3);
  border-color: transparent;
}

.level-btn-new-profile-pg:active {
  transform: translateY(-1px);
}

/* Featured Card */
.featured-card-new-profile-pg {
  background: linear-gradient(135deg, #8a9fad 0%, #447f9f 50%, #0f4e56 100%);
  padding: 32px;
  border-radius: 20px;
  color: white;
  margin-bottom: 28px;
  box-shadow: 0 25px 80px rgba(79, 172, 254, 0.35);
  border: 2px solid rgba(79, 172, 254, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: slideUp 0.6s ease-out 0.1s both;
}

.featured-card-new-profile-pg::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(79, 172, 254, 0.1);
  border-radius: 50%;
  top: -150px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.featured-card-new-profile-pg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79, 172, 254, 0.4),
    transparent
  );
}

.card-header-new-profile-pg {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.card-header-new-profile-pg::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79, 172, 254, 0.4),
    transparent
  );
}

.income-item-new-profile-pg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.income-item-new-profile-pg:hover {
  background: linear-gradient(90deg, rgba(79, 172, 254, 0.1), transparent);
  padding-left: 8px;
  border-radius: 4px;
}

.income-item-new-profile-pg:last-child {
  border-bottom: none;
}

.income-label-new-profile-pg {
  flex: 1;
  margin-left: 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
}

.income-item-new-profile-pg div:last-child {
  font-weight: 700;
  font-size: 16px;
  min-width: 80px;
  text-align: right;
}

/* Section Grid */
.section-grid-new-profile-pg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
  animation: slideUp 0.6s ease-out 0.2s both;
}

@media (max-width: 1024px) {
  .section-grid-new-profile-pg {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.team-section-new-profile-pg,
.orders-section-new-profile-pg {
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(79, 172, 254, 0.15);
  border: 2px solid rgba(79, 172, 254, 0.12);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-section-new-profile-pg:hover,
.orders-section-new-profile-pg:hover {
  box-shadow: 0 25px 80px rgba(79, 172, 254, 0.25);
  border-color: rgba(79, 172, 254, 0.2);
}

.team-section-new-profile-pg::before,
.orders-section-new-profile-pg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4facfe, #00f2fe, #667eea, #4facfe);
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

.section-title-new-profile-pg {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.section-title-new-profile-pg::before {
  content: "";
  width: 5px;
  height: 28px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.stats-row-new-profile-pg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .stats-row-new-profile-pg {
    grid-template-columns: 1fr;
  }
}

.stat-item-new-profile-pg {
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  padding: 22px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid rgba(79, 172, 254, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.stat-item-new-profile-pg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item-new-profile-pg::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79, 172, 254, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.stat-item-new-profile-pg:hover {
  background: linear-gradient(135deg, #ffffff, #f5f7fa);
  border-color: rgba(79, 172, 254, 0.25);
  box-shadow: 0 12px 32px rgba(79, 172, 254, 0.15);
  transform: translateY(-6px);
}

.stat-item-new-profile-pg:hover::before,
.stat-item-new-profile-pg:hover::after {
  opacity: 1;
}

.stat-item-new-profile-pg:hover::after {
  left: 100%;
}

.stat-number-new-profile-pg {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label-new-profile-pg {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.4;
}

/* Function Icons */
.function-icons-new-profile-pg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 25px;
}

@media (max-width: 768px) {
  .function-icons-new-profile-pg {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.function-icon-new-profile-pg {
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.function-icon-new-profile-pg a {
  text-decoration: none;
  color: inherit;
}

.function-icon-new-profile-pg:hover {
  transform: translateY(-4px);
}

.icon-wrapper-new-profile-pg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.12),
    rgba(0, 242, 254, 0.08)
  );
  border-radius: 16px;
  border: 2px solid rgba(79, 172, 254, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.icon-wrapper-new-profile-pg::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.function-icon-new-profile-pg:hover .icon-wrapper-new-profile-pg::before,
.function-button-new-profile-pg:hover .icon-wrapper-new-profile-pg::before {
  left: 100%;
}

.function-icon-new-profile-pg:hover .icon-wrapper-new-profile-pg {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: var(--glow-primary);
  transform: translateY(-4px);
}

.function-icon-new-profile-pg:hover .icon-wrapper-new-profile-pg::before {
  opacity: 1;
}

.icon-wrapper-new-profile-pg img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: transition all 0.3s ease;
}

/* .function-icon-new-profile-pg:hover .icon-wrapper-new-profile-pg img {
            
        } */

.icon-label-new-profile-pg {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.function-icon-new-profile-pg:hover .icon-label-new-profile-pg,
.function-button-new-profile-pg:hover .icon-label-new-profile-pg {
  color: #4facfe;
  font-weight: 700;
}

/* Common Functions */
.common-functions-new-profile-pg {
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(79, 172, 254, 0.15);
  border: 2px solid rgba(79, 172, 254, 0.12);
  animation: slideUp 0.6s ease-out 0.3s both;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.common-functions-new-profile-pg:hover {
  box-shadow: 0 25px 80px rgba(79, 172, 254, 0.25);
  border-color: rgba(79, 172, 254, 0.2);
}

.common-functions-new-profile-pg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--accent),
    var(--primary)
  );
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

.functions-grid-new-profile-pg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .points-btn-new-profile-pg,
  .level-btn-new-profile-pg {
    width: 100%;
  }

  .functions-grid-new-profile-pg {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .profile-left-new-profile-pg {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .profile-image-new-profile-pg img {
    width: 110px;
    height: 110px;
    border-width: 4px;
  }

  .buttons-container-new-profile-pg {
    flex-direction: column;
    gap: 8px;
  }

  .points-btn-new-profile-pg,
  .level-btn-new-profile-pg {
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    font-size: 12px;
    min-width: unset;
  }

  .profile-stats-new-profile-pg {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .profile-stat-item-new-profile-pg {
    padding: 12px 8px;
  }

  .profile-stat-icon-new-profile-pg {
    font-size: 18px;
  }

  .profile-stat-value-new-profile-pg {
    font-size: 18px;
  }

  .profile-stat-label-new-profile-pg {
    font-size: 10px;
  }

  .scratch-summary-new-profile-pg {
    gap: 10px;
  }

  .scratch-row {
    gap: 10px;
  }

  .scratch-item {
    padding: 10px 8px;
  }

  .scratch-value {
    font-size: 16px;
  }

  .level-info-new-profile-pg {
    font-size: 13px;
    gap: 6px;
  }

  .functions-grid-new-profile-pg {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .profile-left-new-profile-pg {
    padding: 20px 16px;
  }

  .profile-image-new-profile-pg img {
    width: 100px;
    height: 100px;
  }

  .profile-stats-new-profile-pg {
    grid-template-columns: 1fr;
  }

  .scratch-row {
    grid-template-columns: 1fr;
  }

  .level-info-new-profile-pg::after {
    display: none;
  }
}

.function-button-new-profile-pg {
  text-align: center;
  cursor: pointer;
}

.function-button-new-profile-pg a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.function-button-new-profile-pg:hover .icon-wrapper-new-profile-pg {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: var(--glow-primary);
  transform: translateY(-4px);
}

/* .function-button-new-profile-pg:hover .icon-wrapper-new-profile-pg img {
        } */

.function-button-new-profile-pg:hover .icon-label-new-profile-pg {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .featured-card-new-profile-pg {
    padding: 24px;
    margin-bottom: 20px;
  }

  .card-header-new-profile-pg {
    font-size: 15px;
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  .capping-progress-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .points-btn-new-profile-pg,
  .level-btn-new-profile-pg {
    width: 100%;
  }

  .profile-stats-new-profile-pg {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .profile-stat-item-new-profile-pg {
    padding: 8px;
  }

  .profile-stat-value-new-profile-pg {
    font-size: 16px;
  }

  .profile-stat-label-new-profile-pg {
    font-size: 10px;
  }

  .profile-stat-icon-new-profile-pg {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .featured-card-new-profile-pg {
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 16px;
  }

  .card-header-new-profile-pg {
    font-size: 14px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .progress-bar-bg {
    height: 12px;
  }

  .progress-markers {
    top: -24px;
    height: 24px;
  }
}

/* Capping Meter Styles */
.capping-progress-section {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-header {
  margin-bottom: 20px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.progress-title {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.3px;
}

.progress-percentage {
  font-size: 20px;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 50px;
  text-align: right;
}

.progress-bar-container {
  position: relative;
  margin-bottom: 24px;
}

.progress-bar-bg {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(79, 172, 254, 0.3);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4facfe, #00f2fe, #667eea);
  border-radius: 7px;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  min-width: 2px;
  box-shadow:
    0 0 25px rgba(79, 172, 254, 0.9),
    inset 0 0 12px rgba(255, 255, 255, 0.4),
    0 0 40px rgba(0, 242, 254, 0.5);
  animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
  0%,
  100% {
    box-shadow:
      0 0 25px rgba(79, 172, 254, 0.9),
      inset 0 0 12px rgba(255, 255, 255, 0.4),
      0 0 40px rgba(0, 242, 254, 0.5);
  }

  50% {
    box-shadow:
      0 0 35px rgba(79, 172, 254, 1),
      inset 0 0 15px rgba(255, 255, 255, 0.5),
      0 0 50px rgba(0, 242, 254, 0.7);
  }
}

.progress-bar-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(79, 172, 254, 0.4),
    rgba(0, 242, 254, 0.6),
    rgba(102, 126, 234, 0.4)
  );
  border-radius: 7px;
  animation: glowPulse 1.5s ease-in-out infinite;
  filter: blur(2px);
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.4;
    filter: blur(2px);
  }

  50% {
    opacity: 0.8;
    filter: blur(4px);
  }
}

.progress-markers {
  position: absolute;
  top: -26px;
  left: 0;
  right: 0;
  height: 26px;
  pointer-events: none;
}

.marker {
  position: absolute;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.capping-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 1024px) {
  .capping-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .capping-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .capping-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.stat-metric {
  display: flex;
  align-items: center;
  padding: 16px;
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.08),
    rgba(0, 242, 254, 0.05)
  );
  border-radius: 12px;
  border: 2px solid rgba(79, 172, 254, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79, 172, 254, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.stat-metric:hover {
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.15),
    rgba(0, 242, 254, 0.1)
  );
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(79, 172, 254, 0.25);
  border-color: rgba(79, 172, 254, 0.3);
}

.stat-metric:hover::before {
  left: 100%;
}

.metric-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.08)
  );
  border-radius: 12px;
  margin-right: 14px;
  flex-shrink: 0;
  border: 1px solid rgba(79, 172, 254, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.metric-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.stat-metric:hover .metric-icon::before {
  left: 100%;
}

.metric-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.metric-icon i {
  font-size: 18px;
}

.metric-info {
  flex: 1;
}

.metric-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  transition: color 0.3s ease;
}

.stat-metric:hover .metric-label {
  color: rgba(255, 255, 255, 0.95);
}

.metric-value {
  font-size: 18px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 480px) {
  .stat-card-new-profile-pg div:first-child {
    font-size: 12px;
  }

  .stat-value-new-profile-pg div:last-child {
    font-size: 24px;
  }

  .stats-grid-new-profile-pg {
    gap: 12px;
  }

  .t-coin-new-profile-pg img {
    width: 28px;
    height: 28px;
  }

  .progress-title {
    font-size: 14px;
  }

  .progress-percentage {
    font-size: 18px;
  }

  .metric-label {
    font-size: 10px;
  }

  .metric-value {
    font-size: 16px;
  }
}

/* Scratch summary */
.scratch-summary-new-profile-pg {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  animation: slideUp 0.6s ease-out;
}

.scratch-row {
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.scratch-item {
  flex: 1;
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.06),
    rgba(0, 242, 254, 0.03)
  );
  padding: 14px 12px;
  border-radius: 14px;
  border: 1.5px solid rgba(79, 172, 254, 0.12);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.scratch-item::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.1), transparent);
  transition: all 0.5s ease;
}

.scratch-item:hover {
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.12),
    rgba(0, 242, 254, 0.08)
  );
  border-color: rgba(79, 172, 254, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(79, 172, 254, 0.15);
}

.scratch-item:hover::before {
  top: -25%;
  right: -25%;
}

.scratch-label {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scratch-value {
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 6px;
}
/* Enhanced Scratch Summary Styles */
.scratch-summary-new-profile-pg {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideUp 0.6s ease-out;
}

.scratch-row {
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.scratch-item {
  flex: 1;
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.08) 0%,
    rgba(0, 242, 254, 0.04) 100%
  );
  padding: 18px 16px;
  border-radius: 16px;
  border: 2px solid rgba(79, 172, 254, 0.12);
  text-align: left;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scratch-item::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.15), transparent);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scratch-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.scratch-item:hover {
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.15) 0%,
    rgba(0, 242, 254, 0.1) 100%
  );
  border-color: rgba(79, 172, 254, 0.25);
  transform: translateY(-6px);
  box-shadow:
    0 15px 40px rgba(79, 172, 254, 0.2),
    inset 0 0 20px rgba(79, 172, 254, 0.05);
}

.scratch-item:hover::before {
  top: -25%;
  right: -25%;
}

.scratch-item:hover::after {
  left: 100%;
}

.scratch-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.scratch-icon-wrapper {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 2px solid rgba(96, 223, 240, 0.15);
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.scratch-icon-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.1),
    rgba(0, 242, 254, 0.05)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scratch-icon-wrapper.pending {
  background: linear-gradient(135deg, #fbbf24 15%, #f59e0b 100%);
  color: white;
}

.scratch-icon-wrapper.completed {
  background: linear-gradient(135deg, #10b981 15%, #059669 100%);
  color: white;
}

.scratch-icon-wrapper.rank {
  background: linear-gradient(135deg, #8b5cf6 15%, #7c3aed 100%);
  color: white;
}

.scratch-icon-wrapper.bonus {
  background: linear-gradient(135deg, #ef4444 15%, #dc2626 100%);
  color: white;
}

.scratch-item:hover .scratch-icon-wrapper::before {
  opacity: 1;
}

.scratch-item:hover .scratch-icon-wrapper {
  transform: scale(1.15) rotate(-10deg);
  box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
  border-color: rgba(0, 242, 254, 0.4);
}

.scratch-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.scratch-item:hover .scratch-label {
  color: var(--primary);
}

.scratch-value-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.scratch-value {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--bg-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scratch-item:hover .scratch-value {
  font-size: 28px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scratch-value.rank-badge {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 22px;
  text-transform: capitalize;
}

.scratch-value.bonus-amount {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 26px;
}

.scratch-unit {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.scratch-item:hover .scratch-unit {
  color: var(--primary);
}

/* Mini Progress Bar */
.scratch-progress-mini {
  width: 100%;
  height: 6px;
  background: rgba(79, 172, 254, 0.1);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(79, 172, 254, 0.15);
  position: relative;
  z-index: 1;
}

.progress-bar-mini {
  height: 100%;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 12px rgba(79, 172, 254, 0.6);
}

.progress-bar-mini.completed {
  background: linear-gradient(90deg, #10b981, #059669);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.scratch-item:hover .progress-bar-mini {
  box-shadow: 0 0 20px rgba(79, 172, 254, 0.8);
}

/* Badge Indicator */
.scratch-badge-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.scratch-item:hover .scratch-badge-indicator {
  color: #10b981;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

/* Claim Button */
.scratch-claim-btn {
  width: 100%;
  padding: 10px 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.scratch-claim-btn::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;
}

.scratch-claim-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
}

.scratch-claim-btn:hover::before {
  left: 100%;
}

.scratch-claim-btn:active {
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .scratch-summary-new-profile-pg {
    gap: 12px;
    margin-top: 20px;
  }

  .scratch-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .scratch-item {
    padding: 16px 14px;
    gap: 10px;
  }

  .scratch-icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .scratch-value {
    font-size: 20px;
  }

  .scratch-item:hover .scratch-value {
    font-size: 22px;
  }

  .scratch-label {
    font-size: 11px;
  }

  .scratch-unit {
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .scratch-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .scratch-item {
    padding: 14px 12px;
    gap: 8px;
  }

  .scratch-icon-wrapper {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .scratch-value {
    font-size: 18px;
  }

  .scratch-item:hover .scratch-value {
    font-size: 20px;
  }

  .scratch-label {
    font-size: 10px;
  }

  .scratch-item:hover .scratch-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
  }

  .scratch-claim-btn {
    padding: 8px 10px;
    font-size: 10px;
  }
}
/* Today's Income Section Styles */
.today-income-section-new-profile-pg {
  padding: 20px;
  margin-bottom: 40px;
  animation: slideUp 0.6s ease-out 0.1s both;
}

.income-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding: 0 4px;
  animation: slideUp 0.6s ease-out;
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.income-section-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.income-section-title i {
  font-size: 28px;
  background: linear-gradient(135deg, #ff6b6b, #ffa94d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fireFlicker 2s ease-in-out infinite;
}

@keyframes fireFlicker {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

.income-section-subtitle {
  font-size: 13px;
  color: #ffffff;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.income-time-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border-radius: 12px;
  border: 2px solid rgba(79, 172, 254, 0.2);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

.income-time-badge i {
  font-size: 14px;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(79, 172, 254, 0);
  }
}

/* Income Cards Grid */
.income-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 1440px) {
  .income-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

@media (max-width: 1200px) {
  .income-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .income-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .income-section-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .income-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .income-section-title {
    font-size: 22px;
  }

  .income-time-badge {
    width: 100%;
    justify-content: center;
  }
}

/* Modern Income Card */
.income-card-modern {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 20px;
  border: 2px solid rgba(79, 172, 254, 0.12);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(79, 172, 254, 0.08);
  min-height: 280px;
}

.income-card-modern::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.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.income-card-modern:hover {
  transform: translateY(-12px);
  border-color: rgba(79, 172, 254, 0.3);
  box-shadow: 0 24px 70px rgba(79, 172, 254, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.income-card-modern:hover::before {
  left: 100%;
}

/* Card Glow Effect */
.card-glow-effect {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 0;
}

.direct-income-card .card-glow-effect {
  background: radial-gradient(circle, rgba(79, 172, 254, 0.15), transparent);
}

.reward-income-card .card-glow-effect {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent);
}

.level-income-card .card-glow-effect {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent);
}

.roi-income-card .card-glow-effect {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15), transparent);
}

.income-card-modern:hover .card-glow-effect {
  opacity: 1;
  top: -25%;
  right: -25%;
}

/* Card Header Bar */
.card-header-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background-size: 200% 100%;
  animation: gradientFlow 3s ease-in-out infinite;
  z-index: 3;
}

.direct-income-card .card-header-bar {
  background: linear-gradient(90deg, #4facfe, #00f2fe, #4facfe);
}

.reward-income-card .card-header-bar {
  background: linear-gradient(90deg, #10b981, #34d399, #10b981);
}

.level-income-card .card-header-bar {
  background: linear-gradient(90deg, #a855f7, #d8b4fe, #a855f7);
}

.roi-income-card .card-header-bar {
  background: linear-gradient(90deg, #ec4899, #f472b6, #ec4899);
}

@keyframes gradientFlow {
  0%,
  100% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 100% 0%;
  }
}

/* Icon Container */
.card-icon-container {
  position: relative;
  width: 70px;
  height: 70px;
  margin-bottom: 16px;
  z-index: 1;
}

.icon-bg-shape {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.15),
    rgba(0, 242, 254, 0.1)
  );
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(79, 172, 254, 0.2);
}

.direct-income-card .icon-bg-shape {
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.15),
    rgba(0, 242, 254, 0.1)
  );
  border-color: rgba(79, 172, 254, 0.2);
}

.reward-income-card .icon-bg-shape {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.15),
    rgba(52, 211, 153, 0.1)
  );
  border-color: rgba(16, 185, 129, 0.2);
}

.level-income-card .icon-bg-shape {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.15),
    rgba(216, 180, 254, 0.1)
  );
  border-color: rgba(168, 85, 247, 0.2);
}

.roi-income-card .icon-bg-shape {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.15),
    rgba(244, 114, 182, 0.1)
  );
  border-color: rgba(236, 72, 153, 0.2);
}

.income-card-modern:hover .icon-bg-shape {
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(79, 172, 254, 0.25);
}

.icon-circle-pulse {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.direct-income-card .icon-circle-pulse {
  color: #4facfe;
}

.reward-income-card .icon-circle-pulse {
  color: #10b981;
}

.level-income-card .icon-circle-pulse {
  color: #a855f7;
}

.roi-income-card .icon-circle-pulse {
  color: #ec4899;
}

.income-card-modern:hover .icon-circle-pulse {
  transform: scale(1.25) rotate(-10deg);
  filter: drop-shadow(0 6px 12px currentColor);
  opacity: 0.9;
}

/* Content Wrapper */
.card-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1;
  position: relative;
}

/* Card Label */
.card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.label-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-light);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  transition: color 0.3s ease;
}

.income-card-modern:hover .label-text {
  color: var(--bg-light);
}

.label-badge {
  display: inline-block;
  padding: 4px 10px;
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.2),
    rgba(0, 242, 254, 0.1)
  );
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid rgba(79, 172, 254, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.income-card-modern:hover .label-badge {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-color: transparent;
}

/* Value Display */
.card-value-display {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 8px 0;
}

.value-prefix {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2px;
}

.value-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--bg-light);
  letter-spacing: -1px;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.income-card-modern:hover .value-amount {
  font-size: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Meta Info */
.card-meta-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  margin-top: auto;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
  transition: color 0.3s ease;
}

.meta-item i {
  font-size: 10px;
}

.income-card-modern:hover .meta-item {
  color: var(--primary);
}

.meta-separator {
  width: 1px;
  height: 16px;
  background: rgba(79, 172, 254, 0.2);
}

/* Footer Progress */
.card-footer-progress {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(79, 172, 254, 0.1);
  z-index: 1;
}

.progress-mini-bar {
  width: 100%;
  height: 6px;
  background: rgba(79, 172, 254, 0.08);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(79, 172, 254, 0.15);
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 12px rgba(79, 172, 254, 0.5);
}

.direct-income-card .progress-fill {
  background: linear-gradient(90deg, #4facfe, #00f2fe);
}

.reward-income-card .progress-fill {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.level-income-card .progress-fill {
  background: linear-gradient(90deg, #a855f7, #d8b4fe);
}

.roi-income-card .progress-fill {
  background: linear-gradient(90deg, #ec4899, #f472b6);
}

.income-card-modern:hover .progress-fill {
  box-shadow: 0 0 20px currentColor;
}

/* Summary Bar */
.income-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 16px;
  border: 2px solid rgba(79, 172, 254, 0.12);
  box-shadow: 0 12px 35px rgba(79, 172, 254, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideUp 0.6s ease-out 0.2s both;
}

.income-summary-bar:hover {
  border-color: rgba(79, 172, 254, 0.25);
  box-shadow: 0 16px 50px rgba(79, 172, 254, 0.15);
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.summary-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark) !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.summary-value {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.summary-divider {
  width: 2px;
  height: 40px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(79, 172, 254, 0.3),
    transparent
  );
  margin: 0 20px;
}

.action-item {
  justify-content: flex-end;
}

/* Action Button */
.summary-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px rgba(79, 172, 254, 0.3);
  position: relative;
  overflow: hidden;
}

.summary-action-btn::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;
}

.summary-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(79, 172, 254, 0.4);
}

.summary-action-btn:hover::before {
  left: 100%;
}

.summary-action-btn:active {
  transform: translateY(-1px);
}

.summary-action-btn i {
  font-size: 13px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.summary-action-btn:hover i {
  transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .income-card-modern {
    min-height: 260px;
    padding: 20px;
  }

  .card-icon-container {
    width: 64px;
    height: 64px;
  }

  .icon-circle-pulse {
    font-size: 28px;
  }

  .value-amount {
    font-size: 32px;
  }

  .income-summary-bar {
    padding: 18px 24px;
  }
}

@media (max-width: 768px) {
  .income-card-modern {
    min-height: 240px;
    padding: 18px;
  }

  .card-icon-container {
    width: 56px;
    height: 56px;
  }

  .icon-circle-pulse {
    font-size: 24px;
  }

  .value-amount {
    font-size: 28px;
  }

  .income-section-title {
    font-size: 22px;
  }

  .card-label {
    flex-direction: column;
    align-items: flex-start;
  }

  .income-summary-bar {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
  }

  .summary-divider {
    width: 100%;
    height: 2px;
    margin: 0;
  }

  .action-item {
    justify-content: center;
    width: 100%;
  }

  .summary-action-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .income-card-modern {
    min-height: 220px;
    padding: 16px;
  }

  .card-icon-container {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .icon-circle-pulse {
    font-size: 20px;
  }

  .value-prefix {
    font-size: 14px;
  }

  .value-amount {
    font-size: 24px;
  }

  .income-section-title {
    font-size: 18px;
  }

  .label-text {
    font-size: 12px;
  }

  .label-badge {
    font-size: 9px;
    padding: 3px 8px;
  }

  .card-meta-info {
    padding: 8px 0;
  }

  .meta-item {
    font-size: 10px;
  }

  .income-summary-bar {
    padding: 14px 16px;
  }

  .summary-label {
    font-size: 11px;
  }

  .summary-value {
    font-size: 22px;
  }

  .summary-action-btn {
    padding: 8px 14px;
    font-size: 11px;
  }
}

/* Animation for cards */
.income-card-modern {
  animation: cardBounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.income-cards-grid > div:nth-child(1) {
  animation-delay: 0.1s;
}

.income-cards-grid > div:nth-child(2) {
  animation-delay: 0.2s;
}

.income-cards-grid > div:nth-child(3) {
  animation-delay: 0.3s;
}

.income-cards-grid > div:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes cardBounceIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Enhanced Profile Stats */
.profile-stats-new-profile-pg {
  margin-top: 28px;
  padding-top: 0;
  border-top: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 14px;
  animation: slideUp 0.7s ease-out 0.1s both;
}

@media (max-width: 768px) {
  .profile-stats-new-profile-pg {
    gap: 12px;
  }
}

.profile-stat-item-new-profile-pg {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.08),
    rgba(0, 242, 254, 0.05)
  );
  border-radius: 16px;
  border: 2px solid rgba(79, 172, 254, 0.12);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  gap: 16px;
}

.profile-stat-item-new-profile-pg::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-stat-item-new-profile-pg:hover {
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.16),
    rgba(0, 242, 254, 0.1)
  );
  border-color: rgba(79, 172, 254, 0.25);
  transform: translateX(8px);
  box-shadow: 0 12px 30px rgba(79, 172, 254, 0.18);
}

.profile-stat-item-new-profile-pg:hover::before {
  left: 150%;
}

.stat-icon-container {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #5677ef; */
  border-radius: 14px;
  border: 2px solid rgba(79, 172, 254, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.stat-icon-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #5677ef;
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.profile-stat-item-new-profile-pg:hover .stat-icon-container {
  background: #5677ef;
  border-color: rgba(0, 242, 254, 0.4);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}

.profile-stat-icon-new-profile-pg {
  font-size: 24px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}

.profile-stat-item-new-profile-pg:hover .profile-stat-icon-new-profile-pg {
  transform: scale(1.2) rotate(-10deg);
  filter: drop-shadow(0 4px 8px rgba(79, 172, 254, 0.4));
}

.stat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-stat-label-new-profile-pg {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  transition: color 0.3s ease;
}

.profile-stat-item-new-profile-pg:hover .profile-stat-label-new-profile-pg {
  color: var(--primary);
}

.profile-stat-value-new-profile-pg {
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(135deg, #FFF, #FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.profile-stat-item-new-profile-pg:hover .profile-stat-value-new-profile-pg {
  font-size: 28px;
  background: linear-gradient(135deg, #dcdee0, #dbe0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5677ef;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  color: #f5f5f5;
  border: 2px solid rgba(79, 172, 254, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.stat-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* background: #; */
  opacity: 0;
  animation: rotateBadge 3s linear infinite;
  z-index: -1;
}

@keyframes rotateBadge {
  0% {
    transform: rotate(0deg);
    opacity: 0.5;
  }

  100% {
    transform: rotate(360deg);
    opacity: 0.5;
  }
}

.profile-stat-item-new-profile-pg:hover .stat-badge {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  transform: scale(1.15) rotate(360deg);
  box-shadow: 0 6px 16px rgba(79, 172, 254, 0.4);
  color: white;
  border-color: rgba(0, 242, 254, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-stat-item-new-profile-pg {
    padding: 16px 16px;
    gap: 14px;
  }

  .stat-icon-container {
    width: 50px;
    height: 50px;
  }

  .profile-stat-icon-new-profile-pg {
    font-size: 20px;
  }

  .profile-stat-value-new-profile-pg {
    font-size: 22px;
  }

  .profile-stat-label-new-profile-pg {
    font-size: 11px;
  }

  .stat-badge {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .profile-stat-item-new-profile-pg {
    padding: 14px 14px;
    gap: 12px;
  }

  .stat-icon-container {
    width: 46px;
    height: 46px;
  }

  .profile-stat-icon-new-profile-pg {
    font-size: 18px;
  }

  .profile-stat-value-new-profile-pg {
    font-size: 20px;
  }

  .profile-stat-label-new-profile-pg {
    font-size: 10px;
  }

  .stat-badge {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}
/* Enhanced Function Cards - Modern Design */
.enhanced-function-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
  animation: slideUp 0.6s ease-out 0.1s both;
}

@media (max-width: 1024px) {
  .enhanced-function-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .enhanced-function-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .enhanced-function-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.enhanced-function-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  border-radius: 18px;
  border: 2px solid rgba(79, 172, 254, 0.12);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 35px rgba(79, 172, 254, 0.08);
}

.enhanced-function-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--card-color, #4facfe),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.enhanced-function-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.enhanced-function-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 172, 254, 0.25);
  box-shadow: 0 20px 60px rgba(79, 172, 254, 0.2);
  background: linear-gradient(135deg, #ffffff, #f0f7ff);
}

.enhanced-function-card:hover::before {
  opacity: 1;
}

.enhanced-function-card:hover::after {
  left: 100%;
}

.card-bg-gradient {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--card-color, #4facfe), transparent);
  opacity: 0.05;
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.4s ease;
}

.enhanced-function-card:hover .card-bg-gradient {
  opacity: 0.15;
  width: 200px;
  height: 200px;
}

.card-icon-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--card-color, #4facfe) 0%,
    rgba(79, 172, 254, 0.6) 100%
  );
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.icon-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
  animation: glowPulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.enhanced-function-card:hover .card-icon-wrapper {
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
}

.card-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

.enhanced-function-card:hover .card-icon {
  transform: scale(1.2) rotate(-10deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  margin: 0;
  transition: all 0.3s ease;
}

.enhanced-function-card:hover .card-title {
  color: var(--card-color, #4facfe);
  font-size: 16px;
}

.card-description {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  margin: 0;
  transition: color 0.3s ease;
}

.enhanced-function-card:hover .card-description {
  color: var(--primary);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--card-color, #4facfe),
    rgba(79, 172, 254, 0.6)
  );
  border-radius: 50%;
  color: white;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: scale(0.8) translate(10px, -10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.enhanced-function-card:hover .card-badge {
  opacity: 1;
  transform: scale(1) translate(0, 0);
}

/* Card Type Specific Colors */
.community-card {
  --card-color: #4facfe;
}

.members-card {
  --card-color: #10b981;
}

.scratch-card {
  --card-color: #f59e0b;
}

.referral-card {
  --card-color: #8b5cf6;
}

.deposit-card {
  --card-color: #06b6d4;
}

.history-card {
  --card-color: #ec4899;
}

.withdraw-card {
  --card-color: #ef4444;
}

.withdraw-history-card {
  --card-color: #14b8a6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .enhanced-function-card {
    padding: 18px 16px;
    gap: 14px;
  }

  .card-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .card-icon {
    width: 32px;
    height: 32px;
  }

  .card-title {
    font-size: 14px;
  }

  .card-description {
    font-size: 11px;
  }

  .card-badge {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .enhanced-function-card {
    padding: 16px 14px;
    gap: 12px;
  }

  .card-icon-wrapper {
    width: 54px;
    height: 54px;
  }

  .card-icon {
    width: 28px;
    height: 28px;
  }

  .card-title {
    font-size: 13px;
  }

  .card-description {
    font-size: 10px;
  }
}

/* Animation for cards on load */
.enhanced-function-card {
  animation: cardSlideUp 0.6s ease-out backwards;
}

.enhanced-function-grid > a:nth-child(1) {
  animation-delay: 0.1s;
}

.enhanced-function-grid > a:nth-child(2) {
  animation-delay: 0.2s;
}

.enhanced-function-grid > a:nth-child(3) {
  animation-delay: 0.3s;
}

.enhanced-function-grid > a:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes cardSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Modern Common Functions Section */
.common-functions-new-profile-pg {
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(79, 172, 254, 0.15);
  border: 2px solid rgba(79, 172, 254, 0.12);
  animation: slideUp 0.6s ease-out 0.3s both;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 40px;
}

.common-functions-new-profile-pg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4facfe, #00f2fe, #667eea, #4facfe);
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
  z-index: 2;
}

.common-functions-new-profile-pg::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.1), transparent);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.common-functions-new-profile-pg:hover {
  box-shadow: 0 25px 80px rgba(79, 172, 254, 0.25);
  border-color: rgba(79, 172, 254, 0.2);
}

.section-title-new-profile-pg {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.section-title-new-profile-pg i {
  font-size: 28px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title-new-profile-pg::before {
  content: "";
  width: 6px;
  height: 32px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

/* Functions Grid */
.functions-grid-new-profile-pg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1440px) {
  .functions-grid-new-profile-pg {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

@media (max-width: 1200px) {
  .functions-grid-new-profile-pg {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 1024px) {
  .functions-grid-new-profile-pg {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .functions-grid-new-profile-pg {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .functions-grid-new-profile-pg {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Modern Function Card */
.function-card-modern {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 18px;
  border: 2px solid rgba(79, 172, 254, 0.12);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(79, 172, 254, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 12px;
}

.function-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79, 172, 254, 0.4),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.function-card-modern::after {
  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.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.function-card-modern:hover {
  transform: translateY(-10px);
  border-color: rgba(79, 172, 254, 0.3);
  box-shadow: 0 24px 60px rgba(79, 172, 254, 0.25);
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.function-card-modern:hover::before {
  opacity: 1;
}

.function-card-modern:hover::after {
  left: 100%;
}

.function-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.08), transparent);
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.4s ease;
}

.function-card-modern:hover .function-card-bg {
  width: 180px;
  height: 180px;
  opacity: 0.15;
}

/* Icon Box */
.function-icon-box {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.12),
    rgba(0, 242, 254, 0.08)
  );
  border-radius: 18px;
  border: 2px solid rgba(79, 172, 254, 0.2);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.icon-shine {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
  animation: iconGlow 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes iconGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.8;
  }
}

.function-card-modern:hover .function-icon-box {
  transform: scale(1.2);
  box-shadow: 0 12px 30px rgba(79, 172, 254, 0.35);
  border-color: rgba(79, 172, 254, 0.4);
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.2),
    rgba(0, 242, 254, 0.15)
  );
}

.function-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(79, 172, 254, 0.2));
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

.function-card-modern:hover .function-icon {
  transform: scale(1.25) rotate(-15deg);
  filter: drop-shadow(0 4px 12px rgba(79, 172, 254, 0.4));
}

/* Function Info */
.function-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.function-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  margin: 0;
  transition: all 0.3s ease;
  line-height: 1.3;
}

.function-card-modern:hover .function-title {
  color: #4facfe;
  font-size: 16px;
}

.function-subtitle {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  margin: 0;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.function-card-modern:hover .function-subtitle {
  color: #00f2fe;
}

/* Arrow Badge */
.function-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border-radius: 50%;
  color: white;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: scale(0.6) translate(15px, -15px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 3;
  box-shadow: 0 6px 16px rgba(79, 172, 254, 0.3);
}

.function-card-modern:hover .function-arrow {
  opacity: 1;
  transform: scale(1) translate(0, 0);
}

/* Card Type Specific Colors */
.function-card-modern.security-card .function-icon-box {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(37, 99, 235, 0.08)
  );
  border-color: rgba(59, 130, 246, 0.2);
}

.function-card-modern.security-card:hover .function-icon-box {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.2),
    rgba(37, 99, 235, 0.15)
  );
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35);
}

.function-card-modern.security-card .function-arrow {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.function-card-modern.payment-card .function-icon-box {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(37, 99, 235, 0.08)
  );
  border-color: rgba(59, 130, 246, 0.2);
}

.function-card-modern.payment-card:hover .function-icon-box {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.2),
    rgba(37, 99, 235, 0.15)
  );
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35);
}

.function-card-modern.payment-card .function-arrow {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.function-card-modern.logout-card .function-icon-box {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.12),
    rgba(220, 38, 38, 0.08)
  );
  border-color: rgba(239, 68, 68, 0.2);
}

.function-card-modern.logout-card:hover .function-icon-box {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.2),
    rgba(220, 38, 38, 0.15)
  );
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.35);
}

.function-card-modern.logout-card .function-arrow {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .common-functions-new-profile-pg {
    padding: 32px;
  }

  .function-card-modern {
    padding: 20px;
  }

  .function-icon-box {
    width: 72px;
    height: 72px;
  }

  .function-icon {
    width: 40px;
    height: 40px;
  }

  .function-title {
    font-size: 14px;
  }

  .function-subtitle {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .common-functions-new-profile-pg {
    padding: 28px;
    margin-top: 30px;
  }

  .section-title-new-profile-pg {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .function-card-modern {
    padding: 18px;
  }

  .function-icon-box {
    width: 64px;
    height: 64px;
  }

  .function-icon {
    width: 36px;
    height: 36px;
  }

  .function-title {
    font-size: 13px;
  }

  .function-subtitle {
    font-size: 10px;
  }

  .function-arrow {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .common-functions-new-profile-pg {
    padding: 20px;
    border-radius: 16px;
    margin-top: 20px;
  }

  .section-title-new-profile-pg {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .section-title-new-profile-pg::before {
    width: 5px;
    height: 24px;
  }

  .function-card-modern {
    padding: 16px;
    gap: 10px;
  }

  .function-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .function-icon {
    width: 32px;
    height: 32px;
  }

  .function-title {
    font-size: 12px;
  }

  .function-subtitle {
    font-size: 9px;
  }

  .function-arrow {
    width: 32px;
    height: 32px;
    font-size: 10px;
    top: 8px;
    right: 8px;
  }
}

/* Animation on load */
.function-card-modern {
  animation: cardFadeIn 0.6s ease-out backwards;
}

.functions-grid-new-profile-pg > a:nth-child(1) {
  animation-delay: 0.1s;
}

.functions-grid-new-profile-pg > a:nth-child(2) {
  animation-delay: 0.2s;
}

.functions-grid-new-profile-pg > a:nth-child(3) {
  animation-delay: 0.3s;
}

.functions-grid-new-profile-pg > a:nth-child(4) {
  animation-delay: 0.4s;
}

.functions-grid-new-profile-pg > a:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1024px) {
  .scratch-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .profile-stats-new-profile-pg {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .scratch-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .profile-stats-new-profile-pg {
    display: grid;
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 10px;
  }

  .scratch-item {
    padding: 12px !important;
  }

  .profile-stat-item-new-profile-pg {
    padding: 12px !important;
  }

  .scratch-label,
  .profile-stat-label-new-profile-pg {
    font-size: 12px !important;
  }

  .scratch-value,
  .profile-stat-value-new-profile-pg {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .scratch-row {
    gap: 8px;
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .profile-stats-new-profile-pg {
    display: grid;
    gap: 8px;
    /*grid-template-columns: repeat(1, 1fr) !important;*/
  }

  .scratch-item {
    padding: 10px !important;
  }

  .scratch-label {
    font-size: 10px !important;
  }

  .scratch-value {
    font-size: 14px !important;
  }

  .scratch-claim-btn {
    padding: 6px 10px !important;
    font-size: 11px !important;
  }
}

/* Refined option cards (single-file responsive redesign) */
.common-functions-new-profile-pg {
  --option-bg: rgba(10, 29, 47, 0.75);
  --option-card-bg: rgba(10, 29, 47, 0.82);
  --option-border: rgba(78, 144, 182, 0.34);
  --option-title: #e8f5ff;
  --option-subtitle: #8fb7cf;
  --option-accent-a: #2f90a8;
  --option-accent-b: #39d0c4;
  --option-shadow: rgba(15, 23, 42, 0.14);
  background:
    radial-gradient(circle at 0% 0%, rgba(57, 208, 196, 0.13), transparent 42%),
    radial-gradient(
      circle at 100% 100%,
      rgba(240, 191, 100, 0.16),
      transparent 45%
    ),
    var(--option-bg);
  border: 1px solid var(--option-border);
  box-shadow: 0 18px 48px var(--option-shadow);
  backdrop-filter: blur(6px);
}

.functions-grid-new-profile-pg {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.function-card-modern {
  min-height: 220px;
  justify-content: center;
  border: 1px solid var(--option-border);
  background: linear-gradient(
    165deg,
    var(--option-card-bg),
    rgba(12, 37, 58, 0.9)
  );
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.function-card-modern:hover {
  transform: translateY(-8px);
  border-color: rgba(57, 208, 196, 0.52);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
  background: linear-gradient(
    165deg,
    rgba(10, 29, 47, 0.95),
    rgba(16, 54, 81, 0.92)
  );
}

.function-card-modern .function-title {
  color: var(--option-title);
}

.function-card-modern .function-subtitle {
  color: var(--option-subtitle);
}

.function-icon-box {
  background: linear-gradient(
    145deg,
    rgba(47, 144, 168, 0.22),
    rgba(57, 208, 196, 0.18)
  );
  border-color: rgba(57, 208, 196, 0.28);
}

.function-arrow {
  background: linear-gradient(
    145deg,
    var(--option-accent-a),
    var(--option-accent-b)
  );
  opacity: 1;
  transform: scale(1) translate(0, 0);
}

.function-card-modern.logout-card .function-arrow {
  background: linear-gradient(145deg, #ef4444, #b91c1c);
}

/* ================= SETTINGS DASHBOARD (Profile-inspired) ================= */
.settings-dashboard-page {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(15, 76, 117, 0.35),
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 10%,
      rgba(0, 199, 255, 0.25),
      transparent 32%
    ),
    linear-gradient(180deg, #0a3048 0%, #0f4d6c 60%, #07324d 100%);
  min-height: 100vh;
  padding: 32px 18px 60px;
  position: relative;
  color: #eef5ff;
}

.settings-dashboard-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at 50% 80%,
    rgba(0, 242, 254, 0.08),
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

.settings-hero-panel {
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.hero-avatar {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1db3e6, #0a7ebf);
  box-shadow: 0 18px 45px rgba(0, 199, 255, 0.35);
  overflow: hidden;
}

.hero-avatar img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.35);
  background: #0b2033;
}

.avatar-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.35),
    transparent 55%
  );
  animation: iconGlow 3s ease-in-out infinite;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-kicker {
  font-size: 14px;
  letter-spacing: 0.4px;
  color: #b6ccff;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  color: #0a3048;
  background: #5bd3ff;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.pill.primary {
  background: linear-gradient(135deg, #5be2ff, #31c3ff);
  box-shadow: 0 12px 28px rgba(49, 195, 255, 0.35);
}

.pill.primary.soft {
  padding: 10px 14px;
  font-size: 13px;
  color: #06334c;
}

.pill.muted {
  background: #e9eef5;
  color: #0f2940;
}

.pill.claim {
  margin-top: 10px;
  width: 100%;
  background: linear-gradient(135deg, #ffb84d, #ff9533);
  color: #1f1205;
  box-shadow: 0 10px 24px rgba(255, 149, 51, 0.35);
}

.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* stat grid */
.settings-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.settings-stats.secondary {
  margin-top: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .settings-stats,
  .settings-stats.secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .settings-stats,
  .settings-stats.secondary {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.stat-card.glass::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18),
    transparent 60%
  );
  transform: rotate(25deg);
}

.stat-card.outline {
  background: rgba(3, 20, 36, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.stat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 10px;
  color: #fff;
}

.stat-icon.amber {
  background: linear-gradient(135deg, #ffc451, #ff9d2f);
}
.stat-icon.green {
  background: linear-gradient(135deg, #3ed598, #1fab89);
}
.stat-icon.purple {
  background: linear-gradient(135deg, #a26cf6, #784efc);
}
.stat-icon.red {
  background: linear-gradient(135deg, #ff6a88, #ff3d54);
}
.stat-icon.cyan {
  background: linear-gradient(135deg, #5be2ff, #31c3ff);
}
.stat-icon.teal {
  background: linear-gradient(135deg, #4dd0e1, #0097a7);
}
.stat-icon.blue {
  background: linear-gradient(135deg, #7aa5ff, #3c5df6);
}
.stat-icon.lightning {
  background: linear-gradient(135deg, #ffe082, #ffca28);
}

.stat-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #b6ccff;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  margin: 6px 0;
  color: #f5fbff;
}

.stat-sub {
  font-size: 12px;
  color: #d7e4ff;
  opacity: 0.85;
}

/* form section */
.settings-form-area {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .settings-form-area {
    grid-template-columns: 1fr;
  }
}

.settings-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.settings-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.settings-card h2 {
  margin: 4px 0;
  color: #ffffff;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.8px;
  color: #9dd5ff;
  margin: 9px !important;
}

.muted {
  font-size: 13px;
  color: #cbd8f4;
}

.settings-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.input-card {
  background: linear-gradient(
    145deg,
    rgba(4, 30, 49, 0.72),
    rgba(5, 35, 56, 0.62)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 6px 18px rgba(0, 0, 0, 0.28);
}

.input-card span,
.input-card label {
  font-size: 12px;
  color: #d9eaff;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-card input,
.input-card select {
  background: linear-gradient(180deg, #0d2c42 0%, #0b2436 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 14px 16px;
  color: #f6fbff;
  font-size: 14px;
  width: 100%;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  appearance: none;
}

.input-card select {
  background-image:
    linear-gradient(180deg, #0d2c42 0%, #0b2436 100%),
    linear-gradient(
      135deg,
      transparent 0%,
      transparent 60%,
      rgba(255, 255, 255, 0.25) 60%,
      rgba(255, 255, 255, 0.25) 100%
    );
  background-repeat: no-repeat;
  background-position:
    right 12px center,
    right 0 center;
  background-size:
    12px 12px,
    36px 100%;
  padding-right: 44px;
}

.input-card input:focus,
.input-card select:focus {
  border-color: #31c3ff;
  box-shadow: 0 0 0 3px rgba(49, 195, 255, 0.18);
}

.input-card input::placeholder {
  color: #9dc3e6;
}

.input-card input[readonly] {
  opacity: 0.8;
  cursor: not-allowed;
  background: linear-gradient(180deg, #0b2436 0%, #0a1f2f 100%);
}

.dual-input {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 10px;
}

.dual-input select {
  background: linear-gradient(180deg, #0d2c42 0%, #0b2436 100%);
}

.span-2 {
  grid-column: span 2;
}

@media (max-width: 720px) {
  .span-2 {
    grid-column: span 1;
  }
}

.helper.success {
  margin: 6px 0 0;
  color: #7af3c5;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* sidebar */
.settings-side-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
  color: #e8f3ff;
}

.settings-side-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}

.settings-side-card h3 {
  margin: 0 0 8px;
  color: #ffffff;
}

.settings-side-card p {
  margin: 0 0 12px;
  color: #c5d9ff;
}

.tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.tip-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #d5e6ff;
  font-weight: 600;
}

.tip-list i {
  color: #3ed598;
}

.settings-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Responsive tweaks */
@media (max-width: 960px) {
  .settings-dashboard-page {
    padding: 28px 14px 48px;
  }
  .settings-card {
    padding: 18px;
  }
  .settings-side-card {
    padding: 16px;
  }
  .settings-form-grid {
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .settings-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .settings-actions {
    width: 100%;
  }
  .settings-actions .pill {
    width: 100%;
    text-align: center;
  }
  .dual-input {
    grid-template-columns: 1fr;
  }
  .settings-card {
    padding: 16px;
  }
  .settings-side-card {
    margin-top: 6px;
  }
}

@media (max-width: 560px) {
  .hero-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-avatar {
    width: 90px;
    height: 90px;
  }
  .settings-dashboard-page {
    padding: 22px 12px 38px;
  }
  .settings-card h2 {
    font-size: 20px;
  }
  .input-card {
    padding: 10px 12px;
  }
  .pill {
    width: 100%;
    text-align: center;
  }
}

/* ================= INVESTMENT PAGE (Dashboard theme) ================= */
.invest-dashboard-page {
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(0, 199, 255, 0.18),
      transparent 38%
    ),
    radial-gradient(
      circle at 85% 10%,
      rgba(47, 144, 168, 0.18),
      transparent 34%
    ),
    linear-gradient(180deg, #0b2e46 0%, #0f4764 55%, #07324d 100%);
  min-height: 100vh;
  padding: 28px 16px 50px;
  color: #eef5ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.invest-hero {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(79, 195, 255, 0.2);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.invest-hero-main {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 250px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 160px;
}

.invest-hero h1 {
  margin: 4px 0;
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.text-glow {
  color: #9dd5ff;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
}

.hero-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 14px;
  border-radius: 14px;
  text-align: right;
  min-width: 160px;
}

.chip-label {
  display: block;
  color: #c5ddff;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.chip-value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-top: 4px;
}

.pill.nav-back {
  background: linear-gradient(135deg, #5be2ff, #31c3ff);
  color: #0a3048;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 28px rgba(49, 195, 255, 0.3);
  margin-bottom: 10px;
}

.invest-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  align-items: start;
}

.invest-card-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.invest-card,
.side-card {
  background: linear-gradient(135deg, 
    rgba(15, 44, 62, 0.8),
    rgba(11, 36, 54, 0.9)
  );
  border: 1px solid rgba(79, 195, 255, 0.15);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.invest-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #5be2ff;
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(79, 195, 255, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-block.full-width {
  grid-column: 1 / -1;
}

.form-block label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #a8d7ff;
  transition: color 0.2s ease;
}

.form-block:focus-within label {
  color: #5be2ff;
}

.input-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.currency-prefix {
  position: absolute !important;
  left: 14px !important;
  top: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  color: #5be2ff !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  pointer-events: none !important;
  height: 100% !important;
}

.input-wrapper input {
  padding-left: 32px !important;
}

.form-block input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(74, 132, 158, 0.4);
  background: linear-gradient(180deg, rgba(15, 44, 62, 0.6), rgba(11, 36, 54, 0.8));
  color: #f0f9ff;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition:
    all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-block input::placeholder {
  color: #7fa6c8;
}

.form-block input:hover:not([readonly]) {
  border-color: rgba(91, 226, 255, 0.3);
  background: linear-gradient(180deg, rgba(12, 50, 70, 0.7), rgba(8, 40, 58, 0.9));
}

.form-block input:focus {
  border-color: #31c3ff;
  box-shadow: 0 0 0 3px rgba(49, 195, 255, 0.15);
  background: linear-gradient(180deg, rgba(12, 50, 70, 0.8), rgba(8, 40, 58, 1));
}

.form-block input[readonly] {
  opacity: 0.95;
  cursor: not-allowed;
  background: linear-gradient(180deg, rgba(10, 28, 40, 0.7), rgba(8, 24, 36, 0.8));
  border-color: rgba(74, 132, 158, 0.25);
}

.error-msg {
  color: #ff8a8a;
  font-size: 11px;
  margin-top: 3px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(79, 195, 255, 0.1);
}

.pill.wide {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.pill.primary {
  background: linear-gradient(135deg, #31c3ff, #5be2ff);
  color: #0a2434;
  box-shadow: 0 8px 20px rgba(49, 195, 255, 0.3);
}

.pill.primary:hover {
  box-shadow: 0 12px 28px rgba(49, 195, 255, 0.4);
  transform: translateY(-2px);
}

.pill.primary:active {
  transform: translateY(0);
}

.pill.ghost {
  background: rgba(91, 226, 255, 0.08);
  color: #8dd6ff;
  border: 1.5px solid rgba(91, 226, 255, 0.25);
}

.pill.ghost:hover {
  background: rgba(91, 226, 255, 0.15);
  border-color: rgba(91, 226, 255, 0.4);
  transform: translateY(-2px);
}

.alert-box {
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  border: 1px solid;
  animation: slideUp 0.4s ease-out;
}

.alert-error {
  background: rgba(239, 68, 68, 0.4) !important;
  border-color: rgba(239, 68, 68, 0.8) !important;
  color: #ffcccc !important;
}

.alert-success {
  background: rgba(16, 185, 129, 0.4) !important;
  border-color: rgba(16, 185, 129, 0.8) !important;
  color: #b3f5d8 !important;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #31c3ff, #5be2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #0a2434;
  margin-bottom: 14px;
  box-shadow: 0 8px 16px rgba(49, 195, 255, 0.25);
}

.invest-side {
  display: flex;
  flex-direction: column;
}

.invest-side .side-card {
  display: flex;
  flex-direction: column;
  height: auto;
}

.invest-side h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.invest-side p {
  margin: 0 0 14px;
  color: #a8d7ff;
  font-size: 13px;
  line-height: 1.5;
}

.invest-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.invest-side li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #8dd6ff;
  font-weight: 500;
  font-size: 13px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(91, 226, 255, 0.05);
  transition: all 0.2s ease;
}

.invest-side li:hover {
  background: rgba(91, 226, 255, 0.12);
  transform: translateX(4px);
}

.invest-side li i {
  color: #5be2ff;
  min-width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1200px) {
  .invest-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

@media (max-width: 1024px) {
  .invest-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .invest-dashboard-page {
    padding: 24px 14px 40px;
  }
  
  .invest-hero-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  
  .hero-right {
    width: 100%;
    align-items: flex-start;
    flex-direction: row;
    gap: 12px;
  }
  
  .hero-chip {
    flex: 1;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .invest-grid {
    grid-template-columns: 1fr;
  }
  
  .invest-hero h1 {
    font-size: 22px;
  }
  
  .eyebrow {
    font-size: 10px;
  }
  
  .invest-card,
  .side-card {
    padding: 18px;
  }
  
  .action-row {
    grid-template-columns: 1fr;
  }
  
  .form-block input {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .invest-side {
    margin-top: 8px;
  }
  
  .invest-side li {
    padding: 6px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .invest-dashboard-page {
    padding: 16px 12px 32px;
  }
  
  .invest-card,
  .side-card {
    padding: 16px;
  }
  
  .hero-content p {
    font-size: 13px;
  }
  
  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}


/* ================= SCRATCH BONUS PAGE ================= */
.scratch-dashboard-page {
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(0, 199, 255, 0.18),
      transparent 38%
    ),
    radial-gradient(
      circle at 80% 0%,
      rgba(82, 157, 220, 0.18),
      transparent 36%
    ),
    linear-gradient(180deg, #0b2e46 0%, #0f4764 55%, #07324d 100%);
  min-height: 100vh;
  padding: 30px 18px 60px;
  color: #eef5ff;
}

.scratch-hero-card {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.scratch-hero-card .hero-left {
  display: flex;
  gap: 14px;
  align-items: center;
}

.hero-avatar.bubble {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid #31c3ff;
  background: linear-gradient(145deg, #1db3e6, #0a7ebf);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(49, 195, 255, 0.35);
  overflow: hidden;
}

.hero-avatar.bubble img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  flex: 1;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 12px;
  border-radius: 12px;
  text-align: right;
}

.stat-pill span {
  display: block;
  color: #c5ddff;
  font-size: 12px;
}

.stat-pill strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-top: 4px;
}

.scratch-section-modern {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.scratch-section-modern .section-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 12px;
}

.scratch-section-modern h2 {
  margin: 0;
  color: #ffffff;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill.small {
  padding: 8px 10px;
  font-size: 12px;
}

.scratch-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.card.scratch-card {
  background: linear-gradient(
    165deg,
    rgba(12, 37, 58, 0.92),
    rgba(7, 30, 45, 0.92)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  color: #eaf4ff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.card.scratch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(49, 195, 255, 0.12),
      transparent 45%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(255, 166, 77, 0.08),
      transparent 50%
    );
  pointer-events: none;
}

.card-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #a7c7ff;
  margin-bottom: 8px;
}

.card-title {
  margin: 0 0 10px;
  font-size: 18px;
  color: #ffffff;
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(49, 195, 255, 0.12);
  border: 1px solid rgba(49, 195, 255, 0.35);
  color: #9dd5ff;
  font-weight: 700;
  font-size: 11px;
}

.scratch-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin: 12px 0;
  background: linear-gradient(145deg, #0f2433, #0a1b28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.15);
}

.reward-info {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 1;
  padding: 12px;
  color: #eaf4ff;
}

.reward-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

.reward-amount {
  font-size: 34px;
  font-weight: 900;
  color: #10b981;
  margin: 6px 0;
  text-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.reward-sub {
  font-size: 12px;
  color: #c5ddff;
}

.scratch-canvas {
  position: absolute;
  inset: 0;
  cursor: grab;
  z-index: 2;
}

.scratch-canvas:active {
  cursor: grabbing;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #c5ddff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

.scratch-status {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(49, 195, 255, 0.25);
  background: rgba(49, 195, 255, 0.08);
  color: #9dd5ff;
  font-weight: 700;
}

.card.scratch-completed .scratch-status {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  color: #ffffff;
}

.scratch-celebrate {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.confetti-piece {
  position: absolute;
  left: 50%;
  top: 60%;
  width: 4px;
  height: 10px;
  border-radius: 2px;
  background: var(--confetti-color, #ffcf71);
  opacity: 0;
  animation-name: confettiBurst;
  animation-duration: var(--confetti-duration, 1s);
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: var(--confetti-delay, 0s);
}

@keyframes confettiBurst {
  0% {
    transform: translate3d(0, 0, 0) rotateZ(0deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--confetti-x, 0px), var(--confetti-y, -80px), 0)
      rotateZ(260deg);
    opacity: 0;
  }
}

.scratch-win-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.35);
  z-index: 1200;
  opacity: 1;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.scratch-win-popup.hide {
  opacity: 0;
  transform: translateY(-10px);
}

.scratch-win-title {
  font-weight: 800;
  font-size: 14px;
}

.scratch-win-amount span {
  font-size: 22px;
  font-weight: 900;
}

.scratch-empty {
  text-align: center;
  color: #c5ddff;
  padding: 20px 10px;
}

.scratch-empty .empty-icon {
  font-size: 32px;
  margin-bottom: 6px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1300;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: linear-gradient(145deg, #0f2c3e, #0a1f2f);
  color: #eaf4ff;
  padding: 22px;
  border-radius: 14px;
  min-width: 260px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: none;
  border: none;
  color: #eaf4ff;
  font-size: 18px;
  cursor: pointer;
}

.modal-icon.success {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #059669);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 10px;
}

.modal-button {
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #5be2ff, #31c3ff);
  color: #0a3048;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero-stats {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .scratch-dashboard-page {
    padding: 24px 12px 40px;
  }
  .scratch-hero-card {
    padding: 14px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scratch-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= ALL BONUS PAGE ================= */
.bonus-dashboard-page {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(15, 76, 117, 0.35),
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 10%,
      rgba(0, 199, 255, 0.25),
      transparent 32%
    ),
    linear-gradient(180deg, #0a3048 0%, #0f4d6c 60%, #07324d 100%);
  min-height: 100vh;
  padding: 32px 18px 60px;
  color: #eef5ff;
}

.bonus-hero-card {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.bonus-hero-card .hero-left {
  display: flex;
  gap: 14px;
  align-items: center;
}

.bonus-cards-section {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.bonus-cards-section .section-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 12px;
}

.bonus-cards-section h2 {
  margin: 0;
  color: #ffffff;
}

.bonus-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.bonus-card-modern {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(
    165deg,
    rgba(12, 37, 58, 0.78),
    rgba(7, 30, 45, 0.82)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 16px 62px;
  color: #eaf4ff;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  position: relative;
}

.bonus-card-modern:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.bonus-card-modern h3 {
  margin: 0;
  font-size: 17px;
  color: #ffffff;
}

.bonus-card-modern p {
  margin: 0;
  color: #c5ddff;
  font-size: 13px;
}

.bonus-card-modern .card-meta {
  font-size: 12px;
  color: #9dd5ff;
  font-weight: 700;
}

.bonus-card-modern .card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
}

.icon-box.amber {
  background: linear-gradient(135deg, #ffc451, #ff9d2f);
}
.icon-box.teal {
  background: linear-gradient(135deg, #4dd0e1, #0097a7);
}
.icon-box.green {
  background: linear-gradient(135deg, #3ed598, #1fab89);
}
.icon-box.purple {
  background: linear-gradient(135deg, #a26cf6, #784efc);
}
.icon-box.pink {
  background: linear-gradient(135deg, #ff6a88, #ff3d54);
}

/* Light colorful backgrounds per card */
.direct-card {
  background: linear-gradient(
    145deg,
    rgba(255, 199, 120, 0.22),
    rgba(15, 46, 72, 0.9)
  );
}
.reward-card {
  background: linear-gradient(
    145deg,
    rgba(126, 217, 255, 0.25),
    rgba(12, 43, 65, 0.9)
  );
}
.roi-card {
  background: linear-gradient(
    145deg,
    rgba(132, 225, 173, 0.22),
    rgba(11, 42, 60, 0.9)
  );
}
.level-card {
  background: linear-gradient(
    145deg,
    rgba(183, 148, 255, 0.25),
    rgba(13, 39, 63, 0.9)
  );
}
.surprise-card {
  background: linear-gradient(
    145deg,
    rgba(255, 178, 206, 0.25),
    rgba(12, 38, 58, 0.9)
  );
}

.view-btn {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 7px 12px;
  min-width: 80px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #0a2740 !important;
  font-weight: 800;
  background: linear-gradient(135deg, #5be2ff, #31c3ff);
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(49, 195, 255, 0.35);
}

@media (max-width: 900px) {
  .bonus-dashboard-page {
    padding: 28px 14px 48px;
  }
}

@media (max-width: 640px) {
  .bonus-hero-card {
    padding: 14px;
  }
  .bonus-cards-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ================= DIRECT BONUS PAGE ================= */
.direct-page {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(15, 76, 117, 0.35),
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 10%,
      rgba(0, 199, 255, 0.25),
      transparent 32%
    ),
    linear-gradient(180deg, #0a3048 0%, #0f4d6c 60%, #07324d 100%);
  min-height: 100vh;
  padding: 32px 18px 60px;
  color: #eef5ff;
}

.page-header-card {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.page-header-card h1 {
  margin: 4px 0;
  font-size: 26px;
  color: #ffffff;
}

.direct-table-card {
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.table-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.table-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eaf4ff;
  font-weight: 800;
  font-size: 16px;
}

.table-title i {
  color: #5be2ff;
}

.loader-glass {
  text-align: center;
  padding: 28px 12px;
  color: #c5ddff;
}

.spinner-glass {
  margin: 0 auto 10px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: #5be2ff;
  animation: spin 1s linear infinite;
}

.modern-table thead {
  background: rgba(255, 255, 255, 0.06);
}

.modern-table th {
  padding: 12px;
  font-size: 12px;
  color: #b7d7ff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.modern-table td {
  padding: 12px;
  font-size: 13px;
  color: #eaf4ff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-align: left;
}

.modern-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.glass-scroll::-webkit-scrollbar {
  height: 8px;
}

.glass-scroll::-webkit-scrollbar-thumb {
  background: #31c3ff;
  border-radius: 4px;
}

.table-wrapper {
  width: 100%;
}

.table-responsive {
  width: 100%;
}

.modern-table table {
  width: 100%;
  table-layout: auto;
}

.controls-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.page-info {
  font-size: 13px;
  color: #c5ddff;
  display: inline-block;
  margin-left: 0;
}

.glass-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  border-radius: 10px;
  margin-right: auto;
}

.pagination .page-link {
  background: rgba(255, 255, 255, 0.08);
  color: #eaf4ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-weight: 700;
  font-size: 12px;
}

.pagination .active .page-link {
  background: linear-gradient(135deg, #5be2ff, #31c3ff);
  color: #0a3048;
  border-color: transparent;
}

.pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination {
  gap: 4px;
  list-style: none;
  padding-left: 0;
  margin: 0;
  align-items: right;
  justify-content: right;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 11px;
}

.status-chip.success {
  background: rgba(16, 185, 129, 0.18);
  color: #7ef2c4;
}
.status-chip.danger {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}
.status-chip.info {
  background: rgba(59, 130, 246, 0.18);
  color: #c1d8ff;
}
.status-chip.warning {
  background: rgba(245, 158, 11, 0.18);
  color: #ffd08a;
}

.no-data {
  text-align: center;
  color: #c5ddff;
  padding: 18px 0;
}

.stat-wide-card {
  width: 100%;
  margin: 12px auto 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  gap: 5px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #5be2ff, #31c3ff);
  color: #0a3048;
  box-shadow: 0 10px 24px rgba(49, 195, 255, 0.35);
}

.stat-copy h2 {
  margin: 2px 0 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

/* Security form */
.security-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.input-row input {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, #0d2c42 0%, #0b2436 100%);
  padding: 12px 14px;
  color: #eaf4ff;
}

.toggle-password-modern {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #eaf4ff;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.password-strength-modern {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c5ddff;
  font-weight: 700;
}

.password-strength-modern.weak {
  color: #fca5a5;
}
.password-strength-modern.medium {
  color: #facc15;
}
.password-strength-modern.strong {
  color: #34d399;
}

/* Enhanced Security card */
.security-page .security-card {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(49, 195, 255, 0.12),
      transparent 55%
    ),
    radial-gradient(circle at 90% 0%, rgba(79, 172, 254, 0.1), transparent 50%),
    rgba(10, 31, 50, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 22px;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  max-width: 640px;
  margin: 0 auto;
}

.security-page .security-card-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.security-page .security-card-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 0.2px;
}

.security-page .security-card-head p {
  margin: 0;
  color: #c5ddff;
  font-size: 13px;
}

.security-page .icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5be2ff, #31c3ff);
  color: #0a3048;
  box-shadow: 0 10px 24px rgba(49, 195, 255, 0.35);
}

.security-page .section-label {
  margin: 14px 0 8px;
  font-weight: 700;
  color: #9dd5ff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  position: relative;
}

.security-page .section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
}

.security-page .input-grid.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.security-page .input-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.security-page .input-card label {
  font-size: 12px;
  font-weight: 700;
  color: #cfe6ff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.security-page .get-code-btn {
  background: linear-gradient(135deg, #5be2ff, #31c3ff);
  color: #0a3048;
  border: none;
  border-radius: 9px;
  padding: 10px 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(49, 195, 255, 0.35);
}

.security-page .pill.primary.wide {
  background: linear-gradient(135deg, #5be2ff, #31c3ff);
  color: #0a3048;
  font-weight: 900;
  border: none;
  box-shadow: 0 12px 28px rgba(49, 195, 255, 0.35);
}

/* Security card layout like screenshot */
.security-page .security-card {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(49, 195, 255, 0.12),
      transparent 55%
    ),
    radial-gradient(circle at 90% 0%, rgba(79, 172, 254, 0.1), transparent 50%),
    rgba(10, 31, 50, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 22px;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  max-width: 640px;
  margin: 0 auto;
}

.security-page .security-card-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.security-page .security-card-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 0.2px;
}

.security-page .security-card-head p {
  margin: 0;
  color: #c5ddff;
  font-size: 13px;
}

.security-page .icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5be2ff, #31c3ff);
  color: #0a3048;
  box-shadow: 0 10px 24px rgba(49, 195, 255, 0.35);
}

.section-label {
  margin: 14px 0 8px;
  font-weight: 700;
  color: #9dd5ff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  position: relative;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
}
.input-grid.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.get-code-btn {
  background: linear-gradient(135deg, #5be2ff, #31c3ff);
  color: #0a3048;
  border: none;
  border-radius: 9px;
  padding: 10px 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

@media (max-width: 560px) {
  .security-card {
    padding: 12px;
  }
  .input-grid.two-col {
    grid-template-columns: 1fr;
  }
}

/* Responsive tweaks for Direct Bonus */
@media (max-width: 900px) {
  .direct-page {
    padding: 26px 14px 46px;
  }
  .direct-table-card {
    padding: 12px;
  }
  .page-header-card {
    padding: 14px;
  }
  .stat-wide-card {
    padding: 12px;
  }
}

@media (max-width: 720px) {
  .table-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .controls-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-header-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .rows-control select {
    width: 100%;
  }
  .table-responsive {
    overflow-x: auto;
  }
  .modern-table th,
  .modern-table td {
    padding: 10px 8px;
    font-size: 11px;
  }
  .stat-copy h2 {
    font-size: 20px;
  }
  .view-btn {
    min-width: 72px;
    padding: 6px 10px;
  }
  .controls-bottom nav {
    width: 100%;
    margin-top: 6px;
  }
  .pagination {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .page-info {
    width: 100%;
    margin-bottom: 6px;
    display: block;
  }
}

@media (max-width: 480px) {
  .direct-page {
    padding: 22px 12px 36px;
  }
  .page-header-card h1 {
    font-size: 20px;
  }
  .page-header-card .muted {
    font-size: 12px;
  }
  .modern-table th,
  .modern-table td {
    padding: 8px 6px;
    font-size: 10px;
  }
  .rows-control label {
    font-size: 12px;
  }
  .rows-control select {
    font-size: 12px;
  }
  .page-info {
    font-size: 12px;
  }
}

@media (max-width: 720px) {
  .table-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .controls-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-header-card {
    padding: 14px;
  }
}

.function-card-modern.support-card .function-icon-box {
  background: linear-gradient(
    145deg,
    rgba(57, 208, 196, 0.24),
    rgba(240, 191, 100, 0.18)
  );
  border-color: rgba(57, 208, 196, 0.46);
}

.function-card-modern.support-card .function-arrow {
  background: linear-gradient(145deg, #39d0c4, #2f90a8);
}

@media (max-width: 768px) {
  .functions-grid-new-profile-pg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .function-card-modern {
    min-height: 180px;
    padding: 14px;
  }

  .function-icon-box {
    width: 56px;
    height: 56px;
  }

  .function-icon {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .functions-grid-new-profile-pg {
    grid-template-columns: 1fr;
  }

  .function-card-modern {
    min-height: 140px;
  }

  .function-arrow {
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
  }
}

/* ------------------------------------------------ */
/* Support Ticket Page                              */
/* ------------------------------------------------ */
.support-ticket-page {
  background: linear-gradient(326deg, #4c4e4e 0%, #9ddfe8 50%, #94aee7cc 100%);
  min-height: 100vh;
  padding: 30px 20px 60px;
  position: relative;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.support-ticket-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 10% 10%,
      rgba(116, 165, 165, 0.22) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 90% 20%,
      rgba(76, 78, 78, 0.16) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 70%,
      rgba(148, 174, 231, 0.35) 0%,
      transparent 55%
    );
  z-index: 0;
  pointer-events: none;
}

.support-hero-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #0f2c4c 0%, #1b6a91 50%, #133a69 100%);
  padding: 32px;
  border-radius: 22px;
  color: #e9f6ff;
  box-shadow: 0 30px 80px rgba(12, 45, 90, 0.35);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.support-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(79, 172, 254, 0.25),
    transparent 45%
  );
  pointer-events: none;
}

.support-hero-content h1 {
  margin: 8px 0 12px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.support-hero-content p {
  margin: 0 0 16px;
  color: #d9e7f5;
  line-height: 1.6;
  max-width: 640px;
}

.pill.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.pill.badge-soft i {
  color: #7bd8ff;
}

.support-hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  font-weight: 600;
  color: #d9e7f5;
  backdrop-filter: blur(8px);
}

.meta-chip strong {
  color: #fff;
}

.support-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.3), transparent 65%);
  filter: blur(6px);
  animation: float 7s ease-in-out infinite;
}

.hero-avatar {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(91, 226, 255, 0.2),
    rgba(49, 195, 255, 0.35)
  );
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 60px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.hero-card-mini {
  position: absolute;
  bottom: 18px;
  right: 26px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  padding: 12px 16px;
  border-radius: 14px;
  min-width: 140px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-card-mini .mini-label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
  display: block;
}

.hero-card-mini .mini-value {
  font-weight: 800;
  font-size: 16px;
  color: #0f172a;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: #10b981;
  margin-left: 8px;
}

.pulse {
  animation: pulse 1.8s ease-in-out infinite;
}

.support-ticket-grid {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
}

.support-form-card,
.support-side-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
}

.card-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.card-head-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #0a3048;
  box-shadow: 0 14px 30px rgba(79, 172, 254, 0.3);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  font-weight: 700;
  font-size: 12px;
}

.card-head h2 {
  margin: 4px 0 0;
  font-size: 22px;
  color: #f8fafc;
}

.alert-slab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

.alert-slab i {
  font-size: 18px;
  margin-top: 2px;
}

.alert-slab p {
  margin: 0;
  color: inherit;
}

.alert-error {
  background: rgba(239, 68, 68, 0.4) !important;
  border-color: rgba(239, 68, 68, 0.8) !important;
  color: #ffcccc !important;
}

.alert-success {
  background: rgba(16, 185, 129, 0.4) !important;
  border-color: rgba(16, 185, 129, 0.8) !important;
  color: #b3f5d8 !important;
}


.info-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.16),
    rgba(0, 242, 254, 0.12)
  );
  border: 1px dashed rgba(255, 255, 255, 0.18);
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 18px;
  align-items: start;
}

.info-banner h4 {
  margin: 0 0 4px;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 700;
}

.info-banner p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
}

.info-banner .info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(79, 172, 254, 0.22);
  color: #e0f2fe;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #e5e7eb;
  font-size: 14px;
}

.field-label .label-icon {
  color: #4facfe;
}

.required {
  color: #ef4444;
  margin-left: 4px;
}

.field-control {
  position: relative;
  display: flex;
  align-items: center;
  background: #0b1220;
  border: 1.4px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.field-control:hover {
  border-color: rgba(79, 172, 254, 0.6);
  box-shadow: 0 6px 20px rgba(79, 172, 254, 0.12);
}

.field-control input,
.field-control textarea {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: #e5e7eb;
  font-family: inherit;
  background: transparent;
}

.field-control textarea {
  resize: vertical;
  min-height: 140px;
}

.field-control textarea::placeholder,
.field-control input::placeholder {
  color: #94a3b8;
}

.field-prefix {
  position: absolute;
  left: 14px;
  color: #9ca3af;
  font-size: 14px;
  display: grid;
  place-items: center;
}

.with-counter .field-counter {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 12px;
  color: #cbd5e1;
  background: #0b1220;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.field-error {
  color: #fca5a5;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #0a3048;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(79, 172, 254, 0.3);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  justify-content: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(79, 172, 254, 0.4);
}

.btn-primary.full {
  width: 100%;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
  margin-top: -4px;
}

.ghost-link:hover {
  color: #0f172a;
}

.support-side-card {
  background: linear-gradient(
    145deg,
    rgba(17, 24, 39, 0.9),
    rgba(15, 23, 42, 0.9)
  );
  text-align: center;
  position: relative;
  overflow: hidden;
}

.support-side-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(79, 172, 254, 0.25),
    transparent 65%
  );
  top: -120px;
  right: -120px;
  z-index: 0;
}

.support-side-card h3 {
  margin: 10px 0 6px;
  font-size: 24px;
  color: #e5e7eb;
}

.support-side-card p {
  color: #cbd5e1;
  margin: 0 0 12px;
  line-height: 1.6;
}

.side-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(79, 172, 254, 0.25);
  color: #0f609b;
  font-size: 44px;
  margin-bottom: 10px;
  z-index: 1;
}

.side-icon .ring {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 2px solid rgba(79, 172, 254, 0.25);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.92);
    opacity: 1;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

.side-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.side-feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  font-weight: 700;
}

.side-feature i {
  color: #7bd8ff;
}

.side-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  font-weight: 700;
  color: #065f46;
  margin-top: 6px;
}

.support-footer {
  margin-top: 26px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.support-footer-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  color: #e5e7eb;
}

.support-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.support-footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.support-footer-brand p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
}

.support-footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.support-footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.support-footer-links a:hover {
  color: #7bd8ff;
}

.support-footer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chat-btn,
.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
}

.chat-btn {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #0a3048;
  box-shadow: 0 12px 28px rgba(79, 172, 254, 0.3);
}

.help-btn {
  background: #0b1220;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1024px) {
  .support-hero-card {
    grid-template-columns: 1fr;
  }

  .support-ticket-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .support-ticket-page {
    padding: 22px 14px 46px;
  }

  .support-hero-content h1 {
    font-size: 28px;
  }

  .support-form-card,
  .support-side-card {
    padding: 18px;
  }

  .meta-chip {
    width: 100%;
  }

  .support-footer-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .support-hero-card {
    padding: 22px;
  }

  .support-hero-content h1 {
    font-size: 24px;
  }

  .field-control {
    padding: 12px 12px 12px 40px;
  }

  .support-side-card h3 {
    font-size: 20px;
  }
}

/* ------------------------------------------------ */
/* Support Tickets List Page                         */
/* ------------------------------------------------ */
.support-list-page {
  background: linear-gradient(326deg, #4c4e4e 0%, #9ddfe8 50%, #94aee7cc 100%);
  min-height: 100vh;
  padding: 30px 20px 60px;
  position: relative;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.tickets-hero-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #0f2c4c 0%, #1b6a91 50%, #133a69 100%);
  padding: 32px;
  border-radius: 22px;
  color: #e9f6ff;
  box-shadow: 0 30px 80px rgba(12, 45, 90, 0.35);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

.tickets-hero-card .pill.badge-soft {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.tickets-hero-card h1 {
  margin: 6px 0 10px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.tickets-hero-card p {
  margin: 0 0 12px;
  color: #d9e7f5;
  line-height: 1.5;
}

.tickets-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ticket-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.ticket-stat-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e5e7eb;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.ticket-stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.ticket-stat-card .stat-icon.primary {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}
.ticket-stat-card .stat-icon.warning {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}
.ticket-stat-card .stat-icon.success {
  background: linear-gradient(135deg, #10b981, #34d399);
}

.ticket-stat-card .stat-meta p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
}

.ticket-stat-card .stat-meta h3 {
  margin: 2px 0 0;
  font-size: 22px;
  color: #f8fafc;
}

.tickets-table-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  color: #e5e7eb;
}

.tickets-table-card .table-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tickets-table-card .table-header h2 {
  margin: 4px 0 0;
  font-size: 20px;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tickets-table-card .table-header .eyebrow {
  margin: 0;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.rows-selector {
  padding: 10px 12px;
  border-radius: 10px;
  background: #0b1220;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.table-wrapper {
  overflow-x: auto;
}

.modern-support-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.modern-support-table th,
.modern-support-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
}

.modern-support-table th {
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.02);
}

.modern-support-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.ticket-id-chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(79, 172, 254, 0.14);
  color: #c7e9ff;
  border: 1px solid rgba(79, 172, 254, 0.25);
  font-weight: 700;
}

.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 13px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.status-open {
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
}
.status-pending {
  background: rgba(234, 179, 8, 0.16);
  color: #fef08a;
}
.status-resolved {
  background: rgba(16, 185, 129, 0.16);
  color: #bbf7d0;
}
.status-closed {
  background: rgba(239, 68, 68, 0.16);
  color: #fecdd3;
}

.ticket-link.action-link {
  color: #93c5fd;
  font-weight: 700;
  text-decoration: none;
}

.ticket-link.action-link:hover {
  color: #bfdbfe;
}

.table-footer {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination .page-item .page-link {
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
}
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #0a3048;
  border: none;
}

.loader {
  display: flex;
  justify-content: center;
  padding: 18px;
}
.loader-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #4facfe;
  animation: spin 1s linear infinite;
}

.empty-row {
  text-align: center;
  padding: 30px;
  color: #94a3b8;
}
.empty-row i {
  font-size: 28px;
  margin-bottom: 6px;
  display: block;
}

.support-empty {
  padding: 40px 20px 46px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
}

.support-empty h3 {
  margin: 10px 0 6px;
  color: #f8fafc;
}

.support-empty p {
  margin: 0;
  color: #cbd5e1;
}

.support-empty .empty-actions {
  margin-top: 16px;
}

.support-empty .btn-primary {
  padding: 12px 18px;
}

@media (max-width: 1024px) {
  .tickets-hero-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .support-list-page {
    padding: 22px 14px 46px;
  }
  .tickets-table-card {
    border-radius: 14px;
  }
  .tickets-table-card .table-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .table-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .modern-support-table {
    min-width: 100%;
  }
  .tickets-hero-card h1 {
    font-size: 26px;
  }
  .ticket-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------ */
/* Payment Settings Page                            */
/* ------------------------------------------------ */
.payment-page {
  background: linear-gradient(326deg, #4c4e4e 0%, #9ddfe8 50%, #94aee7cc 100%);
  min-height: 100vh;
  padding: 30px 20px 60px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.payment-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 14px;
}

.payment-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f2c4c 0%, #1b6a91 50%, #133a69 100%);
  color: #e9f6ff;
  box-shadow: 0 30px 80px rgba(12, 45, 90, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}

.payment-hero-card h1 {
  margin: 8px 0 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.payment-hero-card p {
  margin: 0;
  color: #d9e7f5;
}

.hero-graphic {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-graphic .hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.3), transparent 65%);
  filter: blur(6px);
  animation: float 7s ease-in-out infinite;
}
.hero-graphic .hero-avatar {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(91, 226, 255, 0.2),
    rgba(49, 195, 255, 0.35)
  );
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 52px;
  color: #fff;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.payment-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
}

.payment-form-card,
.payment-side-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  padding: 22px;
  color: #e5e7eb;
}

.form-head h2 {
  margin: 4px 0 6px;
  font-size: 20px;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-head .muted {
  margin: 0;
  color: #9ca3af;
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #e5e7eb;
  font-size: 14px;
}
.field-control {
  position: relative;
  display: flex;
  align-items: center;
  background: #0b1220;
  border: 1.4px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.field-prefix {
  position: absolute;
  left: 14px;
  color: #9ca3af;
}
.field-control input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 14px;
}
.field-error {
  color: #fca5a5;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.code-row input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.4px solid rgba(255, 255, 255, 0.08);
  background: #0b1220;
  color: #e5e7eb;
}

.helper-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 13px;
}
.helper-text.success {
  color: #a7f3d0;
  font-size: 12px;
}

.form-actions {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-side-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.payment-side-card h3 {
  margin: 12px 0 6px;
  color: #f8fafc;
}
.payment-side-card p {
  margin: 0 0 12px;
  color: #cbd5e1;
}

.side-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: #fff;
  color: #0f609b;
  font-size: 44px;
  box-shadow: 0 16px 40px rgba(79, 172, 254, 0.25);
}
.side-icon .ring {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 2px solid rgba(79, 172, 254, 0.25);
  animation: pulse-ring 2s ease-out infinite;
}
.side-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.side-feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  font-weight: 700;
  justify-content: center;
}
.side-feature i {
  color: #7bd8ff;
}

@media (max-width: 1024px) {
  .payment-hero-card {
    grid-template-columns: 1fr;
  }
  .payment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .payment-page {
    padding: 22px 14px 46px;
  }
  .payment-hero-card h1 {
    font-size: 26px;
  }
  .payment-form-card,
  .payment-side-card {
    padding: 18px;
  }
  .code-row {
    grid-template-columns: 1fr;
  }
  .form-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .payment-hero-card {
    padding: 22px;
  }
  .hero-graphic {
    min-height: 180px;
  }
  .payment-hero-card h1 {
    font-size: 22px;
  }
}

/* ------------------------------------------------ */
/* Support Ticket View Page                          */
/* ------------------------------------------------ */
.support-view-page {
  background: linear-gradient(326deg, #4c4e4e 0%, #9ddfe8 50%, #94aee7cc 100%);
  min-height: 100vh;
  padding: 30px 20px 60px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.support-view-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.support-back {
  color: #e5e7eb;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
}

.support-view-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f2c4c 0%, #1b6a91 50%, #133a69 100%);
  color: #e9f6ff;
  box-shadow: 0 30px 80px rgba(12, 45, 90, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

.support-view-hero h1 {
  margin: 8px 0 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.support-view-hero p {
  margin: 0 0 10px;
  color: #d9e7f5;
}

.ticket-meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e5e7eb;
  font-weight: 700;
}
.meta-chip.status {
  font-weight: 800;
}

.hero-graphic {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-graphic .hero-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.3), transparent 65%);
  filter: blur(6px);
  animation: float 7s ease-in-out infinite;
}
.hero-graphic .hero-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(91, 226, 255, 0.2),
    rgba(49, 195, 255, 0.35)
  );
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 48px;
  color: #fff;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.support-thread-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  color: #e5e7eb;
  overflow: hidden;
}

.thread-head {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.thread-head h2 {
  margin: 4px 0 0;
  font-size: 18px;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}
.thread-head .eyebrow {
  margin: 0;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.thread-messages {
  max-height: 520px;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #0b1220;
}
.thread-message {
  display: flex;
  gap: 12px;
}
.thread-message.sent {
  flex-direction: row-reverse;
}

.message-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  display: grid;
  place-items: center;
  color: #0a3048;
  font-weight: 800;
}
.message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.support-avatar {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
}

.message-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 220px;
  max-width: 70%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.thread-message.sent .message-bubble {
  background: rgba(79, 172, 254, 0.08);
  border-color: rgba(79, 172, 254, 0.18);
}

.bubble-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}
.sender-name {
  font-weight: 800;
  color: #f8fafc;
  font-size: 13px;
}
.message-time {
  color: #9ca3af;
  font-size: 12px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.bubble-body {
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.5;
}

.ticket-status-badge {
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
}

.thread-reply {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.thread-reply h3 {
  margin: 0 0 10px;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.reply-form .field {
  margin-bottom: 10px;
}
.reply-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.4px solid rgba(255, 255, 255, 0.12);
  background: #0b1220;
  color: #e5e7eb;
}
.reply-form textarea:focus {
  outline: none;
  border-color: rgba(79, 172, 254, 0.5);
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.15);
}
.form-actions {
  display: flex;
  justify-content: flex-end;
}

.support-empty {
  text-align: center;
  padding: 30px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #e5e7eb;
}

.support-back:hover {
  color: #7bd8ff;
}

@media (max-width: 1024px) {
  .support-view-hero {
    grid-template-columns: 1fr;
  }
  .thread-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .support-view-page {
    padding: 22px 14px 46px;
  }
  .support-view-hero h1 {
    font-size: 26px;
  }
  .support-thread-card {
    border-radius: 14px;
  }
  .message-bubble {
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  .hero-graphic {
    display: none;
  }
  .thread-messages {
    max-height: 420px;
  }
}

/* ------------------------------------------------ */
/* Community Levels Page                            */
/* ------------------------------------------------ */
.community-page {
  background: linear-gradient(326deg, #4c4e4e 0%, #9ddfe8 50%, #94aee7cc 100%);
  min-height: 100vh;
  padding: 30px 20px 60px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.community-shell {
  max-width: 1200px;
  margin: 0 auto;
}
.community-back {
  color: #e5e7eb;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 12px;
}
.community-back:hover {
  color: #7bd8ff;
}

.community-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f2c4c 0%, #1b6a91 50%, #133a69 100%);
  color: #e9f6ff;
  box-shadow: 0 30px 80px rgba(12, 45, 90, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}
.community-hero-card h1 {
  margin: 8px 0 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.community-hero-card p {
  margin: 0 0 10px;
  color: #d9e7f5;
}
.community-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.community-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.stat-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e5e7eb;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #0f172a;
  font-weight: 800;
}
.stat-icon.primary {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}
.stat-icon.warning {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}
.stat-meta p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
}
.stat-meta h3 {
  margin: 2px 0 0;
  color: #f8fafc;
  font-size: 22px;
}

.community-controls-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  color: #e5e7eb;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  margin-bottom: 14px;
}
.select-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.4px solid rgba(255, 255, 255, 0.12);
  background: #0b1220;
  color: #e5e7eb;
}

.community-table-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  color: #e5e7eb;
  overflow: hidden;
}
.table-wrapper {
  overflow-x: auto;
}
.community-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}
.community-table th,
.community-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}
.community-table th {
  color: #94a3b8;
  font-size: 12px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
}
.community-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.community-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.table-footer-row {
  gap: 14px;
  justify-content: space-between;
}
.rows-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.select-control.compact {
  width: auto;
  min-width: 100px;
}
.table-footer-row .page-info {
  margin-left: auto;
}
.page-info {
  color: #cbd5e1;
  font-size: 13px;
}
.pagination {
  display: contents;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination .page-item .page-link {
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
}
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #0a3048;
  border: none;
}
.pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

.loader-container {
  padding: 30px 16px;
  text-align: center;
}
.loader-text {
  color: #cbd5e1;
  margin-top: 10px;
}
.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top-color: #4facfe;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}
.empty-row {
  text-align: center;
  padding: 28px 10px;
  color: #94a3b8;
}

@media (max-width: 1024px) {
  .community-hero-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .community-page {
    padding: 22px 14px 46px;
  }
  .community-hero-card h1 {
    font-size: 26px;
  }
  .community-table {
    min-width: 100%;
  }
}
@media (max-width: 540px) {
  .hero-graphic {
    display: none;
  }
  .pagination {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ------------------------------------------------ */
/* Community Details Stats Row                      */
/* ------------------------------------------------ */
.community-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 14px 0 20px;
}
.community-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e5e7eb;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.community-stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #0a3048;
  font-weight: 800;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  box-shadow: 0 10px 24px rgba(79, 172, 254, 0.32);
}
.community-stat-card .stat-meta p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}
.community-stat-card .stat-meta h3 {
  margin: 2px 0 0;
  color: #f8fafc;
  font-size: 22px;
}

/* ------------------------------------------------ */
/* Referral Page                                    */
/* ------------------------------------------------ */
.referral-page {
  background: linear-gradient(326deg, #4c4e4e 0%, #9ddfe8 50%, #94aee7cc 100%);
  min-height: 100vh;
  padding: 30px 20px 60px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.referral-shell {
  max-width: 1200px;
  margin: 0 auto;
}
.referral-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f2c4c 0%, #1b6a91 50%, #133a69 100%);
  color: #e9f6ff;
  box-shadow: 0 30px 80px rgba(12, 45, 90, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}
.referral-hero h1 {
  margin: 8px 0 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.referral-hero p {
  margin: 0 0 10px;
  color: #d9e7f5;
}
.referral-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.referral-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 12px 0 18px;
}
.referral-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 16px;
}
.glass {
  background: linear-gradient(145deg, #0f172a, #111827);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  color: #e5e7eb;
}
.referral-card {
  padding: 20px;
}
.referral-card h2 {
  margin: 4px 0 10px;
  font-size: 20px;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 10px;
}
.referral-card .eyebrow {
  margin: 0;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.referral-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 12px 0 10px;
}
.referral-input input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.4px solid rgba(255, 255, 255, 0.12);
  background: #0b1220;
  color: #e5e7eb;
}
.share-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 12px 0 18px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-weight: 700;
}
.share-btn:hover {
  background: rgba(79, 172, 254, 0.12);
}
.benefits {
  margin-top: 4px;
}
.benefits-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 10px;
}
.benefit-list {
  display: grid;
  gap: 8px;
}
.benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-weight: 600;
}
.qr-card {
  padding: 20px;
  text-align: center;
}
.qr-card h3 {
  margin: 0 0 10px;
  color: #f8fafc;
}
.qr-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  place-items: center;
}
.qr-box img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}
.qr-hint {
  color: #cbd5e1;
  font-size: 13px;
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .referral-hero {
    grid-template-columns: 1fr;
  }
  .referral-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .referral-page {
    padding: 22px 14px 46px;
  }
  .referral-hero h1 {
    font-size: 26px;
  }
}

/* ------------------------------------------------ */
/* Deposit Page                                     */
/* ------------------------------------------------ */
.deposit-page {
  background: linear-gradient(326deg, #4c4e4e 0%, #9ddfe8 50%, #94aee7cc 100%);
  min-height: 100vh;
  padding: 30px 20px 60px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.deposit-shell {
  max-width: 1200px;
  margin: 0 auto;
}
.deposit-back {
  color: #e5e7eb;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 12px;
}
.deposit-back:hover {
  color: #7bd8ff;
}
.deposit-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f2c4c 0%, #1b6a91 50%, #133a69 100%);
  color: #e9f6ff;
  box-shadow: 0 30px 80px rgba(12, 45, 90, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}
.deposit-hero-card h1 {
  margin: 8px 0 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.deposit-hero-card p {
  margin: 0 0 10px;
  color: #d9e7f5;
}
.deposit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.deposit-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 16px;
}
.qr-card {
  padding: 20px;
}
.qr-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.qr-box img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}
.amount-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 10px 0 16px;
}
.timer-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
.timer-box {
  text-align: center;
  min-width: 60px;
}
.timer-box span {
  font-size: 24px;
  font-weight: 800;
  color: #f8fafc;
}
.timer-label {
  font-size: 11px;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.timer-separator {
  font-weight: 800;
  color: #f8fafc;
}
.timer-info {
  color: #cbd5e1;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.timer-display.expired {
  border-color: rgba(239, 68, 68, 0.5);
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.2),
    rgba(239, 68, 68, 0.1)
  );
}
.referral-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 12px 0;
}
.referral-input input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.4px solid rgba(255, 255, 255, 0.12);
  background: #0b1220;
  color: #e5e7eb;
}
.info-card {
  text-align: left;
}
.info-card ul.info-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
  color: #cbd5e1;
}
.info-card ul.info-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1024px) {
  .deposit-hero-card {
    grid-template-columns: 1fr;
  }
  .deposit-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .deposit-page {
    padding: 22px 14px 46px;
  }
  .deposit-hero-card h1 {
    font-size: 26px;
  }
  .qr-box img {
    width: 160px;
    height: 160px;
  }
}

/* Deposit form variant */
.deposit-form-card {
  padding: 20px;
}
.deposit-info-card {
  padding: 20px;
  text-align: left;
  display: grid;
  gap: 10px;
}
.deposit-info-card .info-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  display: grid;
  place-items: center;
  color: #0a3048;
  font-size: 22px;
  box-shadow: 0 12px 28px rgba(79, 172, 254, 0.32);
}
.deposit-info-card .info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: #cbd5e1;
}
.deposit-info-card .info-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.form-row.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #e5e7eb;
  font-size: 14px;
}
.select-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.4px solid rgba(255, 255, 255, 0.12);
  background: #0b1220;
  color: #e5e7eb;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.4px solid rgba(255, 255, 255, 0.12);
  background: #0b1220;
  color: #e5e7eb;
}
.helper-text.success {
  color: #a7f3d0;
  font-size: 12px;
}
.info-banner.lite {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  padding: 12px;
  border-radius: 12px;
  color: #e5e7eb;
  margin: 10px 0 16px;
}

.footer-minimal {
  margin-top: auto;
  padding: 28px 20px 32px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(7, 24, 44, 0.95) 0%,
    rgba(11, 48, 71, 0.92) 100%
  );
  border-top: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px 24px 0 0;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.footer-minimal-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  text-align: center;
  max-width: 500px;
}

.footer-minimal-logo {
  width: 110px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  opacity: 0.95;
}

.footer-minimal-copy {
  margin: 0;
  font-size: 13px;
  color: rgba(229, 231, 235, 0.9);
  font-weight: 500;
  letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
  .footer-minimal {
    padding: 24px 18px 28px;
  }

  .footer-minimal-logo {
    width: 100px;
  }

  .footer-minimal-copy {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .footer-minimal {
    padding: 20px 16px 26px;
    border-radius: 20px 20px 0 0;
  }

  .footer-minimal-logo {
    width: 50px;
  }

  .footer-minimal-copy {
    font-size: 12px;
    max-width: 90vw;
  }
}

@media (max-width: 480px) {
  .footer-minimal {
    padding: 16px 12px 22px;
  }

  .footer-minimal-container {
    gap: 8px;
  }

  .footer-minimal-logo {
    width: 85px;
  }

  .footer-minimal-copy {
    font-size: 11px;
  }
}

/* Footer styling scoped to history layout */
.history-page .footer-minimal-container {
  gap: 8px;
}
.history-page .footer-minimal {
  background: linear-gradient(145deg, #0b1a2b, #0f2438);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  margin: 22px 0 14px;
  padding: 18px 14px 26px;
}
.history-page .footer-minimal-logo {
  width: 140px;
}
.history-page .footer-minimal-copy {
  color: #e5e7eb;
}
@media (max-width: 640px) {
  .history-page .footer-minimal {
    padding: 16px 10px 22px;
    border-radius: 14px;
  }
  .history-page .footer-minimal-logo {
    width: 120px;
  }
}

/* ------------------------------------------------ */
/* Deposit History Page                             */
/* ------------------------------------------------ */
.history-page {
  background: linear-gradient(326deg, #4c4e4e 0%, #9ddfe8 50%, #94aee7cc 100%);
  min-height: 100vh;
  padding: 30px 20px 60px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.history-shell {
  max-width: 1200px;
  margin: 0 auto;
}
.history-back {
  color: #e5e7eb;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 12px;
}
.history-back:hover {
  color: #7bd8ff;
}
.history-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f2c4c 0%, #1b6a91 50%, #133a69 100%);
  color: #e9f6ff;
  box-shadow: 0 30px 80px rgba(12, 45, 90, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}
.history-hero-card h1 {
  margin: 8px 0 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.history-hero-card p {
  margin: 0 0 10px;
  color: #d9e7f5;
}
.history-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 12px 0 16px;
}
.history-controls-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #e5e7eb;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  margin-bottom: 12px;
}
.history-table-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  color: #e5e7eb;
  overflow: hidden;
}
.history-table {
  min-width: 760px;
}
.history-table .meta-chip {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e5e7eb;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2px;
}
.history-table .meta-chip.subtle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}
.history-table .amount-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #0a3048;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 24px rgba(79, 172, 254, 0.25);
}
.history-table th.col-sno {
  width: 70px;
}
.history-table-card .empty-row {
  text-align: center;
  border-bottom: none;
}
.history-table-card .no-data {
  color: #cbd5e1;
}
.hidden {
  display: none !important;
}
.status-approved {
  background: rgba(16, 185, 129, 0.18);
  color: #7ef2c4;
}
.status-rejected {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}
.info-icon-inline {
  margin-right: 8px;
  color: #7bd8ff;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 1024px) {
  .history-hero-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .history-page {
    padding: 22px 14px 46px;
  }
  .history-hero-card h1 {
    font-size: 26px;
  }
  .community-table {
    min-width: 100%;
  }
  .table-footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .table-footer-row .page-info {
    margin-left: 0;
  }
}
@media (max-width: 540px) {
  .hero-graphic {
    display: none;
  }
  .pagination {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ------------------------------------------------ */
/* Withdraw Page                                    */
/* ------------------------------------------------ */
.withdraw-page {
  background: linear-gradient(326deg, #4c4e4e 0%, #9ddfe8 50%, #94aee7cc 100%);
  min-height: 100vh;
  padding: 30px 20px 60px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.withdraw-shell {
  max-width: 1200px;
  margin: 0 auto;
}
.withdraw-back {
  color: #e5e7eb;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 12px;
}
.withdraw-back:hover {
  color: #7bd8ff;
}
.withdraw-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f2c4c 0%, #1b6a91 50%, #133a69 100%);
  color: #e9f6ff;
  box-shadow: 0 30px 80px rgba(12, 45, 90, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}
.withdraw-hero-card h1 {
  margin: 8px 0 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.withdraw-hero-card p {
  margin: 0 0 10px;
  color: #d9e7f5;
}
.withdraw-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.withdraw-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 16px;
}
.withdraw-form-card {
  padding: 20px;
}
.withdraw-info-card {
  padding: 20px;
  display: grid;
  gap: 10px;
}
.withdraw-info-card .info-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  display: grid;
  place-items: center;
  color: #0a3048;
  font-size: 22px;
  box-shadow: 0 12px 28px rgba(79, 172, 254, 0.32);
}
.withdraw-info-card .feature-list {
  display: grid;
  gap: 8px;
  color: #cbd5e1;
}
.withdraw-info-card .feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.info-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.info-boxes .info-box {
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.info-boxes .info-box.success {
  border-color: rgba(79, 172, 254, 0.2);
}
.info-boxes .info-box.warning {
  border-color: rgba(239, 170, 68, 0.2);
}
.info-box-label {
  font-weight: 700;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.info-box-value {
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
  margin-top: 6px;
}
.info-subtext {
  font-size: 11px;
  color: #cbd5e1;
}
.rules-section.glass-lite {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #e5e7eb;
}
.rules-section ul {
  padding-left: 18px;
  margin: 8px 0 0;
  color: #cbd5e1;
}
.rules-section a {
  color: #7bd8ff;
}
.code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.helper-line {
  color: #cbd5e1;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

@media (max-width: 1024px) {
  .withdraw-hero-card {
    grid-template-columns: 1fr;
  }
  .withdraw-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .withdraw-page {
    padding: 22px 14px 46px;
  }
  .withdraw-hero-card h1 {
    font-size: 26px;
  }
  .withdraw-grid {
    gap: 12px;
  }
  .form-row.two-col {
    grid-template-columns: 1fr;
  }
  .form-actions {
    flex-wrap: wrap;
  }
}
@media (max-width: 540px) {
  .withdraw-info-card {
    text-align: left;
  }
  .pagination {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ------------------------------------------------ */
/* Signup Page (Dashboard Theme)                     */
/* ------------------------------------------------ */
.signup-dash {
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(108, 175, 255, 0.28),
      transparent 32%
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(193, 140, 255, 0.26),
      transparent 36%
    ),
    linear-gradient(135deg, #1b3a6f 0%, #3557a8 35%, #6b4fb8 65%, #9158c6 100%);
  min-height: 100vh;
  color: #eaf4ff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.signup-dash::before {
  content: "";
  position: fixed;
  top: 0;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(79, 172, 254, 0.08),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Hide any overlay or watermark elements */
.signup-dash *::before,
.signup-dash *::after {
  background-image: none !important;
}

.signup-dash img[alt*="Scratchify"],
.signup-dash img[alt*="scratchify"],
.signup-dash [class*="watermark"],
.signup-dash [class*="overlay"],
.signup-dash [class*="graphic"],
.signup-dash [class*="banner"] {
  display: none !important;
}

.signup-dash .main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  z-index: 2;
}

.signup-dash .navbar {
  background: rgba(7, 24, 44, 0.92) !important;
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 8px 24px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
  border-radius: 0 0 16px 16px;
  min-height: auto;
}

.signup-dash .logo img {
  height: 50px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

/* Scrollbar styling to mirror reset/forgot page */
.signup-dash ::-webkit-scrollbar {
  width: 12px;
}

.signup-dash ::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #3a5cae, #7a4fc0);
  border-radius: 10px;
}

.signup-dash ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
  border: 2px solid rgba(58, 92, 174, 0.5);
}

.signup-dash ::-webkit-scrollbar-thumb:hover {
  background: #e2e8f0;
}

.signup-dash .nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.signup-dash .nav-links a {
  color: #cfe7ff;
  font-size: 14px;
  white-space: nowrap;
}

.signup-dash .dropdown {
  z-index: 51;
  background: rgba(7, 24, 44, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.signup-dash .dropdown .dropList {
  color: #eaf4ff;
}

.signup-dash .nav-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.signup-dash .nav-icons a {
  background: linear-gradient(135deg, #12c5ff, #00e0c3);
  color: #0a1f33;
  width: 40px;
  height: 40px;
}

.signup-dash .search-container {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

.signup-dash .search-container input {
  display: none !important;
}

.signup-dash .search-container input::placeholder {
  display: none !important;
}

.signup-dash .search-container img {
  display: none !important;
  height: 16px;
}

.signup-dash .signup-header-section {
  background: linear-gradient(135deg, #3a5cae 0%, #6550c5 55%, #8757d4 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 40px 32px;
  margin: 0 16px 28px;
  border-radius: 24px;
  box-shadow:
    0 20px 60px rgba(99, 102, 241, 0.35),
    0 0 1px rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}

.signup-dash .signup-header-section h1 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.signup-dash .signup-header-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.98);
  opacity: 1;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.signup-dash .signup-header-copy {
  flex: 1;
}

.signup-dash .signup-header-copy h1 i {
  margin-right: 10px;
}

.signup-dash .container {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.signup-dash .container-auth {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 40px;
  display: block !important;
  width: 100%;
  position: relative;
  z-index: 2;
}

.signup-dash .form-container-auth {
  background: linear-gradient(
    180deg,
    rgba(16, 46, 78, 0.95) 0%,
    rgba(22, 68, 104, 0.92) 60%,
    rgba(24, 88, 128, 0.9) 100%
  );
  border-radius: 22px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 640px;
  width: 100%;
  margin: 0 auto 20px;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
  display: block;
}

.signup-dash .form-container-auth::before,
.signup-dash .form-container-auth::after {
  display: none !important;
  background-image: none !important;
}

.signup-dash .form-container-auth h2 {
  color: #7fd5ff;
  font-size: 22px;
  margin: 0 0 6px;
  font-weight: 800;
}

.signup-dash .form-container-auth > p {
  color: #c8dcf4;
  margin: 0 0 16px;
}

.signup-dash .form-group-auth {
  margin-bottom: 14px;
}

.signup-dash .form-group-auth label {
  color: #eaf4ff;
  letter-spacing: 0.2px;
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
}

.signup-dash .form-group-auth label i {
  color: #12c5ff;
}

.signup-dash .form-group-auth label span {
  color: #ffb4a3;
}

.signup-dash .form-group-auth input,
.signup-dash .form-group-auth select {
  width: 100%;
  background: #ffffff;
  border: 1.4px solid #d8e4ff;
  color: #0f172a;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
}

.signup-dash .form-group-auth input::placeholder {
  color: #94a3b8;
}

.signup-dash .form-group-auth input:focus,
.signup-dash .form-group-auth select:focus {
  border-color: #4facfe;
  box-shadow: 0 10px 28px rgba(79, 172, 254, 0.18);
  background: #ffffff;
  outline: none;
}

.signup-dash .grid-two-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.signup-dash .grid-three-auth {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.signup-dash .phone-input-auth {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 10px;
}

.signup-dash .verification-input-auth {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 10px;
}

.signup-dash .phone-input-auth select,
.signup-dash .verification-input-auth input {
  background: #ffffff;
}

.signup-dash .verification-input-auth button {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border: none;
  color: #0f172a;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(79, 172, 254, 0.25);
  border-radius: 12px;
  width: 100%;
  padding: 10px 12px;
}

.signup-dash .verification-input-auth button:hover {
  box-shadow: 0 16px 36px rgba(79, 172, 254, 0.32);
}

.signup-dash .error-message-auth {
  color: #f95a5a;
  font-size: 14px;
}

.signup-dash .success-message-auth {
  color: #7ef2c4;
  font-size: 14px;
}

.signup-dash .submit-btn-auth {
  background: linear-gradient(135deg, #12c5ff, #00e0c3);
  color: #06203a;
  box-shadow: 0 18px 42px rgba(18, 197, 255, 0.32);
  border-radius: 14px;
  border: none;
  font-size: 15px;
  padding: 14px;
  width: 100%;
}

.signup-dash .submit-btn-auth:hover {
  box-shadow: 0 22px 48px rgba(18, 197, 255, 0.42);
}

.signup-dash .login-link-auth {
  color: #c8dcf4;
  margin-top: 10px;
}

.signup-dash .login-link-auth a {
  color: #7dd3fc;
}

.signup-dash .login-link-auth a:hover {
  color: #a5f3fc;
}

.signup-dash .image-container-auth {
  display: none;
}

.signup-dash .footer-modern {
  background: rgba(4, 14, 26, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 12px 26px;
  margin: 10px auto 0;
  text-align: center;
  width: 100%;
}

@media (max-width: 1024px) {
  .signup-dash .container-auth {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .signup-dash .signup-header-section {
    margin: 0 12px 20px;
    padding: 32px 24px;
  }

  .signup-dash .signup-header-section h1 {
    font-size: 28px;
  }

  .signup-dash .signup-header-section p {
    font-size: 15px;
  }

  .signup-dash .form-container-auth {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .signup-dash .container-auth {
    padding: 0 12px 40px;
  }

  .signup-dash .grid-two-auth,
  .signup-dash .grid-three-auth,
  .signup-dash .phone-input-auth,
  .signup-dash .verification-input-auth {
    grid-template-columns: 1fr;
  }

  .signup-dash .grid-three-auth {
    grid-template-columns: 1fr;
  }

  .footer-minimal {
    padding: 22px 16px 26px;
    margin: 0;
  }

  .footer-minimal-logo {
    width: 100px;
  }
}

@media (max-width: 540px) {
  .signup-dash .navbar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 0 0 12px 12px;
  }

  .signup-dash .logo img {
    height: 42px;
  }

  .signup-dash .nav-links {
    width: 100%;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
  }

  .signup-dash .nav-icons {
    gap: 10px;
  }

  .signup-dash .nav-icons a {
    width: 36px;
    height: 36px;
  }

  .signup-dash .search-container {
    display: none !important;
  }

  .signup-dash .signup-header-section {
    margin: 0 10px 18px;
    padding: 24px 18px;
    gap: 12px;
  }

  .signup-dash .signup-header-section h1 {
    font-size: 26px;
    margin: 0 0 8px;
  }

  .signup-dash .signup-header-section p {
    font-size: 14px;
  }

  .signup-dash .container-auth {
    padding: 0 10px 40px;
  }

  .signup-dash .form-container-auth {
    padding: 18px 14px;
    border-radius: 16px;
    margin: 0 auto 16px;
  }

  .signup-dash .form-container-auth h2 {
    font-size: 18px;
  }

  .signup-dash .form-group-auth label {
    font-size: 12px;
  }

  .signup-dash .form-group-auth input,
  .signup-dash .form-group-auth select {
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 10px;
  }

  .signup-dash .grid-three-auth {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signup-dash .phone-input-auth {
    grid-template-columns: 0.5fr 1.5fr;
  }

  .signup-dash .verification-input-auth {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .signup-dash .submit-btn-auth {
    padding: 12px;
    font-size: 14px;
    border-radius: 12px;
  }

  .footer-minimal {
    padding: 16px 12px 20px;
    border-radius: 16px 16px 0 0;
  }

  .footer-minimal-logo {
    width: 85px;
  }

  .footer-minimal-copy {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .signup-dash .navbar {
    padding: 10px 10px;
  }

  .signup-dash .logo img {
    height: 45px;
  }

  .signup-dash .nav-links {
    display: none;
  }

  .signup-dash .signup-header-section {
    margin: 0 8px 14px;
    padding: 18px 14px;
  }

  .signup-dash .signup-header-section h1 {
    font-size: 22px;
    margin: 0 0 6px;
  }

  .signup-dash .signup-header-section p {
    font-size: 13px;
  }

  .signup-dash .form-container-auth {
    padding: 16px 12px;
    margin: 0 auto 12px;
  }

  .signup-dash .container-auth {
    padding: 0 8px 36px;
  }

  .footer-minimal {
    padding: 14px 10px 18px;
  }

  .footer-minimal-logo {
    width: 75px;
  }

  .footer-minimal-copy {
    font-size: 10px;
  }
}

/* ------------------------------------------------ */
/* Signin Modal Dashboard Theme (scoped via body.signin-dash) */
/* ------------------------------------------------ */
.signin-dash {
  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(79, 172, 254, 0.2),
      transparent 32%
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(0, 242, 254, 0.22),
      transparent 36%
    ),
    linear-gradient(145deg, #0c233c 0%, #0b3047 45%, #0a405d 100%);
  min-height: 100vh;
  overflow-y: auto;
}

.signin-dash .popup-overlay {
  background: rgba(5, 18, 36, 0.75);
  backdrop-filter: blur(10px);
  padding: 24px 12px;
}

.signin-dash .login-popup {
  max-width: 520px;
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    rgba(16, 46, 78, 0.92) 0%,
    rgba(22, 68, 104, 0.9) 60%,
    rgba(24, 88, 128, 0.88) 100%
  );
  border: 1px solid rgba(79, 172, 254, 0.22);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.signin-dash .popup-header {
  background: linear-gradient(135deg, #0b7ba4 0%, #0ea5e9 40%, #34d399 100%);
  padding: 44px 28px;
  position: relative;
}

.signup-dash .footer-minimal {
  background: #0b1220;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
  padding: 24px 18px 30px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.signin-dash .popup-header::before {
  display: none;
}

.signin-dash .popup-logo img {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.signin-dash .popup-title {
  color: white;
  -webkit-text-fill-color: unset;
  background: none;
  font-weight: 800;
  font-size: 28px;
}

.signin-dash .popup-subtitle {
  color: white;
  font-weight: 600;
  margin-top: 4px;
}

.signin-dash .popup-content {
  background: rgba(255, 255, 255, 0.02);
  padding: 38px 32px 32px;
}

.signin-dash .form-control {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(12, 56, 89, 0.18);
  color: #0f172a;
  box-shadow: inset 0 1px 2px rgba(12, 56, 89, 0.08);
}

.signin-dash .form-control:focus {
  border-color: #00d0ff;
  box-shadow:
    0 0 0 4px rgba(0, 208, 255, 0.16),
    0 10px 26px rgba(0, 208, 255, 0.22);
}

.signin-dash .form-label {
  color: #e2ecff;
}

.signin-dash .form-label::before {
  color: #00d0ff;
}

.signin-dash .forgot-password a {
  color: #8cd5ff;
}

.signin-dash .forgot-password a:hover {
  color: #b9e9ff;
}

.signin-dash .btn-cancel {
  background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
  color: #0f172a;
  border: 2px solid rgba(12, 56, 89, 0.12);
}

.signin-dash .btn-confirm {
  background: linear-gradient(135deg, #12c5ff, #00e0c3);
  color: #06203a;
  border: none;
  box-shadow: 0 14px 32px rgba(0, 208, 255, 0.28);
}

.signin-dash .btn-confirm:hover {
  box-shadow: 0 18px 38px rgba(0, 208, 255, 0.4);
}

.signin-dash .signup-prompt {
  color: #c8dcff;
}

.signin-dash .signup-link {
  color: #7dd3fc;
}

.signin-dash .signup-link:hover {
  color: #a5f3fc;
}

.signin-dash .button-group {
  gap: 12px;
}

.signin-dash .login-popup::before {
  height: 4px;
  background: linear-gradient(90deg, #12c5ff, #00e0c3, #4facfe, #00f2fe);
  opacity: 0.9;
}

@media (max-width: 600px) {
  .signin-dash .login-popup {
    width: 92%;
  }
  .signin-dash .popup-content {
    padding: 30px 22px 26px;
  }
}

/* ------------------------------------------------ */
/* ------------------------------------------------ */
/* Forget Password Page (Dashboard Theme)            */
/* ------------------------------------------------ */
.forget-dash {
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(0, 242, 254, 0.14),
      transparent 32%
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(114, 165, 255, 0.16),
      transparent 36%
    ),
    linear-gradient(145deg, #0b1f36 0%, #0a3355 45%, #0c4f72 100%);
  min-height: 100vh;
  color: #eaf4ff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.forget-navbar {
  background: rgba(6, 22, 40, 0.92) !important;
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 10px 24px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* position: sticky; */
  top: 0;
  z-index: 50;
  border-radius: 0 0 18px 18px;
}

.forget-navbar .logo img {
  height: 90px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}
.forget-navbar .nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #cfe7ff;
  font-size: 14px;
}
.forget-navbar .nav-links a {
  color: #cfe7ff;
  text-decoration: none;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.forget-navbar .nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.forget-navbar .nav-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.forget-navbar .nav-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d0ff, #00e0c3);
  color: #072239;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 22px rgba(0, 224, 195, 0.28);
}

.forget-hero {
  text-align: center;
  padding: 34px 16px 16px;
  color: #e7f2ff;
}
.forget-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 242, 254, 0.12);
  color: #7ee4ff;
  border: 1px solid rgba(0, 242, 254, 0.3);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.forget-hero h1 {
  margin: 12px 0 6px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.6px;
}
.forget-hero p {
  margin: 0;
  color: #c8dcf4;
  font-size: 15px;
}

.forget-shell {
  max-width: 1200px;
  margin: 0 auto 36px;
  padding: 0 18px 40px;
}
.forget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.forget-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 26px 22px;
  color: #e7f2ff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.forget-card.info {
  background: linear-gradient(
    135deg,
    rgba(0, 208, 255, 0.12),
    rgba(0, 242, 254, 0.08)
  );
  border-color: rgba(0, 242, 254, 0.22);
}

.icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #00e0c3, #0066ff);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 14px;
}
.icon-circle i {
  font-size: 40px;
  color: #07192b;
}

.forget-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}
.forget-card p {
  margin: 0 0 14px;
  color: #c8dcf4;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 13px;
  color: #d8e9ff;
}

.forget-card.form {
  padding: 26px 22px 28px;
}
.forget-card .form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.forget-card .form-header-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #12c5ff, #00e0c3);
  display: grid;
  place-items: center;
  color: #06203a;
  box-shadow: 0 12px 28px rgba(18, 197, 255, 0.32);
}
.forget-card .form-header-text h2 {
  margin: 0;
  color: #7fd5ff;
  font-size: 21px;
  font-weight: 800;
}
.forget-card .form-header-text p {
  margin: 2px 0 0;
  color: #c8dcf4;
  font-size: 13px;
}
.forget-card .form-divider {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 224, 195, 0.6),
    transparent
  );
  margin: 14px 0 18px;
  border: none;
}

.forget-card .form-group {
  margin-bottom: 18px;
}
.forget-card .form-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #eaf4ff;
  font-size: 14px;
  margin-bottom: 8px;
}
.forget-card .form-label .required {
  color: #ffb4a3;
}
.forget-card .form-control {
  width: 100%;
  background: #ffffff;
  border: 1.6px solid #d8e4ff;
  color: #0f172a;
  border-radius: 14px;
  padding: 14px 14px;
  font-size: 14px;
  transition: all 0.25s ease;
}
.forget-card .form-control::placeholder {
  color: #94a3b8;
}
.forget-card .form-control:focus {
  border-color: #4facfe;
  box-shadow: 0 10px 28px rgba(79, 172, 254, 0.18);
  outline: none;
}
.forget-card .form-helper {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #cbd5e1;
  font-size: 12px;
  margin-top: 6px;
}
.form-error,
.form-success {
  display: none;
  margin-top: 8px;
  font-size: 12px;
}
.form-error.show,
.form-success.show {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.form-error {
  color: #fca5a5;
}
.form-success {
  color: #7ef2c4;
}

.button-group {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}
.btn {
  flex: 1;
  padding: 14px 16px;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, #12c5ff, #00e0c3);
  color: #06203a;
  box-shadow: 0 14px 32px rgba(18, 197, 255, 0.32);
}
.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(18, 197, 255, 0.44);
  transform: translateY(-2px);
}
.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.alert {
  padding: 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid;
}
.alert.alert-success {
  background: rgba(34, 197, 94, 0.1);
  color: #a7f3d0;
  border-color: #22c55e;
}
.alert.alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: #fecdd3;
  border-color: #f87171;
}
.alert.alert-info {
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
  border-color: #60a5fa;
}
.alert .close {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
}

.form-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.form-link {
  color: #c8dcf4;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.form-link:hover {
  color: #a5f3fc;
}

.footer-compact {
  padding: 18px 12px 26px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 14, 26, 0.9);
}

@media (max-width: 1024px) {
  .forget-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .forget-navbar {
    flex-wrap: wrap;
    padding: 10px 14px;
    border-radius: 0 0 14px 14px;
  }
  .forget-navbar .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .forget-card {
    padding: 22px 18px;
  }
  .pill-row span {
    width: calc(50% - 6px);
    justify-content: flex-start;
  }
  .button-group {
    flex-direction: column;
  }
}
@media (max-width: 540px) {
  .forget-hero h1 {
    font-size: 26px;
  }
  .forget-navbar .nav-links {
    display: none;
  }
  .forget-grid {
    gap: 14px;
  }
  .icon-circle {
    width: 80px;
    height: 80px;
  }
  .forget-card .form-header-text h2 {
    font-size: 18px;
  }
  .pill-row span {
    width: 100%;
  }
  .forget-card.info {
    display: none;
  }
}
@media (max-width: 480px) {
  .forget-card.info {
    display: none;
  }
}
/* ------------------------------------------------ */
/* Signup Page (Dashboard Theme)                     */
/* ------------------------------------------------ */
.signup-dash {
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(0, 242, 254, 0.16),
      transparent 32%
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(193, 140, 255, 0.18),
      transparent 36%
    ),
    linear-gradient(145deg, #0c233c 0%, #0b3047 45%, #0a405d 100%);
  min-height: 100vh;
  color: #eaf4ff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

.signup-navbar {
  background: rgba(7, 24, 44, 0.92) !important;
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 10px 24px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
  border-radius: 0 0 18px 18px;
}

.signup-navbar .logo img {
  height: 75px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}
.signup-navbar .nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #cfe7ff;
  font-size: 14px;
}
.signup-navbar .nav-links a {
  color: #cfe7ff;
  text-decoration: none;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.signup-navbar .nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.signup-navbar .nav-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.signup-navbar .nav-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #12c5ff, #00e0c3);
  color: #072239;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 22px rgba(0, 224, 195, 0.28);
}

.signup-hero {
  text-align: center;
  padding: 34px 16px 16px;
  color: #e7f2ff;
}
.signup-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 242, 254, 0.12);
  color: #7ee4ff;
  border: 1px solid rgba(0, 242, 254, 0.3);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.signup-hero h1 {
  margin: 12px 0 6px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.6px;
}
.signup-hero p {
  margin: 0;
  color: #c8dcf4;
  font-size: 15px;
}

.signup-shell {
  max-width: 1200px;
  margin: 0 auto 36px;
  padding: 0 18px 44px;
}
.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.signup-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 26px 22px;
  color: #e7f2ff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.signup-card.info {
  background: linear-gradient(
    135deg,
    rgba(0, 208, 255, 0.12),
    rgba(0, 242, 254, 0.08)
  );
  border-color: rgba(0, 242, 254, 0.22);
}

.avatar-glow {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #00e0c3, #0066ff);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 14px;
}
.avatar-glow .ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 6px rgba(0, 224, 195, 0.12);
}
.avatar-glow i {
  font-size: 60px;
  color: #07192b;
}

.signup-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}
.signup-card p {
  margin: 0 0 14px;
  color: #c8dcf4;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 13px;
  color: #d8e9ff;
}
.brand-mark {
  margin-top: 14px;
  display: flex;
  align-items: center;
}
.brand-mark img {
  width: 150px;
  max-width: 55%;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
  display: block !important;
}

.signup-card.form {
  padding: 26px 22px 28px;
}
.signup-card .form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.signup-card .form-header-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #12c5ff, #00e0c3);
  display: grid;
  place-items: center;
  color: #06203a;
  box-shadow: 0 12px 28px rgba(18, 197, 255, 0.32);
}
.signup-card .form-header-text h2 {
  margin: 0;
  color: #7fd5ff;
  font-size: 21px;
  font-weight: 800;
}
.signup-card .form-header-text p {
  margin: 2px 0 0;
  color: #c8dcf4;
  font-size: 13px;
}
.signup-card .form-divider {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 224, 195, 0.6),
    transparent
  );
  margin: 14px 0 18px;
  border: none;
}

.form-group-auth {
  margin-bottom: 16px;
  color: #eaf4ff;
}
.form-group-auth label {
  color: #eaf4ff;
  letter-spacing: 0.2px;
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
  font-weight: 700;
}
.form-group-auth label span {
  color: #ffb4a3;
}
.form-group-auth input,
.form-group-auth select {
  width: 100%;
  background: #ffffff;
  border: 1.4px solid #d8e4ff;
  color: #0f172a;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
}
.form-group-auth input::placeholder {
  color: #94a3b8;
}
.form-group-auth input:focus,
.form-group-auth select:focus {
  border-color: #4facfe;
  box-shadow: 0 10px 28px rgba(79, 172, 254, 0.18);
  background: #ffffff;
  outline: none;
}
.password-container {
  position: relative;
}
.password-container .toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.phone-input-auth {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 10px;
}
.verification-input-auth {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 10px;
}
.verification-input-auth button {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border: none;
  color: #0f172a;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(79, 172, 254, 0.25);
  border-radius: 12px;
  width: 100%;
  padding: 10px 12px;
}
.error-message-auth {
  color: #fca5a5;
  font-size: 12px;
  display: block;
}
.success-message-auth {
  color: #7ef2c4;
  font-size: 12px;
  display: block;
}

.submit-btn-auth {
  width: 100%;
}
.form-links {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.form-link {
  color: #c8dcf4;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.form-link:hover {
  color: #a5f3fc;
}

@media (max-width: 1024px) {
  .signup-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .signup-navbar {
    flex-wrap: wrap;
    padding: 10px 14px;
    border-radius: 0 0 14px 14px;
  }
  .signup-navbar .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .signup-card {
    padding: 22px 18px;
  }
  .pill-row span {
    width: calc(50% - 6px);
  }
  .phone-input-auth {
    grid-template-columns: 1fr;
  }
  .verification-input-auth {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .signup-hero h1 {
    font-size: 26px;
  }
  .signup-navbar .nav-links {
    display: none;
  }
  .signup-grid {
    gap: 14px;
  }
  .avatar-glow {
    width: 50px;
    height: 50px;
  }
  .signup-card .form-header-text h2 {
    font-size: 18px;
  }
  .pill-row span {
    width: 100%;
  }
  .signup-card.info {
    display: none;
  }
}
@media (max-width: 480px) {
  .signup-card.info {
    display: none;
  }
}

/* ------------------------------------------------ */
/* Investment Details Page (Dashboard Theme)         */
/* ------------------------------------------------ */

.investment-details-page #staking-table td.empty {
  text-align: center;
  color: #0b395b !important;
  background: #dff3ff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 16px 12px;
}
.investment-details-page {
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(0, 242, 254, 0.12),
      transparent 32%
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(114, 165, 255, 0.12),
      transparent 36%
    ),
    linear-gradient(145deg, #0b1f36 0%, #0a3355 45%, #0c4f72 100%);
  min-height: 100vh;
  padding: 24px 16px 48px;
  color: #eaf4ff;
}

.id-hero {
  background: linear-gradient(154deg, #1b3a6f 0%, #0e7ea2 60%, #0a405d 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.32);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.id-hero-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.id-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #b9e9ff;
  font-weight: 700;
  font-size: 12px;
}
.id-hero h1 {
  margin: 6px 0 4px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
}
.id-hero p {
  margin: 0;
  color: #cde7ff;
}

.id-hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.id-back-btn {
  background: linear-gradient(135deg, #12c5ff, #00e0c3);
  color: #06203a;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(18, 197, 255, 0.32);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.id-back-btn:hover {
  box-shadow: 0 18px 38px rgba(18, 197, 255, 0.44);
  transform: translateY(-2px);
  color: #06203a;
}

.id-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.id-stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.id-stat-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #12c5ff, #00e0c3);
  color: #06203a;
}
.id-stat-card .icon.alt {
  background: linear-gradient(135deg, #8b5cf6, #4facfe);
  color: #fff;
}
.id-stat-card p {
  margin: 0;
  color: #c8dcf4;
  font-size: 13px;
}
.id-stat-card h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.id-table-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 16px 16px 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.id-table-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 4px 4px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.id-table-header h2 {
  margin: 0;
  color: #7fd5ff;
  font-weight: 800;
}
.id-table-header p {
  margin: 4px 0 0;
  color: #c8dcf4;
  font-size: 13px;
}
.id-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #eaf4ff;
}
.id-filter select {
  background: #0f172a;
  color: #eaf4ff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 8px 10px;
}

.id-loader {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c8dcf4;
  padding: 12px 0;
}
.id-loader.hidden {
  display: none;
}
.id-loader .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.table-responsive {
  border-radius: 14px;
  overflow: hidden;
}
.table-responsive {
  overflow-x: auto;
  scrollbar-color: #8ab8ff rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}
.table-responsive::-webkit-scrollbar {
  height: 10px;
}
.table-responsive::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #12c5ff, #00e0c3);
  border-radius: 10px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}
.table-responsive table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #0f172a;
  background: #fff;
}

.table-responsive thead {
  background: linear-gradient(90deg, #0e7ea2, #12c5ff);
  color: #fff;
}
#staking-table th,
#staking-table td {
  vertical-align: middle;
  word-break: break-word;
}

.table-responsive th,
.table-responsive td {
  padding: 12px 10px;
  text-align: left;
}
.table-responsive tbody tr:nth-child(odd) {
  background: #f4f8ff;
}
.table-responsive tbody tr:hover {
  background: #e6f4ff;
}
.table-responsive .empty {
  text-align: center;
  color: #64748b;
}
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
}
.status.success {
  background: #10b981;
  color: #ffffff;
}
.status.muted {
  background: #94a3b8;
  color: #0f172a;
}
.status.deactive,
.status.danger {
  background: #ef4444;
  color: #ffffff;
}.id-table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 4px;
}
.id-table-footer .pagination {
  margin: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pagination .page-item {
  list-style: none;
}
.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #eaf4ff;
  text-decoration: none;
}
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #12c5ff, #00e0c3);
  color: #06203a;
  border-color: transparent;
}
.pagination .page-item.disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 768px) {
  .id-hero {
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .id-hero h1 {
    font-size: 24px;
  }
  .id-hero-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .id-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .id-table-card {
    padding: 12px 12px 8px;
  }
  #staking-table th,
#staking-table td {
  vertical-align: middle;
  word-break: break-word;
}

.table-responsive th,
  .table-responsive td {
    padding: 10px 8px;
    font-size: 13px;
  }
  .table-responsive table {
    min-width: 640px;
  }
  .pagination .page-link {
    min-width: 30px;
    padding: 6px 8px;
  }
}
@media (max-width: 540px) {
  .investment-details-page {
    padding: 18px 12px 36px;
  }
  .id-hero {
    gap: 10px;
  }
  .id-hero h1 {
    font-size: 22px;
  }
  .id-hero p {
    font-size: 13px;
  }
  .id-stats-grid {
    grid-template-columns: 1fr;
  }
  .id-table-card {
    padding: 10px;
    border-radius: 14px;
  }
  .id-table-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .id-table-header h2 {
    font-size: 18px;
  }
  .id-filter {
    width: 100%;
  }
  .id-filter select {
    width: 100%;
  }
  .id-table-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .table-responsive {
    border-radius: 12px;
  }
  #staking-table th,
#staking-table td {
  vertical-align: middle;
  word-break: break-word;
}

.table-responsive th,
  .table-responsive td {
    padding: 9px 8px;
    font-size: 12px;
  }
  .table-responsive table {
    min-width: 520px;
  }
  .table-responsive::-webkit-scrollbar {
    height: 8px;
  }
  .pagination {
    display: flex;
    width: 90%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: flex-end;
  }
  .pagination .page-link {
    min-width: 28px;
    padding: 6px 7px;
    font-size: 12px;
  }
}




/* ------------------------------------------------ */
/* Deposit Page (Dashboard Theme)                   */
/* ------------------------------------------------ */
.deposit-modern {
  max-width: 1220px;
  margin: 0 auto 72px;
  padding: 22px 18px 80px;
  color: var(--mp-text);
}

.deposit-hero-card {
  background: linear-gradient(140deg, #0f3d5b 0%, #176b81 52%, #1b6f8c 100%);
  border: 1px solid var(--mp-border);
  border-radius: 22px;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--mp-shadow-soft);
}

.deposit-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(57, 208, 196, 0.18), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(240, 191, 100, 0.16), transparent 34%);
  pointer-events: none;
}

.deposit-hero-left h1 {
  margin: 8px 0 6px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.deposit-hero-left p {
  margin: 0;
  color: var(--mp-muted);
  max-width: 720px;
}

.deposit-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 1;
}

.deposit-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(57, 208, 196, 0.4);
  color: #dff6ff;
  background: rgba(7, 22, 36, 0.4);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.deposit-back-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 208, 196, 0.9);
}

.deposit-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(57, 208, 196, 0.14);
  color: #7ee4ff;
  border: 1px solid rgba(57, 208, 196, 0.35);
  font-weight: 800;
  letter-spacing: 0.25px;
}

.deposit-pill.alt {
  background: rgba(240, 191, 100, 0.18);
  border-color: rgba(240, 191, 100, 0.4);
  color: #ffd796;
}

.deposit-amount-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: #c5f7ff;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.deposit-amount-chip span {
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #7ee4ff;
}

.deposit-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 18px;
  margin-top: 16px;
}

.deposit-card {
  background: linear-gradient(165deg, var(--mp-surface), var(--mp-surface-2));
  border: 1px solid var(--mp-border);
  border-radius: 20px;
  padding: 18px 18px 22px;
  box-shadow: var(--mp-shadow-soft);
  backdrop-filter: blur(8px);
}

.deposit-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecdd3;
  margin-bottom: 14px;
}

.deposit-panels {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.deposit-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.deposit-panel.condensed {
  padding: 14px 12px;
}

.deposit-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.deposit-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #e8f5ff;
}

.deposit-status {
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.35px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.deposit-status.success {
  background: rgba(16, 185, 129, 0.18);
  color: #b1f2d2;
  border-color: rgba(16, 185, 129, 0.4);
}

.deposit-qr-box {
  background: rgba(7, 22, 36, 0.62);
  border: 1px dashed rgba(57, 208, 196, 0.4);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}

.deposit-qr-box img {
  width: min(300px, 100%);
  border-radius: 14px;
  background: #05192b;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.deposit-qr-box p {
  margin: 10px 0 0;
  color: var(--mp-muted);
  font-size: 13px;
}

.deposit-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deposit-summary-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e7f2ff;
}

.deposit-summary-list span {
  color: var(--mp-muted);
  font-size: 13px;
}

.deposit-section {
  margin-bottom: 16px;
}

.deposit-section label,
.deposit-field label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #dff6ff;
}

.deposit-input-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.deposit-input-row input {
  flex: 1;
}

.deposit-field input,
.deposit-input-row input {
  width: 100%;
  background: rgba(7, 22, 36, 0.62);
  border: 1px solid rgba(93, 180, 210, 0.55);
  border-radius: 12px;
  padding: 12px 14px;
  color: #e8f5ff;
}

.deposit-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1b6f8c, #39d0c4);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: all 0.2s ease;
}

.deposit-copy-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.deposit-section.triple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.deposit-field input[readonly] {
  opacity: 0.94;
}

.deposit-timer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(239, 68, 68, 0.08));
  border: 1px solid rgba(239, 68, 68, 0.3);
  flex-wrap: wrap;
}

.timer-box {
  display: grid;
  place-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.45);
  min-width: 68px;
}

.timer-box span {
  font-size: 24px;
  font-weight: 900;
  color: #fca5a5;
}

.timer-box small {
  font-size: 11px;
  letter-spacing: 0.4px;
  color: #fecdd3;
}

.timer-separator {
  font-size: 26px;
  font-weight: 900;
  color: #fca5a5;
  animation: pulse 1s infinite;
}

.timer-text {
  color: #fecdd3;
  font-size: 13px;
}

.deposit-side {
  display: grid;
  gap: 14px;
  height: fit-content;
}

.deposit-side-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.deposit-side-card img {
  width: 160px;
  max-width: 90%;
  margin: 12px auto;
  display: block;
}

.deposit-side-card h3 {
  margin: 8px 0 6px;
  color: #e8f5ff;
}

.deposit-side-card p {
  margin: 0;
  color: var(--mp-muted);
}

.deposit-side-card.mini h4 {
  margin: 0 0 8px;
  color: #cfe7ff;
}

.deposit-tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  text-align: left;
}

.deposit-tip-list li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: #dff6ff;
  font-size: 13px;
}

.footer-minimal {
  margin-top: 24px;
  width: 100%;
  padding: 24px 0 20px;
  background: linear-gradient(135deg, #07192b 0%, #0b3047 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-minimal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-minimal-logo {
  width: 120px;
  height: auto;
  opacity: 0.9;
}

.footer-minimal-copy {
  font-size: 13px;
  color: rgba(232, 245, 255, 0.7);
}

.help-button {
  position: fixed;
  bottom: 26px;
  right: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0bf64, #e49c20);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.help-button img {
  width: 26px;
  height: 26px;
}

@media (max-width: 1100px) {
  .deposit-grid {
    grid-template-columns: 1fr;
  }

  .deposit-panels {
    grid-template-columns: 1fr;
  }

  .deposit-hero-card {
    flex-direction: column;
  }

  .deposit-hero-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .deposit-modern {
    padding: 16px 12px 88px;
    max-width: 520px;
  }

  .deposit-hero-card {
    padding: 14px 12px;
    border-radius: 18px;
  }

  .deposit-hero-left h1 {
    font-size: 24px;
  }

  .deposit-hero-left p {
    font-size: 14px;
  }

  .deposit-input-row {
    flex-direction: column;
  }

  .deposit-copy-btn {
    width: 100%;
    justify-content: center;
  }

  .deposit-card {
    border-radius: 16px;
  }

  .deposit-panels {
    gap: 10px;
  }

  .deposit-panel {
    border-radius: 14px;
  }

  .deposit-timer {
    padding: 12px;
  }
}

@media (max-width: 520px) {
  .deposit-amount-chip {
    width: 100%;
    justify-content: space-between;
  }

  .deposit-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .deposit-hero-left h1 {
    font-size: 22px;
  }

  .deposit-hero-left p {
    font-size: 13px;
  }

  .deposit-qr-box img {
    width: min(240px, 100%);
  }

  .deposit-card,
  .deposit-side-card {
    padding: 14px 12px;
  }

  .deposit-panel {
    padding: 12px;
  }

  .deposit-timer {
    gap: 10px;
  }

  .timer-box {
    min-width: 60px;
  }

  .deposit-modern {
    padding-top: 12px;
  }

  .deposit-back-btn {
    justify-content: center;
    font-size: 13px;
    padding: 9px 12px;
  }

  .deposit-hero-card {
    gap: 10px;
  }

  .deposit-alert {
    font-size: 12px;
  }

  .deposit-summary-list li {
    padding: 9px 10px;
    font-size: 13px;
  }

  .deposit-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .deposit-status {
    align-self: flex-start;
  }

  .deposit-side-card img {
    width: 120px;
  }

  .deposit-tip-list li {
    font-size: 12px;
  }
}




