/* Root Variables */
:root {
  --primary-teal: #00809D;
  --cream: #FCECDD;
  --orange: #FF7601;
  --peach: #F3A26D;
  --black: #000000;
  --white: #FFFFFF;
  --gray: #666666;
  
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  font-weight: 400;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
    color: wheat;
    text-decoration: none;
}
body {
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
}
.art-composition img

 {
    width: 500px;
    height: 300px;
}
/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-abstract {
  position: relative;
  width: 40px;
  height: 40px;
}

.logo-shape {
  position: absolute;
  border-radius: 50%;
  animation: logoFloat 3s ease-in-out infinite;
}

.logo-shape.shape-1 {
  width: 20px;
  height: 20px;
  background: var(--primary-teal);
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.logo-shape.shape-2 {
  width: 15px;
  height: 15px;
  background: var(--orange);
  top: 5px;
  right: 0;
  animation-delay: 0.5s;
}

.logo-shape.shape-3 {
  width: 12px;
  height: 12px;
  background: var(--peach);
  bottom: 0;
  left: 10px;
  animation-delay: 1s;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--primary-teal), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, var(--primary-teal), var(--orange));
  transition: width 0.3s ease;
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at 30% 70%, var(--primary-teal)22, transparent 50%),
              radial-gradient(circle at 70% 30%, var(--orange)22, transparent 50%),
              var(--black);
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-shape.shape-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--primary-teal)44, transparent);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape.shape-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, var(--orange)33, transparent);
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.floating-shape.shape-3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--peach)55, transparent);
  bottom: 20%;
  left: 20%;
  animation-delay: 2s;
}

.floating-shape.shape-4 {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--cream)66, transparent);
  top: 40%;
  right: 30%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(20px) rotate(240deg); }
}

.hero-content {
  text-align: center;
  z-index: 10;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.title-line {
  display: block;
  animation: titleReveal 1s ease-out forwards;
  opacity: 0;
  transform: translateY(50px);
}

.title-line:nth-child(1) {
  animation-delay: 0.2s;
  background: linear-gradient(45deg, var(--primary-teal), var(--white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-line:nth-child(2) {
  animation-delay: 0.4s;
  background: linear-gradient(45deg, var(--orange), var(--peach));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-line:nth-child(3) {
  animation-delay: 0.6s;
  color: var(--cream);
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.8s forwards;
}

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

/* Buttons */
.cta-button, .play-button, .submit-button {
  position: relative;
  background: linear-gradient(45deg, var(--primary-teal), var(--orange));
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease-out 1s forwards;
}

.cta-button:hover, .play-button:hover, .submit-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 118, 1, 0.3);
}

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

.cta-button:active .button-ripple,
.play-button:active .button-ripple,
.submit-button:active .button-ripple {
  width: 300px;
  height: 300px;
}

/* Section Titles */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(45deg, var(--primary-teal), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Features Section */
.features {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--black) 0%, #111111 100%);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  position: relative;
}

.icon-abstract {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  animation: iconPulse 2s ease-in-out infinite;
}

.icon-abstract.icon-1 {
  background: linear-gradient(45deg, var(--primary-teal), var(--peach));
  animation-delay: 0s;
}

.icon-abstract.icon-2 {
  background: linear-gradient(45deg, var(--orange), var(--cream));
  animation-delay: 0.5s;
}

.icon-abstract.icon-3 {
  background: linear-gradient(45deg, var(--peach), var(--primary-teal));
  animation-delay: 1s;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

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

.feature-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 8rem 0;
  background: var(--black);
}

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

.about-art {
  position: relative;
  height: 400px;
}

.art-composition {
  position: relative;
  width: 100%;
  height: 100%;
}

.art-element {
  position: absolute;
  border-radius: 20px;
  animation: artFloat 4s ease-in-out infinite;
}

.art-element.element-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--primary-teal), var(--orange));
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.art-element.element-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, var(--peach), var(--cream));
  top: 100px;
  right: 50px;
  animation-delay: 1s;
}

