 /* --- Global Christmas Theme --- */
  /*
 body {
    margin: 0;
    background: linear-gradient(to bottom right, #b71c1c, #d32f2f, #c62828);
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    padding-top: -500px;
  }
  */

  body {
  margin: 0;
  background: linear-gradient(to bottom right, #b71c1c, #d32f2f, #c62828);
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

  header {
    position: absolute;
    top: 0;
    width: 100%;
    background: #0b3d0b;
    color: #b71c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
   
  }

  header img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
  }

  header h1 {
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 0 10px #fff;
  }

  /* --- Slot Machine --- */
  .slot {
    width: 500px;
    height: 60px;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    text-align: center;
    font-size: 28px;
    margin-bottom: 0px;
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
  }

  .reel {
    display: flex;
    flex-direction: column;
  }

  .name {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  @keyframes spin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
  }

  input, button {
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    margin: 5px;
  }

  input {
    background: #fff;
    color: #b71c1c;
    border: 2px solid #fff;
  }

  button {
    background: #fff;
    color: #b71c1c;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
  }

  button:hover {
    background: #ffe6e6;
    transform: scale(1.05);
  }

  /* --- Snow Effect --- */
  .snowflake {
    position: fixed;
    top: -10px;
    color: #fff;
    font-size: 1em;
    user-select: none;
    animation: fall linear infinite;
    opacity: 0.9;
  }

  @keyframes fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
  }

  /* --- Notification Popup --- */
  .notification {
  position: fixed;
  background: #222;
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s, transform 0.4s;
  z-index: 9999; /* ⬅️ Ensure this is higher than the modal */
  }

  .notification.show {
    opacity: 1;
    transform: translateY(0);
  }

  .notification-header {
    background: #fff;
    color: #b71c1c;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 15px;
    border-bottom: 2px solid #b71c1c;
	
  }

  .notification-header img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }

  .notification-body {
    padding: 15px 20px;
    text-align: center;
  }

  .notification button {
   display: none; /* hide the old button */
  }
  .notification button:hover {
    background: #ffd6d6;
  }

  /* --- Large Info Modal --- */
  .modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    z-index: 20;
  }

  .modal.show {
    opacity: 1;
    pointer-events: auto;
  }

  .modal-content-naughty {
    background: #fff;
    color: #b71c1c;
    padding: 30px;
    border-radius: 15px;
    width: 400px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
  }

    .modal-content-nice {
    background: #fff;
    color: #0b3d0b;
    padding: 30px;
    border-radius: 15px;
    width: 400px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
  }

  .modal-content h2 {
    margin-bottom: 10px;
  }

  .modal-content p {
    margin: 10px 0;
  }

  .modal-content button {
    background: #c62828;
    color: #fff;
  }
  
  .candy-cane-bar {
  width: 100%;
  height: 12px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.candy-cane-fill {
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(
    45deg,
    #e53935,
    #e53935 6px,
    #fff 6px,
    #fff 12px
  );
  border-radius: 6px;
  transition: width 0.3s linear;
}



/* Christmas Header 
.christmas-header {
  position: relative;
  width: 100%;
  height: 120px;
  background: linear-gradient(to right, #b71c1c, #d32f2f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
*/
/*
.christmas-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0b3d0b;
    color: #b71c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 0%;
}
    */
/* --- Header (Fixed but Responsive Height) --- */
.christmas-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #0b3d0b;
  color: #b71c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

/*
.christmas-header h1 {
  font-size: 28px;
  text-shadow: 2px 2px #fff;
  z-index: 5;
}
*/

.christmas-header h1 {
  font-family: 'Mountains of Christmas', cursive;
  font-size: clamp(22px, 4vw, 40px);
  text-shadow: 2px 2px #fff;
}

/* Santa Sleigh Animation */
/*
.santa-container {
  position: absolute;
  top: 10px;
  left: -100px;
  display: flex;
  align-items: center;
}
*/
.santa-container {
  position: absolute;
  top: 10px;
  left: -120px;
  animation: flySleigh 16s linear infinite;
}
/*
.santa-container img {
  height: 50px;
  margin-right: 10px;
}
*/

.santa-container img {
  height: 50px;
}

/* Animate sleigh flying across the screen */
/*
@keyframes flySleigh {
  0% { transform: translateX(-150px) translateY(0) rotate(0deg); }
  25% { transform: translateX(25vw) translateY(-10px) rotate(-5deg); }
  50% { transform: translateX(50vw) translateY(0px) rotate(0deg); }
  75% { transform: translateX(75vw) translateY(-5px) rotate(5deg); }
  100% { transform: translateX(110vw) translateY(0px) rotate(0deg); }
}
  */

  @keyframes flySleigh {
  0% { transform: translateX(-150px); }
  50% { transform: translateX(50vw); }
  100% { transform: translateX(110vw); }
}

.santa-container {
  animation: flySleigh 16s linear infinite;
}


.christmas-header h1 {
  font-family: 'Mountains of Christmas', cursive;
  font-size: 40px;
  text-shadow: 2px 2px #fff;
  z-index: 5;
}


/*.naughty-nice-section {
  position: fixed;
  background: #0b3d0b; 
  color: #fff;
  padding: 30px;
  //margin: 40px auto;
  width: 90%;
  max-width: 600px;
  border: 3px solod #fff;
  border-radius: 12px;
  font-family: 'Courier New', Courier, monospace; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  overflow: hidden;
  //margin-top: -25%;
}
*/

.naughty-nice-section {
    position: fixed;
    background: #0b3d0b;
    color: #fff;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border: 3px solod #fff;
    border-radius: 12px;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    overflow: hidden;

}


.naughty-nice-section h2,h4 {
  text-align: center;
  margin-bottom: 20px;
  color: #ffcc00;
  text-shadow: 1px 1px #000;
}

.naughty-nice-section ul {
  list-style: none;
  padding: 0;
  font-size: 18px;
}

.naughty-nice-section li {
  padding: 8px 0;
  border-bottom: 1px solid #fff;
}

.top-secret-stamp {
  position: absolute;
  top: 30px;
  left: 0px;
  font-size: 35px;
  color: rgba(255,0,0,0.3);
  transform: rotate(-25deg);
  font-weight: bold;
  pointer-events: none;
  text-shadow: 1px 1px 2px #000;
  
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0.3; }
}

