/* Fun-o-Matic 3000 Landing Page Styles */
:root {
  --blue: #02ccff;
  --pink: #E88eb4;
  --dark-blue: #0066cc;
  --light-blue: #99eeff;
  --dark: #121b2a;
  --light: #f9f9f9;
  --star-color: #FFDDA9;
}

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

body {
  font-family: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--dark) 0%, #1a3366 100%);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Star Background Animation */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.star {
  position: absolute;
  background-color: var(--star-color);
  border-radius: 40%;
  animation: twinkle 4s infinite;
}

@keyframes twinkle {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Header Styles */
header {
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  max-width: 350px;
  height: auto;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 400px;
  margin: 0 auto;
  z-index: 2;
}

.hero-image {
  max-width: 400px;
  height: auto;
  margin: 2rem 0;
  filter: drop-shadow(0 0 15px rgba(2, 204, 255, 0.6));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
  100% { transform: translateY(0px); }
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--blue);
  text-shadow: 0 0 10px rgba(2, 204, 255, 0.7);
  font-weight: 700;
}

.hero h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--pink);
  text-shadow: 0 0 8px rgba(232, 142, 180, 0.7);
}

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

/* Main Content Section */
.main-content {
  padding: 4rem 1rem;
  background: rgba(18, 27, 42, 0.7);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--pink);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  width: 100%;
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.main-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(2, 204, 255, 0.3);
}

.content-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--pink);
  text-shadow: 0 0 8px rgba(232, 142, 180, 0.5);
}

.content-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

/* Video Section */
.video-section {
  padding: 4rem 1rem;
  text-align: center;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 204, 255, 0.4);
}

.video-container video {
  width: 100%;
  display: block;
}

/* CTA Section */
.cta-section {
  padding: 4rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(2, 204, 255, 0.1) 0%, rgba(232, 142, 180, 0.1) 100%);
  backdrop-filter: blur(5px);
}

.cta-container {
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--blue);
  text-shadow: 0 0 10px rgba(2, 204, 255, 0.5);
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Form Styles */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .signup-form {
    flex-direction: row;
  }
}

.signup-form input {
  padding: 1rem;
  border-radius: 50px;
  border: 2px solid var(--blue);
  background: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  flex-grow: 1;
  outline: none;
  transition: all 0.3s ease;
}

.signup-form input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 15px rgba(232, 142, 180, 0.5);
}

.signup-form button {
  padding: 1rem 2rem;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, var(--blue) 0%, var(--pink) 100%);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(2, 204, 255, 0.4);
}

.signup-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(2, 204, 255, 0.6);
}

.signup-form button:active {
  transform: translateY(1px);
}

/* Footer */
footer {
  padding: 2rem 1rem;
  text-align: center;
  background: rgba(18, 27, 42, 0.9);
  border-top: 2px solid var(--pink);
}

footer p {
  color: var(--light-blue);
  font-size: 0.9rem;
}

/* Retro-futuristic Elements */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

.glow-1 {
  width: 300px;
  height: 300px;
  background-color: rgba(2, 204, 255, 0.3);
  top: 20%;
  left: 10%;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background-color: rgba(232, 142, 180, 0.2);
  bottom: 10%;
  right: 5%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .content-text h2 {
    font-size: 2rem;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.2rem;
  }
  
  .hero-image {
    max-width: 400px;
  }
}

/* Animation for buttons and interactive elements */
.btn-hover-effect {
  position: relative;
  overflow: hidden;
}

.btn-hover-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-hover-effect:hover::after {
  left: 100%;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue), var(--pink));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--pink), var(--blue));
}