/* CSS Variables */
:root {
  --primary-color: #4b3a77;
  --secondary-color: #1976d2;
  --accent-color: #ff6f00;
  --background-light: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dna" patternUnits="userSpaceOnUse" width="100" height="100"><path d="M20,20 Q50,10 80,20 Q50,30 20,20 M20,80 Q50,70 80,80 Q50,90 20,80" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dna)"/></svg>')
    repeat;
  opacity: 0.1;
}

.hero-content {
  color: var(--white);
  z-index: 2;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.hero-content {
  text-align: center;
  z-index: 10;
  position: relative;
  padding: 2rem 0;
}

.hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #fff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 15px 40px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
  min-height: 50px;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.cta-button:hover {
  background: #e65100;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 111, 0, 0.3);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.2);
}

.cta-button:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Floating DNA Animation */
.dna-float {
  position: absolute;
  color: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.dna-float:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.dna-float:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}
.dna-float:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about-mascot {
  text-align: center;
  padding: 2rem;
}

.about-mascot img {
  max-width: 100%;
  width: 300px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.about-description h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.about-description p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Stats Section */
.stats {
  background: var(--background-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: "Poppins", sans-serif;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Timeline Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 45%;
  position: relative;
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border: 4px solid var(--white);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-date {
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Arrow indicators */
.timeline-item:nth-child(odd) .timeline-content::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-left-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-right-color: var(--white);
}

/* Countdown Timer */
.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.countdown-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  min-width: 100px;
}

.countdown-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  font-family: "Poppins", sans-serif;
}

.countdown-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

/* Card Styles */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-light);
  line-height: 1.6;
}

.card-list {
  list-style: none;
}

.card-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 1.5rem;
}

.card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Prizes Section */
.prizes {
  background: var(--background-light);
}

.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.prize-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.prize-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.prize-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.prize-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.prize-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.prize-card h4 {
  font-size: 1.3rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Layout tweak for 5 prize cards: 3 on first row, 2 adjacent and centered on second row */
@media (min-width: 992px) {
  .prizes-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  /* Top row: each spans 2 columns */
  .prize-card:nth-child(1) {
    grid-column: 1 / span 2;
  }
  .prize-card:nth-child(2) {
    grid-column: 3 / span 2;
  }
  .prize-card:nth-child(3) {
    grid-column: 5 / span 2;
  }
  /* Bottom row centered: leave one column as margin on each side */
  .prize-card:nth-child(4) {
    grid-row: 2;
    grid-column: 2 / span 2;
  }
  .prize-card:nth-child(5) {
    grid-row: 2;
    grid-column: 4 / span 2;
  }
}

@media (max-width: 991px) {
  .prize-card:nth-child(4),
  .prize-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}

.prize-card:nth-child(1) .prize-icon {
  color: #ffd700;
}
.prize-card:nth-child(2) .prize-icon {
  color: #c0c0c0;
}
.prize-card:nth-child(3) .prize-icon {
  color: #cd7f32;
}

/* Registration Form */
.registration-form {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(75, 58, 119, 0.1);
}

.submit-btn {
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  padding: 15px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: #3d2d5f;
  transform: translateY(-1px);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(75, 58, 119, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--white);
  font-size: 2rem;
}

/* FAQ Section */
.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--background-light);
}

.faq-question i {
  transition: var(--transition);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  padding: 0.3rem 0;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: slideInUp 0.3s ease;
}

.close-x {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.close-x:hover {
  color: var(--primary-color);
}

.modal-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.modal-message {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-date {
  background: var(--background-light);
  padding: 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  color: var(--primary-color);
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.modal-close {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: #3d2d5f;
}

/* Modal actions (close + WhatsApp) */
.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.modal-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.modal-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.modal-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.modal-instagram:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

/* Sticky WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #1ebe5d;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent-color);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 50%;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    min-height: 70px;
  }

  .nav {
    padding: 1.2rem 0;
    min-height: 70px;
  }

  .logo {
    font-size: 1.4rem;
  }

  .hamburger {
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-mascot {
    order: 1;
  }

  .about-description {
    order: 2;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    flex-direction: column !important;
  }

  .timeline-content {
    width: 100% !important;
    margin: 0 !important;
  }

  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    display: none;
  }

  .timeline-marker {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 1rem 0;
  }

  .countdown {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .countdown-item {
    min-width: 80px;
    padding: 1rem;
  }

  .countdown-number {
    font-size: 1.5rem;
  }

  .hero {
    padding-top: 70px;
  }

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

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

  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
    min-height: 45px;
    width: auto;
    display: inline-block;
    margin: 1rem 0;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .registration-form {
    padding: 2rem 1.5rem;
  }

  .competition-grid,
  .prizes-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lightbox-nav {
    display: none;
  }
}
