
:root {
    --primary: #FF6F61;
    --secondary: #FFB88C;
    --accent: #28A745;
    --light: #FFF8F0;
    --dark: #2A2A2A;
    --text: #333333;
    --highlight: #FFD166;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}
/* General Section Description */
.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Player Map Section */
.player-map-section {
  background: #f9f9f9;
}

.usa-marker {
  top: 30%;
  left: 15%;
}

.germany-marker {
  top: 28%;
  left: 50%;
}

.japan-marker {
  top: 35%;
  left: 75%;
}

.brazil-marker {
  top: 60%;
  left: 25%;
}

.australia-marker {
  top: 65%;
  left: 50%;
}

.france-marker {
  top: 40%;
  left: 40%;
}

/* Live Chat Section */
.live-chat-section {
  background: #f9f9f9;
}

/* Tournament Section */
.tournament-title {
  color: var(--primary);
  margin: 0;
}

/* Voting Section */
.voting-section {
  background: #f9f9f9;
}

.voting-button-container {
  text-align: center;
  margin-top: 30px;
}

.chicken-progress {
  width: 45%;
}

.recipe-progress {
  width: 35%;
}

.event-progress {
  width: 20%;
}


/* Частицы */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 5s linear infinite;
}

@keyframes floatParticle {
    0% { transform: translateY(0) translateX(0); opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}



/* Анимированный хедер */
.top-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--shadow);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.brand-logo {
    font-family: 'Bungee', sans-serif;
    font-size: 1.8rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.brand-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: white;
    transition: width 0.3s ease;
}

.brand-logo:hover::after {
    width: 100%;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--highlight);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.2);
}

/* Герой-баннеры */
.welcome-banner,
.community-hero,
.policy-banner,
.thanks-banner {
    min-height: 85vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.welcome-banner::before,
.community-hero::before,
.policy-banner::before,
.thanks-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 111, 97, 0.8) 0%, rgba(40, 167, 69, 0.7) 100%);
}

.community-hero {
    background: url('image/community.png') center/cover no-repeat fixed;
}



.banner-content,
.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 20px;
}

.banner-content h1,
.hero-content h1 {
    font-family: 'Bungee', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease both;
}

.banner-content p,
.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

/* Кнопка с эффектом пульсации */
.action-btn {
    background: var(--accent);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.6);
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn:active {
    transform: translateY(1px);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Секции с плавным появлением */
.content-section {
    padding: 100px 0;
    background: white;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    font-family: 'Bungee', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* Policy and Terms Pages */
.policy-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 20px 0;
}

.policy-list li {
    margin-bottom: 10px;
}

#policy-content h3, #terms-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 20px 0 10px;
}

/* Thanks Page */
.thanks-message {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.icon-success {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.thanks-message .policy-list {
    list-style: none;
    padding: 0;
}

.thanks-message .policy-list li {
    margin: 15px 0;
}

.thanks-message .social-links {
    margin-top: 20px;
}

/* 1. Галерея сообщества */
.community-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 1/1;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

/* 2. Интерактивная карта игроков */
.player-map-container {
    position: relative;
    height: 700px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 50px;
    box-shadow: var(--shadow);
}

.player-map {
    width: 100%;
    height: 100%;
    background: url('image/map2.jpeg') center/contain no-repeat;
    position: relative;
}

.player-marker {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.player-marker::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 111, 97, 0.3);
    border-radius: 50%;
    top: -4px;
    left: -4px;
    animation: pulse 2s infinite;
}

.player-marker:hover {
    transform: translate(-50%, -50%) scale(1.5);
    z-index: 3;
}

.player-tooltip {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 80%;
    max-width: 300px;
    display: none;
    z-index: 10;
}

.player-tooltip.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* 3. Доска объявлений */
.bulletin-board {
    background: url('image/banner2.jpeg') center/cover;
    border-radius: 15px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: var(--shadow);
    position: relative;
}

.bulletin-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
}

