/* Pixel Art Style CSS for Enbatminton */

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

body {
  font-family: 'VT323', monospace;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Pixel Art Font */
.pixel-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 3rem;
  color: #fff;
  text-shadow: 3px 3px 0px #000;
  margin-bottom: 1rem;
  text-align: center;
}

.pixel-heading {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.5rem;
  color: #333;
  text-shadow: 2px 2px 0px #fff;
  margin-bottom: 2rem;
  text-align: center;
}

.pixel-subtitle {
  font-family: 'VT323', monospace;
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 2px 2px 0px #000;
  text-align: center;
  margin-bottom: 2rem;
}

/* Navigation */
.pixel-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
}

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

.pixel-logo {
  height: 40px;
  image-rendering: pixelated;
}

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

.nav-link {
  color: #fff;
  text-decoration: none;
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-character {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}

.character-sprite {
  width: 80px;
  height: 80px;
  position: relative;
  animation: bounce 2s infinite;
}

.character-body {
  width: 60px;
  height: 60px;
  background: #ff6b6b;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 10px;
  border: 3px solid #333;
}

.character-racket {
  width: 40px;
  height: 8px;
  background: #4ecdc4;
  position: absolute;
  top: 20px;
  right: -10px;
  border: 2px solid #333;
  border-radius: 4px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Buttons */
.pixel-btn {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
  padding: 1rem 2rem;
  border: 3px solid #333;
  background: #4ecdc4;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.pixel-btn:hover {
  background: #45b7aa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.primary-btn {
  background: #ff6b6b;
  color: #fff;
  font-size: 1rem;
  padding: 1.5rem 3rem;
}

.primary-btn:hover {
  background: #ff5252;
}

/* Story Sections */
.story-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

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

.story-panel {
  background: #fff;
  border: 4px solid #333;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.story-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.pixel-scene {
  width: 100%;
  height: 300px;
  position: relative;
  border: 3px solid #333;
  border-radius: 8px;
  overflow: hidden;
}

.scene-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.court-bg {
  background: linear-gradient(45deg, #4ecdc4 25%, transparent 25%), 
              linear-gradient(-45deg, #4ecdc4 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, #4ecdc4 75%), 
              linear-gradient(-45deg, transparent 75%, #4ecdc4 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.welcome-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.community-bg {
  background: linear-gradient(45deg, #ff6b6b 0%, #feca57 100%);
}

.character-group {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.character {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #333;
  animation: float 3s ease-in-out infinite;
}

.character:nth-child(1) {
  background: #ff6b6b;
  animation-delay: 0s;
}

.character:nth-child(2) {
  background: #4ecdc4;
  animation-delay: 0.5s;
}

.character:nth-child(3) {
  background: #45b7aa;
  animation-delay: 1s;
}

.character:nth-child(4) {
  background: #feca57;
  animation-delay: 1.5s;
}

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

.story-text {
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  text-align: center;
  max-width: 600px;
  line-height: 1.8;
}

.choice-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Community Section */
.community-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.community-card {
  background: #fff;
  border: 3px solid #333;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.community-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.community-card h3 {
  font-family: 'Press Start 2P', cursive;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

.community-card p {
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  color: #666;
}

/* Join Section */
.join-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

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

.join-method {
  max-width: 600px;
  margin: 3rem auto 0;
}

.join-card {
  background: #fff;
  border: 3px solid #333;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.join-card:hover {
  transform: translateY(-5px);
}

.join-card h3 {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #333;
}

.join-steps {
  margin-bottom: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  text-align: left;
}

.step-number {
  background: #ff6b6b;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', cursive;
  font-size: 1rem;
  margin-right: 1rem;
  flex-shrink: 0;
  border: 2px solid #333;
}

.step-content p {
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-method {
  background: #fff;
  border: 3px solid #333;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
}

.method-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-method h3 {
  font-family: 'Press Start 2P', cursive;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

/* Footer */
.pixel-footer {
  background: #333;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

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

.footer-logo {
  height: 30px;
  margin-bottom: 1rem;
}

.last-updated {
  margin-top: 0.5rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Floating Elements */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-shuttlecock {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #333;
  animation: float-around 10s linear infinite;
}

.floating-shuttlecock:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shuttlecock:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 3s;
}

.floating-shuttlecock:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 6s;
}

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

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-content {
  background: #fff;
  border: 4px solid #333;
  border-radius: 8px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
}

.modal-content h3 {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
}

.modal-content p {
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #666;
}

.modal-content ul {
  text-align: left;
  margin-bottom: 2rem;
  font-family: 'VT323', monospace;
  font-size: 1rem;
}

.modal-content li {
  margin-bottom: 0.5rem;
  color: #666;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pixel-title {
    font-size: 2rem;
  }
  
  .pixel-heading {
    font-size: 1.2rem;
  }
  
  /* Mobile Navigation */
  .hamburger-menu {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: left 0.3s ease;
    z-index: 1000;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border: 2px solid #fff;
    width: 80%;
    text-align: center;
  }
  
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .story-content {
    flex-direction: column;
  }
  
  .pixel-scene {
    height: 200px;
  }
  
  .choice-buttons {
    flex-direction: column;
  }
  
  .community-grid,
  .join-options,
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.story-panel {
  animation: fadeIn 0.5s ease-out;
}

/* Schedule Section */
.schedule-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
  position: relative;
}

.schedule-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.schedule-content {
  margin-top: 2rem;
}

.schedule-intro {
  font-family: 'VT323', monospace;
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.schedule-preview-item {
  background: #fff;
  border: 3px solid #333;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.schedule-preview-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #20c997);
}

.schedule-preview-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.faq-content {
  margin-top: 2rem;
}

.faq-intro {
  font-family: 'VT323', monospace;
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.faq-preview-item {
  background: #fff;
  border: 3px solid #333;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faq-preview-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.faq-preview-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.preview-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.faq-preview-item h3 {
  font-family: 'Press Start 2P', cursive;
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 0px #fff;
}

.faq-preview-item p {
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.5;
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-preview {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .faq-preview-item {
    padding: 1.5rem;
  }
  
  .preview-icon {
    font-size: 2.5rem;
  }
  
  .faq-preview-item h3 {
    font-size: 0.9rem;
  }
  
  .faq-preview-item p {
    font-size: 1rem;
  }
} 