/* Server Styles - вынесены из simple-server.js */

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 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: 0 20px;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #667eea;
  text-decoration: none;
}

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

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #667eea;
}

.auth-buttons {
  display: flex;
  gap: 1rem;
  margin-left: 40px;
}

.auth-buttons .btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-size: 1rem;
}

.auth-buttons .btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.auth-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.auth-buttons .btn-secondary {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.auth-buttons .btn-secondary:hover {
  background: #667eea;
  color: white;
}

/* Общие стили кнопок (для других элементов) */
.btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.2rem;
}

/* Main Content */
main {
  margin-top: 80px;
  padding: 2rem 0;
}

/* Features */
.features {
  background: white;
  padding: 4rem 0;
  margin: 2rem 0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Pricing */
.pricing {
  background: white;
  padding: 4rem 0;
  margin: 2rem 0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pricing h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card.featured {
  border-color: #667eea;
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 2rem;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-card li {
  padding: 0.5rem 0;
  color: #666;
}

.pricing-card li:before {
  content: "✓";
  color: #21A038;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Footer */
footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem 0;
  text-align: center;
  color: #666;
  margin-top: 4rem;
}

/* Game Widget Styles */
.game-widget {
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.10);
  max-width: 520px;
  margin: 3rem auto 2rem auto;
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: center;
  position: relative;
  animation: fadeInUp 0.8s cubic-bezier(.23,1.01,.32,1) 0.1s both;
}

.game-widget h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.game-widget p {
  color: #666;
  margin-bottom: 1.5rem;
}

.game-widget .qr-preview {
  margin: 1.5rem 0 1rem 0;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-widget .style-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 1.5rem 0;
}

.game-widget .btn-game {
  font-size: 1.3rem;
  padding: 1.1rem 2.2rem;
  border-radius: 30px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #21A038, #764ba2);
  color: #fff;
  border: none;
  font-weight: bold;
  box-shadow: 0 4px 16px rgba(102,126,234,0.10);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.game-widget .btn-game:active {
  transform: scale(0.97);
}

.game-widget .btn-nav {
  font-size: 2rem;
  background: none;
  border: none;
  color: #667eea;
  cursor: pointer;
  transition: color 0.2s;
}

.game-widget .btn-nav:hover {
  color: #21A038;
}

.game-widget .style-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #667eea;
}

.game-widget .style-description {
  color: #888;
  font-size: 0.95rem;
}

.game-widget .download-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.game-widget .download-options button {
  font-size: 1rem;
  padding: 0.7rem 1.3rem;
  border-radius: 20px;
}

@media (max-width: 600px) {
  .game-widget { 
    padding: 1.2rem 0.5rem; 
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
} 