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

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

.container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
}

.header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: 700;
}

.header p {
  font-size: 1.1em;
  opacity: 0.95;
}

.content {
  padding: 40px 30px;
}

.not-from-bot {
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  text-align: center;
}

.not-from-bot h2 {
  color: #856404;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.not-from-bot p {
  color: #856404;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.bot-link {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1em;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 10px;
}

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

.section {
  margin-bottom: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 5px solid #667eea;
}

.section:last-child {
  margin-bottom: 0;
}

.section h2 {
  color: #667eea;
  font-size: 2em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section h2::before {
  content: '';
  width: 5px;
  height: 30px;
  background: #667eea;
  border-radius: 3px;
}

.section h3 {
  color: #555;
  font-size: 1.4em;
  margin-top: 25px;
  margin-bottom: 15px;
}

.section p {
  color: #666;
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.8;
}

.example-box {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  font-family: 'Courier New', monospace;
  font-size: 1em;
  color: #333;
  position: relative;
}

.example-box::before {
  content: 'Пример';
  position: absolute;
  top: -12px;
  left: 20px;
  background: white;
  padding: 0 10px;
  color: #667eea;
  font-weight: 600;
  font-size: 0.9em;
}

.model-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.model-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.model-card h4 {
  color: #667eea;
  font-size: 1.5em;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.model-card .model-icon {
  font-size: 1.3em;
}

.model-card ul {
  list-style: none;
  padding-left: 0;
}

.model-card ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #666;
  font-size: 1.05em;
}

.model-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 1.2em;
}

.balance-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0;
}

.balance-info h4 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.balance-info ol {
  padding-left: 25px;
  margin-top: 15px;
}

.balance-info ol li {
  margin: 10px 0;
  font-size: 1.05em;
  line-height: 1.6;
}

.balance-info strong {
  color: #ffd700;
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2em;
  }
  
  .content {
    padding: 25px 20px;
  }
  
  .section {
    padding: 20px;
  }
  
  .section h2 {
    font-size: 1.6em;
  }
}

