/* Сброс базовых отступов и шрифтов */
body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #fdfdfd;
  color: #333;
}

/* Контейнер по центру с адаптивной шириной */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Хедер */
header {
  background-color: #fff;
  border-bottom: 1px solid #eaeaea;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  margin: 0;
  font-size: 1.5em;
  color: #007BFF;
}

/* Навигация */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav li {
  margin-left: 20px;
}

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

nav a:hover {
  color: #007BFF;
}

/* Главный контент */
main {
  padding: 40px 0;
}

h1, h2 {
  margin-top: 0;
}

h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.4em;
  margin: 1.5em 0 0.5em;
}

/* Списки и блоки */
ul, ol {
  margin: 1em 0 1em 1.2em;
}

blockquote {
  border-left: 4px solid #007BFF;
  padding-left: 1em;
  color: #555;
  font-style: italic;
  margin: 1.5em 0;
}

/* Таблицы (если нужны) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #eaeaea;
}

th {
  background-color: #f7f7f7;
  text-align: left;
}

/* Центрируем CTA-блок и отступы */
.cta {
  text-align: center;
  margin: 40px 0;
}

/* Кнопка «Try It Now» */
.cta a,
a.button {
  background-color: #007BFF;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.cta a:hover,
a.button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Футер */
footer {
  background-color: #fff;
  border-top: 1px solid #eaeaea;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: inline-flex;
}

.footer-nav li {
  margin: 0 10px;
}

.footer-nav a {
  text-decoration: none;
  color: #666;
  font-size: 0.9em;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #007BFF;
}
 .spin-container {
      text-align: center;
      margin: 40px auto;
    }
    .wheel {
      width: 300px;
      height: 300px;
      margin: 0 auto;
      border: 8px solid #fbbf24;
      border-radius: 50%;
      position: relative;
      overflow: hidden;
      transition: transform 4s cubic-bezier(0.33, 1, 0.68, 1);
    }
    .wheel.segments {
      background: conic-gradient(
        #f59e0b 0deg 45deg,
        #10b981 45deg 90deg,
        #3b82f6 90deg 135deg,
        #ec4899 135deg 180deg,
        #f43f5e 180deg 225deg,
        #8b5cf6 225deg 270deg,
        #14b8a6 270deg 315deg,
        #f59e0b 315deg 360deg
      );
    }
    .pointer {
      width: 0;
      height: 0;
      border-left: 20px solid transparent;
      border-right: 20px solid transparent;
      border-bottom: 40px solid #ef4444;
      position: absolute;
      top: -40px;
      left: calc(50% - 20px);
    }
    .spin-btn {
      margin-top: 20px;
      padding: 12px 24px;
      background: #ef4444;
      color: #fff;
      border: none;
      border-radius: 5px;
      font-size: 1em;
      cursor: pointer;
    }
    .spin-btn:disabled {
      opacity: 0.6;
      cursor: default;
    }
    .result {
      margin-top: 20px;
      font-size: 1.2em;
      font-weight: bold;
    }