* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans Gujarati', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Header Section */
.header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  color: white;
  padding: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 200px;
}

.banner-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.ganesha-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

.logo-image {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-title {
  text-align: center;
  position: relative;
  z-index: 2;
}

.organizer-text {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

.competition-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.competition-name {
  font-size: 32px;
  font-weight: 700;
  color: #ec4899;
  text-shadow: 2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white;
  margin: 0;
}

.competition-badge {
  background: white;
  color: #dc2626;
  font-size: 16px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 20px;
  clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%, 15% 50%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.location, .contact {
  text-align: center;
  font-size: 16px;
  margin: 5px 0;
  font-weight: 500;
  color: white;
}

.entry-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.qr-code {
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.entry-fee p {
  font-size: 16px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  border-radius: 8px;
  margin: 0;
  color: white;
}

.ganesha-illustration {
  width: 150px;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

/* Form Section */
.form-section {
  padding: 40px;
  background: #ffffff;
  border-radius: 20px;
  margin: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #e5e7eb;
}

.form-section h3 {
  color: #4f46e5;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: left;
  border-bottom: 3px solid #4f46e5;
  padding-bottom: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(79, 70, 229, 0.02);
  border-radius: 15px;
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
  font-size: 16px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  background: #f8fafc;
  color: #374151;
  transition: all 0.3s ease;
  font-family: 'Noto Sans Gujarati', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-input:focus {
  outline: none;
  border-color: #4f46e5;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.form-input::placeholder {
  color: #9ca3af;
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

/* Last Date Highlight */
.last-date-highlight {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #f59e0b;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
  margin-top: 10px;
}

.highlight-label {
  color: #92400e !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  margin-bottom: 15px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.date-display {
  background: #ffffff;
  color: #dc2626;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #dc2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
  }
  50% {
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  }
  100% {
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
  }
}

/* Categories Section */
.categories-section {
  padding: 25px;
  background: #ffffff;
  border-radius: 15px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.categories-section h4 {
  color: #4f46e5;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-item:hover {
  border-color: #4f46e5;
  background: #eef2ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.category-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #4f46e5;
  cursor: pointer;
}

.category-item input[type="checkbox"]:checked + label {
  color: #4f46e5;
  font-weight: 600;
}

.category-item label {
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  margin: 0;
  flex: 1;
  line-height: 1.4;
}

.dates-section {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.date-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.date-row label {
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.date-row .blank-line {
  flex: 1;
}

.last-date {
  text-align: center;
  font-weight: 600;
  color: #dc2626;
  font-size: 16px;
  background: #fef2f2;
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #fecaca;
}

/* Prizes Section */
.prizes-section {
  padding: 30px;
  background: #ffffff;
  text-align: center;
}

.prize-banner {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.prize-banner h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.prizes-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.prize-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}

.prize-sunburst {
  width: 100px;
  height: 100px;
  background: url('Trophy image.png') center center no-repeat;
  background-size: 80%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
  animation: rotate 20s linear infinite;
}

.prize-sunburst::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: url('Trophy image.png') center center no-repeat;
  background-size: 90%;
  border-radius: 50%;
  z-index: -1;
  animation: rotate 10s linear infinite reverse;
  opacity: 0.3;
}

.prize-number {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  padding: 3px 8px;
  border-radius: 10px;
  text-align: center;
  line-height: 1.2;
}

.trophy-text {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #1f2937;
}

.trophy-text div {
  line-height: 1.2;
}

.trophy-1st {
  width: 60px;
  height: 60px;
}

.trophy-2nd {
  width: 50px;
  height: 50px;
}

.trophy-3rd {
  width: 40px;
  height: 40px;
}

.trophy-4th {
  width: 30px;
  height: 30px;
}

.prize-number sup {
  font-size: 14px;
  font-weight: 600;
}

.prize-ribbon {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  min-width: 100px;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
  position: relative;
}

.prize-ribbon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #dc2626;
  transform: translateY(-50%);
}

.prize-detail {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-weight: 500;
  font-size: 12px;
  text-align: center;
  margin-top: 6px;
  box-shadow: 0 3px 6px rgba(78, 205, 196, 0.3);
}

.position-text {
  color: #1f2937;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  margin: 8px 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}



.trophy-badge .prize-sunburst {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.trophy-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
  z-index: 2;
}

.trophy-image {
  width: 30px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  margin-bottom: 2px;
}

.trophy-text {
  text-align: center;
  color: #1f2937;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.trophy-text div:first-child {
  font-size: 14px;
  margin-bottom: 1px;
}

.trophy-text div:last-child {
  font-size: 10px;
}

.trophy-badge:hover .trophy-image {
  transform: scale(1.1);
}

.trophy-badge p {
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

.payment-section {
  margin-top: 30px;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.supporter {
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 10px;
  border: 2px solid rgba(79, 70, 229, 0.2);
}

.supporter p {
  font-weight: 600;
  color: #4f46e5;
  font-size: 16px;
  margin: 0;
}

/* Instructions Section */
.instructions-section {
  padding: 30px;
  background: #ffffff;
  border-bottom: 2px solid #e5e7eb;
}

.instructions-section h2 {
  color: #4f46e5;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.instructions-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.instruction-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 10px;
  border-left: 4px solid #4f46e5;
}

.instruction-item.special {
  background: #fef3c7;
  border-left-color: #f59e0b;
}

.instruction-number {
  background: #4f46e5;
  color: white;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  min-width: 30px;
  text-align: center;
  flex-shrink: 0;
}

.instruction-item.special .instruction-number {
  background: #f59e0b;
}

.instruction-text {
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  line-height: 1.5;
}



/* Submit Button */
.submit-section {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
}

.submit-btn {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
  font-family: 'Noto Sans Gujarati', sans-serif;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #e55a2b 0%, #e8851a 100%);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* QR Payment Section */
.qr-payment-section {
  background: #fffbf0;
  border: 2px dashed #ff8c00;
  border-radius: 15px;
  padding: 25px;
  margin: 25px 0;
  text-align: center;
}

.payment-title {
  color: #16a34a;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.qr-card {
  background: white;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 20px;
  margin: 0 auto;
  max-width: 300px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.qr-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.qr-icon {
  font-size: 18px;
}

.qr-code-container {
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.payment-qr-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  background: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-details {
  text-align: center;
  margin-top: 15px;
}

.upi-id {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 5px 0;
  font-family: monospace;
}

.upi-instruction {
  font-size: 12px;
  color: #666;
  margin: 5px 0;
}

.payment-id-section {
  margin-top: 20px;
  text-align: left;
}

.payment-id-label {
  display: block;
  color: #dc2626;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}

.payment-id-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #ffd700;
  border-radius: 8px;
  font-size: 16px;
  background: white;
  transition: border-color 0.3s ease;
}

.payment-id-input:focus {
  outline: none;
  border-color: #ff8c00;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.payment-id-input::placeholder {
  color: #999;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white;
  padding: 20px;
  text-align: center;
}

.footer p {
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }
  
  .competition-title {
    flex-direction: column;
    gap: 10px;
  }
  
  .competition-name {
    font-size: 24px;
  }
  
  .competition-badge {
    font-size: 14px;
    padding: 6px 10px;
  }
  
  .organizer-text {
    font-size: 16px;
  }
  
  .entry-info {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  
  .qr-image {
    width: 60px;
    height: 60px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .prizes-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .prize-list {
    min-width: auto;
    width: 100%;
  }
  
  .prizes-container {
    gap: 15px;
  }
  
  .prize-badge {
    min-width: 100px;
  }
  
  .prize-sunburst {
    width: 80px;
    height: 80px;
  }
  
  .prize-number {
    font-size: 24px;
  }
  
  .prize-number sup {
    font-size: 12px;
  }
  
  .prize-ribbon {
    font-size: 12px;
    padding: 6px 12px;
    min-width: 80px;
  }
  
  .position-text {
    font-size: 12px;
    margin: 6px 0;
  }
  

  
  .date-row {
    flex-direction: column;
    align-items: stretch;
  }
}
