body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #2a0845 0%, #6441a5 100%);
  color: #fff;
  min-height: 100vh;
}

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(30, 20, 60, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
}
.logo {
  font-size: 2rem;
  font-weight: 800;
  color: #ffd700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255, 215, 0, 0.12);
  color: #ffd700;
}

/* Contact Page Specific Styles - Mahadev Game Zone */

/* Override base styles for contact page */
.contact-section {
  padding: 8rem 2rem 6rem;
  background: linear-gradient(135deg, #2a0845 0%, #6441a5 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  background: rgba(34, 34, 34, 0.95);
  padding: 40px;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 24px rgba(240, 59, 86, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-container h1 {
  color: #f03b56;
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-weight: 700;
}

.form-container p {
  color: #ccc;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 15px;
  margin: 12px 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.form-container input:focus,
.form-container textarea:focus {
  outline: none;
  border-color: #f03b56;
  box-shadow: 0 0 15px rgba(240, 59, 86, 0.3);
  transform: translateY(-2px);
}

.form-container input::placeholder,
.form-container textarea::placeholder {
  color: #bbb;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 14px;
  margin: 20px 0;
  color: #ccc;
  text-align: left;
  line-height: 1.5;
}

.terms-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: #f03b56;
}

.terms-check a {
  color: #f03b56;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.terms-check a:hover {
  color: #ffd700;
  text-decoration: underline;
}

button[type="submit"] {
  margin-top: 20px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #f03b56, #d92c49);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

button[type="submit"]:hover {
  background: linear-gradient(135deg, #d92c49, #b8233a);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(240, 59, 86, 0.4);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, rgba(34, 34, 34, 0.95), rgba(26, 26, 26, 0.95));
  margin: 10% auto;
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 450px;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 30px rgba(240, 59, 86, 0.2);
  position: relative;
  border: 2px solid rgba(240, 59, 86, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

.modal-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
}

.close {
  color: #f03b56;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(240, 59, 86, 0.1);
}

.close:hover {
  color: #ffd700;
  background: rgba(240, 59, 86, 0.2);
  transform: scale(1.1);
}

/* FAQ Section Styles */
.faq-section {
  padding: 6rem 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(240, 59, 86, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(240, 59, 86, 0.05), rgba(217, 44, 73, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(240, 59, 86, 0.15);
  border-color: #f03b56;
}

.faq-question {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-question::before {
  content: '❓';
  font-size: 1.2rem;
  opacity: 0.8;
}

.faq-answer {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

/* Animations */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-section {
    padding: 6rem 1rem 4rem;
  }
  
  .form-container {
    padding: 30px 20px;
    margin: 0 1rem;
  }
  
  .form-container h1 {
    font-size: 2rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .faq-item {
    padding: 2rem;
  }
  
  .modal-content {
    margin: 20% auto;
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .form-container {
    padding: 25px 15px;
  }
  
  .form-container input,
  .form-container textarea {
    padding: 12px;
    font-size: 0.95rem;
  }
  
  .faq-question {
    font-size: 1.1rem;
  }
  
  .faq-answer {
    font-size: 0.95rem;
  }
}

.mahadev-footer {
  background-color: #181818;
  padding: 40px 20px 20px;
  color: #ccc;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}
.footer-about,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.footer-links ul li a:hover {
  color: #fff;
}
.footer-contact .social-icons img {
  width: 24px;
  margin-right: 10px;
  filter: brightness(0.8);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #888;
}
