.hero {
  margin-top: 80px;
  min-height: clamp(280px, 56vh, 620px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url('/about.jpg');
  background-size: cover;
  background-position: center 24%;
  background-attachment: scroll;
  overflow: hidden;
  padding: 0 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1.0);
  will-change: transform, opacity;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(46, 167, 255, 0.25), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(15, 23, 42, 0.28), transparent 50%);
  z-index: 1;
}

@media (min-width: 1700px) {
  .hero {
    min-height: clamp(320px, 50vh, 720px);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.36), rgba(255, 255, 255, 0.12));
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.0);
  will-change: opacity;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-around; /* Adjusted to space-around or center if only one item */
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 3;
}

/* Styles for .hero-text-container, .hero-title, .hero-slogan, .hero-subtitle, .hero-cta, .arrow-icon, .hero-registration-form have been moved to HeroText.css */

.coin-animation {
  position: relative;
  width: 300px;
  height: 300px;
  perspective: 1500px;
  margin-left: 50px;
}

.coin {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: spin 20s infinite cubic-bezier(0.45, 0, 0.55, 1);
  will-change: transform;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

@keyframes spin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.coin-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
}

.coin-front, .coin-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #553c00;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
  overflow: hidden;
  box-shadow: 0 0 50px rgba(255, 200, 0, 0.6);
  letter-spacing: -1px;
  font-family: 'Arial', sans-serif;
}

.coin-front {
  background: linear-gradient(135deg, #e6b800 0%, #ffd700 40%, #ffcc00 60%, #e6b800 100%);
  z-index: 2;
  text-transform: uppercase;
}

.coin-circle {
  position: absolute;
  width: 94%;
  height: 94%;
  border-radius: 50%;
  border: 4px solid rgba(173, 137, 0, 0.6);
  box-sizing: border-box;
  opacity: 0.8;
}

.coin-rim {
  position: absolute;
  width: 98%;
  height: 98%;
  border-radius: 50%;
  border: 2px dashed rgba(230, 190, 0, 0.7);
  box-sizing: border-box;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.coin-logo, .coin-text {
  font-size: 2.2rem;
  z-index: 5;
  color: #553c00;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
  letter-spacing: -0.5px;
  font-weight: 800;
  position: relative;
  text-transform: uppercase;
}

.coin-logo::before, .coin-text::before {
  content: '';
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.highlight {
  color: #b38600;
  font-weight: 900;
}

.coin-edge {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(-15px) rotateX(90deg);
  border-radius: 50%;
  background: #cc9900;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.coin-edge-line {
  position: absolute;
  width: 100%;
  height: 1.5px;
  background: #b38600;
  top: 50%;
  left: 0;
  transform-origin: center;
  transform: translateY(-50%) rotate(calc(var(--i, 0) * 6deg));
}

.coin-edge-line:nth-child(odd) {
  background: #e6b800;
}

@keyframes coin-edge-lines {
  0% { opacity: 0.7; }
  50% { opacity: 0.9; }
  100% { opacity: 0.7; }
}

.coin-edge .coin-edge-line:nth-child(1) { --i: 1; }
.coin-edge .coin-edge-line:nth-child(2) { --i: 2; }
.coin-edge .coin-edge-line:nth-child(3) { --i: 3; }
.coin-edge .coin-edge-line:nth-child(4) { --i: 4; }
.coin-edge .coin-edge-line:nth-child(5) { --i: 5; }
.coin-edge .coin-edge-line:nth-child(6) { --i: 6; }
.coin-edge .coin-edge-line:nth-child(7) { --i: 7; }
.coin-edge .coin-edge-line:nth-child(8) { --i: 8; }
.coin-edge .coin-edge-line:nth-child(9) { --i: 9; }
.coin-edge .coin-edge-line:nth-child(10) { --i: 10; }
.coin-edge .coin-edge-line:nth-child(11) { --i: 11; }
.coin-edge .coin-edge-line:nth-child(12) { --i: 12; }
.coin-edge .coin-edge-line:nth-child(13) { --i: 13; }
.coin-edge .coin-edge-line:nth-child(14) { --i: 14; }
.coin-edge .coin-edge-line:nth-child(15) { --i: 15; }
.coin-edge .coin-edge-line:nth-child(16) { --i: 16; }
.coin-edge .coin-edge-line:nth-child(17) { --i: 17; }
.coin-edge .coin-edge-line:nth-child(18) { --i: 18; }
.coin-edge .coin-edge-line:nth-child(19) { --i: 19; }
.coin-edge .coin-edge-line:nth-child(20) { --i: 20; }
.coin-edge .coin-edge-line:nth-child(21) { --i: 21; }
.coin-edge .coin-edge-line:nth-child(22) { --i: 22; }
.coin-edge .coin-edge-line:nth-child(23) { --i: 23; }
.coin-edge .coin-edge-line:nth-child(24) { --i: 24; }
.coin-edge .coin-edge-line:nth-child(25) { --i: 25; }
.coin-edge .coin-edge-line:nth-child(26) { --i: 26; }
.coin-edge .coin-edge-line:nth-child(27) { --i: 27; }
.coin-edge .coin-edge-line:nth-child(28) { --i: 28; }
.coin-edge .coin-edge-line:nth-child(29) { --i: 29; }
.coin-edge .coin-edge-line:nth-child(30) { --i: 30; }
.coin-edge .coin-edge-line:nth-child(31) { --i: 31; }
.coin-edge .coin-edge-line:nth-child(32) { --i: 32; }
.coin-edge .coin-edge-line:nth-child(33) { --i: 33; }
.coin-edge .coin-edge-line:nth-child(34) { --i: 34; }
.coin-edge .coin-edge-line:nth-child(35) { --i: 35; }
.coin-edge .coin-edge-line:nth-child(36) { --i: 36; }
.coin-edge .coin-edge-line:nth-child(37) { --i: 37; }
.coin-edge .coin-edge-line:nth-child(38) { --i: 38; }
.coin-edge .coin-edge-line:nth-child(39) { --i: 39; }
.coin-edge .coin-edge-line:nth-child(40) { --i: 40; }
.coin-edge .coin-edge-line:nth-child(41) { --i: 41; }
.coin-edge .coin-edge-line:nth-child(42) { --i: 42; }
.coin-edge .coin-edge-line:nth-child(43) { --i: 43; }
.coin-edge .coin-edge-line:nth-child(44) { --i: 44; }
.coin-edge .coin-edge-line:nth-child(45) { --i: 45; }
.coin-edge .coin-edge-line:nth-child(46) { --i: 46; }
.coin-edge .coin-edge-line:nth-child(47) { --i: 47; }
.coin-edge .coin-edge-line:nth-child(48) { --i: 48; }
.coin-edge .coin-edge-line:nth-child(49) { --i: 49; }
.coin-edge .coin-edge-line:nth-child(50) { --i: 50; }
.coin-edge .coin-edge-line:nth-child(51) { --i: 51; }
.coin-edge .coin-edge-line:nth-child(52) { --i: 52; }
.coin-edge .coin-edge-line:nth-child(53) { --i: 53; }
.coin-edge .coin-edge-line:nth-child(54) { --i: 54; }
.coin-edge .coin-edge-line:nth-child(55) { --i: 55; }
.coin-edge .coin-edge-line:nth-child(56) { --i: 56; }
.coin-edge .coin-edge-line:nth-child(57) { --i: 57; }
.coin-edge .coin-edge-line:nth-child(58) { --i: 58; }
.coin-edge .coin-edge-line:nth-child(59) { --i: 59; }
.coin-edge .coin-edge-line:nth-child(60) { --i: 60; }

.coin-stars {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: translateZ(1px);
}

.coin-star {
  position: absolute;
  width: 12px;
  height: 12px;
  background: transparent;
  transform: rotate(45deg);
}

.coin-star:before, 
.coin-star:after {
  content: "";
  position: absolute;
  background-color: #553c00;
  opacity: 0.6;
}

.coin-star:before {
  width: 12px;
  height: 2px;
  top: 5px;
  left: 0;
}

.coin-star:after {
  width: 2px;
  height: 12px;
  top: 0;
  left: 5px;
}

.star-1 { top: 15%; left: 20%; }
.star-2 { top: 25%; left: 80%; }
.star-3 { top: 80%; left: 15%; }
.star-4 { top: 70%; left: 80%; }
.star-5 { top: 45%; left: 90%; }
.star-6 { top: 10%; left: 40%; }
.star-7 { top: 85%; left: 50%; }
.star-8 { top: 40%; left: 10%; }

.coin-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  animation: shine 8s infinite alternate;
}

@keyframes shine {
  0% { opacity: 0.5; transform: translateX(-25%) translateY(-25%) rotate(0deg); }
  25% { opacity: 0.7; }
  50% { opacity: 0.5; transform: translateX(25%) translateY(25%) rotate(180deg); }
  75% { opacity: 0.3; }
  100% { opacity: 0.5; transform: translateX(-25%) translateY(-25%) rotate(360deg); }
}

.coin-emblem {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  border: 2px solid rgba(102, 51, 0, 0.3);
  transform: translateZ(1px);
  background: radial-gradient(circle at center, rgba(255,215,0,0.2) 0%, rgba(255,215,0,0) 70%);
}

.coin-emblem::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-radius: 50%;
  border: 1px solid rgba(102, 51, 0, 0.2);
  background: radial-gradient(circle at center, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0) 70%);
}

