body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  margin: 0;
  background-color: #145ca3;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}
header {
  background-color: #333;
  color: white;
  padding: 20px 0;
  margin-bottom: 24px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.hero-image {
  margin: 0 -20px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 10px;
}
.hero-image img {
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}
nav {
  background-color: #333;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 20px;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}
nav li:nth-child(2) {
  margin-left: auto;
}
nav a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
  background-color: #444;
  border-radius: 5px;
}
nav a:hover {
  background-color: #666;
}
.nav-links {
  justify-content: center;
}
header h1 {
  margin: 0;
  font-size: 2rem;
  padding: 0 20px;
}
main {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: 10px;
  box-shadow: none;
  margin: 20px;
}
section + section {
  margin-top: 24px;
}
ul {
  padding-left: 20px;
}
footer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #0a0a0a;
}
#clock {
  display: inline-block;
  background-color: #ffffff;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}
/*---------- Kojima gag ----------------*/
.kojima-corner {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 200px;
  height: auto;
  cursor: pointer;
  z-index: 50;
  transition: transform 0.5s ease, bottom 0.5s ease, right 0.5s ease, left 0.5s ease;
  transform-origin: bottom center;
}

/* Subtle idle hover — he notices you */
.kojima-corner:hover {
  transform: translateY(-8px) rotate(-3deg);
}

/* "Popped" state: jumps up, mirrored, on the left side */
.kojima-corner.popped {
  right: auto;
  left: 0;
  bottom: 30%;
  transform: scaleX(-1) scale(1.3);
}

/* Alternate popped state: stays on the right but bigger and flipped */
.kojima-corner.popped-right {
  bottom: 30%;
  transform: scaleX(-1) scale(1.3);
}

/* Speech bubble */
.kojima-bubble {
  position: fixed;
  bottom: 160px;          /* sits above Kojima's head */
  right: 180px;           /* nudged left of his body */
  max-width: 220px;
  background: #fff;
  color: #222;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease,
              left 0.5s ease, right 0.5s ease, bottom 0.5s ease;
  z-index: 51;
}

/* The little tail pointing at Kojima */
.kojima-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 30px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #fff;
}

/* Visible state */
.kojima-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* When Kojima is popped to the LEFT, move the bubble there too
   and flip its tail to point right at him */
.kojima-bubble.left-side {
  right: auto;
  left: 100px;
  bottom: calc(30% + 160px);
}
.kojima-bubble.left-side::after {
  right: auto;
  left: 30px;
}

/* When Kojima is popped on the RIGHT (bigger), lift the bubble higher */
.kojima-bubble.right-side {
  bottom: calc(30% + 160px);
}




/* External adjustments and buttons from kojima's bubble */
/* From Uiverse.io by barisdogansutcu */ 
button {
 border: none;
 position: relative;
 width: 200px;
 height: 73px;
 padding: 0;
 z-index: 2;
 -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E") no-repeat 50% 50%;
 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E") no-repeat 50% 50%;
 -webkit-mask-size: 100%;
 cursor: pointer;
 background-color: transparent;
 transform: translateY(8px)
}

button:after {
 content: '';
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 box-shadow: 0px 0 0 0 white;
 transition: all 2s ease;
}

button:hover:after {
 box-shadow: 0px -13px 56px 12px #ffffffa6;
}

button span {
 position: absolute;
 width: 100%;
 font-size: 15px;
 font-weight: 100;
 left: 50%;
 top: 39%;
 letter-spacing: 3px;
 text-align: center;
 transform: translate(-50%,-50%);
 color: black;
 transition: all 2s ease;
}

button:hover span {
 color: white;
}

button:before {
 content: '';
 position: absolute;
 width: 0;
 height: 100%;
 background-color: black;
 left: 50%;
 top: 50%;
 transform: translate(-50%, -50%);
 transition: all 1s ease;
}

button:hover:before {
 width: 100%;
}

