@font-face {
  font-family: "Doppio One";
  src: local("Doppio One"), url("./fonts/DoppioOne-Regular.woff2") format("woff2"),
       url("./fonts/DoppioOne-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-primary: #5b21b6;
  --blue-light: #7c3aed;
  --blue-lighter: #a78bfa;
  --white: #ffffff;
  --text-light: #e6eef8; /* texte clair pour fond sombre */
  --text-secondary: #9aa6b2;
  --card-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
  --gradient: linear-gradient(135deg, #061024 0%, #020616 50%, #00040a 100%); /* fond sombre */
  --card-bg: rgba(8, 10, 18, 0.92);
  --card-text-primary: #e6eef8;
  --card-text-secondary: #a3b0bf;
}

body {
  background: var(--gradient);
  background-size: 300% 300%;
  color: var(--text-light);
  font-family: "Doppio One", system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

#searchBar {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.10); /* contour visible sur fond sombre */
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.25s ease;
  outline: none;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
}

#searchBar:focus {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.12);
  outline: 3px solid rgba(124, 58, 237, 0.06);
}
/* ...existing code... */

.top-nav {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 15px;
  z-index: 998;
}

.nav-btn {
  backdrop-filter: blur(10px);
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

/* Mobile Menu Button */
.mobile-menu-button {
  display: none;
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 15;
  background: rgba(124, 58, 237, 0.3);
  border: 2px solid var(--blue-light);
  border-radius: 12px;
  color: var(--blue-light);
  font-size: 1.5rem;
  padding: 5px 10px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.mobile-menu-button:hover {
  background: rgba(124, 58, 237, 0.3);;
  transform: translateY(-2px);
}

.mobile-menu-button:active {
  transform: translateY(0);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -110%;
  width: 100%;
  height: 100vh;
  backdrop-filter: blur(20px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 5px 0 40px rgba(59, 130, 246, 0.2);
  overflow: hidden;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease 0.2s;
}

.mobile-menu.active .mobile-menu-header {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-title {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.mobile-menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease 0.4s;
}

.mobile-menu.active .mobile-menu-nav {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-nav li {
  margin: 2rem 0;
}

.mobile-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  position: relative;
  display: inline-block;
}

.mobile-menu a:hover {
  background: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1600;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 0;
  transform: rotate(0deg) scale(0.8);
}

.mobile-menu.active .mobile-menu-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  transition-delay: 0.3s;
}

.mobile-menu-footer {
  position: absolute;
  bottom: 20px;
  text-align: center;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.5s;
}

.mobile-menu.active .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-footer p {
  color: #9aa6b2;
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.7;
}

.nav-btn:hover {
  background: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
}

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

header {
  text-align: center;
  padding-top: 1%;
}

.title-box {
  display: inline-block;
  background: transparent;
  padding: 20px 35px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 1%;
  transition: all 0.3s ease;
}

.title-box h1 {
  margin-top: 10%;
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 0 60px rgba(124, 58, 237, 0.3);
  filter: drop-shadow(0 4px 20px rgba(124, 58, 237, 0.4));
}

.title-box .subtitle {
  margin: 12px 0 0;
  font-size: 1.15rem;
  color: rgba(209, 213, 219, 0.85);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.search-container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 20px;
  position: relative;
}

#searchBar {
  width: 100%;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: 0.375rem;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#searchBar:focus {
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.search-container::before {
  content: "🔍";
  position: absolute;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.7;
  pointer-events: none;
}

.grid {
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0px;
}

.featured-section {
  grid-column: 1 / -1;
  margin-bottom: 40px;
  margin: 5 auto 40px;
  padding: 0 20px;
}

.section-title {
  color: var(--text-light);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured-card {
  background-color: var(--card-bg);
  border-radius: 1rem;
  padding: 20px 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  border: 2px solid rgba(59, 130, 246, 0.2);
  opacity: 0;
  transform: translateY(20px);
  min-height: 90px;
  max-height: 100px;
}

.featured-card.one{
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(46, 126, 255, 0.3);
  border: 5px solid var(--blue-light);
}

.featured-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.featured-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
  border: 2px solid var(--blue-light);
}

.featured-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-light);
  min-width: 60px;
  text-align: center;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured-logo {
  flex-shrink: 0;
}

.featured-logo img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 10px;
  background-color: #262626;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.featured-card:hover .featured-logo img {
  transform: scale(1.05);
}

.featured-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.featured-info h3 {
  margin: 0;
  color: var(--card-text-primary);
  font-size: 1.3rem;
  font-weight: 600;
}

.featured-info p {
  margin: 0;
  color: var(--card-text-secondary);
  font-size: 0.88rem;
  line-height: 1.3;
}

.featured-action {
  flex-shrink: 0;
  margin-left: auto;
}

.btn-featured {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  display: inline-block;
  min-width: 110px;
}

.btn-featured:hover {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.bonus-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: auto;
}

.bonus-badge.gamdom {
  background: linear-gradient(135deg, #00e087 0%, #00b67a 50%, #009966 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(0,182,122,0.22);
}

.bonus-badge.stake {
  background: linear-gradient(135deg, #11131a 0%, #1b1f31 50%, #2b3344 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.bonus-badge.roobet {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6b21a8 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.28);
}

.bonus-badge.clash {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #0284c7 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.28);
}

/* Regular Section Styles */
.regular-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.regular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}


.card {
  background-color: var(--card-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 330px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  border: 2px solid rgba(59, 130, 246, 0.2);
  opacity: 0;
  transform: translateY(20px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
  border: 2px solid var(--blue-light);
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* align content to the left */
  flex: 1;
  width: 100%;
}

.card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 10px;
  background-color: #262626;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  align-self: flex-start; /* align image to the left */
}


.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  margin: 0 0 8px 0;
  color: var(--card-text-primary);
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center; /* center site name */
  width: 100%;
}

.card p {
  color: var(--card-text-secondary);
  margin: 5px 0 15px;
  font-size: 0.9rem;
  text-align: center; /* center description */
  width: 100%;
}

.stars {
  color: #f1c40f;
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
  align-self: center; /* center stars */
  width: 100%;
  text-align: center;
}

.badge {
  position: absolute;
  top: 25px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  background-size: 200% 200%;
}

.badge.featured {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #7c3aed 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(59,130,246,0.28);
}

.badge.popular {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #ef4444 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(245,158,11,0.28);
}

.badge.new {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #06b6d4 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(16,185,129,0.28);
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  width: 100%;
}

.badge.secondary.gamdom,
.badge.secondary.stake {
  position: absolute;
  right: 15px;
  top: 75px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  line-height: 1;
}

.badge.secondary.gamdom {
  position: absolute;
  right: 15px;
  top: 65px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.95rem; /* increased size */
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  line-height: 1;
  background: linear-gradient(135deg, #00e087 0%, #00b67a 50%, #009966 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(0,182,122,0.22);
  background-size: 200% 200%;
}

.badge.secondary.gamdom span {
  font-size: 85%;
}

.badge.secondary.stake {
  position: absolute;
  right: 15px;
  top: 65px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  line-height: 1;
  background: linear-gradient(135deg, #11131a 0%, #1b1f31 50%, #2b3344 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  background-size: 200% 200%;
}

.badge.secondary.roobet {
  position: absolute;
  right: 15px;
  top: 65px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  line-height: 1;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6b21a8 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.28);
  background-size: 200% 200%;
}

.badge.secondary.roobet span {
  font-size: 85%;
}

.badge.secondary.clash {
  position: absolute;
  right: 15px;
  top: 65px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  line-height: 1;
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #0284c7 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.28);
  background-size: 200% 200%;
}

.badge.secondary.clash span {
  font-size: 85%;
}

.badge:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.badge.secondary img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  border-radius: 2px;
}

.banner-container {
  text-align: center;
  margin: 0 auto 30px;
  height: 240px;
  max-width: 800px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2%;
}

.banner-container.hidden {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  margin-bottom: 0;
}

.btn {
  flex: 1;
  padding: 12px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: var(--card-text-primary);
  border: 2px solid var(--blue-light);
}

.btn-secondary:hover {
  background-color: var(--blue-light);
  color: white;
  transform: translateY(-3px);
  border: 2px solid var(--blue-light);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

footer {
  margin-top: 60px;
  padding: 40px 20px;
  text-align: center;
}

footer h2 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

footer .faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

footer .faq-item {
  margin-bottom: 20px;
}

footer .faq-question {
  color: white;
  font-weight: 500;
  margin-bottom: 5px;
}

footer .faq-answer {
  color: rgb(209, 213, 219);
}

.no-results {
  text-align: center;
  padding: 30px;
  color: var(--text-secondary);
  grid-column: 1 / -1;
}

.discord-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 5;
  padding: 0;
  transition: transform 0.2s ease;
}

.discord-button img {
  width: 50px;
  height: 50px;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.discord-button:hover img {
  opacity: 1;
  transform: scale(1.1);
}

#promoBanner {
  transition: opacity 0.4s ease;
  opacity: 1;
  visibility: visible;
}

/* Responsive Design */
@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  header h1 {
    font-size: 2rem;
  }

  .search-container {
    padding: 0 15px;
    width: 63%;
    margin-left: 10%;
  }

  /* Hide banner on mobile */
  .banner-container {
    display: none !important;
  }

  .top-nav{
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .discord-button {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .card {
    height: 320px;
    padding: 20px;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    padding: 10px;
  }

  /* Hide banner on mobile */
  .banner-container {
    display: none !important;
  }
}
/* Responsive Design for Featured Cards */
@media (max-width: 1000px) {
  .featured-section {
    max-width: 100%;
  }

  .featured-card {
    flex-direction: row;
    padding: 15px 20px;
    gap: 15px;
    min-height: 80px;
    max-height: auto;
  }
  
  .featured-number {
    font-size: 1.5rem;
    min-width: 45px;
  }
  
  .featured-logo img {
    width: 55px;
    height: 55px;
  }
  
  .featured-info h3 {
    font-size: 1.1rem;
  }
  
  .featured-info p {
    display: none; /* Hide description text on mobile */
  }
  
  .featured-action {
    margin-left: auto;
  }
  
  .btn-featured {
    padding: 10px 15px;
    font-size: 0.8rem;
    min-width: 80px;
    white-space: nowrap;
  }

  .bonus-badge {
    font-size: 0.8rem;
    padding: 5px 10px;
    
  }
}

@media (max-width: 480px) {
  .featured-card {
    padding: 12px 15px;
    gap: 10px;
    min-height: 70px;
    max-height: auto;
  }
  
  .featured-number {
    font-size: 1.2rem;
    min-width: 35px;
  }
  
  .featured-logo img {
    width: 45px;
    height: 45px;
  }
  
  .featured-info {
    flex: 1;
    min-width: 0;
  }
  
  .featured-info h3 {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .featured-info p {
    display: none; /* Hide description text on mobile */
  }
  
  .section-title {
    font-size: 1.5rem;
  }

  .btn-featured {
    padding: 8px 12px;
    font-size: 0.75rem;
    min-width: 55px;
    white-space: nowrap;
  }

  .bonus-badge {
    max-width: auto;
    font-size: 0.6rem;
    padding: 4px 8px;
  }
}

.contact-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.contact-footer p {
  color: var(--text-secondary);
  margin: 10px 0;
  font-size: 0.95rem;
}

.contact-footer a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-footer a:hover {
  color: #a78bfa;
  text-decoration: underline;
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.7;
}
/* Offerwalls Page Styles */
.offerwalls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  padding: 40px 4%;
  max-width: 1400px;
  margin: 0 auto;
}

.offerwall-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--card-shadow);
  opacity: 0;
  transform: translateY(20px);
}

.offerwall-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.offerwall-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.2);
}

