.box
{
max-width:1000px;
margin:50px auto;
display: grid;
grid-gap:10px ;
grid: template columns 250px minmax(0, 1fr);
}

header,nav,main,footer{
    border:hotpink 2px solid;
}

header{
    grid: row 1 / 2 ;
    grid-column:1 / 3 ;
}

nav {
    grid-row:2 / 3 ;
    grid-column:1 / 2 ;
    height:max-content ;
}

main {
    grid-row:2 / 3 ;
    grid-column:2 / 3 ;
    height:max-content ;
}

#volumePopup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: black;
  color: #00ff66;
  border: 2px solid #00ff66;
  padding: 8px 16px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 0 10px #00ff66;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

#volumePopup.show {
  opacity: 1;
  transform: scale(1);
}

#startBtn {
  padding: 10px 18px;
  border: 3px solid black;
  background: silver;
  font-family: windows;
  font-size: 16px;
  box-shadow: 4px 4px 0px black;
  cursor: pointer;
}

#startBtn:active {
  box-shadow: 1px 1px 0px black;
  transform: translate(3px,3px);
}

#startBtn:hover {
    box-shadow: 0 0 15px #FF69B4, 0 0 25px #DA70D6, 0 0 35px #8A2BE2;
    transform: scale(1.1);
    transition: 0.3s;
}

body.dark-mode {
    background-color: #111; /* Dark background */
    background-image: url('http://dl5.glitter-graphics.net/pub/1043/1043585ir2mebcqub.gif'); /* optional same GIF or darker one */
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode p,
body.dark-mode li,
body.dark-mode a,
body.dark-mode mark {
    color: #ff69b4; /* Bright pink text for contrast */
}

body.dark-mode a {
    color: #ff85d9;
}

body.dark-mode #volumePopup {
    background: rgba(255, 105, 180, 0.7);
}


.secret-heart {
  font-size: 24px;
  text-align: center;
  cursor: pointer;
  margin-top: 20px;
  transition: transform 0.3s ease;
}

.secret-heart:hover {
  transform: scale(1.2);
}

.toggle-box {
  display: none;
}

.message {
  display: none;
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 182, 193, 0.3);
  font-size: 16px;
}

.toggle-box:checked + .message {
  display: block;
}

.fake-link {
  color: hotpink;
  cursor: pointer;
  text-decoration: underline;
  font-size: 16px;
}

.corrupted {
  filter: contrast(120%) hue-rotate(40deg);
}