* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-wrap: balance;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: linear-gradient(to right, #ffd000, #000000);
    backdrop-filter: blur(20px);
    min-height: 100vh;
    color: white;
}

/* Header стили */
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.874);
    box-shadow: 0 5px 20px 5px rgb(255, 217, 3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 40px;
}

/* Навигация с анимацией */
.nav-menu{
    height: 40px;
}
.nav-menu ul {
    height: 30px;
    display: flex;
    gap: 15px;
    margin-left: 40px;
    position: relative;
    list-style: none;
}

.nav-menu li {
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: yellow;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 5px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.nav-menu a i {
    font-size: 16px;
    width: 18px;
}

.nav-menu a:hover {
    color: #ffd000;
    text-shadow: 0 0 10px rgba(255, 217, 3, 0.7);
}

.hamburger-menu{
    display: none;
}

/* Активный индикатор */
.nav-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 208, 0, 0.2);
    border-radius: 5px;
    border: 1px solid rgba(255, 208, 0, 0.4);
    transition: all 0.4s ease;
    z-index: 1;
    box-shadow: 0 0 15px rgba(255, 208, 0, 0.3);
}

/* Активная ссылка */
.nav-menu a.active {
    color: #ffd000;
    text-shadow: 0 0 10px rgba(255, 217, 3, 0.7);
}