.coin-emblem::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(102, 51, 0, 0.1) 0%, rgba(102, 51, 0, 0) 70%);
}

/* 3D Animation */
@keyframes spin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Add slightly slower spin on hover to make it easier to see details */
.coin-animation:hover .coin {
  animation: spin 40s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.8;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  position: relative;
}

.mouse-wheel {
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

.scroll-text {
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: 2px;
}

/* RTL Support */
[dir="rtl"] .hero-cta .arrow-icon {
  margin-left: 0;
  margin-right: 8px;
  transform: rotate(180deg);
}

[dir="rtl"] .hero-cta:hover .arrow-icon {
  transform: rotate(180deg) translateX(5px);
}

/* Responsive styling */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text-container {
    margin-bottom: 50px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-slogan {
    font-size: 1.5rem;
  }
  
  .coin-animation {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .hero {
    background-position: center 30%;
    min-height: clamp(220px, 42vh, 360px);
    border-radius: 0 0 20px 20px;
  }

  .hero-title {
    font-size: 3rem;
  }
  
  .hero-slogan {
    font-size: 1.3rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-cta {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .scroll-indicator {
    bottom: 18px;
  }
}

.inline-registration-container {
  
  border-radius: 16px;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
  width: 100%;
  padding: 2rem;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.registration-header {
  text-align: center;
  margin-bottom: 2rem;
}

.registration-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.registration-header p {
  color: var(--color-text-secondary);
  font-size: 1rem;
}



.registration-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.input-icon {
  color: var(--color-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"] {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.2);
}

.form-group input.error {
  border-color: var(--color-error, #ff4d4f);
}

.error-message {
  color: var(--color-error, #ff4d4f);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
}

.checkbox-group label {
  flex: 1;
  font-size: 0.85rem;
}

.checkbox-group label a {
  color: var(--color-primary);
  text-decoration: none;
}

.checkbox-group label a:hover {
  text-decoration: underline;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 1rem;
}

.next-button,
.back-button,
.submit-button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.next-button,
.submit-button {
  background-color: var(--color-primary);
  color: var(--color-text-contrast);
  border: none;
}

.next-button:hover,
.submit-button:hover {
  background-color: var(--color-primary-dark, #0056b3);
  transform: translateY(-2px);
}

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

.back-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-primary);
}

.next-button {
  margin-left: auto;
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  font-size: 3rem;
  color: var(--color-success, #52c41a);
  margin-bottom: 1rem;
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.success-message p {
  color: var(--color-text-secondary);
}

.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}

.api-error-message {
  color: var(--color-error, #ff4d4f);
  background-color: rgba(255, 77, 79, 0.1);
  border: 1px solid rgba(255, 77, 79, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
  text-align: center;
}

.retry-button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: var(--color-primary);
  color: var(--color-text-contrast);
  border: none;
}

.retry-button:hover {
  background-color: var(--color-primary-dark, #0056b3);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .registration-modal {
    padding: 1.5rem;
    width: 95%;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .next-button,
  .back-button,
  .submit-button {
    width: 100%;
  }
}

.hero-text-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 20px 34px;
  margin-top: -22px;
  position: relative;
  z-index: 4;
  background-color: transparent;
}

.hero-text-container {
  max-width: 760px;
  color: var(--text-dark);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 255, 0.95));
  border-radius: 18px;
  padding: 30px 32px;
  border: 1px solid rgba(46, 167, 255, 0.28);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.15);
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1.0), box-shadow 0.5s ease;
  will-change: transform, opacity;
  backdrop-filter: blur(8px); /* Adjusted blur */
  -webkit-backdrop-filter: blur(8px);
  text-align: center; /* Center text for a standalone section */
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  margin: 0 0 0.4rem 0;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--text-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-slogan {
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  margin: 0.65rem 0 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  display: block;
  line-height: 1.35;
}

.hero-subtitle {
  font-size: 1.04rem;
  color: rgba(15, 23, 42, 0.86);
  margin-bottom: 2rem;
  line-height: 1.68;
  position: relative;
  border-bottom: 2px dotted rgba(46, 167, 255, 0.7);
  padding-bottom: 15px;
}

.hero-cta {
  background: linear-gradient(90deg, var(--text-dark) 0%, var(--primary-color) 100%);
  background-size: 200% auto;
  color: white;
  border: none;
  padding: 15px 30px; /* Adjusted padding */
  border-radius: 30px;
  font-size: 1rem; /* Adjusted font size */
  font-weight: 700;
  cursor: pointer;
  display: inline-flex; /* Changed to inline-flex for centering */
  align-items: center;
  justify-content: center; /* Center content within button */
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1.0);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
  will-change: transform, box-shadow, background-position;
  overflow: hidden;
  position: relative;
  margin: 0 auto; /* Center button if it's a block */
}

.hero-cta:hover {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.28);
  transform: translateY(-2px);
  background-position: right center;
}

.hero-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  border-radius: 30px;
}

.hero-cta:hover::after {
  transform: translateX(100%);
}

.arrow-icon {
  margin-left: 8px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.hero-cta:hover .arrow-icon {
  transform: translateX(5px);
}

.hero-registration-form {
  width: 100%;
  margin-top: 20px;
  max-width: 500px; /* Ensure it doesn't get too wide */
  margin-left: auto; /* Center the form */
  margin-right: auto; /* Center the form */
}

/* RTL Support */
[dir="rtl"] .hero-text-container {
  text-align: center; /* Keep centered for RTL as well */
}

[dir="rtl"] .hero-cta .arrow-icon {
  margin-left: 0;
  margin-right: 8px;
  transform: rotate(180deg);
}

[dir="rtl"] .hero-cta:hover .arrow-icon {
  transform: rotate(180deg) translateX(5px);
}

/* Responsive styling for HeroText */
@media (max-width: 768px) {
  .hero-text-container {
    padding: 22px 18px;
  }
  .hero-slogan {
    font-size: 1.06rem;
  }
  .hero-subtitle {
    font-size: 0.98rem;
  }
  .hero-cta {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-slogan {
    font-size: 1rem;
  }
}

.home-showcase-section {
  position: relative;
  padding: 132px 0 54px;
  background: linear-gradient(140deg, #f8f6f1 0%, #efe9dc 52%, #f8f6f1 100%);
  overflow: hidden;
}

.home-showcase-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(28, 79, 92, 0.14), transparent 38%),
    radial-gradient(circle at 80% 80%, rgba(197, 140, 62, 0.16), transparent 34%);
  pointer-events: none;
}

.home-showcase-header {
  text-align: center;
  margin-bottom: 42px;
  position: relative;
  z-index: 1;
}

.home-showcase-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0e4250;
  background: rgba(14, 66, 80, 0.14);
  margin-bottom: 14px;
}

.home-showcase-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  color: #0f2c35;
}

.home-showcase-subtitle {
  margin: 15px auto 0;
  max-width: 780px;
  font-size: 1.06rem;
  line-height: 1.6;
  color: #295361;
}

.home-showcase-marketing {
  text-align: center;
  margin-bottom: 42px;
  position: relative;
  z-index: 1;
}

.home-showcase-marketing-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  font-weight: 800;
  color: #0f2c35;
}

.home-showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.home-showcase-card {
  border: 1px solid rgba(14, 66, 80, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(18, 44, 55, 0.08);
  padding: 24px;
  backdrop-filter: blur(3px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px rgba(18, 44, 55, 0.14);
}

.home-showcase-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.home-showcase-label {
  border-radius: 999px;
  background: rgba(201, 133, 52, 0.18);
  color: #804910;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 6px 10px;
}

.home-showcase-icon {
  color: #0e4250;
  opacity: 0.7;
  font-size: 1rem;
}

.home-showcase-card-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 700;
  color: #0f2c35;
}

.home-showcase-card-content {
  margin: 10px 0 0;
  color: #34535d;
  line-height: 1.65;
  word-break: break-word;
}

.home-showcase-card-content a {
  color: #0e4250;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.home-showcase-card-content a:hover {
  color: #804910;
}

.home-showcase-card-content a.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1.15rem;
  text-decoration: none;
  vertical-align: middle;
  margin-left: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-showcase-card-content a.whatsapp-link:hover {
  background: #1ebe5d;
  color: #fff;
  transform: scale(1.1);
}

.home-showcase-loading,
.home-showcase-error {
  text-align: center;
  padding: 24px 0;
  color: #24505e;
  font-weight: 500;
}

@media (max-width: 768px) {
  .home-showcase-section {
    padding: 84px 0 42px;
  }

  .home-showcase-header {
    margin-bottom: 30px;
  }

  .home-showcase-subtitle {
    font-size: 1rem;
  }
}
.about {
  padding: 100px 0;
  background-color: var(--darker-bg);
  color: var(--text-dark);
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  font-weight: 800;
  position: relative;
}

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

.about-image {
  position: relative;
}

.image-container {
  width: 100%;
  height: 400px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 10px 20px var(--shadow-color);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.stock-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-stock-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.stock-image-wrapper:hover .about-stock-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.value-tags {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 15px;
}

.value-tag {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  animation: fadeInUp 0.8s forwards;
}

.value-tag:hover {
  transform: translateY(-5px);
  opacity: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.value-tag.security {
  background: linear-gradient(135deg, #4481eb, #04befe);
  animation-delay: 0.1s;
}

.value-tag.trust {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  animation-delay: 0.3s;
}

.value-tag.innovation {
  background: linear-gradient(135deg, #fa709a, #fee140);
  animation-delay: 0.5s;
}

.value-tag.community {
  background: linear-gradient(135deg, #8f66ff, #5ab9fe);
  animation-delay: 0.7s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 10px;
  color: var(--text-medium);
}

.about-mission,
.about-vision {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px var(--shadow-color);
  border: 1px solid var(--card-border);
}

.about-vision {
  /* border styles are now consistent with about-mission */
}

.about-mission:hover,
.about-vision:hover {
  background-color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow-color);
}

.about-mission h3,
.about-vision h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-weight: 700;
}

.about-mission p,
.about-vision p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-medium);
}

/* RTL Support */
[dir="rtl"] .about-mission,
[dir="rtl"] .about-vision {
  /* borders removed */
}

[dir="rtl"] .block::before {
  right: auto;
  left: -40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-image {
    order: 2;
  }
  
  .about-text {
    order: 1;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 70px 0;
  }
  
  .image-container {
    height: 300px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .about-description {
    font-size: 1rem;
  }
  
  .block {
    width: 50px;
    height: 50px;
  }
  
  .block::before {
    width: 20px;
    right: -20px;
  }
  
  [dir="rtl"] .block::before {
    left: -20px;
  }
}

.features {
  padding: 100px 0;
  background-color: var(--darker-bg);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(66, 180, 255, 0.15), transparent 70%),
              radial-gradient(circle at bottom left, rgba(255, 107, 107, 0.15), transparent 70%),
              radial-gradient(circle at center, rgba(6, 214, 160, 0.1), transparent 60%);
  pointer-events: none;
}

.features-content {
  position: relative;
  z-index: 1;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.feature-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid var(--card-border);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px var(--shadow-color);
}

.feature-card:hover {
  background-color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  position: relative;
  background-color: rgba(66, 180, 255, 0.1);
  color: var(--primary-color);
}

.icon-bg {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px dashed var(--accent-color);
  border-radius: 20px;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  padding-left: 15px;
  border-left: 3px solid var(--secondary-color);
}

.feature-description {
  color: var(--text-medium);
  line-height: 1.6;
  font-size: 1rem;
  flex-grow: 1;
}

.feature-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--tertiary-color));
  transition: transform 0.3s ease;
  transform: scaleX(0.3);
  transform-origin: left;
}

