/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Rubik:wght@300;400;500;600;700&display=swap');

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #2a4a5c 0%, #4a7c7c 100%);
  color: #ffffff;
  min-height: 100vh;
  line-height: 1.6;
}

/* Navigation menu styles */
.main-nav {
  background: linear-gradient(135deg, rgba(15, 20, 35, 0.98), rgba(26, 31, 46, 0.95));
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 170, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(0, 212, 170, 0.1);
  border-radius: 0 0 20px 20px;
  margin-bottom: 10px;
}

.main-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 212, 170, 0.05) 25%, 
    rgba(0, 212, 170, 0.1) 50%, 
    rgba(0, 212, 170, 0.05) 75%, 
    transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-nav:hover::before {
  opacity: 1;
}

.main-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  gap: 10px;
  padding: 10px 20px;
}

.main-nav li {
  margin: 0;
  position: relative;
  /* ensure nav items don't reserve space for global list markers */
  padding-left: 0;
}

/* Remove enhanced-list marker for nav only */
.main-nav ul li::before {
  content: none !important;
  display: none !important;
}

.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  text-align: center;
  padding: 16px 32px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.main-nav a:hover {
  color: #ffffff;
  background: linear-gradient(145deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.08));
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3),
              0 0 20px rgba(0, 212, 170, 0.2);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.main-nav a.active {
  color: #ffffff;
  background: linear-gradient(145deg, rgba(0, 212, 170, 0.25), rgba(0, 212, 170, 0.15));
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

/* Add glow effect for active item */
.main-nav a.active {
  animation: activeGlow 2s ease-in-out infinite alternate;
}

@keyframes activeGlow {
  from {
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  to {
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 0 25px rgba(0, 212, 170, 0.3);
  }
}

/* Navigation logo styling */
.nav-logo {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 0 15px #71c7ba);
  transition: filter 0.3s ease;
  animation: logoGlow 2s ease-in-out infinite alternate;
  margin-right: 20px;
}

.nav-logo:hover {
  filter: drop-shadow(0 0 25px #71c7ba);
}

@keyframes logoGlow {
  from {
    filter: drop-shadow(0 0 15px #71c7ba);
  }
  to {
    filter: drop-shadow(0 0 20px #71c7ba);
  }
}

/* Container and layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Title with icon styling */
.title-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 30px 0;
}

.title-icon {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 15px rgba(0, 212, 170, 0.6));
  animation: iconGlow 2s ease-in-out infinite alternate;
  transition: transform 0.6s ease-in-out;
  cursor: pointer;
}

.title-icon:hover {
  animation: iconSpin 0.6s ease-in-out;
}

@keyframes iconGlow {
  from {
    filter: drop-shadow(0 0 15px rgba(0, 212, 170, 0.6));
  }
  to {
    filter: drop-shadow(0 0 25px rgba(0, 212, 170, 0.9));
  }
}

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

/* Typography */
h1 {
  font-family: 'Righteous', cursive;
  text-align: center;
  margin: 0;
  font-size: 2.5rem;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 400;
}

h2 {
  font-family: 'Righteous', cursive;
  color: #00d4aa;
  margin: 30px 0 20px 0;
  font-size: 1.8rem;
  font-weight: 400;
}

h3 {
  font-family: 'Righteous', cursive;
  color: #00d4aa;
  margin: 25px 0 15px 0;
  font-size: 1.4rem;
  font-weight: 400;
}

/* Intro text styling */
.intro-text {
  background: rgba(26, 31, 46, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  margin: 30px auto;
  max-width: 900px;
  border: 1px solid rgba(0, 212, 170, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.intro-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #d1d5db;
  font-family: 'Rubik', sans-serif;
}

.intro-text strong {
  color: #00d4aa;
  font-weight: 600;
}

.intro-text a {
  color: #00d4aa;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.3s ease;
}

.intro-text a:hover {
  border-bottom-color: #00d4aa;
}

/* Draw status */
.draw-status {
  text-align: center;
  font-size: 1.6rem;
  margin: 20px 0;
  padding: 30px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 170, 0.3);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.draw-status span {
  color: #00d4aa;
  font-weight: 600;
}

/* Search form */
.search-form {
  background: linear-gradient(145deg, rgba(26, 31, 46, 0.9), rgba(42, 74, 92, 0.8));
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 20px;
  margin: 30px auto;
  max-width: 700px;
  text-align: center;
  border: 2px solid rgba(0, 212, 170, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 
              0 0 30px rgba(0, 212, 170, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.search-form::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 212, 170, 0.05), transparent);
  transform: rotate(45deg);
  pointer-events: none;
}

.search-form select {
  padding: 15px 20px;
  border: 2px solid rgba(0, 212, 170, 0.3);
  border-radius: 12px;
  margin-right: 20px;
  font-size: 1.1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
  color: #1a1f2e;
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 200px;
}

.search-form button {
  padding: 15px 35px;
  background: linear-gradient(145deg, #00d4aa, #00c499);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Rubik', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.search-form button:hover {
  background: linear-gradient(145deg, #00e6bb, #00d4aa);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 212, 170, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.search-form button:active {
  transform: translateY(-1px) scale(1.01);
}

/* Info containers */
p {
  margin: 15px 0;
  padding: 0 20px;
  font-size: 1.1rem;
  color: #d1d5db;
  text-align: center;
  font-family: 'Rubik', sans-serif;
}

#wallet-address-container a,
#last-mint-transaction-link {
  color: #00d4aa;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.3s ease;
}

#wallet-address-container a:hover,
#last-mint-transaction-link:hover {
  border-bottom-color: #00d4aa;
}

/* Value highlights */
#minted-value,
#max-value,
#remaining-value,
#formatted-hash {
  color: #00d4aa;
  font-weight: 600;
}

/* Hash and winner containers */
#mint-link-container,
#hash-number-container {
  background: rgba(26, 31, 46, 0.6);
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  max-width: 1000px;
  border: 1px solid rgba(0, 212, 170, 0.2);
  text-align: center;
}

#hash-number-container {
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(145deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.08));
  border: none;
  border-radius: 20px;
  padding: 30px;
  margin: 30px auto;
  max-width: 1000px;
  text-align: center;
  color: #00d4aa;
  text-shadow: 0 0 15px rgba(0, 212, 170, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
              0 0 40px rgba(0, 212, 170, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  animation: hashGlow 3s ease-in-out infinite alternate;
}

#hash-number-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 212, 170, 0.1), transparent);
  transform: rotate(45deg);
  animation: hashShimmer 4s linear infinite;
  pointer-events: none;
}

#hash-number-container::after {
  content: '';
}

/* Remove the diceRoll animation */

/* @keyframes diceRoll - removed */

@keyframes hashGlow {
  0% {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(0, 212, 170, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4),
                0 0 60px rgba(0, 212, 170, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

@keyframes hashShimmer {
  0% {
    transform: rotate(45deg) translateX(-100%);
  }
  100% {
    transform: rotate(45deg) translateX(100%);
  }
}

/* Winner Announcement title styling */
#winners-info-container h3 {
  background: linear-gradient(45deg, #00D1A7, #00b89a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin: 15px 0 25px 0 !important;
  position: relative;
}

#winners-info-container h3::before {
  content: '🏆';
  position: absolute;
  left: -35px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  animation: gentleBounce 2s ease-in-out infinite;
}

#winners-info-container h3::after {
  content: '🏆';
  position: absolute;
  right: -35px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  animation: gentleBounce 2s ease-in-out infinite 1s;
}

@keyframes subtleGlow {
  0% {
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
    transform: scale(1);
  }
  100% {
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.6);
    transform: scale(1.02);
  }
}

@keyframes gentleBounce {
  0%, 100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.1);
  }
}

