/* Copyright (c) 2025 Sikape. All rights reserved. */
@import url('https://fonts.cdnfonts.com/css/sf-pro-display');

:root {
  --bg-color: #1a1b26;
  --block-bg: #252631;
  --border-color: #5b5c8d;
  --text-color: #e0e0e0;
  --accent-color: #7aa2f7;
  --game-text-color: #666666;
}

body {
  font-family: 'SF Pro Display', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(45deg, #1a1b26, #252631, #1a1b26, #2a2b3f);
  background-size: 400% 400%;
  animation: gradientBackground 10s ease infinite;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  user-select: none;
}

@keyframes gradientBackground {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.site-header {
  text-align: center;
  margin: 5px 0;
}

h1 {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0;
  transition: transform 0.3s ease;
}

h1:hover {
  transform: scale(1.1);
}

.about, .contact {
  margin-bottom: 20px;
}

.about h2, .contact h2 {
  font-size: 1.5em;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.about p {
  font-weight: 300;
}

.contact ul {
  list-style: none;
  padding: 0;
}

.contact li {
  margin: 10px 0;
  font-size: 1.1em;
}

.contact-link {
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s ease;
}

.contact-link:hover {
  border-bottom: 2px solid var(--border-color);
}

.contact-link .highlight {
  color: var(--accent-color);
  font-weight: 400;
}

.container {
  max-width: 500px;
  width: 90%;
  background-color: var(--block-bg);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin: 10px 20px;
  position: relative;
}

.runner-game {
  margin-top: 20px;
  background-color: var(--block-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px;
  text-align: center;
}

#game-area {
  display: block;
  margin: 0 auto;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

#lives {
  font-size: 1.2em;
  color: red;
}

.scores {
  font-size: 1em;
  color: var(--text-color);
}

footer {
  text-align: center;
  margin: 10px 0;
  font-size: 0.8em;
  color: var(--game-text-color);
  font-weight: 500;
}

@media (max-width: 600px) {
  .container {
    width: 95%;
    padding: 15px;
  }

  h1 {
    font-size: 2em;
  }

  .contact li {
    font-size: 1em;
  }

  .about p {
    font-size: 1em;
  }

  #game-area {
    width: 250px;
    height: 250px;
  }

  .hud {
    flex-direction: column;
    gap: 5px;
  }
}
