/* Winners Page Styles */

/* ===================================
   MODERN HERO SECTION
   =================================== */

.hero-modern {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 3rem 0 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-details-modern {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title-gradient {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45aaf2);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFloat 6s ease-in-out infinite;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-title-gradient i {
  font-size: 2rem;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: sparkle 2s ease-in-out infinite alternate;
}

.hero-description-modern {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
  opacity: 0.9;
}

@keyframes gradientFloat {
  0%, 100% { 
    background-position: 0% 50%;
  }
  50% { 
    background-position: 100% 50%;
  }
}

@keyframes sparkle {
  0% { 
    transform: rotate(0deg) scale(1);
    opacity: 0.8;
  }
  100% { 
    transform: rotate(10deg) scale(1.1);
    opacity: 1;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  color: var(--text-light);
  font-size: 2rem;
  font-weight: 600;
}

.filter-section {
  margin-bottom: 2rem;
  text-align: center;
  padding: 1.5rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.filter-section label {
  font-weight: 600;
  margin-right: 1rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.token-dropdown {
  padding: 0.75rem 1rem;
  border: 2px solid var(--light-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  background: var(--bg-card);
  color: var(--text-light);
  min-width: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.token-dropdown:hover,
.token-dropdown:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 110, 245, 0.2);
}

.token-dropdown option {
  background: var(--bg-card);
  color: var(--text-light);
  padding: 0.5rem;
}

.winners-container {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--light-color);
}

.winners-table-wrapper {
  overflow-x: auto;
}

.winners-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.winners-table th {
  background: var(--bg-card);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid var(--light-color);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.winners-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: middle;
  color: var(--text-color);
}

.winners-table tbody tr {
  transition: background-color 0.3s ease;
}

.winners-table tbody tr:hover {
  background: var(--card-hover);
}

.rank {
  text-align: center;
  font-weight: 600;
}

.rank-number {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-light);
}

.trophy {
  font-size: 1.2rem;
  display: block;
}

.player-info {
  display: flex;
  align-items: center;
}

.address {
  font-family: 'Courier New', monospace;
  background: var(--bg-dark);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-light);
  border: 1px solid var(--light-color);
}

.card-name {
  font-weight: 500;
  color: var(--text-light);
}

.card-name a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-name a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.card-name small {
  display: block;
  color: var(--text-gray);
  font-weight: 400;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.win-amount {
  font-weight: 700;
  font-size: 1.1rem;
}

.amount {
  font-weight: 700;
  color: var(--text-light);
}

.date {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.no-winners {
  padding: 3rem;
  text-align: center;
  color: var(--text-gray);
}

.empty-state i {
  color: var(--text-gray);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.empty-state p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.empty-state .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Token-specific colors - removed background, using only text colors */
.csc-amount { 
  color: var(--csc-color);
}

.xrp-amount { 
  color: var(--xrp-color);
}

.csc-btn {
  background: var(--csc-color);
  color: white;
}

.csc-btn:hover { 
  background: #7d3c98;
  transform: translateY(-2px);
}

.xrp-btn {
  background: var(--xrp-color);
  color: white;
}

.xrp-btn:hover { 
  background: #0779c4;
  transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-modern {
    padding: 2rem 0;
  }

  .hero-title-gradient {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.25rem;
  }

  .hero-title-gradient i {
    font-size: 1.5rem;
  }

  .hero-description-modern {
    font-size: 1rem;
  }

  .winners-table {
    font-size: 0.85rem;
  }

  .winners-table th,
  .winners-table td {
    padding: 0.75rem 0.5rem;
  }

  .rank-number {
    font-size: 1rem;
  }

  .trophy {
    font-size: 1rem;
  }

  .address {
    font-size: 0.8rem;
  }

  .token-dropdown {
    min-width: 150px;
    font-size: 0.9rem;
  }

  .filter-section {
    padding: 1rem;
  }

  .filter-section label {
    display: block;
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .winners-table th,
  .winners-table td {
    padding: 0.5rem 0.25rem;
  }

  .hero-modern {
    padding: 1rem 0;
  }

  .hero-title-gradient {
    font-size: 1.75rem;
  }

  .empty-state {
    padding: 1rem;
  }
} 