.bulletin-content {
    position: relative;
    z-index: 1;
}

.bulletin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.bulletin-tab {
    padding: 10px 20px;
    background: var(--light);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.bulletin-tab.active {
    background: var(--primary);
    color: white;
}

.bulletin-posts {
    display: none;
    animation: fadeIn 0.5s ease;
}

.bulletin-posts.active {
    display: block;
}

.bulletin-post {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.bulletin-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.post-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
}

.post-date {
    font-size: 0.8rem;
    color: #777;
}

.post-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.post-action {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #777;
    cursor: pointer;
    transition: var(--transition);
}

.post-action:hover {
    color: var(--primary);
}

/* 4. Живой чат */
.live-chat-container {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-top: 50px;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.online-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.online-dot {
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    display: flex;
    gap: 10px;
    max-width: 80%;
    animation: fadeIn 0.3s ease;
}

.chat-message.other {
    align-self: flex-start;
}

.chat-message.self {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.other .message-avatar {
    background: var(--primary);
}

.self .message-avatar {
    background: var(--accent);
}

.message-content {
    background: var(--light);
    padding: 12px 15px;
    border-radius: 15px;
    font-size: 0.95rem;
}

.other .message-content {
    border-top-left-radius: 0;
    background: #f0f0f0;
}

.self .message-content {
    border-top-right-radius: 0;
    background: #e3f2fd;
}

.message-info {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.7rem;
    color: #777;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.chat-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

.chat-input button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input button:hover {
    background: var(--accent);
}

/* 5. Турнирная таблица */
.tournament-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: var(--shadow);
}

.tournament-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.tournament-timer {
    background: var(--dark);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.tournament-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.tournament-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tournament-image {
    height: 150px;
    position: relative;
}

.tournament-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tournament-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.tournament-info {
    padding: 20px;
}

.tournament-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tournament-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #777;
}

.tournament-participants {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 6. Голосование сообщества */
.voting-section {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-top: 50px;
}

.voting-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.voting-option {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.voting-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.voting-image {
    height: 200px;
}

.voting-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voting-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
}

.voting-bar {
    height: 5px;
    background: #eee;
    margin-top: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.voting-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0;
    transition: width 1s ease;
}

.voting-percent {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* 7. Создатели контента */
.creators-section {
    margin-top: 50px;
}

.creator-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.creator-tab {
    padding: 10px 20px;
    background: var(--light);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.creator-tab.active {
    background: var(--primary);
    color: white;
}

.creator-cards {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    animation: fadeIn 0.5s ease;
}

.creator-cards.active {
    display: grid;
}

.creator-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.creator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.creator-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 30px auto 20px;
    border: 5px solid var(--primary);
    object-fit: cover;
}

.creator-info {
    padding: 0 20px 20px;
}

.creator-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.creator-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.creator-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

/* Футер с волной */
.bottom-bar {
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.bottom-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23ffffff" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23ffffff" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 40px 0;
}

.footer-contact h3,
.footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.footer-contact h3::after,
.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}

.footer-contact p,
.footer-links p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a,
.footer-links a {
    color: white;
    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Кнопка "наверх" */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* Адаптивность */
@media (max-width: 992px) {
    .content-wrapper {
        padding: 0 20px;
    }

    .player-map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-menu ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-menu ul.active {
        display: flex;
        transform: translateX(0);
    }

    .menu-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
        display: block;
        z-index: 1000;
    }

    .content-section {
        padding: 60px 0;
    }

    .community-gallery,
    .voting-options,
    .creator-cards {
        grid-template-columns: 1fr;
    }
.bulletin-tabs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
    .tournament-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .chat-message {
        max-width: 90%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .banner-content h1,
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .bulletin-board,
    .tournament-section,
    .voting-section {
        padding: 20px;
    }

    .creator-tabs {
        flex-wrap: wrap;
    }

    .chicken-float {
        width: 40px;
    }
}