/* Table styling */
#nft-details {
  width: 100% !important;
  margin: 30px auto !important;
  max-width: 1200px !important;
  border-collapse: collapse !important;
  background: rgba(26, 31, 46, 0.8) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(0, 212, 170, 0.2) !important;
  display: table !important;
  visibility: visible !important;
}

#nft-details thead,
#nft-details tbody,
#nft-details tr,
#nft-details th,
#nft-details td {
  display: table-row-group !important;
  visibility: visible !important;
}

#nft-details tr {
  display: table-row !important;
}

#nft-details th,
#nft-details td {
  display: table-cell !important;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  font-size: 0.95rem;
  font-family: 'Rubik', sans-serif;
}

/* Center Token ID column */
#nft-details td:nth-child(1),
#nft-details th:nth-child(1) {
  text-align: center;
}

/* Table links */
#nft-details a {
  color: #00d4aa;
  text-decoration: none;
  transition: color 0.3s ease;
}

#nft-details a:hover {
  color: #00d4aa;
}

/* Status styling */
#nft-details td:nth-child(3) {
  font-weight: 600;
}

/* Sortable column */
.sortable {
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
  position: relative;
  padding-right: 25px !important;
}

.sortable:hover {
  color: #00d4aa;
}

.sortable::after {
  content: "⇅";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.sortable:hover::after {
  opacity: 1;
}

.sortable.asc::after {
  content: "↑";
  color: #00d4aa;
  opacity: 1;
}

.sortable.desc::after {
  content: "↓";
  color: #00d4aa;
  opacity: 1;
}

/* Magic link styling */
.magic-link-container {
  text-align: center;
  margin: 25px 0;
}

.magic-link {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  color: #00d4aa;
  text-decoration: none;
  padding: 15px 30px;
  border: 2px solid #00d4aa;
  border-radius: 50px;
  background: linear-gradient(45deg, transparent, transparent);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

.magic-link::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 212, 170, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.magic-link:hover {
  color: #ffffff;
  background: linear-gradient(45deg, #00d4aa, #00d4aa, #00d4aa);
  border-color: #00d4aa;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 212, 170, 0.4);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  animation: magicPulse 0.6s ease-in-out;
}

.magic-link:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

@keyframes magicPulse {
  0% { box-shadow: 0 10px 25px rgba(0, 212, 170, 0.4); }
  50% { box-shadow: 0 15px 35px rgba(0, 212, 170, 0.7), 0 0 30px rgba(0, 212, 170, 0.5); }
  100% { box-shadow: 0 10px 25px rgba(0, 212, 170, 0.4); }
}

/* How it works page specific styling */
.how-it-works-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section containers */
.section-container {
  background: linear-gradient(145deg, rgba(26, 31, 46, 0.9), rgba(42, 74, 92, 0.8));
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px;
  margin: 30px auto;
  max-width: 1160px;
  border: 1px solid rgba(0, 212, 170, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2),
              0 0 30px rgba(0, 212, 170, 0.05);
  position: relative;
  overflow: hidden;
}

.section-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00d4aa, #00c499, #00d4aa);
}

/* Enhanced lists */
ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  position: relative;
  padding: 12px 0 12px 40px;
  margin: 10px 0;
  font-family: 'Rubik', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #d1d5db;
}

ul li::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 12px;
  color: #00d4aa;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

/* Enhanced ordered lists */
ol {
  counter-reset: step-counter;
  padding-left: 0;
  list-style: none; /* Remove native numbering */
}

ol > li {
  position: relative;
  padding: 15px 0 15px 70px;
  margin: 15px 0;
  font-family: 'Rubik', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #d1d5db;
  counter-increment: step-counter;
  list-style: none; /* Ensure no native numbering */
}

ol > li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 15px;
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, #00d4aa, #00c499);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

/* Reset nested lists */
ol li ul {
  counter-reset: none;
  list-style: none;
  padding-left: 20px;
}

ol li ul li {
  position: relative;
  padding: 8px 0 8px 30px;
  margin: 8px 0;
  counter-increment: none;
  list-style: none; /* Remove any list styling */
}

ol li ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 8px;
  color: #00d4aa;
  font-size: 1.2rem;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  display: inline;
  box-shadow: none;
  font-weight: normal;
}

