/* ========== CONTEST RESULT PAGE STYLES ========== */

/* Result Hero Section */
.result-hero {
  margin-top: 8rem;
  min-height: 60vh;
  padding: 0;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  color: var(--color-white);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-title {
  margin-bottom: 2rem;
}

.title-main {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-sub {
  display: block;
  font-size: 4rem;
  font-weight: 300;
  color: #fff700;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  -webkit-text-stroke: 2px #fff700;
}

.trophy-icon {
  font-size: 8rem;
  margin-top: 2rem;
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

/* Result Introduction Section */
.result-introduction {
  padding: 6rem 0;
  background-color: var(--color-background);
  margin-top: 0;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-paragraph {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.intro-paragraph.final {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0;
}

/* Awards Section */
.awards-section {
  padding: 8rem 0;
  background-color: var(--color-white);
}

.award-category {
  margin-bottom: 8rem;
}

.award-category:last-child {
  margin-bottom: 0;
}

.award-title {
  font-size: 4rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 5rem;
  color: var(--color-primary);
  position: relative;
  padding-bottom: 2rem;
}

.award-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.award-title.excellence {
  color: var(--color-secondary);
}

.award-title.excellence::after {
  background-color: var(--color-secondary);
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.award-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid transparent;
}

.award-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.award-category:first-child .award-item {
  border-color: var(--color-primary);
}

.award-category:first-child .award-item:hover {
  border-color: #0080c7;
}

.award-category:last-child .award-item {
  border-color: var(--color-secondary);
}

.award-category:last-child .award-item:hover {
  border-color: #2d8f39;
}

.award-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-artwork {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.award-item:hover .award-artwork {
  transform: scale(1.05);
}

.award-info {
  padding: 2rem;
  text-align: center;
}

.winner-name {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.winner-school {
  font-size: 1.5rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.work-title {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--color-primary);
  font-style: italic;
}

.award-category:last-child .work-title {
  color: var(--color-secondary);
}

/* Thank You Section */
.thank-you-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
}

.thank-you-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.thank-you-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.thank-you-content p {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.thank-you-content p:last-child {
  margin-bottom: 0;
  font-weight: 600;
}

/* Medal Icons */
.award-category:first-child .award-item::before {
  content: '🥇';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  z-index: 1;
}

.award-category:last-child .award-item::before {
  content: '🥈';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  z-index: 1;
}

.award-item {
  position: relative;
}

/* Responsive Design */
@media (max-width: 992px) {
  .award-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .title-main {
    font-size: 2.5rem;
  }
  
  .title-sub {
    font-size: 3rem;
  }
  
  .trophy-icon {
    font-size: 6rem;
  }
  
  .result-introduction {
    padding: 4rem 0 6rem 0;
  }
  
  .awards-section {
    padding: 6rem 0;
  }
  
  .award-category {
    margin-bottom: 6rem;
  }
}

@media (max-width: 768px) {
  .result-hero {
    padding: 3rem 0;
  }
  
  .title-main {
    font-size: 2rem;
  }
  
  .title-sub {
    font-size: 2.5rem;
  }
  
  .trophy-icon {
    font-size: 5rem;
  }
  
  .award-title {
    font-size: 3rem;
    margin-bottom: 3rem;
  }
  
  .award-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .intro-paragraph {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }
  
  .intro-paragraph.final {
    font-size: 1.8rem;
    margin-bottom: 3rem;
  }
  
  .result-introduction {
    padding: 3rem 0 5rem 0;
  }
  
  .awards-section {
    padding: 4rem 0;
  }
  
  .award-category {
    margin-bottom: 4rem;
  }
}

@media (max-width: 576px) {
  .award-image {
    height: 250px;
  }
  
  .award-info {
    padding: 1.5rem;
  }
  
  .winner-name {
    font-size: 1.8rem;
  }
  
  .work-title {
    font-size: 1.5rem;
  }
  
  .thank-you-content h2 {
    font-size: 2.5rem;
  }
  
  .thank-you-content p {
    font-size: 1.6rem;
  }
}