.offerwall-logo {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.offerwall-card h3 {
  color: var(--card-text-primary);
  font-size: 1.1rem;
  margin: 10px 0 0 0;
  font-weight: 600;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #0a0e1a 0%, #050812 100%);
  margin: 5% auto;
  padding: 20px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: var(--text-secondary);
  float: right;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: var(--blue-lighter);
}

#modalTitle {
  color: var(--card-text-primary);
  font-size: 1.8rem;
  margin: 0 0 25px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(124, 58, 237, 0.3);
}

.modal-sites-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 65vh;
  overflow-y: auto;
  padding-right: 10px;
}

.modal-sites-list::-webkit-scrollbar {
  width: 8px;
}

.modal-sites-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.modal-sites-list::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.5);
  border-radius: 10px;
}

.modal-sites-list::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.7);
}

.modal-site-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.modal-site-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(10, 14, 26, 0.95);
}

.modal-site-logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-site-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-site-info {
  flex-grow: 1;
  min-width: 0;
}

.modal-site-info h4 {
  color: var(--card-text-primary);
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.modal-site-info p {
  color: var(--card-text-secondary);
  margin: 0;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  min-width: 90px;
  max-width: 10%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 100%);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-small:hover {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-lighter) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.no-sites {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  padding: 40px 20px;
}

@media (max-width: 1000px) {
  .offerwalls-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 20px 4%;
  }

  .offerwall-card {
    padding: 20px;
  }

  .offerwall-logo {
    height: 80px;
  }

  .modal-content {
    width: 85%;
    padding: 20px;
    margin: 10% auto;
  }

  #modalTitle {
    font-size: 1.3rem;
  }

  .modal-site-card {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .modal-site-info p {
    white-space: normal;
  }
}
