body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden; /* Only hide horizontal scroll */
  overflow-y: auto; /* Allow vertical scrolling */
  background: linear-gradient(-45deg, #fad0c4, #ffd1ff, #c2e9fb, #a8edea);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #333;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  margin-top: 10vh;
}

h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.3em;
  color: #333;
}

p {
  font-size: 1.3rem;
  margin-top: 0;
    color: #333;
}

.typewriter::after {
  content: '|';
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.about-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  padding: 2rem;
  margin: 0;
  color: #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: 800px; /* ADD THIS LINE */
  margin: 2rem auto; /* CHANGE this line from "margin: 0;" to center it */
}

.about-box h2 {
  margin-top: 0;
  margin-bottom: 0.5em;
    color: #333;
}

 /* Audio Control Styles */
.audio-control {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
  transition: all 0.3s ease;
}

.audio-control:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.audio-control:active {
  transform: scale(0.95);
}

/* Play Me Button Styles */
.play-me-button {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 12px 20px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #333;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: bounce 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.play-me-button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px) scale(1.05);
  animation-play-state: paused;
}

.play-me-button:active {
  transform: translateY(0) scale(0.98);
}

.play-me-button .arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.play-me-button:hover .arrow {
  transform: rotate(15deg) scale(1.2);
}

/* Bouncing Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Hide Play Me button when music is playing */
.play-me-button.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}

/* Back to Top Button Styles */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 55px;
  height: 55px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-weight: bold;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px) scale(1.1);
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.95);
}

.back-to-top .caret {
  font-size: 24px;
  line-height: 1;
  transform: translateY(-2px);
}

/* Credit Styles */
.music-credit {
  position: fixed;
  bottom: 10px;
  left: 10px;
  font-size: 0.7rem;
  color: #333;
  z-index: 10;
  background: rgba(255, 215, 0, 0.5s);
  padding: 5px 10px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.music-credit a {
  color: #333;
  text-decoration: none;
}

.music-credit a:hover {
  color: #333;
}
  

/* Timeline Styles */
.timeline-section {
  margin-top: 1rem; /* Adjust spacing between content above and timeline */
}

.timeline-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  margin: 2rem auto 1rem auto;
  color: #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: 800px; /* CHANGE from "max-width: 400px;" to "max-width: 800px;" */
  font-weight: 600;
  text-align: center;
  font-size: 1.1rem;
}

.timeline-box h2 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: 1.5rem;
}

.timeline-container {
  margin: 0 auto;
  padding: 0rem 0rem 0rem 0rem;
  max-width: 95vw;
  overflow: hidden;
  margin-bottom: 1rem;
}

.timeline-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  margin: auto auto;
}


.timeline-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 6px;
  background: linear-gradient(90deg, 
    #ff6b6b 0%, 
    #4ecdc4 15%, 
    #45b7d1 30%, 
    #96ceb4 45%, 
    #ffeaa7 60%, 
    #dda0dd 75%, 
    #98d8c8 90%, 
    #f7dc6f 100%
  );
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%);
  animation: timelineGlow 3s ease-in-out infinite alternate;
}

@keyframes timelineGlow {
  0% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }
  100% { box-shadow: 0 4px 30px rgba(255, 255, 255, 0.4); }
}

.timeline-item {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  border: 3px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  animation: dotPulse 2s ease-in-out infinite;
}

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

.timeline-card {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 1rem;
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.timeline-card.above {
  bottom: auto;
  top: 50px;
}

.timeline-item:hover .timeline-card,
.timeline-item.active .timeline-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

.timeline-item:hover .timeline-dot,
.timeline-item.active .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.timeline-card h3 {
  margin: 0 0 0.3rem 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

.timeline-card p {
  margin: 0.3rem 0;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #555;
}

.timeline-card .year {
  font-size: 0.75rem;
  color: #666;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.timeline-card .activities {
  font-size: 0.7rem;
  color: #777;
  font-style: italic;
  margin-top: 0.3rem;
  line-height: 1.2;
}

/* Desert WAVE Robotics Section */
.robotics-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  padding: 2rem;
  margin: auto auto;
  color: #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: 800px;
}

.robotics-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.robotics-title h2 {
  margin: 0 0 0.2rem 0;
  font-size: 1.8rem;
}

.robotics-subtitle {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  opacity: 0.9;
  font-style: italic;
}

.achievement-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
}

.robotics-content {
  text-align: left;
}

.robotics-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.technical-contributions {
  margin: 1.5rem 0;
}

.contrib-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contrib-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.auv-showcase {
  margin: 2rem 0;
}

.auv-showcase h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-align: center;
}

.auv-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.auv-link {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s ease;
  min-width: 150px;
}

.auv-link:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.auv-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.auv-achievement {
  font-size: 0.8rem;
  opacity: 0.9;
  text-align: center;
}

