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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--tg-theme-text-color, #ffffff);
  background: var(--tg-theme-bg-color, #17212b);
}

#app {
  max-width: 100%;
  padding: 16px;
  padding-bottom: 32px;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 24px;
}

.header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--tg-theme-text-color, #ffffff);
}

.subtitle {
  font-size: 14px;
  opacity: 0.7;
  color: var(--tg-theme-text-color, #ffffff);
}

/* Buttons */
button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.booking-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.booking-btn:active {
  transform: scale(0.98);
}

.booking-btn.primary {
  font-size: 18px;
  padding: 18px;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.menu-item {
  background: var(--tg-theme-button-color, #3390EC);
  color: var(--tg-theme-button-text-color, white);
  padding: 20px 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-item:active {
  transform: scale(0.96);
}

.menu-item .icon {
  font-size: 32px;
}

/* Sections */
.section {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: var(--tg-theme-text-color, #ffffff);
}

.section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--tg-theme-text-color, #ffffff);
}

/* Content Blocks */
.content-block {
  background: var(--tg-theme-secondary-bg-color, #232e3c);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.content-block .text {
  line-height: 1.6;
  font-size: 15px;
  color: var(--tg-theme-text-color, #ffffff);
}

.content-block h3 {
  color: var(--tg-theme-text-color, #ffffff);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.content-block ul {
  list-style: none;
  padding-left: 0;
}

.content-block li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tg-theme-text-color, #ffffff);
}

.content-block li:before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--tg-theme-button-color, #3390EC);
  font-weight: bold;
}

/* Info Cards */
.info-card {
  background: var(--tg-theme-secondary-bg-color, #232e3c);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.info-card p {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--tg-theme-text-color, #ffffff);
}

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

.info-card li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tg-theme-text-color, #ffffff);
}

.info-card li:before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--tg-theme-button-color, #3390EC);
  font-weight: bold;
}

/* Phone Buttons */
.phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.phone-btn {
  background: var(--tg-theme-button-color, #3390EC);
  color: var(--tg-theme-button-text-color, white);
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
}

.phone-btn:active {
  opacity: 0.8;
}

.hours {
  margin-top: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--tg-theme-text-color, #ffffff);
}

/* Trainer Cards */
.trainer-card {
  background: var(--tg-theme-secondary-bg-color, #232e3c);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.trainer-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--tg-theme-button-color, #3390EC);
}

.experience {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--tg-theme-text-color, #ffffff);
  opacity: 0.8;
}

.achievements {
  margin-top: 12px;
  color: var(--tg-theme-text-color, #ffffff);
}

.achievements ul {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
}

.achievements li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  color: var(--tg-theme-text-color, #ffffff);
}

.achievements li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: bold;
}

/* Promo */
.promo {
  background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
  color: white;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* Equipment List */
.equipment-list {
  margin-bottom: 16px;
}

.equipment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  background: var(--tg-theme-secondary-bg-color, #232e3c);
  border-radius: 10px;
  margin-bottom: 10px;
}

.equipment-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--tg-theme-text-color, #ffffff);
}

.equipment-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--tg-theme-button-color, #3390EC);
}

/* Training Cards */
.training-card {
  background: var(--tg-theme-secondary-bg-color, #232e3c);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.training-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--tg-theme-button-color, #3390EC);
}

.training-card p {
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--tg-theme-text-color, #ffffff);
}

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

.training-card li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  color: var(--tg-theme-text-color, #ffffff);
}

.training-card li:before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: #4CAF50;
  font-weight: bold;
}

/* Loading */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-size: 18px;
  font-weight: 500;
  color: var(--tg-theme-text-color, #ffffff);
}

/* Back Button */
.back-btn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  background: var(--tg-theme-secondary-bg-color, #232e3c);
  color: var(--tg-theme-text-color, #ffffff);
  margin-top: 20px;
}

.back-btn:active {
  opacity: 0.7;
}