.feature-card:hover .feature-accent {
  transform: scaleX(1);
}

/* RTL Support */
[dir="rtl"] .feature-accent {
  transform-origin: right;
}

/* Responsive styling */
@media (max-width: 992px) {
  .features {
    padding: 80px 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: 25px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.7rem;
  }
  
  .feature-title {
    font-size: 1.3rem;
  }
}

.tokenomics {
  padding: 100px 0;
  background-color: var(--darker-bg);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.tokenomics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(66, 180, 255, 0.1), transparent 60%),
    radial-gradient(circle at bottom right, rgba(255, 107, 107, 0.1), transparent 60%),
    radial-gradient(circle at center, rgba(6, 214, 160, 0.05), transparent 70%);
  pointer-events: none;
}

.tokenomics-content {
  position: relative;
  z-index: 1;
}

.tokenomics-header {
  text-align: center;
  margin-bottom: 50px;
}

.token-supply {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.distribution-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.distribution-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 10px;
}

.distribution-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.chart-container {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 30px;
}

.pie-chart {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  /* Maintains aspect ratio */
  border-radius: 50%;
  background-color: var(--card-bg);
  box-shadow: 0 10px 25px var(--shadow-color);
  border: 1px solid var(--card-border);
}

.pie-segment {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(transparent 0deg,
      transparent calc(var(--start) * 3.6deg),
      var(--color) calc(var(--start) * 3.6deg),
      var(--color) calc((var(--start) + var(--value)) * 3.6deg),
      transparent calc((var(--start) + var(--value)) * 3.6deg),
      transparent 360deg);
  clip-path: circle(50% at 50% 50%);
  transform-origin: center;
}

