:root {
  /* Основные цвета из изображения */
  --gold-primary: #C9A961;        /* Золотой основной */
  --gold-light: #D4B878;          /* Золотой светлый */
  --gold-dark: #A68B4B;           /* Золотой темный */
  --black-primary: #1A1A1A;       /* Черный основной */
  --black-secondary: #2D2D2D;     /* Черный вторичный */
  --gray-light: #8B8B8B;          /* Серый светлый */
  --gray-medium: #5A5A5A;         /* Серый средний */
  --white: #FFFFFF;               /* Белый */
  --skin-tone: #8B6F4E;           /* Оттенок кожи */

  --gold-accent: #B8963E;
  --bg-dark: #3D3D3D;
  --bg-darker: #2E2E2E;
  --cream-bg: #F5F0E6;
  --cream-light: #FAF7F0;
  --cream-dark: #E8E0D0;
  --text-black: #1A1A1A;
  --text-dark: #2D2D2D;
  --text-gray: #5A5A5A;
  --text-light: #8B8B8B;
  
}
/* Основные стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body2 {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, var(--black-primary) 0%, var(--black-secondary) 100%);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Контейнер для героя-секции */
.hero-section {
  position: relative;
  height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(
      135deg, 
      rgba(26, 26, 26, 0.9) 0%, 
      rgba(45, 45, 45, 0.8) 100%
    ),
    url('gym-background.jpg') center/cover;
  overflow: hidden;
}

/* Заголовок "Beauty is the Beast" */
.main-title {
  font-family: 'Georgia', serif;
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: bold;
  text-align: center;
  line-height: 1;
  z-index: 2;
  position: relative;
}

.main-title .beauty {
  display: block;
  color: var(--gold-primary);
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(201, 169, 97, 0.3);
  letter-spacing: 0.05em;
  animation: goldShine 3s ease-in-out infinite;
}

.main-title .is-the {
  display: block;
  font-size: 0.4em;
  color: var(--white);
  margin: 0.2em 0;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.main-title .beast {
  display: block;
  color: var(--gold-primary);
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(201, 169, 97, 0.3);
  letter-spacing: 0.05em;
  animation: goldShine 3s ease-in-out infinite 0.5s;
}

/* Анимация золотого блеска */
@keyframes goldShine {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

/* Подзаголовок с именем */
.subtitle {
  margin-top: 2rem;
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--white);
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.subtitle::before,
.subtitle::after {
  content: '';
  display: inline-block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  vertical-align: middle;
  margin: 0 1rem;
}

/* Блок с кредитами */
.credits {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-light);
  z-index: 2;
  letter-spacing: 0.1em;
}

.credits a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.credits a:hover {
  color: var(--gold-primary);
}

/* Декоративные элементы */
.decorative-line {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom, 
    transparent, 
    var(--gold-primary), 
    transparent
  );
  opacity: 0.3;
}

.decorative-line.left {
  left: 20%;
}

.decorative-line.right {
  right: 20%;
}

/* Адаптивность */
@media (max-width: 768px) {
  .main-title {
    padding: 0 1rem;
  }
  
  .subtitle::before,
  .subtitle::after {
    width: 30px;
  }
  
  .decorative-line {
    display: none;
  }
}

/* Эффект при наведении на заголовок */
.main-title:hover .beauty,
.main-title:hover .beast {
  animation: pulseGold 1s ease-in-out;
}

