/* index.html - popup */
@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}
.shake-loop {
  animation: shake 1.5s infinite ease-in-out;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

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

.popup-image {
  max-width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #fff;
  border: none;
  font-size: 19px;
  color: #000;
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  z-index: 10000;
}

/* competition.html */

section { 
    padding: 40px 20px; 
    max-width: 1000px; 
    margin: auto; 
}
    .hero {
        background: url('../../img/competition/bgb2.png') center center / cover no-repeat;
        text-align: center;
        padding: 80px 20px;
        color: white;
        position: relative;
    }

    .hero::after {
        content: "";
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        /* background: rgba(0, 0, 0, 0.5);  */
        /* dark overlay for text readability */
        z-index: 1;
    }
        .hero h1{
            margin-top: 40px;
            color: #eee;
        }
        .hero h1,
        .hero p,
        .hero .reg-btn {
        position: relative;
        z-index: 2;
        }

        .reg-btn {
            background: #ff6f61;
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 5px;
            text-decoration: none;
            display: inline-block;
            margin-top: 40px;
            font-weight: bold;
        }
        .reg-btn:hover{
            color: #000;
        }
 
    .competition .highlight { 
        background: #fff; border-radius: 10px; padding: 20px; 
        margin-top: 30px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    }
    .competition ul { padding-left: 20px; }
    .timeline, .rules, .terms { 
        background: #fff; 
        margin-top: 30px; 
        border-radius: 10px; 
        padding: 30px; 
        box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    }
     .partner-logo img { max-width: 200px; margin-top: 20px; }
  