/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Limelight&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poiret+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poller+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap");

/* Colors */
:root {
  --black: #1a1a1a;
  --red: #d72631;
  --darkRed: #a71d2a;
  --white: #f0f0f0;
  --gray: #333;
}

/* Body */
body {
  background-color: var(--black);
  color: var(--white);
  font-family: "Poiret One", sans-serif;
  margin: 0;
  padding: 0;
}

/* Header */
header {
  background-color: var(--darkRed);
  padding: 1rem;
  text-align: center;
}

header h1 {
  font-family: "Limelight", cursive;
  font-size: 3rem;
  margin: 0;
}

nav a {
  color: var(--white);
  margin: 0 15px;
  font-size: 1.2rem;
  text-decoration: none;
}

nav a:hover {
  color: var(--red);
  text-decoration: underline;
}

/* Main content */
main {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.game-section {
  background-color: var(--gray);
  padding: 2rem;
  margin-bottom: 3rem;
  border-radius: 15px;
  box-shadow: 0 0 10px var(--red);
}

h2 {
  font-family: "Poller One", cursive;
  font-size: 2.5rem;
  color: var(--red);
  margin-top: 0;
}

/* Cookie Clicker */
#cookieBtn {
  font-size: 3rem;
  background: var(--red);
  border: none;
  border-radius: 15px;
  color: var(--white);
  cursor: pointer;
  padding: 15px 30px;
  transition: background 0.3s ease;
}

#cookieBtn:hover {
  background: var(--darkRed);
}

/* Pong Canvas */
#pongCanvas {
  display: block;
  margin: 1rem auto;
  background-color: var(--black);
  border: 3px solid var(--red);
  border-radius: 10px;
}

/* Hangman */
#letterInput {
  font-size: 1.5rem;
  padding: 5px;
  margin-right: 10px;
  border-radius: 8px;
  border: none;
  width: 30px;
  text-align: center;
}

#guessBtn {
  background: var(--red);
  border: none;
  padding: 8px 15px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  color: var(--white);
}

#guessBtn:hover {
  background: var(--darkRed);
}
.about-section {
  background-color: var(--gray);
  padding: 2rem;
  margin-bottom: 3rem;
  border-radius: 15px;
  box-shadow: 0 0 10px var(--red);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

footer {
  background-color: var(--darkRed);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 3rem;
}

footer h3 {
  margin-bottom: 0.75rem;
  font-family: "Poller One", cursive;
  font-size: 1.8rem;
}

footer .socials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 1.5rem;
  justify-content: center;
}

footer .socials li a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

footer .socials li a:hover {
  color: var(--red);
  text-decoration: underline;
}

#buyAutoClickerBtn {
  margin-top: 1rem;
  font-size: 1.2rem;
  background: var(--red);
  border: none;
  border-radius: 15px;
  color: var(--white);
  cursor: pointer;
  padding: 10px 20px;
  transition: background 0.3s ease;
}

#buyAutoClickerBtn:hover:not(:disabled) {
  background: var(--darkRed);
}