.red-light {
  width: 15px;
  height: 15px;
  background: red;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  right: 10px;
  animation: blink 1s infinite;
}

#spinButton{
 
	margin: auto auto auto 22.5%;

}

#accessButton{

	margin: auto auto auto auto;
	margin-left:42%;
	background: #0b3d0b; /* dark green parchment feel */
	color: #ffcc00;
    text-shadow: 1px 1px #000;
    border: 1px solid #ffcc00;
	
}


#targetName{

	width: 92%;
	text-align: center;
	font-weight: bold;
}

#spinButton{

	margin-left: 37%;

}

li {
  list-style-type: none; /* removes the bullet */
}


#parents-link{

  position: absolute;
  top: 60%;
  left: 87.5%;
  color: #fff;
  text-decoration: none;
  font-weight: initial;
  background: #0b3d0b;
  padding: 0px 0px;
  border-radius: 0px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: background 0.3s, transform 0.2s;
  font-size: 10px;

}

/* Small screens */
@media screen and (min-width: 300px) and (max-height: 1000px) {

  footer {
    margin-top: -5%;
 }

 .christmas-header h1{
  font-size: 20px;
 }

 .christmas-header {
  padding: 0%;
  
 }
  .christmas-header img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  
 }

 #searchArea {
  margin-top: 25%;
 }

  .slot {
    width: 100%;
 }

 #targetName{
    font-size: 16px;
    width: 86%;
 }

 #spinButton{
    margin-left: 31%;
    font-size: 11px;
 }

 #elf1, #elf2 {
    width: 85px;
    height: 85px;
 }

 #santa1 {

    width: 180px;
    height: 180px;
 }

 .naughty-nice-section{
    margin-top: 22%;
    width: 80%;
    font-size: 15px;
  }

  #accessButton{

    margin-left: 38%;
  }

}

