/* Main Styles for Flunexo */
:root {
  /* Color Palette */
  --primary-pink: #ff2a6d;
  --secondary-teal: #05d9e8;
  --accent-orange: #ff7700;
  --accent-violet: #d300c5;
  --dark: #1a1a2e;
  --light: #f2f2f2;
  
  /* Typography */
  --font-main: 'Montserrat', sans-serif;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(to right, var(--primary-pink), var(--secondary-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: var(--spacing-md);
  text-align: center;
  position: relative;
  background: linear-gradient(to right, var(--accent-violet), var(--secondary-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
}

/* Layout Components */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

section {
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.logo-container {
  display: flex;
  align-items: center;
}

.abstract-logo {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-shape {
  position: absolute;
  background: conic-gradient(var(--primary-pink), var(--secondary-teal), var(--accent-violet), var(--accent-orange));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape1 {
  width: 60px;
  height: 60px;
  transform: rotate(45deg);
  opacity: 0.7;
}

.shape2 {
  width: 40px;
  height: 40px;
  transform: rotate(-20deg);
  background: conic-gradient(var(--secondary-teal), var(--accent-orange), var(--primary-pink), var(--accent-violet));
  opacity: 0.8;
}

.shape3 {
  width: 25px;
  height: 25px;
  transform: rotate(70deg);
  background: conic-gradient(var(--accent-orange), var(--accent-violet), var(--secondary-teal), var(--primary-pink));
  opacity: 0.9;
}

.abstract-logo h1, .abstract-logo h2 {
  margin-left: var(--spacing-md);
  z-index: 2;
}

.abstract-logo.small {
  width: 50px;
  height: 50px;
}

.abstract-logo.small .logo-shape.shape1 {
  width: 30px;
  height: 30px;
}

.abstract-logo.small .logo-shape.shape2 {
  width: 20px;
  height: 20px;
}

.abstract-logo.small .logo-shape.shape3 {
  width: 12px;
  height: 12px;
}

.abstract-logo.small h2 {
  font-size: 1.5rem;
}

.menu {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-link {
  position: relative;
  font-weight: 600;
  color: var(--light);
  transition: all 0.3s ease;
  padding: var(--spacing-xs);
}

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

.nav-link:hover {
  color: var(--secondary-teal);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background-color: var(--light);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Banner Section */
.banner {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.abstract-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.shape {
  position: absolute;
  opacity: 0.6;
}

.circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-pink), var(--accent-violet));
  top: 20%;
  left: 10%;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 260px solid var(--secondary-teal);
  opacity: 0.4;
  top: 50%;
  right: 15%;
}

.square {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--accent-orange), var(--accent-violet));
  transform: rotate(45deg);
  bottom: 20%;
  left: 20%;
}

.rectangle {
  width: 400px;
  height: 150px;
  background: linear-gradient(to right, var(--secondary-teal), var(--primary-pink));
  opacity: 0.3;
  bottom: 15%;
  right: 5%;
  transform: skewY(10deg);
}

.banner-content {
  text-align: center;
  max-width: 800px;
  padding: var(--spacing-lg);
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  z-index: 1;
}

.enigmatic-headline {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(to right, var(--primary-pink), var(--secondary-teal), var(--accent-orange), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
}

.abstract-btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  background: linear-gradient(45deg, var(--primary-pink), var(--accent-violet));
  color: var(--light);
  font-weight: 600;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.abstract-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-teal), var(--accent-orange));
  transition: all 0.5s ease;
  z-index: -1;
}

.abstract-btn:hover:before {
  width: 100%;
}

/* Features Section */
.features {
  padding: var(--spacing-xl) var(--spacing-lg);
  background-color: rgba(5, 5, 20, 0.9);
}

.features h2 {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.features-container {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.feature {
  flex: 1;
  min-width: 300px;
  padding: var(--spacing-lg);
  background: rgba(30, 30, 50, 0.5);
  border-radius: 10px;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.abstract-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.icon1, .icon2, .icon3 {
  background: conic-gradient(var(--primary-pink), var(--secondary-teal), var(--accent-violet), var(--accent-orange), var(--primary-pink));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.icon2 {
  border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
}

.icon3 {
  border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
}

.feature h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--secondary-teal);
}

/* About Section */
.about {
  padding: var(--spacing-xl) var(--spacing-lg);
  background-color: rgba(10, 10, 25, 0.9);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
}

.about-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.about h2 {
  text-align: left;
  margin-bottom: var(--spacing-md);
}

.abstract-divider {
  height: 4px;
  width: 100px;
  background: linear-gradient(to right, var(--primary-pink), var(--secondary-teal));
  margin-bottom: var(--spacing-md);
}

.manifesto {
  font-size: 1.1rem;
  line-height: 1.6;
}

.abstract-art {
  flex: 1;
  min-width: 300px;
}

.art-piece {
  width: 100%;
  height: 400px;
  background: url('https://images.pexels.com/photos/2693212/pexels-photo-2693212.png') no-repeat center center/cover;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.art-piece:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.4), rgba(5, 217, 232, 0.4));
  z-index: 1;
}

/* Games Section */
.games {
  padding: var(--spacing-xl) var(--spacing-lg);
  background-color: rgba(15, 15, 30, 0.9);
}

.games h2 {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.game-card {
  position: relative;
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

.game-frame {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.game-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--spacing-md);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

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

.game-overlay h3 {
  color: var(--light);
  margin-bottom: var(--spacing-sm);
}

.play-btn {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: linear-gradient(45deg, var(--primary-pink), var(--accent-violet));
  color: var(--light);
  font-weight: 600;
  border-radius: 30px;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.play-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-teal), var(--accent-orange));
  transition: all 0.5s ease;
  z-index: -1;
}

.play-btn:hover:before {
  width: 100%;
}

/* Contact Section */
.contact {
  padding: var(--spacing-xl) var(--spacing-lg);
  background-color: rgba(5, 5, 20, 0.9);
}

.contact h2 {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
  justify-content: space-between;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: var(--spacing-lg);
  background: rgba(30, 30, 50, 0.5);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.abstract-contact-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--spacing-md);
  background: conic-gradient(var(--primary-pink), var(--secondary-teal), var(--accent-violet), var(--accent-orange), var(--primary-pink));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.social-icons {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--secondary-teal);
}

.facebook:before, .twitter:before, .instagram:before {
  content: '';
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.facebook:before {
  background-image: url('https://cdn-icons-png.flaticon.com/512/1051/1051309.png');
}

.twitter:before {
  background-image: url('https://cdn-icons-png.flaticon.com/512/733/733635.png');
}

.instagram:before {
  background-image: url('https://cdn-icons-png.flaticon.com/512/1384/1384015.png');
}

.contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.form-group {
  position: relative;
  margin-bottom: var(--spacing-lg);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: var(--spacing-sm);
  background: transparent;
  border: none;
  color: var(--light);
  font-size: 1rem;
  outline: none;
  z-index: 1;
  position: relative;
}

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

.form-group label {
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.7);
  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: -20px;
  left: 0;
  font-size: 0.8rem;
  color: var(--secondary-teal);
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.form-line:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-pink), var(--secondary-teal));
  transition: width 0.3s ease;
}