.team-philosophy {
  margin-top: 2rem;
  text-align: center;
}

.team-philosophy blockquote {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid rgba(255, 255, 255, 0.5);
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 10px;
  font-style: italic;
  font-size: 1.1rem;
}

.instagram-link a {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #333;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.instagram-link a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Student Government Section */
.student-government-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  padding: 2rem;
  margin: 2rem auto;
  color: #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: 800px;
}

/* Peer Education Section */
.peer-education-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  padding: 2rem;
  margin: 2rem auto;
  color: #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: 800px;
}

/* Awards Section */
.awards-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  padding: 2rem;
  margin: 2rem auto;
  color: #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: 800px;
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-title h2 {
  margin: 0 0 0.2rem 0;
  font-size: 1.8rem;
}

.section-subtitle {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  opacity: 0.9;
  font-style: italic;
}

.section-content {
  text-align: left;
}

.section-content > p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* Remove old subsection styles */

/* Position Progression */
.position-progression {
  margin: 1.2rem 0;
  padding-left: 1rem;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.position-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.position-timeline {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
}

.position-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.position-details strong {
  font-size: 0.95rem;
  color: #333;
}

.position-details span {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.3;
}

/* Key Contributions */
.key-contributions {
  margin: 1.5rem 0;
}

.key-contributions .contrib-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.key-contributions .contrib-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Peer Education Content */
.section-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.mentorship-activities {
  margin: 1.2rem 0;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.activity-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.activity-details strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.activity-details p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  color: #333;
}

.philosophy-highlight {
  margin: 1.5rem 0;
  text-align: center;
}

.philosophy-highlight blockquote {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid rgba(255, 255, 255, 0.5);
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 10px;
  font-style: italic;
  font-size: 1rem;
}

/* Awards Recognition */
.awards-section h3 {
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
  text-align: center;
  color: #333;
}

.award-items {
  margin-bottom: 1.5rem;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.award-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.award-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.award-details strong {
  font-size: 0.95rem;
  color: #333;
}

.award-details span {
  font-size: 0.85rem;
  color: #333;
}

.leadership-philosophy {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.leadership-philosophy p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: #333;
}

/* Mobile responsive for sections */
@media (max-width: 768px) {
  .student-government-section,
  .peer-education-section,
  .awards-section {
    padding: 1.5rem;
    margin: 1.5rem auto;
  }
  
  .position-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .position-timeline {
    align-self: flex-start;
    min-width: auto;
  }
  
  .activity-item {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
  
  .award-item {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
}
/* Pageantry Section */
.pageantry-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  padding: 2rem;
  margin: 2rem auto;
  color: #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: 800px;
}

.pageant-journey {
  margin: 1.5rem 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.journey-item {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.journey-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.journey-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.journey-details strong {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.2rem;
}

.journey-details p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0 0 0.5rem 0;
  color: #333;
}

.achievement {
  font-size: 0.8rem;
  color: #333;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  align-self: flex-start;
}

.key-insights {
  margin: 2rem 0;
}

.insight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.insight-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.insight-details strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.insight-details p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  color: #333;
}

.pageant-philosophy {
  margin: 2rem 0;
  text-align: center;
}

.pageant-philosophy blockquote {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid rgba(255, 255, 255, 0.5);
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 10px;
  font-style: italic;
  font-size: 1rem;
}

.pageant-philosophy p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 1rem 0 0 0;
  text-align: left;
}

.future-inspiration {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.inspiration-content h3 {
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  text-align: center;
  color: #333;
}

.inspiration-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  text-align: center;
}

.future-goals {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.goal-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile responsive for pageantry section */
@media (max-width: 768px) {
  .pageantry-section {
    padding: 1.5rem;
    margin: 1.5rem auto;
  }
  
  .pageant-journey {
    flex-direction: column;
    gap: 1rem;
  }
  
  .journey-item {
    min-width: auto;
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  
  .insight-item {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  
  .future-goals {
    flex-direction: column;
    align-items: center;
  }
  
  .goal-badge {
    width: fit-content;
  }
}

/* Contact Section */
.contact-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  padding: 2rem;
  margin: 2rem auto 1rem auto;
  color: #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: 800px;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.contact-message {
  max-width: 500px;
}

.contact-message p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  color: #333;
}

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.qr-code {
  width: 150px;
  height: 150px;
  border-radius: 15px;
  background: #333;
  padding: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.qr-code:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.qr-instruction {
  font-size: 0.9rem;
  color: #333;
  font-weight: 600;
  margin: 0;
}

/* Mobile responsive for contact section */
@media (max-width: 768px) {
  .contact-section {
    padding: 1.5rem;
    margin: 1.5rem auto 1rem auto;
  }
  
  .contact-message p {
    font-size: 1rem;
  }
  
  .qr-code {
    width: 120px;
    height: 120px;
  }
}

/* Mobile responsive for robotics section */
@media (max-width: 768px) {
  .robotics-header {
    text-align: center;
  }
  
  .auv-links {
    flex-direction: column;
    align-items: center;
  }
  
  .auv-link {
    width: 100%;
    max-width: 250px;
  }
}

/* Risk Game Section Styles */
.risk-game-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  padding: 2rem;
  margin: 2rem auto;
  color: #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: 800px;
}

.game-container {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.reports-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.report-card {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.report-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: transparent;
  transition: all 0.3s ease;
}

.report-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.report-card.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.report-card.active::before {
  background: #3b82f6;
}

.report-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.report-icon {
  font-size: 1.5rem;
  margin-right: 0.8rem;
  flex-shrink: 0;
}

.report-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.report-description {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.report-impact {
  color: #555;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.report-impact strong {
  color: #333;
}

.suggested-priority {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
}

.justification-feedback {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border-left: 4px solid #3b82f6;
  display: none;
}

.justification-feedback.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.justification-feedback h4 {
  margin: 0 0 0.5rem 0;
  color: #333;
  font-size: 0.9rem;
}

.justification-feedback p {
  margin: 0;
  color: #444;
  font-size: 0.85rem;
  line-height: 1.4;
}

.priority-buttons {
  text-align: center;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
}

.priority-buttons h3 {
  margin: 0 0 1rem 0;
  color: #333;
  font-size: 1.1rem;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem;
  max-width: 500px;
  margin: 0 auto;
}

.priority-button {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.priority-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.priority-button:active {
  transform: translateY(0);
}

.btn-critical {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.btn-critical:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.btn-high {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.btn-high:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
}

.btn-medium {
  background: linear-gradient(135deg, #eab308, #d97706);
}

.btn-medium:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
}

.btn-low {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.btn-low:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.feedback-section {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.feedback-section h3 {
  margin: 0 0 1rem 0;
  color: #333;
  font-size: 1.1rem;
}

.feedback-section p {
  margin: 0;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}

.game-controls {
  text-align: center;
  margin-top: 2rem;
}

.reset-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #333;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reset-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hidden {
  display: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .risk-game-section {
    padding: 1.5rem;
    margin: 1.5rem auto;
  }
  
  .game-container {
    padding: 1rem;
  }
  
  .report-card {
    padding: 1rem;
  }
  
  .button-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  
  .priority-button {
    padding: 0.7rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Bouncing Scroll Down Note */
.scroll-down-note {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.scroll-down-note.visible {
  opacity: 1;
  visibility: visible;
}

.sticky-note {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transform-origin: center;
  animation: bounceNote 2s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sticky-note::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s ease-in-out infinite;
}

.sticky-note:hover {
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  animation-play-state: paused;
}

.note-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.note-emoji {
  font-size: 1.2rem;
  animation: wiggle 1.5s ease-in-out infinite;
}

.note-text {
  white-space: nowrap;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.bounce-arrow {
  font-size: 1.1rem;
  animation: arrowBounce 1s ease-in-out infinite;
  color: #ff6b6b;
}

/* Animations */
@keyframes bounceNote {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  10% {
    transform: translateY(-8px) rotate(1deg);
  }
  40% {
    transform: translateY(-15px) rotate(-1deg);
  }
  60% {
    transform: translateY(-4px) rotate(0.5deg);
  }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(5px); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
  100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.game-two-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  padding: 2rem;
  margin: 2rem auto;
  color: #333;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: 800px;
}
.code-line {
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.125rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    white-space: pre-wrap; /* Preserve whitespace and wrap */
    word-break: break-all; /* Break long words */
}
.code-line:hover {
    background-color: #e2e8f0; /* Light gray on hover */
}
.code-line.selected {
    background-color: #bfdbfe; /* Light blue when selected */
    border: 1px solid #60a5fa;
}
.code-line.correct {
    background-color: #d1fae5; /* Light green for correct */
    border: 1px solid #34d399;
}
.code-line.incorrect {
    background-color: #fee2e2; /* Light red for incorrect */
    border: 1px solid #ef4444;
}
.game2-controls {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.game2-check-button {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #333;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
}
.game2-next-button {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #333;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
}
.game2-reset-button {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #333;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
}
.feedback-area {
  padding: 0 1rem;
}
.feedback-area p {
  font-size : 1rem;
}
.feedback-correct {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #34d399;
    border-radius: 15px;
}
.feedback-incorrect {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
    border-radius: 15px;
}

/* Hide on mobile to avoid clutter */
@media (max-width: 768px) {
  .scroll-down-note {
    display: none;
  }
  #action-area {
      flex-direction: column;
      gap: 1rem;
  }
  #action-area button {
      width: 100%;
      margin-right: 0 !important; /* Override mr-4 */
  }
}