.pie-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35%;
  height: 35%;
  background-color: var(--dark-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px var(--shadow-color);
  border: 1px solid var(--card-border);
}

.pie-label {
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.distribution-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  width: 100%;
}

.legend-item {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.legend-item:hover {
  background-color: rgba(66, 180, 255, 0.1);
  transform: translateY(-2px);
}

.legend-color {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  margin-right: 8px;
}

.legend-label {
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: 500;
}

.tokenomics-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px var(--shadow-color);
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
}

.info-card:hover {
  background-color: #ffffff;
  box-shadow: 0 12px 30px var(--shadow-color);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-weight: 700;
  position: relative;
  padding-left: 12px;
  border-left: 3px solid var(--secondary-color);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* RTL Support */
[dir="rtl"] .legend-color {
  margin-right: 0;
  margin-left: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .tokenomics {
    padding: 80px 0;
  }

  .tokenomics-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

@media (max-width: 768px) {
  .distribution-title {
    font-size: 1.4rem;
  }

  .chart-container {
    max-width: 250px;
  }

  .pie-label {
    font-size: 1rem;
  }

  .token-supply {
    font-size: 1.1rem;
  }
}
.roadmap {
  padding: 100px 0;
  background-color: var(--dark-bg);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.roadmap-content {
  position: relative;
  z-index: 2;
}

.roadmap-header {
  text-align: center;
  margin-bottom: 70px;
}

.roadmap-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 20px var(--shadow-color);
  border: 1px solid var(--card-border);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow-color);
  background-color: #ffffff;
  border-color: var(--primary-color);
}

.timeline-icon {
  position: absolute;
  left: -30px;
  top: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 15px var(--shadow-color);
  z-index: 2;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.timeline-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-weight: 700;
  margin-inline-start: 10px !important;
}


.timeline-description {
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 15px;
}

.timeline-status {
  display: flex;
  justify-content: flex-end;
}

.status-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.completed {
  background-color: rgba(46, 213, 115, 0.2);
  color: #2ed573;
}

.status-badge.in-progress {
  background-color: rgba(85, 174, 255, 0.2);
  color: #55aeff;
}

.status-badge.upcoming {
  background-color: rgba(255, 168, 86, 0.2);
  color: #ffa856;
}

.timeline-connector {
  position: absolute;
  top: 50px;
  left: 20px;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color), var(--tertiary-color));
  z-index: 1;
  border-radius: 3px;
}

