/* ===== ОБЩЕЕ ===== */
body {
  background: #ffffff;
  margin: 0;
  padding: 0 !important;
}

/* ===== НАВИГАЦИЯ ===== */
.top_menu.main {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 60%, #0d2444 100%);
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top_menu.main a {
  color: #e0f0ff;
  font-weight: 500;
  padding: 14px 24px;
  transition: background 0.2s, color 0.2s;
  border-radius: 4px;
  text-decoration: none;
}

.top_menu.main a:hover {
  background: rgba(79, 195, 247, 0.15);
  color: #4fc3f7;
}

/* ===== КОНТЕНТ ===== */
.content-wrapper.main {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 0px 20px;
  background: #ffffff;
}

/* ===== СЛАЙДЕР ===== */
.slider {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}

.slider-track {
  display: flex;
  justify-content: center;
}

.slide {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  background: #fff;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

body .slide img {
  width: 100%;
  height: auto !important;
  object-fit: contain;
  background: #f5f7fa;
  display: block;
  padding: 0;
  box-sizing: border-box;
}

.slide-content {
  padding: 16px 20px;
  text-align: center;
  background: #fff;
}

.slide-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 8px;
  line-height: 1.4;
}

.slide-content p {
  color: #666;
  font-size: 13px;
  margin: 0 0 10px;
}

.status_ch.active {
  background: #28a745;
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

/* ===== ЗАГОЛОВОК "ЧЕМПИОНАТЫ" ===== */
.content-wrapper.main > h2 {
  text-align: center;
  font-size: 22px;
  color: #1a3a5c;
  margin: 24px 0 16px;
}

/* ===== ТАБЛИЦЫ — ОБЩЕЕ ===== */
.content-wrapper.main.tours {
  background: #ffffff;
  padding-bottom: 24px;
}

table {
  width: calc(100% - 32px);
  margin: 8px 16px;
  border-collapse: collapse;
}

table th {
  background: #2e2e2e;
  color: #ffffff;
  padding: 10px 8px;
  font-size: 13px;
  text-align: center;
}

table td {
  padding: 9px 8px;
  font-size: 14px;
  text-align: center;
}

/* ===== ГРУППОВЫЕ (#008401) ===== */
.content-wrapper.main.tours .tours-group h2 {
  background: #ffffff;
  color: #008401;
  padding: 12px;
  border-radius: 6px;
  margin: 20px 16px 8px;
  text-align: center;
  font-size: 20px;
}

.content-wrapper.main.tours .tours-group h3 {
  color: #008401;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  margin: 14px 0 6px;
}

.content-wrapper.main.tours .tours-group table td {
  background: #008401;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}

.content-wrapper.main.tours .tours-group table td:nth-child(2),
.content-wrapper.main.tours .tours-group table td:last-child {
  background: #ffffff;
  color: #1a1a1a;
  font-size: 12px;
}

/* ===== ОТБОРОЧНЫЕ (#003c99) ===== */
.content-wrapper.main.tours .tours-playoff h2 {
  background: #ffffff;
  color: #003c99;
  padding: 12px;
  border-radius: 6px;
  margin: 20px 16px 8px;
  text-align: center;
  font-size: 20px;
}

.content-wrapper.main.tours .tours-playoff table td {
  background: #003c99;
  color: #ffffff;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
}

.content-wrapper.main.tours .tours-playoff table td:nth-child(2),
.content-wrapper.main.tours .tours-playoff table td:last-child {
  background: #ffffff;
  color: #1a1a1a;
  text-align: center;
  font-size: 12px;
}

.content-wrapper.main.tours table img {
    width: 32px;
    vertical-align: middle;
    margin: 0 auto 10px;
    display: block;
}

.logo {
    text-align: center;
    margin: 30px 0;
}

.logo img {
    max-width: 300px;
}

.user-info a.profile-link {
    font-size: 15px;
    display: block;
    margin: 0 -15px -6px auto;
    text-decoration: none;
    border-top: 1px solid #3333;
    padding: 10px 20px;
    border-left: 1px solid #3333;
    color: #333;
}

/* ===== СИЯНИЕ ЗА ЛОГОТИПОМ ===== */
.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%) rotate(0deg);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 220, 60, 0.12) 0deg,
    rgba(255, 220, 60, 0.06) 3deg,
    transparent 5deg,
    transparent 24deg
  );
  border-radius: 50%;
  mask-image: radial-gradient(circle, transparent 100px, rgba(0,0,0,0.8) 160px, rgba(0,0,0,0.4) 75%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, transparent 100px, rgba(0,0,0,0.8) 160px, rgba(0,0,0,0.4) 75%, transparent 100%);
  animation: raysRotate 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(255, 235, 100, 0.3) 0%,
    rgba(255, 180, 20, 0.12) 40%,
    transparent 70%
  );
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}

.logo img {
  position: relative;
  z-index: 1;
}

@keyframes raysRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes glowPulse {
  from { opacity: 0.6; transform: translate(-50%, -50%) scale(0.93); }
  to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.07); }
}