.form-group input:focus ~ .form-line:after,
.form-group textarea:focus ~ .form-line:after {
  width: 100%;
}

/* Disclaimer */
.disclaimer {
  padding: var(--spacing-lg);
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-pink);
}

.disclaimer p {
  font-size: 0.9rem;
  max-width: 900px;
  margin: 0 auto var(--spacing-sm);
}

/* Footer */
footer {
  padding: var(--spacing-lg);
  background-color: rgba(5, 5, 15, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-links {
  display: flex;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-teal);
}

.footer-divider {
  width: 1px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 var(--spacing-sm);
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Policy Pages */
.policy-container {
  max-width: 1000px;
  margin: 120px auto var(--spacing-xl);
  padding: var(--spacing-xl) var(--spacing-lg);
  background: rgba(15, 15, 30, 0.9);
  border-radius: 10px;
}

.policy-container h1 {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.policy-section {
  margin-bottom: var(--spacing-xl);
}

.policy-section h2 {
  color: var(--primary-pink);
  margin-bottom: var(--spacing-md);
  font-size: 1.8rem;
  background: none;
  -webkit-text-fill-color: var(--primary-pink);
  text-align: left;
}

.policy-section h3 {
  color: var(--secondary-teal);
  margin-bottom: var(--spacing-sm);
  font-size: 1.3rem;
}

.policy-section ul {
  list-style-type: disc;
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.policy-section ul li {
  margin-bottom: var(--spacing-xs);
}