/* ===== Core Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #1a1a2e;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #e8d5b7;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== Page Header ===== */
.page-header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  border-bottom: 1px solid rgba(212, 160, 39, 0.2);
}

.page-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: #e8d5b7;
  text-shadow: 0 0 15px rgba(212, 160, 39, 0.4), 0 0 25px rgba(184, 51, 47, 0.3);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.page-header p {
  color: #cbbfa2;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* ===== Filter Buttons ===== */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 1rem;
  margin: 0;
}

.filter-btn {
  background: rgba(232, 213, 183, 0.06);
  border: 1px solid rgba(212, 160, 39, 0.3);
  backdrop-filter: blur(8px);
  color: #e8d5b7;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 0 10px rgba(212, 160, 39, 0.1), inset 0 0 20px rgba(212, 160, 39, 0.05);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(212,160,39,0.25) 0%, transparent 70%);
  transition: all 0.4s ease;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 0;
}

.filter-btn span {
  position: relative;
  z-index: 1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  transform: translate(-50%, -50%) scale(1);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(184, 51, 47, 0.25);
  color: #fff;
  border-color: rgba(212, 160, 39, 0.6);
  box-shadow: 0 0 20px rgba(212, 160, 39, 0.8), 0 0 30px rgba(184, 51, 47, 0.5), inset 0 0 25px rgba(212, 160, 39, 0.3);
}

/* ===== Drops Grid ===== */
.drops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== Drop Card ===== */
.drop-card {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(212, 160, 39, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(212, 160, 39, 0.1), inset 0 0 10px rgba(184, 51, 47, 0.05);
  backdrop-filter: blur(5px);
  display: none;
}

.drop-card.show {
  display: block;
  animation: cardFadeIn 0.4s ease;
}

.drop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(212, 160, 39, 0.3), 0 0 45px rgba(184, 51, 47, 0.25), inset 0 0 20px rgba(212, 160, 39, 0.15);
  border-color: rgba(212, 160, 39, 0.4);
}

.drop-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 160, 39, 0.15);
}

.drop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  filter: brightness(0.9) contrast(1.05);
}

.drop-card:hover .drop-image img {
  transform: scale(1.08);
  filter: brightness(1.05) contrast(1.1);
}

.drop-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drop-card:hover .drop-image-overlay {
  opacity: 1;
}

.drop-image-overlay h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

.drop-content {
  padding: 1.5rem;
}

.drop-title {
  color: #e8d5b7;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(212, 160, 39, 0.2);
}

.drop-description {
  color: #cbbfa2;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.drop-info {
  background: rgba(212, 160, 39, 0.05);
  border-left: 3px solid rgba(212, 160, 39, 0.3);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.drop-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.drop-info-row:last-child {
  margin-bottom: 0;
}

.drop-info-label {
  color: #cbbfa2;
  font-size: 0.85rem;
  font-weight: 500;
}

.drop-info-value {
  color: #e8d5b7;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===== Countdown Timer ===== */
.countdown-timer {
  background: rgba(212, 160, 39, 0.1);
  border-left: 3px solid rgba(212, 160, 39, 0.4);
  padding: 1.2rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.countdown-timer.polygon {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(102, 126, 234, 0.05) 100%);
  border-left-color: #667eea;
}

.countdown-timer.ethereum {
  background: linear-gradient(135deg, rgba(118, 75, 162, 0.15) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-left-color: #764ba2;
}

.countdown-label {
  color: #cbbfa2;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  text-align: center;
}

.countdown-display {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}

.countdown-unit {
  text-align: center;
  flex: 1;
}

.countdown-value {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.countdown-timer.polygon .countdown-value {
  color: #667eea;
}

.countdown-timer.ethereum .countdown-value {
  color: #764ba2;
}

.countdown-unit-label {
  color: #cbbfa2;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== CTA Buttons ===== */
.drop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.drop-btn {
  background: rgba(232, 213, 183, 0.06);
  border: 1px solid rgba(212, 160, 39, 0.3);
  color: #e8d5b7;
  padding: 10px 16px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.drop-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(212,160,39,0.25) 0%, transparent 70%);
  transition: all 0.4s ease;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 0;
}

.drop-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.drop-btn span {
  position: relative;
  z-index: 1;
}

.drop-btn:hover {
  background: rgba(184, 51, 47, 0.25);
  color: #fff;
  border-color: rgba(212, 160, 39, 0.6);
  box-shadow: 0 0 15px rgba(212, 160, 39, 0.6), 0 0 25px rgba(184, 51, 47, 0.4);
  transform: translateY(-2px);
}

/* ===== Philosophy Section ===== */
.philosophy-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(26, 26, 46, 0.4);
  border: 1px solid rgba(212, 160, 39, 0.2);
  border-radius: 16px;
  text-align: center;
}

.philosophy-title {
  color: #e8d5b7;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(212, 160, 39, 0.2);
}

.philosophy-subtitle {
  color: #cbbfa2;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.philosophy-text {
  color: #cbbfa2;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.philosophy-quote {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  border-left: 4px solid #667eea;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  font-style: italic;
  color: #e8d5b7;
  font-weight: 500;
  line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border: 1px solid rgba(212, 160, 39, 0.2);
  border-radius: 16px;
  text-align: center;
}

.cta-title {
  color: #e8d5b7;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: #cbbfa2;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-btn {
  background: rgba(102, 126, 234, 0.3);
  border: 1px solid rgba(212, 160, 39, 0.4);
  color: #e8d5b7;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(212,160,39,0.25) 0%, transparent 70%);
  transition: all 0.4s ease;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 0;
}

.cta-btn span {
  position: relative;
  z-index: 1;
}

.cta-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.cta-btn:hover {
  background: rgba(184, 51, 47, 0.3);
  color: #fff;
  border-color: rgba(212, 160, 39, 0.6);
  box-shadow: 0 0 20px rgba(212, 160, 39, 0.6), 0 0 35px rgba(184, 51, 47, 0.4);
  transform: translateY(-3px);
}

/* ===== Animations ===== */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .drops-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
  }

  .drop-actions {
    grid-template-columns: 1fr;
  }

  .filters {
    gap: 0.5rem;
    padding: 1rem 0.5rem;
  }

  .filter-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .drops-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.5rem;
  }

  .page-header {
    padding: 1rem 0.5rem;
  }

  .filters {
    gap: 0.5rem;
    padding: 1rem 0.5rem;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}