.roadmap-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bg-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.element-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  background: radial-gradient(var(--primary-color), transparent 70%);
  animation: float 15s infinite alternate ease-in-out;
}

.element-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -150px;
  background: radial-gradient(var(--secondary-color), transparent 70%);
  animation: float 20s infinite alternate-reverse ease-in-out;
}

.element-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  right: 10%;
  background: radial-gradient(var(--tertiary-color), transparent 70%);
  animation: float 18s infinite alternate ease-in-out;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(20px, 20px) scale(1.1);
  }
}

/* RTL Support */
[dir="rtl"] .timeline-item {
  padding-left: 0;
  padding-right: 40px;
}

[dir="rtl"] .timeline-icon {
  left: auto;
  right: -30px;
}

[dir="rtl"] .timeline-connector {
  left: auto;
  right: 20px;
}

[dir="rtl"] .timeline-status {
  justify-content: flex-start;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .roadmap {
    padding: 70px 0;
  }
  
  .timeline-item {
    padding-left: 30px;
  }
  
  .timeline-icon {
    width: 50px;
    height: 50px;
    left: -25px;
    font-size: 20px;
  }
  
  .timeline-connector {
    left: 15px;
  }
  
  .timeline-content {
    padding: 20px;
  }
  
  .timeline-title {
    font-size: 1.2rem;    
  }
  
  [dir="rtl"] .timeline-item {
    padding-right: 30px;
    
  }
  
  [dir="rtl"] .timeline-icon {
    right: -25px;
  }
  
  [dir="rtl"] .timeline-connector {
    right: 15px;
  }
}