/* Hero секция */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* text-align: center; */
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(255, 208, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.version-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.minecraft-version, .edition {
    background: rgba(255, 208, 0, 0.9);
    color: black;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.edition {
    background: rgba(0, 0, 0, 0.8);
    color: yellow;
    border: 2px solid yellow;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta-button {
    background: linear-gradient(45deg, #ffd000, #ffed4e);
    color: black;
    border: none;
    padding: 18px 45px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 208, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 208, 0, 0.6);
    background: linear-gradient(45deg, #ffed4e, #ffd000);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
}

.modal.show {
    display: block;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(255, 208, 0, 0.1));
    margin: 8% auto;
    padding: 30px;
    border: 2px solid rgba(255, 208, 0, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 530px;
    position: relative;
    color: white;
    transform: translateY(-30px);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 208, 0, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: black;
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.modal-close:hover {
    background: yellow;
    transform: scale(1.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    color: yellow;
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-header p {
    color: #ccc;
    font-size: 1rem;
}

.ip-list {
    margin-bottom: 30px;
}

.ip-item {
    display: flex;
    align-items: center;
    background: rgba(255, 208, 0, 0.1);
    border: 1px solid rgba(255, 208, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.ip-item:hover {
    background: rgba(255, 208, 0, 0.15);
    border-color: rgba(255, 208, 0, 0.4);
}

.ip-type {
    color: yellow;
    font-weight: bold;
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ip-address {
    flex: 1;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0 15px;
}

.copy-btn {
    background: rgba(255, 208, 0, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: black;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: yellow;
    transform: scale(1.05);
}

.copy-btn.copied {
    background: #4CAF50;
    color: white;
}

.copy-btn.copied i::before {
    content: "\f00c";
}

.modal-instructions {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid yellow;
}

.modal-instructions h3 {
    color: yellow;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.modal-instructions ol {
    color: #ccc;
    padding-left: 20px;
}

.modal-instructions li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* About секция с рамками */
.about {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-top: 2px solid rgba(255, 208, 0, 0.3);
    border-bottom: 2px solid rgba(255, 208, 0, 0.3);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    background: rgba(255, 208, 0, 0.05);
    padding: 50px;
    border-radius: 20px;
    border: 2px solid rgba(255, 208, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd000, transparent, #ffd000);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: yellow;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    text-align: center;
}

.about-icon {
    font-size: 8rem;
    color: yellow;
    opacity: 0.7;
}

/* Team секция в стиле features */
.team {
    padding: 80px 20px;
    background: rgba(255, 208, 0, 0.1);
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: yellow;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: rgba(255, 208, 0, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 208, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 208, 0, 0.15);
    border-color: yellow;
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #ffd000, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid yellow;
}

.skin-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.skin-image-large {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    border: 4px solid yellow;
    box-shadow: 0 10px 30px rgba(255, 208, 0, 0.3);
    background: linear-gradient(45deg, #ffd000, #ffed4e);
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: yellow;
}

.team-card p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.team-role {
    background: rgba(255, 208, 0, 0.2);
    color: yellow;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 208, 0, 0.4);
}

/* Features секция */
.features {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.7);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: yellow;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 208, 0, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 208, 0, 0.3);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 208, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: yellow;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: yellow;
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Gallery секция с каруселью */
.gallery {
    padding: 80px 20px;
    background: rgba(255, 208, 0, 0.1);
    border-top: 2px solid rgba(255, 208, 0, 0.3);
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: yellow;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Карусель */
.carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 208, 0, 0.3);
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.1);
}

.slide-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), transparent);
    color: yellow;
    padding: 15px 20px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 5;
    backdrop-filter: blur(5px);
}

/* Кнопки карусели */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 208, 0, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: black;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: yellow;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Точки навигации */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(5px);
}

.dot.active {
    background: yellow;
    transform: scale(1.2);
    border-color: rgba(255, 208, 0, 0.8);
}

.dot:hover {
    background: yellow;
    transform: scale(1.1);
}

/* News Hero секция */
.news-hero {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255, 208, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    text-align: center;
    border-bottom: 2px solid rgba(255, 208, 0, 0.3);
}

.news-hero h1 {
    font-size: 3rem;
    color: yellow;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.news-hero p {
    font-size: 1.3rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* News секция */
.news {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.6);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: rgba(255, 208, 0, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 208, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 208, 0, 0.15);
    border-color: yellow;
    box-shadow: 0 10px 25px rgba(255, 208, 0, 0.2);
}

.news-date {
    color: yellow;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.news-card h3 {
    font-size: 1.4rem;
    color: yellow;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.news-tag {
    background: rgba(255, 208, 0, 0.2);
    color: yellow;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 208, 0, 0.4);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 30px 20px;
    border-top: 2px solid yellow;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: yellow;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ffd000;
}

/* Гамбургер меню - ИСПРАВЛЕНО */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: yellow;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Переопределяем навигацию для мобильных */
@media screen and (max-width: 1024px) {
    header {
        padding: 0 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Меню для мобильных */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        display: none;
        align-items: center;
        justify-content: center;
        box-shadow: none;
    }
    
    .nav-menu.active {
        right: 0;
        box-shadow: -5px 0 30px 10px rgba(255, 217, 3, 0.3);
        display: flex;
    }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        height: auto;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        gap: 0;
        padding: 0;
        list-style: none;
    }
    
    .nav-menu ul li {
        font-size: 22px;
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu ul li a {
        display: flex;
        justify-content: center;
        padding: 20px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 217, 3, 0.2);
        font-size: 1.3rem;
        transition: all 0.3s ease;
    }
    
    .nav-menu ul li a:hover {
        background: rgba(255, 208, 0, 0.1);
        border-bottom-color: rgba(255, 217, 3, 0.5);
    }
    
    /* Блокировка скролла при открытом меню */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
    
    /* Анимация гамбургера */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: #ffd000;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: #ffd000;
    }
    
    /* Скрываем индикатор на мобильных */
    .nav-indicator {
        display: none;
    }
    
    /* Исправляем активную ссылку для мобильных */
    .nav-menu a.active {
        background: rgba(255, 208, 0, 0.2);
        border: 1px solid rgba(255, 208, 0, 0.4);
        color: #ffd000;
    }
}

/* Плавная анимация для всего контента при переходе */
main {
    animation: fadeInUp 0.5s ease-out;
}

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

/* Адаптивность */
@media screen and (max-width: 1200px) {
    .nav-menu ul {
        gap: 12px;
        margin-left: 30px;
    }
}

@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .about-image {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
    
    .version-info {
        flex-direction: column;
        align-items: center;
    }
    
    .team-grid,
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    /* Карусель на мобильных */
    .carousel-slide img {
        height: 400px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .slide-caption {
        font-size: 1.1rem;
        padding: 12px 15px;
        top: 15px;
    }
    
    /* Модальное окно на мобильных */
    .modal-content {
        padding: 20px;
        margin: 10% auto;
    }
    
    .ip-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .ip-type {
        min-width: auto;
    }
    
    .ip-address {
        padding: 0;
        width: 100%;
    }
    
    .copy-btn {
        align-self: flex-end;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    /* Новости на мобильных */
    .news-hero h1 {
        font-size: 2.5rem;
    }
    
    .news-hero p {
        font-size: 1.1rem;
    }
    
    .news-card {
        padding: 25px;
    }
    
    .news-card h3 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-menu ul li a {
        font-size: 1.2rem;
        padding: 18px 0;
    }
    
    header {
        padding: 0 15px;
        height: 80px;
    }
    
    .logo {
        height: 40px !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    
    .about-text h2,
    .team h2,
    .features h2,
    .gallery h2,
    .news-hero h1 {
        font-size: 2rem;
    }
    
    .team-avatar {
        width: 100px;
        height: 100px;
    }
    
    .about-content {
        padding: 15px;
    }
    
    /* Карусель на маленьких экранах */
    .carousel-slide img {
        height: 300px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .slide-caption {
        font-size: 1rem;
        padding: 10px;
        top: 10px;
    }
    
    .carousel-dots {
        bottom: 15px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    /* Модальное окно на маленьких экранах */
    .modal-content {
        padding: 15px;
        margin: 5% auto;
    }
    
    .ip-address {
        font-size: 1rem;
    }
    
    .modal-instructions ol {
        font-size: 0.9rem;
    }
    
    /* Новости на маленьких экранах */
    .news-hero {
        padding: 60px 20px;
    }
    
    .news {
        padding: 60px 15px;
    }
    
    .news-card {
        padding: 20px;
    }
    
    .news-card h3 {
        font-size: 1.2rem;
    }
}

/* Rules Hero секция */
.rules-hero {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255, 208, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    text-align: center;
    border-bottom: 2px solid rgba(255, 208, 0, 0.3);
}

.rules-hero h1 {
    font-size: 3rem;
    color: yellow;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.rules-hero p {
    font-size: 1.3rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 30px;
}

.rules-warning {
    background: rgba(255, 208, 0, 0.2);
    border: 2px solid rgba(255, 208, 0, 0.5);
    border-radius: 10px;
    padding: 15px 25px;
    color: yellow;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

/* Rules секция */
.rules {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.6);
}

.rules-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Категории правил */
.rules-category {
    background: rgba(255, 208, 0, 0.05);
    border: 2px solid rgba(255, 208, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.rules-category:hover {
    background: rgba(255, 208, 0, 0.08);
    border-color: rgba(255, 208, 0, 0.4);
    transform: translateY(-2px);
}

.category-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 208, 0, 0.3);
}

.category-header h2 {
    font-size: 2rem;
    color: yellow;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-header p {
    color: #ccc;
    font-size: 1.1rem;
    margin: 0;
}

/* Список правил */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.rule-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(255, 208, 0, 0.03);
    border: 1px solid rgba(255, 208, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(255, 208, 0, 0.08);
    border-color: rgba(255, 208, 0, 0.3);
}

.rule-number {
    background: linear-gradient(45deg, #ffd000, #ffed4e);
    color: black;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rule-content {
    flex: 1;
}

.rule-content h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.punishment {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.punishment-type {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 0.9rem;
}

.punishment-separator {
    color: #ff6b6b;
    font-weight: bold;
}

/* Футер правил */
.rules-footer {
    margin-top: 60px;
    text-align: center;
}

.rules-acceptance {
    background: rgba(255, 208, 0, 0.1);
    border: 2px solid rgba(255, 208, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    max-width: 600px;
}

.rules-acceptance i {
    font-size: 2.5rem;
    color: yellow;
    flex-shrink: 0;
}

.rules-acceptance p {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    text-align: left;
}

/* Адаптивность для правил */
@media screen and (max-width: 768px) {
    .rules-hero h1 {
        font-size: 2.5rem;
    }
    
    .rules-hero p {
        font-size: 1.1rem;
    }
    
    .rules-category {
        padding: 20px;
    }
    
    .category-header h2 {
        font-size: 1.7rem;
    }
    
    .rule-item {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .rule-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .rule-content h3 {
        font-size: 1.1rem;
    }
    
    .punishment {
        padding: 10px 12px;
    }
    
    .rules-acceptance {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .rules-acceptance p {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .rules-hero {
        padding: 60px 20px;
    }
    
    .rules {
        padding: 60px 15px;
    }
    
    .rules-hero h1 {
        font-size: 2rem;
    }
    
    .category-header h2 {
        font-size: 1.5rem;
    }
    
    .rules-warning {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .rules-acceptance {
        padding: 15px;
    }
    
    .rules-acceptance p {
        font-size: 1.1rem;
    }
}

/* Creator Hero секция */
.creator-hero {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255, 208, 0, 0.15) 0%, rgba(0, 0, 0, 0.9) 100%);
    border-bottom: 2px solid rgba(255, 208, 0, 0.3);
}

.creator-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.creator-avatar {
    position: relative;
    text-align: center;
}

.creator-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(45deg, #ffd000, #ffed4e);
    color: black;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 2px solid yellow;
}

.creator-info h1 {
    font-size: 3.5rem;
    color: yellow;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.creator-tagline {
    font-size: 1.4rem;
    color: #ccc;
    margin-bottom: 30px;
    font-weight: 300;
}

.creator-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: yellow;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Creator About секция */
.creator-about {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.7);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    color: yellow;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature {
    background: rgba(255, 208, 0, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 208, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 208, 0, 0.15);
    border-color: yellow;
}

.feature-icon {
    font-size: 2.5rem;
    color: yellow;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.3rem;
    color: yellow;
    margin-bottom: 10px;
}

.feature p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.5;
}

/* Creator Projects секция */


.creator-projects h2 {
    text-align: center;
    font-size: 2.5rem;
    color: yellow;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 208, 0, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 208, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 208, 0, 0.15);
    border-color: yellow;
}

.project-icon {
    font-size: 3rem;
    color: yellow;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 1.5rem;
    color: yellow;
    margin-bottom: 15px;
}

.project-card p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-status {
    margin-top: auto;
}

.status {
    background: rgba(255, 208, 0, 0.2);
    color: yellow;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid rgba(255, 208, 0, 0.4);
}

.status.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-color: #4CAF50;
}

.status.planning {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    border-color: #2196F3;
}

/* Creator Social секция */
.creator-social {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.8);
}

.creator-social h2 {
    text-align: center;
    font-size: 2.5rem;
    color: yellow;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.social-subtitle {
    text-align: center;
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.social-card {
    background: rgba(255, 208, 0, 0.05);
    border: 1px solid rgba(255, 208, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 208, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-card:hover::before {
    left: 100%;
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: yellow;
    background: rgba(255, 208, 0, 0.1);
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.social-card.youtube .social-icon {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
    border: 2px solid #ff0000;
}

.social-card.discord .social-icon {
    background: rgba(88, 101, 242, 0.2);
    color: #5865F2;
    border: 2px solid #5865F2;
}

.social-card.github .social-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
}

.social-card.telegram .social-icon {
    background: rgba(0, 136, 204, 0.2);
    color: #0088cc;
    border: 2px solid #0088cc;
}

.social-card.twitter .social-icon {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border: 2px solid white;
}

.social-card.reddit .social-icon {
    background: rgba(255, 69, 0, 0.2);
    color: #ff4500;
    border: 2px solid #ff4500;
}

.social-info {
    flex: 1;
}

.social-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: yellow;
}

.social-info p {
    color: #ccc;
    margin-bottom: 5px;
    font-weight: bold;
}

.social-desc {
    color: #999;
    font-size: 0.9rem;
}

.social-arrow {
    color: yellow;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-card:hover .social-arrow {
    opacity: 1;
}

/* Creator Join секция */
.creator-projects, .creator-join {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255, 208, 0, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.join-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.join-content h2 {
    font-size: 2.5rem;
    color: yellow;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.join-content p {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

.join-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.join-button {
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.join-button.primary {
    background: linear-gradient(45deg, #ffd000, #ffed4e);
    color: black;
}

.join-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 208, 0, 0.4);
}

.join-button.secondary {
    background: transparent;
    color: yellow;
    border-color: yellow;
}

.join-button.secondary:hover {
    background: rgba(255, 208, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 208, 0, 0.2);
}

/* Адаптивность для страницы создателя */
@media screen and (max-width: 1024px) {
    .creator-header {
        gap: 30px;
    }
    
    .creator-info h1 {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .creator-hero {
        padding: 60px 20px;
    }
    
    .creator-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .creator-info h1 {
        font-size: 2.5rem;
    }
    
    .creator-tagline {
        font-size: 1.2rem;
    }
    
    .creator-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .about-text h2,
    .creator-projects h2,
    .creator-social h2,
    .join-content h2 {
        font-size: 2rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .join-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .join-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .creator-hero {
        padding: 40px 15px;
    }
    
    .skin-image-large {
        width: 150px;
        height: 150px;
    }
    
    .creator-info h1 {
        font-size: 2rem;
    }
    
    .creator-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .social-card {
        padding: 20px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}