/* Fastest Battleship Online - Landing Page Styles */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

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

/* Header */
header {
  text-align: center;
  padding: 60px 0 40px;
  color: white;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.tagline {
  font-size: 1.3rem;
  opacity: 0.95;
  font-weight: 300;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 0;
}

.play-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 22px 70px;
  font-size: 1.6rem;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.play-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #ff5252 0%, #dd4a5f 100%);
}

.play-button:active {
  transform: translateY(-2px);
}

.subtitle {
  margin-top: 20px;
  color: white;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Content Sections */
.features,
.how-to-play,
.about {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  color: #667eea;
  font-weight: 600;
}

/* Features Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.feature {
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

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

.icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 20px;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.feature h3 {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.4rem;
  font-weight: 600;
}

.feature p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

/* How to Play */
.how-to-play ol {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 20px;
}

.how-to-play li {
  margin: 20px 0;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
}

.how-to-play li strong {
  color: #667eea;
  font-weight: 600;
}

/* About Section */
.about p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px 30px;
  color: white;
  opacity: 0.85;
}

footer p {
  margin: 8px 0;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .play-button {
    padding: 18px 50px;
    font-size: 1.3rem;
  }

  .features,
  .how-to-play,
  .about {
    padding: 40px 25px;
  }

  h2 {
    font-size: 1.8rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .how-to-play li {
    font-size: 1rem;
  }

  .about p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
  }

  h1 {
    font-size: 2rem;
  }

  .play-button {
    padding: 15px 40px;
    font-size: 1.2rem;
  }

  .icon {
    font-size: 3rem;
  }
}
