@font-face {
  font-family: 'Segoe UI';
  src: local('Segoe UI');
}

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

:root {
  --primary-color: #4a90e2;
  --secondary-color: #2c3e50;
  --text-color: #333;
  --background-color: #f5f5f5;
}

body {
  background: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background-image: url('imgAzudaioh.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  z-index: -1;
  opacity: 0.8;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #1a3c66;
}

.logo {
  font-family: 'Segoe UI', sans-serif;
  font-size: 2.5em;
  background: linear-gradient(to bottom, #7ab2ff 0%, #4485e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(122, 178, 255, 0.3);
  padding-top: 8px;
}

nav {
  align-self: stretch;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  display: flex;
  list-style: none;
  height: 100%;
}

nav li {
  margin-left: 5px;
  height: 100%;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(to bottom, #1a3c66 0%, #0c1f33 100%);
  border: 1px solid #264973;
  border-top: none;
  position: relative;
  display: inline-block;
}

nav a:hover {
  background: linear-gradient(to bottom, #264973 0%, #1a3c66 100%);
}

nav a.active {
  background: linear-gradient(to bottom, #2d5999 0%, #1a3c66 100%);
  border: 1px solid #3672cc;
  border-top: none;
  padding-top: 9px;
  margin-top: -1px;
}

main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.posts {
  background: linear-gradient(to bottom, #0c1f33 0%, #060d16 100%);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #1a3c66;
}

.post {
  padding: 15px;
  margin-bottom: 20px;
  background: linear-gradient(to bottom, #1a3c66 0%, #0c1f33 100%);
  border-radius: 5px;
  border: 1px solid #264973;
}

.post:last-child {
  margin-bottom: 0;
}

.post h3 {
  color: #fff;
  margin-bottom: 5px;
}

.timestamp {
  font-size: 0.8em;
  color: #7a9bc7;
  margin-bottom: 10px;
}

.about {
  background: linear-gradient(to bottom, #0c1f33 0%, #060d16 100%);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #1a3c66;
}

.about h2 {
  margin-bottom: 15px;
  color: #fff;
}

.feature-box {
  margin: 20px 0;
  padding: 15px;
  background: linear-gradient(to bottom, #1a3c66 0%, #0c1f33 100%);
  border-radius: 5px;
  border: 1px solid #264973;
}

.feature-box h3 {
  margin-bottom: 10px;
}

.feature-box ul {
  list-style-position: inside;
  margin-left: 10px;
}

.navigation-box {
  margin: 20px 0;
  padding: 15px;
  background: linear-gradient(to bottom, #1a3c66 0%, #0c1f33 100%);
  border-radius: 5px;
  border: 1px solid #264973;
}

.navigation-box h3 {
  margin-bottom: 10px;
  color: #fff;
}

.navigation-box ul {
  list-style: none;
}

.navigation-box li {
  margin-bottom: 8px;
}

.navigation-box li:last-child {
  margin-bottom: 0;
}

.navigation-box a {
  color: #7ab2ff;
  text-decoration: none;
  display: block;
  padding: 5px 10px;
  border-radius: 3px;
  transition: background-color 0.2s, color 0.2s;
}

.navigation-box a:hover {
  background-color: #264973;
  color: #fff;
}

.stats {
  text-align: center;
  margin-top: 30px;
}

.stat-number {
  font-size: 2em;
  font-weight: bold;
  color: #3672cc;
  margin: 10px 0;
}

.game-links, .download-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.game-item, .download-item {
  background: linear-gradient(to bottom, #1a3c66 0%, #0c1f33 100%);
  border: 1px solid #264973;
  border-radius: 5px;
  padding: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.game-item:hover, .download-item:hover {
  transform: translateX(5px);
  box-shadow: -3px 3px 10px rgba(38, 73, 115, 0.3);
}

.game-item a, .download-item a {
  color: #7ab2ff;
  text-decoration: none;
  font-size: 1.1em;
  display: block;
  margin-bottom: 5px;
}

.warning {
  color: #ff6b6b;
  font-size: 0.9em;
  display: block;
  margin-top: 5px;
}

.note {
  color: #7a9bc7;
  font-size: 0.9em;
  display: block;
  margin-top: 5px;
}

.creator-tag {
  color: #4a90e2;
  font-size: 0.9em;
  display: block;
  margin-top: 5px;
}

.trust-banner {
  background: linear-gradient(to bottom, #1a3c66 0%, #0c1f33 100%);
  border: 1px solid #264973;
  border-radius: 5px;
  padding: 15px;
  margin: 20px 0;
  text-align: center;
}

.safe-tag {
  background: #2ecc71;
  color: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.9em;
  font-weight: bold;
}

.downloads-section h2 {
  color: #fff;
  margin-bottom: 15px;
  text-align: center;
}

.paint-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.paint-section h2 {
  color: #fff;
  margin-bottom: 15px;
}

.feature-description {
  background: linear-gradient(to bottom, #1a3c66 0%, #0c1f33 100%);
  border: 1px solid #264973;
  border-radius: 5px;
  padding: 15px;
  margin-top: 20px;
}

.feature-description h3 {
  color: #7ab2ff;
  margin-bottom: 10px;
}

.feature-description p {
  color: #fff;
  line-height: 1.6;
}

/* Animation Classes */
.slide-in {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-100px);
  animation: slideIn 1s ease forwards;
}

.slide-in-right {
  visibility: hidden;
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 1s ease forwards 0.5s;
}

.slide-in-left {
  visibility: hidden;
  opacity: 0;
  transform: translateX(-100px);
  animation: slideInLeft 1s ease forwards 0.5s;
}

.fade-in {
  visibility: hidden;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.8s;
}

.bounce-in {
  visibility: hidden;
  opacity: 0;
  transform: scale(0.3);
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  animation-delay: 1s;
}

/* Keyframes */
@keyframes slideIn {
  to {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  to {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  to {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  to {
    visibility: visible;
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    visibility: visible;
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.1);
  }
  80% {
    opacity: 1;
    transform: scale(0.89);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  main {
    grid-template-columns: 1fr;
  }
  
  header {
    flex-direction: column;
    text-align: center;
  }
  
  nav {
    margin-top: 20px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav li {
    margin: 5px;
  }
  
  nav a {
    border-radius: 8px;
    border: 1px solid #264973;
  }
  
  nav a.active {
    border: 1px solid #3672cc;
    padding: 8px 20px;
    margin-top: 0;
  }
  
  body::after {
    width: 200px;
    height: 200px;
  }
}