/* ========================================
   PIZZA LEGACY STYLESHEET
   ======================================== */

/* CSS Variables for easy color management */
:root {
  --primary-red: #fc0e0e;
  --primary-yellow: #ffff00;
  --dark-bg: #1a1a1a;
  --text-dark: #000000;
  --shadow: rgba(0, 0, 0, 0.3);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--primary-red);
  color: var(--primary-yellow);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.header {
  background-color: var(--primary-yellow);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.nav-links a:hover {
  transform: scale(1.1);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  margin-top: 80px;
  padding: 4rem 2rem;
  text-align: center;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px var(--shadow);
}

.intro-text {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  max-width: 700px;
  text-shadow: 2px 2px 4px var(--shadow);
}

/* Countdown Timer */
.countdown-container {
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow);
  max-width: 600px;
  margin: 2rem auto;
}

.countdown-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

#countdown {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}

.time-unit {
  text-align: center;
}

.time-value {
  font-size: 3rem;
  font-weight: bold;
  display: block;
  color: var(--primary-red);
}

.time-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

#countdown-message {
  display: none;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem;
}

/* Social Links */
.social-links {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 10px var(--shadow);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow);
}

/* Section Styles */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 2px 2px 4px var(--shadow);
}

/* Info Section */
.info-content {
  background-color: rgba(255, 255, 0, 0.1);
  padding: 2rem;
  border-radius: 10px;
  border: 3px solid var(--primary-yellow);
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-label {
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  display: block;
}

.info-value {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Winners Section */
#winners-grid {
  display: grid;
  gap: 3rem;
}

.winner-event {
  background-color: rgba(255, 255, 0, 0.1);
  padding: 2rem;
  border-radius: 10px;
  border: 3px solid var(--primary-yellow);
}

.event-date {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.winner-name {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.token-card {
  text-align: center;
}

.token-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow);
  transition: transform 0.3s;
  border: 2px solid var(--primary-yellow);
}

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

.token-label {
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.decklist-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s;
}

.decklist-link:hover {
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

.footer p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
  }

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-yellow);
    flex-direction: column;
    padding: 1rem;
    display: none;
    box-shadow: 0 5px 10px var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .intro-text {
    font-size: 1.1rem;
  }

  #countdown {
    flex-wrap: wrap;
  }

  .time-value {
    font-size: 2rem;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .token-grid {
    grid-template-columns: 1fr;
  }

  section h2 {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero, section {
  animation: fadeIn 0.6s ease-out;
}