.cta {
  position: relative;
  color: white;
  overflow: hidden;
  padding: 100px 0;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.cta-content {
  background: rgba(19, 24, 36, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  background: linear-gradient(90deg, #5AB9FE 0%, #8F66FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-join-button {
  background: linear-gradient(90deg, #5AB9FE 0%, #8F66FF 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 25px rgba(90, 185, 254, 0.3);
  transition: all 0.3s ease;
}

.cta-join-button:hover {
  box-shadow: 0 15px 30px rgba(90, 185, 254, 0.4);
}

.arrow-icon {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.cta-join-button:hover .arrow-icon {
  transform: translateX(5px);
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  overflow: hidden;
}

.cta-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}

.shape-1 {
  width: 500px;
  height: 500px;
  top: -250px;
  left: -100px;
  background: linear-gradient(135deg, #5AB9FE 0%, transparent 70%);
  animation: floatShape 15s infinite alternate ease-in-out;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -200px;
  right: -100px;
  background: linear-gradient(135deg, #8F66FF 0%, transparent 70%);
  animation: floatShape 20s infinite alternate-reverse ease-in-out;
}

.shape-3 {
  width: 300px;
  height: 300px;
  top: 20%;
  right: 10%;
  background: linear-gradient(135deg, #6E8FFF 0%, transparent 70%);
  animation: floatShape 18s infinite alternate ease-in-out;
}

@keyframes floatShape {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(30px, 30px) rotate(10deg);
  }
}

.cta-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(90, 185, 254, 0.7), rgba(143, 102, 255, 0.7));
  box-shadow: 0 0 10px rgba(90, 185, 254, 0.5);
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(100px, -100px) scale(0);
    opacity: 0;
  }
}

/* RTL Support */
[dir="rtl"] .arrow-icon {
  margin-left: 0;
  margin-right: 8px;
  transform: rotate(180deg);
}

[dir="rtl"] .cta-join-button:hover .arrow-icon {
  transform: rotate(180deg) translateX(5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .cta {
    padding: 70px 0;
  }
  
  .cta-content {
    padding: 40px 25px;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
  
  .cta-join-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Form container and toggle buttons */
.form-container {
  width: 100%;
  margin-bottom: 1rem;
}

.form-toggle-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.toggle-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-secondary, rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.toggle-button.active {
  background: linear-gradient(90deg, #5AB9FE 0%, #8F66FF 100%);
  color: white;
  border-color: transparent;
}

.faq-container {
  max-width: 900px; /* Increased max-width */
  margin: 50px auto; /* Increased margin */
  padding: 30px; /* Increased padding */
  background: linear-gradient(145deg, #1f1f3d, #1a1a2e); /* Gradient background */
  border-radius: 20px; /* Smoother border radius */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25); /* Enhanced shadow */
  color: #e8e8e8; /* Slightly brighter base text color */
}

.faq-header {
  display: flex;
  align-items: center;
  margin-bottom: 40px; /* Increased margin */
  padding-bottom: 25px; /* Increased padding */
  border-bottom: 1px solid #4a4a6e; /* Softer border color */
}

.faq-header-icon {
  font-size: 3rem; /* Larger icon */
  color: #17a2b8; /* Adjusted cyan color */
  margin-right: 20px; /* Increased margin */
  animation: floatIcon 3s infinite ease-in-out; /* New animation */
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.faq-title {
  font-size: 2.8rem; /* Larger title */
  font-weight: 700; /* Bolder */
  color: #ffffff;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4); /* Enhanced text shadow */
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Increased gap */
}

.faq-item {
  background-color: #2c2c54; /* Slightly lighter item background */
  border-radius: 12px; /* Smoother radius */
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease; /* Transition for all properties */
  border-left: 5px solid transparent; /* For hover effect */
}

.faq-item:hover {
  transform: translateY(-5px); /* Lift effect on hover */
  box-shadow: 0 12px 25px rgba(23, 162, 184, 0.3); /* Brighter glow on hover */
  border-left-color: #17a2b8; /* Accent border on hover */
}

.faq-question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px; /* Increased padding */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question-header:hover .faq-question {
  color: #17a2b8; /* Highlight question text on hover */
}

.faq-question {
  font-size: 1.3rem; /* Larger question font */
  font-weight: 600;
  color: #f5f5f5;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-icon {
  font-size: 1.8rem; /* Larger icon */
  color: #17a2b8;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Bouncy transition */
}

.faq-answer-content {
  padding: 0 25px 25px 25px; /* Consistent padding */
  background-color: #252548; /* Slightly different answer background */
  border-top: 1px solid #4a4a6e;
}

.faq-answer {
  font-size: 1.05rem; /* Slightly larger answer font */
  line-height: 1.7; /* Increased line height */
  color: #d0d0d0;
  margin: 0;
  padding-top: 20px; /* Increased padding */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .faq-container {
    margin: 25px 15px; /* Adjusted margin */
    padding: 20px;
  }

  .faq-header-icon {
    font-size: 2.5rem;
  }

  .faq-title {
    font-size: 2.2rem;
  }

  .faq-question {
    font-size: 1.15rem;
  }

  .faq-icon {
    font-size: 1.5rem;
  }

  .faq-answer {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .faq-title {
    font-size: 1.8rem;
  }
  .faq-question {
    font-size: 1rem;
  }
  .faq-header-icon {
    font-size: 2rem;
    margin-right: 10px;
  }
}

.bff-wallets-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  font-family: var(--font-family, 'Arial, sans-serif');
}

.bff-wallets-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color, #0066cc);
  text-align: center;
}

.bff-wallets-description {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--text-color, #333);
}

.bff-wallets-loading,
.bff-wallets-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-color, #0066cc);
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 1rem;
}

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

.bff-wallets-error {
  color: var(--error-color, #e74c3c);
  font-weight: bold;
}

.bff-wallets-grid {
  border: 1px solid var(--border-color, #ddd);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.bff-wallets-header {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  background-color: var(--primary-color, #0066cc);
  color: white;
  font-weight: bold;
  padding: 1rem;
}

.bff-wallet-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color, #ddd);
  transition: background-color 0.2s;
}

.bff-wallet-row:last-child {
  border-bottom: none;
}

.bff-wallet-row:hover {
  background-color: var(--hover-bg-color, #f5f5f5);
}

.wallet-name {
  font-weight: bold;
}

.wallet-address {
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-actions {
  display: flex;
  justify-content: center;
}

.wallet-action-button {
  background-color: var(--secondary-color, #4CAF50);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.wallet-action-button:hover {
  background-color: var(--secondary-hover-color, #45a049);
}

.bff-wallets-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination-button {
  background-color: var(--primary-color, #0066cc);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.pagination-button:hover:not(:disabled) {
  background-color: var(--primary-hover-color, #0055aa);
}

.pagination-button:disabled {
  background-color: var(--disabled-color, #cccccc);
  cursor: not-allowed;
}

.pagination-info {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .bff-wallets-header,
  .bff-wallet-row {
    grid-template-columns: 1fr 1.5fr 1fr;
    font-size: 0.9rem;
  }
  
  .wallet-action-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .bff-wallets-container {
    padding: 1rem;
  }
  
  .bff-wallets-header,
  .bff-wallet-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .bff-wallets-header {
    display: none;
  }
  
  .wallet-name::before {
    content: "Name: ";
    font-weight: normal;
  }
  
  .wallet-address::before {
    content: "Address: ";
    font-weight: bold;
  }
}

.updates-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.updates-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.updates-header {
  text-align: center;
  margin-bottom: 60px;
}

.updates-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.updates-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.update-card {
  --update-type-color: #667eea;
  --update-type-bg: rgba(102, 126, 234, 0.1);
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.update-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--update-type-color);
}

.update-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

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

.update-type {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--update-type-bg);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--update-type-color);
}

.update-icon {
  font-size: 1rem;
}

.update-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: #6c757d;
}

.clock-icon {
  font-size: 0.875rem;
}

.update-title-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.4;
}

.update-content {
  position: relative;
}

.update-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.update-text:not(.expanded) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height: 4.8em;
}

.update-text.expanded {
  -webkit-line-clamp: unset;
  max-height: none;
}

.update-toggle {
  background: none;
  border: none;
  color: #667eea;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.update-toggle:hover {
  color: #5a6fd8;
}

.updates-loading,
.updates-error {
  text-align: center;
  padding: 60px 20px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.updates-loading p,
.updates-error p {
  font-size: 1.1rem;
  color: #6c757d;
  margin: 0;
}

.updates-error p {
  color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
  .updates-section {
    padding: 60px 0;
  }
  
  .updates-title {
    font-size: 2rem;
  }
  
  .updates-subtitle {
    font-size: 1.1rem;
  }
  
  .updates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .update-card {
    padding: 24px;
  }
  
  .update-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .update-type {
    font-size: 0.8rem;
  }
  
  .update-date {
    font-size: 0.8rem;
  }
  
  .update-title-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .updates-header {
    margin-bottom: 40px;
  }
  
  .updates-title {
    font-size: 1.8rem;
  }
  
  .updates-subtitle {
    font-size: 1rem;
  }
  
  .update-card {
    padding: 20px;
  }
}

.promoted-campaigns-section {
  padding: 84px 0 96px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.promoted-campaigns-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(15, 23, 42, 0.015) 48%, transparent 100%);
  pointer-events: none;
}

.promoted-campaigns-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.header-content {
  flex: 1;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(46, 167, 255, 0.32);
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.badge-icon {
  font-size: 1rem;
  color: #2ea7ff;
}

.promoted-campaigns-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.promoted-campaigns-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #0f172a;
  max-width: 640px;
  line-height: 1.6;
  opacity: 0.86;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

.view-all-btn:hover {
  background: #2ea7ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(46, 167, 255, 0.28);
}

.btn-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.view-all-btn:hover .btn-icon,
.view-campaign-btn:hover .btn-icon {
  transform: translateX(4px);
}

.promoted-campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.campaign-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(46, 167, 255, 0.4);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  transition: all 0.32s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.campaign-card:hover {
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.15);
  border-color: rgba(46, 167, 255, 0.4);
}

.campaign-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ffffff;
}

.campaign-image-backdrop {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1);
  opacity: 0.12;
  transform: scale(1.08);
  z-index: 1;
}

.campaign-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 3;
}

.campaign-image img.campaign-image-main {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  transition: transform 0.35s ease;
  display: block;
  z-index: 2;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.3));
}

.campaign-card:hover .campaign-image img.campaign-image-main {
  transform: scale(1.02);
}

.campaign-rank,
.campaign-progress-chip {
  position: absolute;
  top: 14px;
  z-index: 5;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.campaign-rank {
  left: 14px;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
}

.campaign-progress-chip {
  right: 14px;
  background: rgba(46, 167, 255, 0.92);
  color: #ffffff;
}

.campaign-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 6;
}

.campaign-card:hover .campaign-overlay {
  opacity: 1;
}

.view-campaign-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0f172a;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  transform: translateY(8px);
  transition: all 0.28s ease;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.22);
}

.campaign-card:hover .view-campaign-btn {
  transform: translateY(0);
}

.campaign-content {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.campaign-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.creator-info,
.end-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.82);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(46, 167, 255, 0.08);
  border: 1px solid rgba(46, 167, 255, 0.18);
}