/* medium screens */
@media screen and (min-width: 550px) and (max-height: 1400px) {

  footer {
    margin-top: -15%;
 }

 .christmas-header h1{
  font-size: 20px;
 }

 .christmas-header {
  padding: 0%;
  
 }
  .christmas-header img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  
 }

 #searchArea {
  margin-top: 25%;
  width: 50%;
 }

  .slot {
    width: 100%;
 }

 #targetName{
    font-size: 16px;
    width: 92%;
 }

 #spinButton{
    margin-left: 33%;
    font-size: 12px;
 }

  #elf1, #elf2 {
    width: 150px;
    height: 150px;
 }

 #santa1 {

    width: 250px;
    height: 250px;
 }

  .naughty-nice-section{
    margin-top: 22%;
    width: 90%;
    font-size: 18px;
  }

  #accessButton{

    margin-left: 41%;
  }

  #parents-link{
    font-size: 10px;
	  left: 85%;
  }

}


/* medium screens */
@media screen and (min-width: 908px) and (max-height: 1400px) {

  footer {
    margin-top: -15%;
 }

 .christmas-header h1{
  font-size: 50px;
 }

 .christmas-header {
  padding: 0%;
  
 }
  .christmas-header img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  
 }

 #searchArea {
  margin-top: 25%;
  width: 50%;
 }

  .slot {
    width: 98%;
 }

 #targetName{
    font-size: 16px;
    width: 90%;
 }

 #spinButton{
    margin-left: 37%;
    font-size: 15px;
 }

  #elf1, #elf2 {
    width: 200px;
    height: 200px;
 }

 #santa1 {

    width: 300px;
    height: 300px;
 }

  .naughty-nice-section{
    margin-top: 22%;
    width: 90%;
    font-size: 18px;
  }

    #parents-link{
    font-size: 12.5px;
		left: 86%;
  }

}


/* Ipda Pro screens */
@media screen and (min-width: 1010px) and (max-height: 1400px) {

  footer {
    margin-top: 50%;
 }

 .christmas-header h1{
  font-size: 50px;
 }

 .christmas-header {
  padding: 0%;
  margin-bottom: 8%;
  
 }
  .christmas-header img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  
 }

 #searchArea {
  margin-top: 15%;
  width: 60%;
 }

  .slot {
    width: 100%;
 }

 #targetName{
    font-size: 18px;
    width: 96%;
 }

 #spinButton{
    margin-left: 43%;
    font-size: 12px;
 }

   #elf1, #elf2 {
    width: 150px;
    height: 150px;
 }

 #santa1 {

    width: 300px;
    height: 300px;
 }

   .naughty-nice-section{
    margin-top: 14%;
    width: 100%;
    font-size: 20px;
  }

    #parents-link{
    font-size: 15px;
		left: 88%;
  }


}


/* Ultra-wide screens */
@media screen and (min-width: 1800px) {
  footer {
      margin-top: 10%;
    }
    
    header {
      margin-bottom: 5%;

    }

     #spinButton{
    margin-left: 45%;
    font-size: 16px;
 }

   #parents-link{
    font-size: 16px;
	   left: 90%;
  }

}

/* Super ultra-wide (optional) */
@media screen and (min-width: 2400px) {
  footer {
    margin-top: 12%;
  }

  header {
    margin-bottom: -5%;
  }

   #spinButton{
    margin-left: 46%;
    font-size: 16px;
 }

   #parents-link{
    font-size: 16px;
  }
}





