h1, h2 {
    font-family: CustomFont; 
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif; 
    color: #fff;
    background-color: #000;
    scroll-behavior: smooth;
}


canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}


.content {
    position: relative;
    z-index: 1;
}


header {
    background-color: rgba(44, 44, 84, 0.8);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
}

header.visible {
    transform: translateY(0);
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #0f0;
    animation: glow 2s infinite alternate;
    display: flex;
    align-items: center;
}

header .logo .logo-icon {
    width: 30px;
    height: 37px;
    margin-right: 7px;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #0f0, 0 0 20px #0f0, 0 0 30px #0f0;
    }
    to {
        text-shadow: 0 0 20px #0f0, 0 0 30px #0f0, 0 0 40px #0f0;
    }
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    min-font-size: 10px;
    max-font-size: 18px;
    transition: color 0.3s;
}
@media (max-widht: 500px) {
    header nav ul li a{
        max-font-size: 8;
    }
}
header nav ul li a:hover {
    color: #0f0;
}


#hero {
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero-image {
    max-width: 22%;
    height: auto;
    margin-bottom: 20px; 
    border-radius: 20px; 
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5); 
    transition: transform 0.3s ease-in-out;
	animation: fadeIn 1s ease-in-out;
}

.hero-image:hover {
    transform: scale(1.05); 
}

#hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-in-out;
	font-family: CustomFont;
}

#hero p {
    font-size: 18px;
    animation: fadeIn 2s ease-in-out;
	font-family: CustomFont;
}
#cta-button {
    margin-top: 20px;
    padding: 10px 20px;
    max-font-size: 18px;
    color: #000;
    background-color: #0f0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
	   animation: fadeIn 2s ease-in-out;
}

#cta-button:hover {
    background-color: #00ff00;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



#games, #team, #social {
    padding: 50px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    margin: 20px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#games.visible, #team.visible, #social.visible {
    opacity: 1;
    transform: translateY(0);
}

#games h2, #team h2, #social h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #0f0;
	font-family: 'CustomFont';
}

.game-list, .team-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.game, .member {
    background-color: rgba(44, 44, 84, 0.8);
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.game:hover, .member:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.game img, .member img {
    max-width: 100%;
    border-radius: 10px;
}

/* Кнопки соцсетей */
.social-buttons, .footer-social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.social-button.telegram {
    background: linear-gradient(135deg, #69cdff, #066696);
}

.social-button.youtube {
    background: linear-gradient(135deg, #ff0000, #610000);
}

.social-button.donate {
    background: linear-gradient(135deg, #ffbd5b, #ff4757);
}

.social-button.boosty {
    background: linear-gradient(135deg, #ffb0a8, #ff5442);
}


footer {
    background-color: rgba(44, 44, 84, 0.8);
    padding: 20px;
    text-align: center;
    font-size: 16px;
    backdrop-filter: blur(10px);
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #2c2c54;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

.modal.open .modal-content {
    transform: scale(1);
}

.modal-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.modal-content .close:hover {
    color: #0f0;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #0f0;
}

.modal-content p {
    margin-bottom: 20px;
}

.modal-content .social-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1px 30px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: background-color 0.3s;
}

.modal-content .social-button:hover {
    transform: scale(1.05);
}

.hidden-meme {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 1001;
}

.hidden-meme img {
    max-width: 100%;
    border-radius: 10px;
}

.hidden-meme p {
    margin-top: 10px;
    font-size: 18px;
    color: #0f0;
}

#about {
    padding: 50px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    margin: 20px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#about.visible {
    opacity: 1;
    transform: translateY(0);
}

#about h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #0f0; 
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.fun-facts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.fact {
    background-color: rgba(44, 44, 84, 0.8);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fact:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.fact h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #0f0;
}

.fact p {
    font-size: 16px;
    color: #fff;
}