.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 16px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg, #66ccff, #9966ff);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.back-btn:hover {
    background: linear-gradient(90deg, #9966ff, #ff66cc);
    text-decoration: none;
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.full-news-container {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.1);
}

.full-news-container h3 {
    font-weight: 700;
    background: linear-gradient(90deg, #ff66cc, #9966ff, #66ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.full-news-container img {
    border-radius: 10px;
    margin: 15px auto;
    display: block;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

.comments-section h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #444;
}

.comment-card {
    display: flex;
    gap: 15px;
    background: #f9f9fb;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}
.comment-card:hover {
    transform: translateX(5px);
}

.comment-avatar {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}
.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #9966ff;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.comment-body {
    flex-grow: 1;
}
.comment-body h5 {
    margin: 0;
    font-weight: 600;
    color: #333;
}
.comment-body p {
    margin: 5px 0 0;
    font-size: 1rem;
    color: #555;
}
.comment-meta {
    font-size: 0.85rem;
    color: #888;
}

.comment-form textarea {
    border-radius: 10px;
    resize: none;
}
.comment-form button {
    border-radius: 10px;
    padding: 8px 20px;
    font-weight: 600;
}

.rules-container {
    margin-top: 20px;
}

.rules-chapter {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 30px 0 15px;
    background: linear-gradient(90deg, #ff66cc, #9966ff, #66ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rules-item {
    background: #fff;
    border-left: 6px solid #9966ff;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeIn 0.4s ease;
}
.rules-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 14px rgba(0,0,0,0.15);
}

.rules-item strong {
    color: #6633cc;
    font-weight: 700;
    margin-right: 6px;
}

.rules-item p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #444;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}

.full-news-container {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    animation: fadeIn 0.6s ease;
}
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

.full-news-container img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.full-news-container img:hover {
    transform: scale(1.03);
}

.full-news-container iframe {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.full-news-container p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #444;
}

.full-news-container .lead {
    font-size: 1.15rem;
    font-style: italic;
    color: #666;
}

.text-bold {
    font-weight: 700;
    color: #333;
}

/* Заголовок */
.full-news-title {
    background: linear-gradient(90deg, #ff66cc, #9966ff, #66ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Кнопка назад */
.btn-back {
    background: linear-gradient(90deg, #ff66cc, #9966ff, #66ccff);
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1.2rem;
}
.btn-back:hover {
    background: linear-gradient(90deg, #66ccff, #9966ff, #ff66cc);
    box-shadow: 0 0 12px rgba(153,102,255,0.6);
    transform: translateY(-2px);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* занимает всю высоту экрана */
}

main {
    flex: 1; /* занимает всё свободное пространство */
}

footer {
    background: #f8f9fa; /* можно сделать в стиле Bootstrap */
    border-top: 1px solid #e0e0e0;
    position: relative;
    bottom: 0;
    width: 100%;
}

body {
font-family: 'Segoe UI', Roboto, sans-serif;
background-color: #fdfbff;
}
.navbar {
background: linear-gradient(135deg, #ff7de9, #7d8dff);
}
.navbar-brand img {
border-radius: 50%;
border: 2px solid #fff;
}
.nav-link {
transition: 0.3s;
font-weight: 500;
}
.nav-link:hover {
color: #ffeb99 !important;
transform: scale(1.1);
}

/* Карточки */
.card {
border: none;
border-radius: 1rem;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
transition: transform .3s, box-shadow .3s;
}
.card:hover {
transform: translateY(-6px);
box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.fab-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1050;
}



@keyframes gradientShift {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

footer {
background: #2c2f33;
color: #bbb;
}
.news-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.news-card .card-title {
    color: #2c2c54; /* тёмно-фиолетовый */
    font-weight: 700;
    font-size: 1.3rem;
    transition: color 0.2s ease;
}

.news-card .card-title:hover {
    color: #1a1a40; /* ещё темнее при наведении */
}

.news-meta {
    font-size: 0.9rem;
    color: #555; /* чуть темнее серый */
}
/* Кнопки */
.btn-mlp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 22px;
  background: linear-gradient(135deg, #ff66cc, #9966ff, #66ccff, #ff9966);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  box-shadow: 0 0 12px rgba(255, 105, 180, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-mlp-icon:hover {
  transform: scale(1.2) rotate(8deg);
  box-shadow: 0 0 25px rgba(255, 105, 180, 0.9), 
              0 0 40px rgba(153, 102, 255, 0.8);
}
.btn-mlp-icon i {
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.7));
}

.btn-mlp {
    background: linear-gradient(90deg, #ff66cc, #9966ff, #66ccff);
    border: none;
    border-radius: 12px; /* прямоугольная с мягкими углами */
    padding: 10px 22px;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* расстояние между текстом и иконкой */
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(153,102,255,0.4);
    text-decoration: none;
}
.btn-mlp:hover {
    background: linear-gradient(90deg, #66ccff, #9966ff, #ff66cc);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(153,102,255,0.6), 0 0 12px rgba(255,102,204,0.7);
}
.btn-mlp:active {
    transform: scale(0.97);
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.guide-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.guide-btn {
    background: linear-gradient(90deg, #66ccff, #9966ff);
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.guide-btn:hover {
    background: linear-gradient(90deg, #9966ff, #ff66cc);
    text-decoration: none;
}
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 16px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg, #66ccff, #9966ff);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.back-btn:hover {
    background: linear-gradient(90deg, #9966ff, #ff66cc);
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-decoration: none;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #ff6ec4, #7873f5);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-download:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  color: #fff;
}
.btn-download i {
  font-size: 1.2rem;
}