/* SCRATCH-A-THON 2025 Main Competition Page Styles */
/* Consistent with register.css design system */

/* Import STEM Ground CSS Variables - Match register.css exactly */
:root {
  /* Modern Teal & Blue Palette */
  --primary-color: #0093FF;
  --primary-light: #00E0FF;
  --primary-dark: #0066CC;
  --primary-darker: #004C99;
  --secondary-color: #0066cc;
  --bg-light: #F0F8FF;
  --bg-lighter: #f8fafa;
  
  /* Text Colors */
  --text-dark: #3a4a5a;
  --text-muted: #5d6b7c;
  --text-light: #7d8a98;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(42, 157, 143, 0.07);
  --shadow-md: 0 4px 16px rgba(42, 157, 143, 0.1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Fonts */
  --font-heading: 'Abril Fatface', serif;
  --font-body: 'Lato', sans-serif;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* ===== MAIN CONTAINER ===== */
.scratchathon-container {
    min-height: 100vh;
    background-color: var(--bg-light);
    padding: 0;
}

/* ===== FLOATING TOP CONTAINER ===== */
.floating-top-container {
    position: fixed;
    top: 95px; /* Default position - will be updated by JavaScript */
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    border-bottom: 2px solid rgba(0, 147, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 16px 0;
    backdrop-filter: blur(10px);
    transition: top 0.3s ease, transform 0.3s ease;
}

/* Header scroll state adjustments */
.floating-top-container.header-scrolled {
    top: 75px; /* Adjusted for scrolled header height */
}

.top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-left {
    flex: 1;
}

.top-announcement {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.top-announcement i {
    color: #e74c3c;
    font-size: 1.1rem;
    animation: gentlePulse 2s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.top-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.top-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.top-link i {
    font-size: 1rem;
}

/* Register Now Link - Yellow Theme */
.top-link:first-child {
    background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.25);
}

.top-link:first-child:hover {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.35);
}

/* Join Telegram Link - Blue Theme */
.top-link:last-child {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.25);
}

.top-link:last-child:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.35);
}

/* Shimmer effect for top links */
.top-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.top-link:hover::before {
    left: 100%;
}

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



/* Responsive design for floating top container */
@media (max-width: 768px) {
    .floating-top-container {
        padding: 8px 0;
    }
    
    .top-content {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    
    .top-left {
        display: block;
    }
    
    .top-announcement {
        font-size: 0.8rem;
        font-weight: 600;
    }
    
    .top-right {
        gap: 6px;
        justify-content: center;
    }
    
    .top-link {
        font-size: 0.8rem;
        padding: 8px 14px;
        min-width: auto;
        border-radius: 16px;
    }
    
    .top-link span {
        display: inline;
    }
    
    .top-link i {
        font-size: 0.8rem;
    }
    
      .scratchathon-hero.main-hero {
    padding: 100px 0 80px;
  }
}

@media (max-width: 480px) {
    .floating-top-container {
        padding: 6px 0;
    }
    
    .top-announcement {
        font-size: 0.75rem;
    }
    
    .top-link {
        font-size: 0.75rem;
        padding: 6px 12px;
        border-radius: 14px;
    }
    
    .top-link i {
        font-size: 0.75rem;
    }
}

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

/* Main Hero Container */
.scratchathon-hero.main-hero {
  background: #fbfbfd;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  color: #1d1d1f;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.scratchathon-hero .container {
  position: relative;
  z-index: 3;
  padding: 0;
}

.hero-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Hero Title Section */
.hero-title-section {
  text-align: center;
  margin-bottom: 2rem;
}

/* SCRATCHATHON Logo Styles */
.scratch-logo-container {
  margin-bottom: 1rem;
  text-align: center;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
}

.scratch-logo {
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.2));
  animation: logoPop 2s ease-out;
  transform-origin: center;
}