@keyframes pulseGold {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Градиентный текст для мобильных */
@media (max-width: 480px) {
  .main-title .beauty,
  .main-title .beast {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

.magazine-spread {
  background-color: var(--bg-dark);
  padding: 0rem;
  min-height: 100vh;
}

.spread-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.page {
  background: var(--cream-bg);
  padding: 1.5rem;
  position: relative;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    inset 0 0 30px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--gold-primary);
}

.main-headline {
  font-family: 'PT Serif', 'Georgia', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  hyphens: auto;
}

.main-headline .highlight {
  color: var(--gold-accent);
  font-style: italic;
  display: block;
  margin-top: 0.3rem;
}

.section-title {
  font-family: 'PT Serif', 'Georgia', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-black);
  margin: 1.8rem 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--gold-primary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.section-title.gold {
  color: var(--gold-accent);
  border-bottom-color: var(--gold-accent);
}

.quote {
  font-family: 'PT Serif', 'Georgia', serif;
  font-style: italic;
  color: var(--text-gray);
  border-left: 4px solid var(--gold-primary);
  padding: 1rem 1rem 1rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 1.05rem;
  line-height: 1.7;
  background: rgba(201, 169, 97, 0.08);
  border-radius: 0 4px 4px 0;
}

.quote::before {
  content: '«';
  font-size: 1.8em;
  color: var(--gold-primary);
  font-style: normal;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 0.1em;
}

.quote::after {
  content: '»';
  font-size: 1.8em;
  color: var(--gold-primary);
  font-style: normal;
  line-height: 0;
  vertical-align: -0.3em;
  margin-left: 0.1em;
}

.meals-block {
  margin-top: 1.5rem;
}

.meal-item {
  background: var(--cream-light);
  border-left: 4px solid var(--gold-primary);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  border-radius: 0 4px 4px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meal-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.meal-number {
  font-family: 'PT Sans', 'Arial', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
  display: block;
}

.meal-content {
 
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.meal-content strong {
  color: var(--text-black);
  font-weight: 700;
}

.meal-label {
  font-family: 'PT Sans', 'Arial', sans-serif;
  font-size: 0.8rem;
  color: var(--text-gray);
  font-style: italic;
  display: block;
  margin-bottom: 0.2rem;
}

/* ============================================
   ТАБЛИЦА ТРЕНИРОВКИ
   ============================================ */
.training-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
 
  font-size: 0.9rem;
  background: var(--white);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.training-table thead {
  background: var(--text-black);
  color: var(--white);
}

.training-table thead th {
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  border-bottom: 3px solid var(--gold-primary);
}

.training-table thead th:first-child {
  width: 50%;
}

.training-table tbody tr {
  border-bottom: 1px solid var(--cream-dark);
  transition: background 0.3s ease;
}

.training-table tbody tr:hover {
  background: var(--cream-light);
}

.training-table tbody tr:nth-child(even) {
  background: rgba(245, 240, 230, 0.5);
}

.training-table tbody tr:nth-child(even):hover {
  background: var(--cream-light);
}

.training-table td {
  padding: 0.7rem 1rem;
  color: var(--text-dark);
  vertical-align: middle;
}

.training-table td:first-child {
  
  font-weight: 600;
  color: var(--text-black);
}

.training-table .sets {
  font-weight: 700;
  color: var(--gold-accent);
  text-align: center;
  font-size: 1rem;
}

.training-table .reps {
  font-weight: 700;
  color: var(--text-black);
  text-align: center;
  font-size: 0.95rem;
}

.training-table .reps-note {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-style: italic;
  display: block;
  margin-top: 0.2rem;
}
@media (max-width: 900px) {
  .spread-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .magazine-spread { padding: 1rem; }
  .page { padding: 1.5rem; }
  .main-headline { font-size: 1.4rem; }
  .section-title { font-size: 1.1rem; }
  .article-text { font-size: 0.9rem; }
  .training-table { font-size: 0.8rem; }
  .training-table td,
  .training-table th { padding: 0.5rem 0.6rem; }
}

.day-header {
  font-family: 'PT Sans', 'Arial', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 1.5rem 0 0.5rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold-primary);
}

.day-header span {
  color: var(--gold-accent);
}

.day-header .muscle-group {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-gray);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 0.5rem;
}

.day-title {
  font-family: 'PT Sans', 'Arial', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 2rem 0 0.8rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold-primary);
  display: inline-block;
}

.day-title:first-of-type {
  margin-top: 0;
}

.day-title .day-number {
  color: var(--text-black);
  font-weight: 700;
}

.day-title .muscle-group {
  color: var(--gold-accent);
  font-weight: 700;
}

.day-title .sub-group {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-gray);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 0.3rem;
}
.day-title.rest {
  color: var(--rest-color);
  border-bottom-color: var(--rest-color);
}

