/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #0a0e27 0%, #1a2f4a 100%);
  color: #e0e0e0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}
header.top-header{
  background: linear-gradient(0deg, #FFA500, 0%, FFA500 100%);
  }

header.header {
  background: linear-gradient(90deg, #00bcd4 0%, #0097a7 100%);
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-items {
  display: flex;
  gap: 2rem;
}

.nav-items a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-items a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

main {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 2rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #00bcd4, #b3e5fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(0, 188, 212, 0.2);
}

h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #00bcd4;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #d0d0d0;
}

a {
  color: #00bcd4;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

a:hover {
  color: #b3e5fc;
  text-decoration: underline;
}

nav.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

nav.games a {
  display: block;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(0, 150, 167, 0.1));
  border: 2px solid #00bcd4;
  border-radius: 12px;
  color: #b3e5fc;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 188, 212, 0.15);
}

nav.games a:hover {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(0, 150, 167, 0.2));
  border-color: #b3e5fc;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
  color: #fff;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 1.5rem 0;
  padding-left: 0;
}

ul li {
  padding: 0.8rem 1.5rem;
  margin-bottom: 0.5rem;
  background: rgba(0, 188, 212, 0.1);
  border-left: 4px solid #00bcd4;
  border-radius: 4px;
  transition: all 0.3s ease;
}

ul li:hover {
  background: rgba(0, 188, 212, 0.2);
  padding-left: 2rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.25);
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}

strong {
  color: #b3e5fc;
  font-weight: 600;
}

em {
  color: #80deea;
  font-style: italic;
}

footer.footer {
  background: linear-gradient(90deg, #00bcd4 0%, #0097a7 100%);
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  box-shadow: 0 -4px 15px rgba(0, 188, 212, 0.3);
}

footer.footer p {
  margin: 0.5rem 0;
  color: #fff;
}

footer.footer a {
  color: #fff;
  text-decoration: underline;
}

footer.footer a:hover {
  color: #b3e5fc;
}