.meta-icon {
  font-size: 0.82rem;
}

.campaign-title {
  font-size: 1.38rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.28;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.campaign-description {
  color: rgba(15, 23, 42, 0.8);
  line-height: 1.58;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.campaign-progress {
  margin-top: 2px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

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

.raised-amount {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.amount-icon {
  font-size: 1.05rem;
  color: #2ea7ff;
}

.amount {
  font-size: 1.06rem;
  font-weight: 800;
  color: #0f172a;
}

.label {
  font-size: 0.78rem;
  color: rgba(15, 23, 42, 0.65);
}

.goal-amount {
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.7);
}

.goal-label {
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0f172a 0%, #2ea7ff 100%);
  border-radius: 999px;
  transition: width 0.45s ease;
}

.progress-percentage {
  font-size: 0.82rem;
  color: rgba(15, 23, 42, 0.78);
  font-weight: 600;
}

.promoted-campaigns-loading {
  text-align: center;
  padding: 60px 20px;
  color: #0f172a;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(15, 23, 42, 0.18);
  border-top: 4px solid #2ea7ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.promoted-campaigns-loading p {
  font-size: 1.05rem;
  margin: 0;
}

[dir="rtl"] .view-all-btn:hover .btn-icon,
[dir="rtl"] .view-campaign-btn:hover .btn-icon {
  transform: translateX(-4px) rotate(180deg);
}

[dir="rtl"] .btn-icon {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .promoted-campaigns-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .promoted-campaigns-section {
    padding: 64px 0 72px;
  }

  .promoted-campaigns-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .campaign-card {
    border-radius: 18px;
  }

  .campaign-image img.campaign-image-main {
    padding: 10px;
  }

  .campaign-content {
    padding: 20px;
  }

  .campaign-title {
    font-size: 1.24rem;
  }
}

@media (max-width: 480px) {
  .promoted-campaigns-title {
    font-size: 1.76rem;
  }

  .promoted-campaigns-subtitle {
    font-size: 0.95rem;
  }

  .view-all-btn {
    padding: 10px 18px;
    font-size: 0.8rem;
  }
}

.admin-login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
  background-color: #f7f9fc;
}

.admin-login-card {
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
  .admin-login-container {
    padding: 0.5rem;
  }
  
  .admin-login-card {
    padding: 1.5rem;
    max-width: 100%;
  }
}

.admin-login-card h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #000;
  font-size: 1.5rem;
  font-weight: 600;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  
}

.form-group input {
  padding: 0.75rem;
  border: 1px solid #ddd;
  color:#000;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
  width: 100%;
}

@media (max-width: 480px) {
  .form-group input {
    font-size: 16px; /* Prevents iOS zoom on focus */
    padding: 0.85rem;
  }
}

.form-group input:focus {
  border-color: #4285f4;
  outline: none;
}

.form-group input[type="password"] {
  color: #000;
}

.error-message {
  color: #d93025;
  font-size: 0.85rem;
  margin-top: -0.5rem;
}

.admin-login-button {
  padding: 0.75rem;
  background-color: #4285f4;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.admin-login-button:hover {
  background-color: #3367d6;
}

.admin-login-button:disabled {
  background-color: #a1b4d4;
  cursor: not-allowed;
}
.user-management-container {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .user-management-container {
    padding: 1rem 0.5rem;
  }
}

.user-management-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.user-management-header h1 {
  font-size: 1.8rem;
  color: #333;
  margin: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 600px) {
  .user-management-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .user-management-header h1 {
    font-size: 1.5rem;
  }
}

.debug-button {
  background-color: #555;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.debug-button:hover {
  background-color: #444;
}

.reload-button {
  background-color: #4285f4;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.reload-button:hover {
  background-color: #3367d6;
}

.logout-button {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.logout-button:hover {
  background-color: #d32f2f;
}

.search-container {
  margin-bottom: 1.5rem;
  width: 100%;
}

.search-input {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .search-container {
    margin-bottom: 1rem;
  }
  
  .search-input {
    max-width: 100%;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

.users-table-container {
  overflow-x: auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  border: 1px solid #ddd;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px; /* Slightly larger text */
}

/* Mobile cards for table rows */
@media (max-width: 768px) {
  .users-table-container {
    overflow-x: visible;
  }
  
  .users-table, 
  .users-table thead, 
  .users-table tbody, 
  .users-table th, 
  .users-table td, 
  .users-table tr {
    display: block;
  }
  
  .users-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  .users-table tbody tr {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    padding: 1rem 0.75rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    background-color: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  
  .users-table td {
    position: relative;
    padding: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    display: flex;
    flex-direction: column;
  }
  
  .users-table td:last-child {
    border-bottom: none;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .users-table td:before {
    content: attr(data-label);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  /* Mobile status styling */
  .users-table td.status-approved,
  .users-table td.status-pending {
    font-weight: 700;
  }
  
  .users-table td.status-approved:before,
  .users-table td.status-pending:before {
    color: #333;
    font-weight: 700;
  }
}

.users-table th,
.users-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
  color: #000; /* Set text color to black */
}

.users-table th {
  background-color: #f7f9fc;
  font-weight: 600;
  color: #333; /* Slightly darker for headers */
}

.users-table tr:last-child td {
  border-bottom: none;
}

/* Add alternating row colors for better readability */
.users-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

/* Add hover effect */
.users-table tbody tr:hover {
  background-color: #f1f4f9;
}

.status-approved {
  color: #1a7431; /* Darker green for better contrast on white background */
  font-weight: 700; /* Make it bolder */
}

.status-pending {
  color: #d76b00; /* Darker orange for better contrast on white background */
  font-weight: 700; /* Make it bolder */
}

.toggle-button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .toggle-button {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
  }
}

.toggle-button.approve {
  background-color: #34a853;
  color: white;
}

.toggle-button.approve:hover {
  background-color: #2d964a;
}

.toggle-button.unapprove {
  background-color: #fa8c16;
  color: white;
}

.toggle-button.unapprove:hover {
  background-color: #e67e0d;
}

.status-message {
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.status-message.success {
  background-color: #e6f4ea;
  color: #34a853;
}

.status-message.error {
  background-color: #fce8e6;
  color: #d93025;
}

@media (max-width: 768px) {
  .status-message {
    margin-top: 0.75rem;
    padding: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
  }
}

.loading-indicator {
  text-align: center;
  padding: 2rem;
  color: #000;
  border-radius: 8px;
  background-color: #f9f9f9;
  margin: 1rem 0;
}

.error-message {
  background-color: #fce8e6;
  color: #d93025;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .loading-indicator {
    padding: 1.5rem;
  }
  
  .error-message {
    padding: 0.75rem;
    font-size: 15px;
  }
}

.no-results {
  text-align: center;
  padding: 2.5rem;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  background-color: #f9f9f9;
}