@keyframes logoPop {
  0% {
    transform: scale(0.3) rotate(-5deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(2deg);
    opacity: 0.8;
  }
  70% {
    transform: scale(0.95) rotate(-1deg);
    opacity: 0.9;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .scratch-logo {
    max-width: 550px;
  }
}

@media (max-width: 480px) {
  .scratch-logo {
    max-width: 400px;
    margin-left: -5px;
  }
}

.hero-title {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
}

.title-main {
  display: block;
  font-size: 7rem;
  font-weight: 700;
  line-height: 1.0;
  background: linear-gradient(90deg, #FF2D92 0%, #5856D6 16.67%, #007AFF 33.33%, #34C759 50%, #FFD60A 66.67%, #FF9500 83.33%, #FF2D92 100%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  position: relative;
  margin-bottom: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  word-break: normal;
  animation: wwdcGradient 8s linear infinite;
}

@keyframes wwdcGradient {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

/* Hero Theme Section */
.hero-theme-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.theme-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #34C759;
  color: white;
  padding: 1.5rem 2.5rem;
  border-radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-shadow: 0 4px 20px rgba(52, 199, 89, 0.25);
  transition: all 0.3s ease;
  max-width: 500px;
}

.theme-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(52, 199, 89, 0.35);
}

.theme-badge i {
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.theme-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.theme-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.theme-description {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

/* Hero Quick Info Badges */
.hero-quick-info {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.info-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #495057;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.info-badge:hover {
  background: #ffffff;
  border-color: #007AFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.15);
}

.info-badge i {
  font-size: 1rem;
  color: #007AFF;
}

/* Hero Actions */
.hero-actions {
  margin-bottom: 2rem;
}

.action-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 16px;
}

.btn-primary {
  background: #007AFF;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.25);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 122, 255, 0.35);
  color: white;
}

.btn-secondary {
  background: #f8f9fa;
  color: #495057;
  border: 2px solid #e9ecef;
  font-size: 1rem !important;
  padding: 1rem 2rem !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: #007AFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.15);
  color: #495057;
}



.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

/* Register CTA Button - Simplified */
.register-cta {
  position: relative;
  font-size: 1rem !important;
  padding: 1rem 2rem !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  animation: registerPulse 2s ease-in-out infinite;
}

@keyframes registerPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.25);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 122, 255, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.25);
  }
}

.register-cta:active {
  opacity: 0.9;
}

.register-cta:hover {
  box-shadow: 0 8px 25px rgba(0, 147, 255, 0.4);
}

/* ===== ABOUT SECTION ===== */
.about-competition-section {
  background: var(--bg-light);
  padding: 80px 0;
  position: relative;
}

.about-overview {
  max-width: 1200px;
  margin: 0 auto;
}

.about-intro {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about-intro h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.about-intro p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.1rem;
  color: #86868b;
  line-height: 1.6;
  letter-spacing: -0.1px;
}