.exercise-list {
  margin: 0.8rem 0 1.5rem 0;
}

.exercise-item {
  display: grid;
  grid-template-columns: 2fr 0.8fr 1.2fr;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cream-dark);
  align-items: baseline;
  
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.exercise-item:hover {
  background: rgba(201, 169, 97, 0.08);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  border-radius: 4px;
}

.exercise-item:last-child {
  border-bottom: none;
}

.exercise-name {
  font-weight: 600;
  color: var(--text-dark);
 
}

.exercise-sets {
  font-weight: 700;
  color: var(--gold-accent);
  text-align: center;
  font-size: 0.95rem;
}

.exercise-reps {
  font-weight: 700;
  color: var(--text-black);
  text-align: center;
  font-size: 0.95rem;
}

.exercise-note {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-style: italic;
  display: block;
  margin-top: 0.2rem;
  font-family: 'PT Serif', 'Georgia', serif;
  grid-column: 1 / -1;
  padding-left: 0.5rem;
  border-left: 2px solid var(--gold-primary);
}

.special-block {
  background: var(--cream-light);
  border: 2px solid var(--gold-primary);
  padding: 1.2rem;
  margin: 1rem 0;
  border-radius: 4px;
  position: relative;
}

.special-block::before {
  content: 'WOD';
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--gold-primary);
  color: var(--white);
  padding: 2px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-family: 'PT Sans', 'Arial', sans-serif;
  border-radius: 2px;
}

.special-block.upper::before {
  content: 'ВЕРХ ТЕЛА';
}

.special-block-title {
  font-family: 'PT Sans', 'Arial', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.special-block-title .highlight {
  color: var(--gold-accent);
}

.exercise-count-list {
  list-style: none;
  padding: 0;
}

.exercise-count-list li {
  
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--cream-dark);
  color: var(--text-dark);
}

.exercise-count-list li:last-child {
  border-bottom: none;
}

.exercise-count-list li strong {
  color: var(--gold-accent);
  font-weight: 700;
  margin-right: 0.5rem;
}
.final-words {
  background: var(--cream-light);
  border: 3px solid var(--gold-primary);
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  position: relative;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.final-words::before {
  content: 'ПОСЛЕДНИЕ СЛОВА БЬЮТИ';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-black);
  color: var(--gold-primary);
  padding: 4px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-family: 'PT Sans', 'Arial', sans-serif;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
}

.final-quote {
  font-family: 'PT Serif', 'Georgia', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  margin: 1rem 0;
}

.final-quote::before {
  content: '«';
  font-size: 2em;
  color: var(--gold-primary);
  font-style: normal;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 0.1em;
}

.final-quote::after {
  content: '»';
  font-size: 2em;
  color: var(--gold-primary);
  font-style: normal;
  line-height: 0;
  vertical-align: -0.4em;
  margin-left: 0.1em;
}

.final-quote .line {
  display: block;
  margin: 0.3rem 0;
}

.social-links {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
  font-family: 'PT Sans', 'Arial', sans-serif;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.social-links strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.3rem;
}

.social-links a {
  color: var(--gold-accent);
  text-decoration: none;
  display: block;
  margin: 0.2rem 0;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--gold-primary);
  text-decoration: underline;
}
@media (max-width: 768px) {
  .magazine-spread { padding: 0rem; }
  .page { padding: 1.5rem; }
  .day-title { font-size: 1rem; }
  .exercise-item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 0.8rem;
    background: var(--cream-light);
    border-radius: 4px;
    margin-bottom: 0.5rem;
  }
  .exercise-sets, .exercise-reps {
    text-align: left;
  }
  .exercise-note {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--cream-dark);
    padding-top: 0.3rem;
    margin-top: 0.3rem;
  }
}