.art-element.element-3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--orange), var(--primary-teal));
  bottom: 0;
  left: 100px;
  animation-delay: 2s;
}

@keyframes artFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.about-text {
  padding-left: 2rem;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.manifesto-quote {
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--orange);
  margin-top: 2rem;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-teal);
  background: rgba(255, 118, 1, 0.1);
  border-radius: 10px;
}

/* Games Section */
.games {
  padding: 8rem 0;
  background: linear-gradient(135deg, #111111 0%, var(--black) 100%);
}

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

.game-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.game-frame {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(45deg, var(--primary-teal), var(--orange));
  padding: 3px;
}

.game-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-teal), var(--orange));
  animation: borderRotate 3s linear infinite;
  z-index: -1;
}

@keyframes borderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  transition: all 0.3s ease;
}

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

.game-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  text-align: center;
}

.play-button {
  background: linear-gradient(45deg, var(--orange), var(--peach));
  border: none;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  color: var(--white);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: none;
  opacity: 1;
  transform: none;
}

.play-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 118, 1, 0.4);
}

/* Contact Section */
.contact {
  padding: 8rem 0;
  background: var(--black);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-art {
  position: relative;
  height: 400px;
}

.contact-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.contact-shape {
  position: absolute;
  border-radius: 50%;
  animation: contactFloat 5s ease-in-out infinite;
}

.contact-shape.shape-1 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, var(--primary-teal), var(--peach));
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.contact-shape.shape-2 {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--orange), var(--cream));
  top: 150px;
  right: 100px;
  animation-delay: 1s;
}

.contact-shape.shape-3 {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--peach), var(--primary-teal));
  bottom: 50px;
  left: 200px;
  animation-delay: 2s;
}

@keyframes contactFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.1); }
}

/* Form Styles */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
  border-radius: 10px;
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.15);
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--gray);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
  top: -0.5rem;
  left: 0.5rem;
  font-size: 0.8rem;
  color: var(--orange);
  background: var(--black);
  padding: 0 0.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  width: 100%;
  animation: none;
  opacity: 1;
  transform: none;
}

/* Disclaimer */
.disclaimer {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-teal)11, var(--black) 100%);
}

.disclaimer-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.disclaimer-pattern {
  display: flex;
  gap: 1rem;
}

.pattern-element {
  width: 20px;
  height: 20px;
  background: var(--orange);
  border-radius: 50%;
  animation: patternPulse 1.5s ease-in-out infinite;
}

.pattern-element:nth-child(2) {
  animation-delay: 0.3s;
}

.pattern-element:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes patternPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.disclaimer-content p {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--cream);
  font-style: italic;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-art {
  position: relative;
  width: 100px;
  height: 50px;
}

.footer-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.footer-shape {
  position: absolute;
  border-radius: 50%;
  animation: footerFloat 3s ease-in-out infinite;
}

.footer-shape.shape-1 {
  width: 30px;
  height: 30px;
  background: var(--primary-teal);
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.footer-shape.shape-2 {
  width: 20px;
  height: 20px;
  background: var(--orange);
  bottom: 0;
  right: 0;
  animation-delay: 1s;
}

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

.footer-text {
  text-align: right;
}

.footer-text p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

/* Game Page Styles */
.game-page {
  padding-top: 100px;
  min-height: 100vh;
  background: var(--black);
}

.game-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.game-header {
  text-align: center;
  margin-bottom: 3rem;
}

.game-header h1 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--primary-teal), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.back-button {
  background: linear-gradient(45deg, var(--primary-teal), var(--orange));
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.back-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 118, 1, 0.3);
}

.game-frame-container {
  background: linear-gradient(45deg, var(--primary-teal), var(--orange));
  padding: 3px;
  border-radius: 20px;
  margin-bottom: 2rem;
}

.game-iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 17px;
  background: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 2rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-text {
    text-align: center;
  }
  
  .disclaimer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .nav {
    padding: 1rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .game-iframe {
    height: 400px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .feature-card,
  .contact-form {
    border: 2px solid var(--white);
  }
}