/* SDG 13 Header Layout */
.sdg13-header {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.sdg13-gif-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sdg13-gif {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.sdg13-gif:hover {
  transform: scale(1.05);
}

.sdg13-content {
  flex: 1;
  text-align: left;
}

.sdg13-content h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.sdg13-content p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.1rem;
  color: #86868b;
  line-height: 1.6;
  letter-spacing: -0.1px;
  margin: 0;
}

.sdg13-content p strong {
  color: #0093FF;
  font-weight: 700;
}

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

.detail-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.detail-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.detail-icon {
  width: 50px;
  height: 50px;
  background: #007AFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

/* Individual card colors */
.detail-item:nth-child(1) .detail-icon {
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.detail-item:nth-child(2) .detail-icon {
  background: linear-gradient(135deg, #6f42c1, #e83e8c);
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.detail-item:nth-child(3) .detail-icon {
  background: linear-gradient(135deg, #fd7e14, #ffc107);
  box-shadow: 0 4px 15px rgba(253, 126, 20, 0.3);
}

.detail-item:nth-child(4) .detail-icon {
  background: linear-gradient(135deg, #dc3545, #e83e8c);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.detail-info h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
  letter-spacing: -0.1px;
}

.detail-info p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.9rem;
  color: #86868b;
  line-height: 1.5;
  letter-spacing: -0.1px;
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
  
  .about-intro {
    margin-bottom: 40px;
  }
  
  .about-intro h3 {
    font-size: 1.6rem;
  }
  
  .about-intro p {
    font-size: 1rem;
  }
  
  /* SDG 13 Mobile Layout */
  .sdg13-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .sdg13-gif {
    width: 180px;
    height: 180px;
  }
  
  .sdg13-content {
    text-align: center;
  }
  
  .sdg13-content h3 {
    font-size: 1.5rem;
  }
  
  .sdg13-content p {
    font-size: 1rem;
  }
  
  .about-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  
  .about-intro h3 {
    font-size: 1.4rem;
  }
  
  .about-intro p {
    font-size: 0.95rem;
  }
  
  /* SDG 13 Small Mobile Layout */
  .sdg13-header {
    padding: 1rem;
    gap: 1rem;
  }
  
  .sdg13-gif {
    width: 140px;
    height: 140px;
  }
  
  .sdg13-content h3 {
    font-size: 1.3rem;
  }
  
  .sdg13-content p {
    font-size: 0.95rem;
  }
  
  .about-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .detail-item {
    padding: 1.25rem;
  }
}

@media (max-width: 360px) {
  .about-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .detail-item {
    padding: 1rem;
  }
  
  .detail-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .detail-info h4 {
    font-size: 1rem;
  }
  
  .detail-info p {
    font-size: 0.85rem;
  }
}

/* Hero Responsive Design */
@media (max-width: 768px) {
  .scratchathon-hero {
    padding: 30px 0 40px;
    min-height: 50vh;
  }
  
  .title-main {
    font-size: 2.8rem;
    letter-spacing: -1px;
    word-break: break-word;
  }
  
  .hero-theme-section {
    gap: 1.25rem;
  }
  
  .theme-badge {
    padding: 1.2rem 2rem;
    max-width: 400px;
  }
  
  .theme-title {
    font-size: 1rem;
  }
  
  .theme-description {
    font-size: 0.9rem;
  }
  
  .hero-description p {
    font-size: 1rem;
  }
  
  .register-cta {
    font-size: 1rem !important;
    padding: 1rem 2rem !important;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .btn-large {
    width: 100%;
    justify-content: center;
  }
  
  .hero-quick-info {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .info-badge {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 480px) {
  .scratchathon-hero {
    padding: 20px 0 30px;
    min-height: 45vh;
  }
  
      /* Consistent section padding for mobile */
    .about-competition-section,
    .how-to-join,
    .countdown-section,
    .important-dates-section,
    .prizes-section.simple,
    .rules-section,
    .community-section,
    .faq-section,
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-grid {
        gap: 1rem;
        margin-top: 2rem;
    }
  
  .title-main {
    font-size: 2.4rem;
    letter-spacing: 0;
    word-break: break-word;
  }
  
  .hero-theme-section {
    gap: 1rem;
  }
  
  .theme-badge {
    padding: 1rem 1.5rem;
    max-width: 350px;
  }
  
  .theme-title {
    font-size: 0.9rem;
  }
  
  .theme-description {
    font-size: 0.85rem;
  }
  
  .hero-description p {
    font-size: 0.95rem;
  }
  
  .register-cta {
    font-size: 0.95rem !important;
    padding: 0.9rem 1.8rem !important;
  }
  
  .hero-quick-info {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .info-badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
  }
}

/* ===== COUNTDOWN TIMER SECTION ===== */
.countdown-section {
  animation: fadeInUp 1s ease-out 0.8s both;
}

.countdown-timer {
  background: var(--bg-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.countdown-timer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.countdown-header {
  margin-bottom: 1.5rem;
}

.countdown-header h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.countdown-header p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  text-align: center;
}

.countdown-header i {
  color: #00E0FF;
  font-size: 1.1rem;
}

.countdown-display {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.time-unit {
  text-align: center;
  padding: 1rem 0.5rem;
  background: rgba(0, 147, 255, 0.1);
  border: 1px solid rgba(0, 147, 255, 0.2);
  border-radius: 12px;
  transition: var(--transition);
  margin: 0;
}

.time-unit:hover {
  background: rgba(0, 147, 255, 0.15);
  border-color: rgba(0, 147, 255, 0.3);
  transform: translateY(-2px);
}

.time-unit .number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #00E0FF;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .time-unit .number {
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 480px) {
  .time-unit .number {
    margin-bottom: 0.1rem;
  }
}

.time-unit .label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Countdown Expired State */
.countdown-expired {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.3);
}

.countdown-expired .countdown-header h3 {
  color: #ffc107;
}

.countdown-expired .time-unit {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.2);
}

.countdown-expired .time-unit .number {
  color: #ffc107;
}

/* ===== HERO ACTIONS MOVED TO index1.css ===== */

/* ===== HERO INFO CARDS MOVED TO index1.css ===== */

/* ===== FADE IN ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





/* ===== HOW TO JOIN SECTION ===== */
.how-to-join {
  padding: 80px 0;
  background: white;
}

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

.step-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-lighter);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
  border: 2px solid transparent;
}
.step-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 147, 255, 0.15);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 35px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 147, 255, 0.3);
  z-index: 2;
}

/* Individual step number colors to match icons */
.step-card:nth-child(1) .step-number {
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.step-card:nth-child(2) .step-number {
  background: linear-gradient(135deg, #6f42c1, #e83e8c);
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.step-card:nth-child(3) .step-number {
  background: linear-gradient(135deg, #fd7e14, #ffc107);
  box-shadow: 0 4px 15px rgba(253, 126, 20, 0.3);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 1.5rem;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 147, 255, 0.3);
}

/* Individual step colors */
.step-card:nth-child(1) .step-icon {
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.step-card:nth-child(2) .step-icon {
  background: linear-gradient(135deg, #6f42c1, #e83e8c);
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.step-card:nth-child(3) .step-icon {
  background: linear-gradient(135deg, #fd7e14, #ffc107);
  box-shadow: 0 4px 15px rgba(253, 126, 20, 0.3);
}

.step-content {
  flex: 1;
}

.step-card h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.step-card p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.join-action {
  text-align: center;
}

/* ===== IMPORTANT DATES SECTION ===== */
.important-dates-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.important-dates-section .section-header {
  margin-bottom: 2rem;
}

.dates-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
}

.timeline-progress {
  position: absolute;
  top: 61px;
  left: 12.5%;
  right: 12.5%;
  height: 4px;
  z-index: 1;
}

.progress-line {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 147, 255, 0.2);
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.date-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.date-marker {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 1.5rem;
  border: 5px solid white;
  box-shadow: 0 6px 20px rgba(0, 147, 255, 0.25);
  transition: var(--transition);
}

.date-item:hover .date-marker {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 147, 255, 0.35);
}

.date-item.important .date-marker {
  background: #ffc107;
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.25);
}

.date-item.finale .date-marker {
  background: #28a745;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.25);
}

.date-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  width: 100%;
  max-width: 280px;
}

.date-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.date-item:hover .date-card {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.date-item.important:hover .date-card {
  border-color: #ffc107;
}

.date-item.finale:hover .date-card {
  border-color: #28a745;
}

.date-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.date-item.important .date-number {
  color: #ffc107;
}

.date-item.finale .date-number {
  color: #28a745;
}

.date-card h4 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.date-card p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===== COUNTDOWN SECTION ===== */
.countdown-section {
  padding: 80px 0;
  background: var(--bg-light);
  text-align: center;
}

.countdown-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .countdown-wrapper {
    max-width: 100%;
    margin: 0;
  }
}

/* Countdown styles for light section */
.countdown-section .countdown-timer {
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: var(--transition);
}

.countdown-section .countdown-timer:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.countdown-section .countdown-header h3 {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.countdown-section .countdown-header h3 i {
  color: var(--primary-color);
  font-size: 1.6rem;
}

.countdown-section .countdown-header p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.countdown-section .time-unit {
  background: var(--bg-lighter);
  border: 1px solid rgba(0, 147, 255, 0.15);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.countdown-section .time-unit:hover {
  background: rgba(0, 147, 255, 0.05);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.countdown-section .time-unit .number {
  color: var(--primary-color);
  text-shadow: none;
  font-size: 3.5rem;
}

.countdown-section .time-unit .label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Expired variant on light background */
.countdown-section .countdown-expired {
  background: #fff8e1;
  border-color: rgba(255, 193, 7, 0.25);
}

.countdown-section .countdown-expired .countdown-header h3 {
  color: #c68a00;
}

.countdown-section .countdown-expired .time-unit {
  background: #fff3cd;
  border-color: rgba(255, 193, 7, 0.35);
}

.countdown-section .countdown-expired .time-unit .number {
  color: #b37d00;
}

/* ===== MODERN SECTION STYLING ===== */

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-header p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== ABOUT SECTION MOVED TO index1.css ===== */

/* ===== TIMELINE SECTION ===== */
.timeline-section {
  padding: 80px 0;
  background: white;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

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

.timeline-event:nth-child(odd) {
  flex-direction: row;
}

.timeline-event:nth-child(even) {
  flex-direction: row-reverse;
}

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

.timeline-event.highlight::before {
  background: #ffc107;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.3);
}

.timeline-event.finale::before {
  background: #28a745;
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.3);
}

.event-date {
  flex: 0 0 200px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  background: var(--bg-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0 2rem;
}

.event-content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 147, 255, 0.1);
  margin: 0 2rem;
}

.event-content h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-content h3 i {
  color: var(--primary-color);
}

.event-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== PRIZES SECTION - SIMPLIFIED ===== */
.prizes-section.simple {
  padding: 80px 0;
  background: white;
}

.prizes-overview {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.prize-highlight {
  text-align: center;
}

.prize-icon-large {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 3rem;
  color: white;
  box-shadow: 0 8px 30px rgba(0, 147, 255, 0.3);
}

.prize-highlight h3 {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.prize-highlight p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.prize-features {
  display: grid;
  gap: 1.5rem;
}

.prize-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.prize-feature:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.prize-feature i {
  color: var(--primary-color);
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.prize-feature span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== RULES SECTION ===== */
.rules-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.rules-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.rules-category {
  background: var(--bg-lighter);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--primary-color);
}

.rules-category h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rules-category h3 i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.rules-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  transition: max-height 0.3s ease;
}

.rules-category li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.rules-category li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.rules-category li strong {
  color: var(--text-dark);
}

/* ===== COMMUNITY SECTION ===== */
.community-section {
  padding: 80px 0;
  background: white;
}

.telegram-widget {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.telegram-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  min-height: 400px;
}

.telegram-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.telegram-info h3 {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.telegram-info h3 i {
  color: #0088cc;
  font-size: 1.6rem;
}

.telegram-info p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.telegram-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #0088cc, #00a0e6);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
}

.telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
  color: white;
}

.telegram-qr {
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.qr-container {
  text-align: center;
}

.qr-code {
  width: 250px;
  height: 250px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.qr-container p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 80px 0;
  background: white;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

/* FAQ items start collapsed by default */
.faq-item:not(.active) .faq-answer {
  max-height: 0;
  padding: 0 2rem;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  background: white;
  border-left: 4px solid var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  flex: 1;
}

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

.faq-question i {
  color: var(--primary-color);
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 2rem;
  background: var(--bg-lighter);
  border-top: 1px solid rgba(0, 147, 255, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem 2rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 100%;
}

/* Show web layout by default, hide mobile */
.web-layout {
  display: grid;
}

.mobile-layout {
  display: none;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
  gap: 1.5rem;
  min-height: 120px;
}

/* Web layout: button outside content */
.contact-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Web layout: button positioned outside content */
.contact-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 147, 255, 0.15);
}

.contact-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 147, 255, 0.15);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Removed WhatsApp-specific overrides to keep consistent styling with Email/Website */

.contact-card h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  text-align: left;
}

.contact-card p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 0;
  font-weight: 500;
  text-align: left;
}

.contact-card h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-card p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 147, 255, 0.3);
  color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Match register.css breakpoints exactly */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .scratchathon-hero {
        padding: 30px 0 40px;
        min-height: 50vh;
    }
    
    /* Consistent section padding for tablet */
    .about-competition-section,
    .how-to-join,
    .countdown-section,
    .important-dates-section,
    .prizes-section.simple,
    .rules-section,
    .community-section,
    .faq-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-container {
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
        gap: 1rem;
        min-height: 100px;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-card p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-badge {
        margin-bottom: 1.2rem;
    }
    
    .title-main {
        font-size: 3.2rem;
        letter-spacing: -1px;
    }
    
    .title-year {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }
    
    .mission-highlight {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .mission-highlight h3 {
        font-size: 1.2rem;
    }
    
    .mission-highlight p {
        font-size: 1rem;
    }
    
    .hero-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-item {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .highlight-content h4 {
        font-size: 1rem;
    }
    
    .highlight-content p {
        font-size: 0.85rem;
    }
    
    .register-cta {
        font-size: 1rem !important;
        padding: 1rem 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Override container padding for countdown section */
    .countdown-section .container {
        padding: 0 5px;
    }
    
    .countdown-display {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 0.5rem;
        padding: 0;
        width: 100%;
        margin: 0;
    }

    /* Important Dates responsive (tablet) */
    .dates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    .timeline-progress {
        display: none;
    }

    .date-marker {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .date-card {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .time-unit .number {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .hero-info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* New sections responsive */
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-announcement {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-item {
        padding: 1rem;
    }
    
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* How to Join responsive (tablet) */
    .join-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .step-card {
        padding: 2rem 1.5rem;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .step-card h3 {
        font-size: 1.2rem;
    }

    .step-card p {
        font-size: 0.95rem;
    }
    

    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-event {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-event::before {
        left: 30px;
        transform: translateY(-50%);
    }
    
    .event-date {
        position: absolute;
        left: 60px;
        top: -40px;
        flex: none;
        margin: 0;
        font-size: 0.9rem;
    }
    
    .event-content {
        margin: 0;
        width: 100%;
    }
    
    /* Prizes section responsive (tablet) */
    .prizes-overview {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .prize-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .prize-highlight h3 {
        font-size: 1.6rem;
    }

    .prize-highlight p {
        font-size: 1rem;
    }

    .prize-features {
        gap: 1rem;
    }

    .prize-feature {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .prize-feature i {
        font-size: 1.1rem;
    }

    .prize-feature span {
        font-size: 0.95rem;
    }
    
    .prize-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Rules section responsive (tablet) */
    .rules-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rules-category {
        padding: 2rem 1.5rem;
    }

    .rules-category h3 {
        font-size: 1.1rem;
        gap: 0.5rem;
    }

    .rules-category h3 i {
        font-size: 1rem;
    }

    .rules-category li {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        padding-left: 1.25rem;
    }
    
    .telegram-content {
        grid-template-columns: 1fr;
    }
    
    .telegram-qr {
        order: -1;
        padding: 2rem 3rem 1rem;
    }
    
    .qr-code {
        width: 180px;
        height: 180px;
    }
    
    /* FAQ section responsive (tablet) */
    .faq-category h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-question h4 {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 1.25rem 1.5rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    /* Show mobile layout, hide web layout */
    .web-layout {
        display: none;
    }
    
    .mobile-layout {
        display: grid;
    }
    
    .contact-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 1.5rem;
        gap: 1rem;
        min-height: auto;
    }
    
    .contact-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-card h3,
    .contact-card p {
        text-align: center;
    }
    
    .contact-action {
        margin-top: 0.5rem;
        align-self: flex-start;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .scratchathon-hero {
        padding: 20px 0 40px;
        min-height: 45vh;
    }
    
    .title-main {
        font-size: 2.8rem;
        letter-spacing: 0;
    }
    
    .title-year {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    
    .mission-highlight {
        padding: 1.25rem;
    }
    
    /* Prizes section responsive (mobile) */
    .prizes-overview {
        gap: 1.5rem;
    }

    .prize-icon-large {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .prize-highlight h3 {
        font-size: 1.4rem;
    }

    .prize-highlight p {
        font-size: 0.95rem;
    }

    .prize-features {
        gap: 0.75rem;
    }

    .prize-feature {
        padding: 1rem;
        gap: 0.5rem;
    }

    .prize-feature i {
        font-size: 1rem;
    }

    .prize-feature span {
        font-size: 0.9rem;
    }

    /* Rules section responsive (mobile) */
    .rules-content {
        gap: 1rem;
    }

    .rules-category {
        padding: 1.5rem 1rem;
        cursor: pointer;
        position: relative;
    }

    .rules-category h3 {
        font-size: 1rem;
        gap: 0.5rem;
        margin-bottom: 0;
        transition: color 0.3s ease;
    }

    .rules-category h3::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 1rem;
        top: 1.5rem;
        color: var(--primary-color);
        transition: transform 0.3s ease;
    }

    .rules-category.active h3::after {
        transform: rotate(180deg);
    }

    .rules-category ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, margin-top 0.3s ease;
        margin-top: 0;
    }

    .rules-category.active ul {
        max-height: 500px;
        margin-top: 1rem;
    }

    .rules-category li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        padding-left: 1rem;
    }

    /* FAQ section responsive (mobile) */
    .faq-category {
        margin-bottom: 2rem;
    }

    .faq-category h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.4rem;
    }

    .faq-item {
        margin-bottom: 0.75rem;
        background: white;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
        transition: var(--transition);
    }

    .faq-question {
        padding: 1.25rem;
        background: white;
        border-left: 4px solid var(--primary-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

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

    .faq-question h4 {
        font-size: 1rem;
        line-height: 1.4;
        margin: 0;
        flex: 1;
        color: var(--text-dark);
    }

    .faq-question i {
        font-size: 1rem;
        color: var(--primary-color);
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: 1rem;
    }

    .faq-answer {
        background: var(--bg-lighter);
        border-top: 1px solid rgba(0, 147, 255, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

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

    .faq-item.active .faq-question i {
        transform: rotate(180deg);
    }

    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
        color: var(--text-muted);
    }

    /* Contact section responsive (mobile) */
    .contact-container {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .contact-card {
        padding: 1.25rem;
        gap: 0.75rem;
        display: flex;
        align-items: center;
    }
    
    .contact-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-action {
        margin-top: 0.25rem;
        align-self: center;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin: 0;
        flex-shrink: 0;
    }

    .contact-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
        text-align: left;
    }

    .contact-card p {
        font-size: 0.9rem;
        margin-bottom: 0;
        text-align: left;
    }

    .contact-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .mission-highlight h3 {
        font-size: 1.1rem;
    }
    
    .mission-highlight p {
        font-size: 0.95rem;
    }
    
    .hero-highlights {
        gap: 0.75rem;
    }
    
    .highlight-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .highlight-content h4 {
        font-size: 0.9rem;
    }
    
    .highlight-content p {
        font-size: 0.8rem;
    }
    
    .register-cta {
        font-size: 0.95rem !important;
        padding: 0.9rem 1.8rem !important;
    }
    
    /* Important Dates responsive (mobile) */
    .timeline-progress {
        display: none;
    }
    
    .dates-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .date-item {
        display: block;
    }

    .date-marker {
        display: none;
    }

    .date-card {
        padding: 1.5rem;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 1rem;
        position: relative;
    }

    .date-card::before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: '\f04b';
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--primary-color);
        color: white;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

    .date-item .date-card::before {
        content: '\f04b';
        background: var(--primary-color);
    }

    .date-item:nth-child(2) .date-card::before {
        content: '\f109';
        background: var(--primary-color);
    }

    .date-item.important .date-card::before {
        content: '\f017';
        background: #ffc107;
    }

    .date-item.finale .date-card::before {
        content: '\f091';
        background: #28a745;
    }

    .date-content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .date-number {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
        text-align: left;
    }

    .date-card h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
        text-align: left;
    }

    .date-card p {
        font-size: 0.85rem;
        text-align: left;
        margin: 0;
    }
    .scratchathon-hero {
        padding: 20px 0 50px;
        min-height: 45vh;
    }
    
    .hero-badge {
        margin-bottom: 1rem;
        font-size: 0.85rem;
        padding: 6px 16px;
    }
    
    .title-main {
        font-size: 2.8rem;
        letter-spacing: 0;
    }
    
    .title-year {
        font-size: 1.6rem;
        letter-spacing: 4px;
        margin-top: 0.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-description p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Override container padding for countdown section */
    .countdown-section .container {
        padding: 0 2px;
    }
    
    /* Countdown section mobile responsive */
    
    .countdown-timer {
        padding: 0.75rem;
        border-radius: 16px;
        margin: 0;
    }
    
    .countdown-header h3 {
        font-size: 1.4rem;
        gap: 0.5rem;
    }
    
    .countdown-header p {
        font-size: 0.95rem;
    }
    
    .countdown-display {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 0.8rem;
        padding: 0;
        width: 100%;
        margin: 0;
    }
    
    .countdown-section .time-unit {
        padding: 1.2rem 0.5rem !important;
        margin: 0;
        width: 100%;
        min-width: 0;
        border-radius: 8px;
    }
    
    .countdown-section .time-unit .number {
        font-size: 1.8rem !important;
        margin-bottom: 0.4rem;
        display: block;
    }
    
    .countdown-section .time-unit .label {
        font-size: 0.7rem !important;
        display: block;
    }
    
    /* Short form labels for mobile */
    .countdown-section .time-unit .label {
        font-size: 0.7rem !important;
        display: block;
    }
    
    /* Hide original text and show only short form */
    .countdown-section .time-unit .label {
        font-size: 0 !important;
        color: transparent !important;
    }
    
    .countdown-section .time-unit .label::after {
        font-size: 0.7rem !important;
        color: var(--text-muted) !important;
        display: block;
    }
    
    .countdown-section .time-unit:nth-child(1) .label::after {
        content: "D";
    }
    
    .countdown-section .time-unit:nth-child(2) .label::after {
        content: "H";
    }
    
    .countdown-section .time-unit:nth-child(3) .label::after {
        content: "M";
    }
    
    .countdown-section .time-unit:nth-child(4) .label::after {
        content: "S";
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* New sections mobile responsive */
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .hero-mission .mission-text {
        flex-direction: column;
        text-align: center;
        font-size: 1rem;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .fact-card {
        padding: 1.5rem 1rem;
    }
    
        .about-intro h3 {
        font-size: 1.4rem;
    }

    .about-intro p {
        font-size: 1rem;
    }

    /* How to Join responsive (mobile) */
    .join-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-card {
        padding: 1.25rem 1rem;
        padding-top: 2rem;
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin: 0;
        flex-shrink: 0;
    }

    .step-content {
        flex: 1;
    }

    .step-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
        text-align: left;
    }

    .step-card p {
        font-size: 0.9rem;
        margin: 0;
        text-align: left;
    }


    
    .event-date {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .event-content {
        padding: 1.5rem;
    }
    
    .event-content h3 {
        font-size: 1.1rem;
    }
    
    .prize-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .prize-card {
        padding: 1.5rem;
    }
    
    .additional-recognition {
        padding: 2rem 1.5rem;
    }
    
    .additional-recognition ul {
        grid-template-columns: 1fr;
    }
    
    .rules-category {
        padding: 2rem 1.5rem;
    }
    
    .telegram-info {
        padding: 2rem 1.5rem;
    }
    
    .telegram-info h3 {
        font-size: 1.4rem;
    }
    
    .telegram-qr {
        padding: 1.5rem;
    }
    
    .qr-code {
        width: 150px;
        height: 150px;
    }
    
    .faq-question,
    .faq-answer {
        padding: 1rem 1.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    /* Countdown section small mobile responsive */
    
    .countdown-timer {
        padding: 0.5rem;
        margin: 0;
    }
    
    .countdown-header h3 {
        font-size: 1.2rem;
        gap: 0.4rem;
    }
    
    .countdown-header p {
        font-size: 0.9rem;
    }
    
    .countdown-section .time-unit {
        padding: 1rem 0.3rem !important;
        margin: 0;
        width: 100%;
        min-width: 0;
        border-radius: 6px;
    }
    
    .time-unit .number {
        font-size: 0.75rem;
    }
    
    .time-unit .label {
        font-size: 0.45rem;
    }
    
    /* Important Dates small mobile responsive */
    .dates-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .date-item {
        display: block;
    }

    .date-marker {
        display: none;
    }

    .date-card {
        padding: 1rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .date-card::before {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .date-number {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .date-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .date-card p {
        font-size: 0.8rem;
    }
    
    /* New sections small mobile responsive */
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .overview-card,
    .prize-card,
    .rules-category {
        padding: 1.5rem 1rem;
    }
    
    .contact-card {
        padding: 1.25rem 1rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-card p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .telegram-info {
        padding: 1.5rem 1rem;
    }
    
    .telegram-qr {
        padding: 1rem;
    }
    
    .additional-recognition {
        padding: 1.5rem 1rem;
    }
    
    .faq-question,
    .faq-answer {
        padding: 1rem;
    }
}

/* ===== REGISTRATION NOTIFICATION POPUP ===== */
.registration-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 25px rgba(0, 147, 255, 0.3);
    z-index: 1000;
    opacity: 0;
    transform: translateX(-100%) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.registration-notification.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.registration-notification.hide {
    opacity: 0;
    transform: translateX(-100%) scale(0.8);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    position: relative;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    line-height: 1.3;
}

.notification-message .student-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.notification-message small {
    font-size: 0.8rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* Pulse animation for notification */
@keyframes notificationPulse {
    0% { box-shadow: 0 8px 25px rgba(0, 147, 255, 0.3); }
    50% { box-shadow: 0 8px 35px rgba(0, 147, 255, 0.5), 0 0 20px rgba(0, 224, 255, 0.2); }
    100% { box-shadow: 0 8px 25px rgba(0, 147, 255, 0.3); }
}

.registration-notification.show {
    animation: notificationPulse 2s ease-in-out;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .registration-notification {
        bottom: 15px;
        left: 15px;
        right: 15px;
        max-width: none;
        border-radius: 12px;
    }

    .notification-content {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .notification-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .notification-message .student-name {
        font-size: 0.85rem;
    }

    .notification-message small {
        font-size: 0.75rem;
    }

    .notification-close {
        top: 6px;
        right: 6px;
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .registration-notification {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
        border-radius: 10px;
    }

    .notification-content {
        padding: 0.6rem 0.8rem;
        gap: 0.4rem;
    }

    .notification-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .notification-message .student-name {
        font-size: 0.8rem;
        margin-bottom: 0.05rem;
    }

    .notification-message small {
        font-size: 0.7rem;
    }

    .notification-close {
        top: 4px;
        right: 4px;
        width: 16px;
        height: 16px;
        font-size: 0.5rem;
    }
}

/* ===== LEGAL & COMPLIANCE SECTION ===== */
.legal-section {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid #e9ecef;
}

.legal-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.legal-link-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.legal-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 147, 255, 0.15);
}

.legal-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.legal-content h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 0;
}

.legal-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.legal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 20px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.legal-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.legal-notice {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeeba;
    border-radius: var(--radius-md);
    margin-top: 30px;
}

.legal-notice p {
    margin: 0;
    color: #856404;
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== PARTNERS & SPONSORS SECTION ===== */
.partners-section {
    padding: 80px 0;
    background: white;
}

.partners-content {
    margin-top: 40px;
    margin-bottom: 0;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    padding: 20px 0 0 0;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: transparent;
    border-radius: var(--radius-md);
    transition: var(--transition);
    height: 140px;
    width: 100%;
    max-width: 240px;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.logo-image {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

/* Specific styling for logo-3 to make it larger */
.partner-logo:nth-child(3) .logo-image {
    max-height: 140px;
    transform: scale(1.3) translate(10px, 8px);
}

/* Specific styling for logo-6 to make it larger */
.partner-logo:nth-child(6) .logo-image {
    max-height: 120px;
    transform: scale(1.1);
}

.partner-logo:hover .logo-image {
    transform: scale(1.05);
}

/* Maintain logo-3's larger size on hover */
.partner-logo:nth-child(3):hover .logo-image {
    transform: scale(1.4) translate(10px, 8px);
}

/* Maintain logo-6's larger size on hover */
.partner-logo:nth-child(6):hover .logo-image {
    transform: scale(1.15);
}

/* Partners Section Mobile Styles */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-content {
        margin-top: 30px;
    }
    
    .partners-logos {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }
    
    .partner-logo {
        height: 120px;
        padding: 12px;
    }
    
    .logo-image {
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .partner-logo {
        height: 100px;
        padding: 8px;
    }
    
    .logo-image {
        max-height: 70px;
    }
}

/* Legal Section Mobile Styles */
@media (max-width: 768px) {
    .legal-section {
        padding: 40px 0;
    }
    
    .legal-links-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .legal-link-card {
        padding: 25px 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .legal-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .legal-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .legal-btn {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
    
    .legal-btn:hover {
        transform: translateY(-2px);
    }
    
    .legal-notice {
        padding: 20px 15px;
        margin-top: 25px;
    }
    
    .legal-notice p {
        font-size: 0.9rem;
    }
}
 