/* Enhanced examples sections */
.example-card {
  background: linear-gradient(145deg, rgba(0, 212, 170, 0.1), rgba(0, 212, 170, 0.05));
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.example-card h3 {
  background: linear-gradient(45deg, #00d4aa, #00e6bb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Enhanced table styling for how-it-works */
.winnings-table-container {
  background: linear-gradient(145deg, rgba(26, 31, 46, 0.9), rgba(42, 74, 92, 0.8));
  border-radius: 20px;
  padding: 30px;
  margin: 30px auto;
  border: 1px solid rgba(0, 212, 170, 0.2);
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.winnings-table-container table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(26, 31, 46, 0.8);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.winnings-table-container th {
  background: linear-gradient(145deg, #00d4aa, #00c499);
  color: white;
  padding: 15px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.winnings-table-container td {
  padding: 15px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  font-weight: 500;
}

.winnings-table-container tr:last-child td {
  font-weight: 700;
  color: #00d4aa;
  background: rgba(0, 212, 170, 0.1);
}

/* Image container enhancement */
.prize-layout-container {
  text-align: center;
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(145deg, rgba(26, 31, 46, 0.9), rgba(42, 74, 92, 0.8));
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 170, 0.2);
  backdrop-filter: blur(15px);
}

.prize-layout-container img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.prize-layout-container img:hover {
  transform: scale(1.02);
}

/* Summary section enhancement */
.summary-section {
  background: linear-gradient(145deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.08));
  border: 2px solid rgba(0, 212, 170, 0.3);
  border-radius: 20px;
  padding: 30px;
  margin: 30px auto;
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2),
              0 0 40px rgba(0, 212, 170, 0.1);
}

/* Enhanced paragraphs for how-it-works */
.how-it-works-content p {
  font-family: 'Rubik', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #d1d5db;
  margin: 20px 0;
  text-align: left;
  padding: 0 20px;
}

/* Footer styles */
.footer-nav {
  margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.x-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00D4AA;
  text-decoration: none;
  font-weight: 500;
}

.x-link:hover {
  color: #00B89A;
}

.copyright {
  margin: 0;
  color: #888;
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-nav {
    border-radius: 0;
    margin-bottom: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 8px;
    padding: 15px 10px;
  }
  
  .main-nav a {
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 200px;
  }
  
  .title-with-icon {
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
  }
  
  .title-icon {
    width: 50px;
    height: 50px;
  }
  
  h1 {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    margin: 0;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
  }
  
  .intro-text {
    margin: 20px 10px;
    padding: 20px;
  }
  
  .search-form {
    margin: 20px 10px;
    padding: 15px;
    flex-direction: column;
    gap: 15px;
  }
  
  .search-form select,
  .search-form button {
    display: block;
    width: 100%;
    margin: 0;
  }
  
  #nft-details {
    font-size: 0.8rem;
  }
  
  #nft-details th,
  #nft-details td {
    padding: 8px 6px;
  }
  
  p {
    padding: 0 10px;
    font-size: 1rem;
  }
  
  .magic-link {
    font-size: 1.2rem;
    padding: 12px 25px;
  }
  
  .section-container,
  .winnings-table-container,
  .prize-layout-container {
    margin: 20px 10px;
    padding: 20px;
  }
  
  ol li {
    padding-left: 60px;
  }
  
  .winnings-table-container th,
  .winnings-table-container td {
    padding: 10px 8px;
    font-size: 0.9rem;
  }
}

#winners-info-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 25px;
  margin: 20px auto;
  max-width: 700px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #000000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

#winners-info-container h3,
#winners-info-container h4,
#winners-info-container p,
#winners-info-container div {
  color: #000000 !important;
}

#winners-info-container strong {
  color: #000000 !important;
  font-weight: 600;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(26, 31, 46, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00d4aa, #00d4aa);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00d4aa, #00d4aa);
}

::-webkit-scrollbar-track {
  background: rgba(26, 31, 46, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00d4aa, #00d4aa);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00d4aa, #00d4aa);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00d4aa, #00d4aa);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00d4aa, #00d4aa);
}

::-webkit-scrollbar-track {
  background: rgba(26, 31, 46, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00d4aa, #00d4aa);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00d4aa, #00d4aa);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00d4aa, #00d4aa);
}

::-webkit-scrollbar-track {
  background: rgba(26, 31, 46, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00d4aa, #00d4aa);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00d4aa, #00d4aa);
}

