:root {
  --primary-color: #210F37;
  --secondary-color: #4F1C51;
  --accent-color: #A55B4B;
  --highlight-color: #DCA06D;
  --white: #ffffff;
  --black: #000000;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}
img {
    width: 600px;
    height: 400px;
    margin-right: 10px;
}
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  overflow-x: hidden;
}

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

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(33, 15, 55, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 160, 109, 0.2);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--accent-color), var(--highlight-color));
  border-radius: 25px;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
  z-index: -1;
}

.nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-link:hover {
  color: var(--white);
  text-shadow: 0 0 10px rgba(220, 160, 109, 0.5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--highlight-color);
}

.logo-shape {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--accent-color), var(--highlight-color));
  border-radius: 50% 10% 50% 10%;
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(90deg) scale(1.1); }
  50% { transform: rotate(180deg) scale(1); }
  75% { transform: rotate(270deg) scale(1.1); }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  top: 20%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: var(--accent-color);
  border-radius: 50% 10% 50% 10%;
  animation-delay: 0s;
}

.shape-2 {
  top: 60%;
  right: 20%;
  width: 80px;
  height: 80px;
  background: var(--highlight-color);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation-delay: 1s;
}

.shape-3 {
  bottom: 30%;
  left: 15%;
  width: 120px;
  height: 120px;
  background: var(--secondary-color);
  border-radius: 20px;
  transform: rotate(45deg);
  animation-delay: 2s;
}

.shape-4 {
  top: 40%;
  right: 10%;
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(90deg); }
  50% { transform: translateY(-40px) rotate(180deg); }
  75% { transform: translateY(-20px) rotate(270deg); }
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--highlight-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  0% { filter: drop-shadow(0 0 10px rgba(220, 160, 109, 0.3)); }
  100% { filter: drop-shadow(0 0 20px rgba(220, 160, 109, 0.6)); }
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background: linear-gradient(45deg, var(--accent-color), var(--highlight-color));
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(220, 160, 109, 0.3);
}

.button-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.cta-button:hover .button-ripple {
  width: 300px;
  height: 300px;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: rgba(79, 28, 81, 0.1);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, var(--highlight-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: rgba(33, 15, 55, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(220, 160, 109, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(220, 160, 109, 0.1), transparent);
  transition: left 0.5s;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(220, 160, 109, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.icon-1 {
  background: linear-gradient(45deg, var(--accent-color), var(--highlight-color));
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.icon-2 {
  background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
  border-radius: 20px;
  transform: rotate(45deg);
}

.icon-3 {
  background: linear-gradient(45deg, var(--highlight-color), var(--secondary-color));
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--highlight-color);
}

/* About Section */
.about {
  padding: 5rem 0;
  background: rgba(165, 91, 75, 0.1);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.manifesto-text {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cartoon-character {
  position: relative;
  width: 200px;
  height: 250px;
}

.character-head {
  width: 80px;
  height: 80px;
  background: var(--highlight-color);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: headBob 2s ease-in-out infinite;
}

.character-body {
  width: 60px;
  height: 100px;
  background: var(--accent-color);
  border-radius: 30px;
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
}

.character-arms {
  width: 100px;
  height: 20px;
  background: var(--secondary-color);
  border-radius: 10px;
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
}

.character-legs {
  width: 80px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 20px 20px 40px 40px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes headBob {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* Games Section */
.games {
  padding: 5rem 0;
  background: rgba(33, 15, 55, 0.3);
}

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

.game-card {
  background: rgba(79, 28, 81, 0.3);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(220, 160, 109, 0.2);
  position: relative;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(220, 160, 109, 0.3);
}

.game-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.game-card:hover .game-image img {
  transform: scale(1.1);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(33, 15, 55, 0.7), rgba(79, 28, 81, 0.7));
  opacity: 0;
  transition: var(--transition);
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.game-info {
  padding: 1.5rem;
}

.game-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--highlight-color);
}

.game-info p {
  opacity: 0.8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.play-button {
  background: linear-gradient(45deg, var(--accent-color), var(--highlight-color));
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  color: var(--white);
  font-weight: bold;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  width: 100%;
}

.play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 160, 109, 0.4);
}

.button-morph {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  transition: left 0.5s;
}

.play-button:hover .button-morph {
  left: 100%;
}

/* Disclaimer Section */
.disclaimer {
  padding: 3rem 0;
  background: rgba(79, 28, 81, 0.2);
  text-align: center;
}

.disclaimer h3 {
  color: var(--highlight-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.disclaimer p {
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.8;
}

/* Footer */
.footer {
  background: var(--primary-color);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(220, 160, 109, 0.2);
}

.copyright {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--highlight-color);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-link:hover {
  opacity: 1;
  color: var(--highlight-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.8s ease-out forwards;
}

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

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.8s ease-out forwards;
}

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

/* Paint-like animations */
.paint-brush {
  position: relative;
  overflow: hidden;
}

.paint-brush::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(220, 160, 109, 0.3), transparent);
  animation: paintSweep 2s ease-in-out infinite;
}

@keyframes paintSweep {
  0% { left: -100%; }
  100% { left: 100%; }
}