monolithsmp - asd

monolithsmp

asd

<!DOCTYPE html>

<html lang="ru">

<head>

 <meta charset="UTF-8">

 <meta name="viewport" content="width=device-width, initial-scale=1.0">

 <title>MonolithSMP - Minecraft сервер</title>

 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">

 <style>

 * {

 margin: 0;

 padding: 0;

 box-sizing: border-box;

 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

 }


 :root {

 --turquoise: #40E0D0;

 --turquoise-dark: #20B2AA;

 --turquoise-light: #AFEEEE;

 --turquoise-bright: #00CED1;

 --accent: #FFD700;

 --dark: #0A2C30;

 --dark-light: #14454B;

 --light: #E0F7FA;

 --gray: #50757B;

 --online: #40E0D0;

 --offline: #FF6B6B;

 }


 body {

 background-color: var(--dark);

 color: var(--light);

 line-height: 1.6;

 overflow-x: hidden;

 background-image: 

 linear-gradient(rgba(10, 44, 48, 0.9), rgba(10, 44, 48, 0.9)),

 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%2314454B"/><path d="M0 0L100 100" stroke="%2320B2AA" stroke-width="1.5" opacity="0.3"/><path d="M100 0L0 100" stroke="%2320B2AA" stroke-width="1.5" opacity="0.3"/></svg>');

 }


 .container {

 width: 90%;

 max-width: 1200px;

 margin: 0 auto;

 padding: 0 20px;

 }


 /* Header Styles */

 header {

 background: linear-gradient(135deg, var(--dark-light), var(--dark));

 padding: 20px 0;

 position: fixed;

 width: 100%;

 top: 0;

 z-index: 1000;

 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);

 backdrop-filter: blur(10px);

 border-bottom: 2px solid var(--turquoise);

 }


 nav {

 display: flex;

 justify-content: space-between;

 align-items: center;

 }


 .logo {

 display: flex;

 align-items: center;

 gap: 12px;

 }


 .logo-img {

 width: 50px;

 height: 50px;

 background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));

 border-radius: 12px;

 display: flex;

 align-items: center;

 justify-content: center;

 font-size: 24px;

 color: var(--dark);

 box-shadow: 0 4px 10px rgba(32, 178, 170, 0.3);

 }


 .logo h1 {

 background: linear-gradient(45deg, var(--turquoise), var(--turquoise-light));

 -webkit-background-clip: text;

 background-clip: text;

 color: transparent;

 font-size: 28px;

 font-weight: 800;

 letter-spacing: 1px;

 text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

 }


 .nav-links {

 display: flex;

 list-style: none;

 }


 .nav-links li {

 margin-left: 30px;

 }


 .nav-links a {

 color: var(--turquoise-light);

 text-decoration: none;

 font-weight: 600;

 transition: all 0.3s;

 font-size: 16px;

 position: relative;

 padding: 5px 0;

 }


 .nav-links a:after {

 content: '';

 position: absolute;

 width: 0;

 height: 3px;

 background: var(--turquoise);

 left: 0;

 bottom: 0;

 transition: width 0.3s;

 border-radius: 2px;

 }


 .nav-links a:hover {

 color: var(--turquoise);

 }


 .nav-links a:hover:after {

 width: 100%;

 }


 .server-ip {

 background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));

 color: var(--dark);

 padding: 12px 22px;

 border-radius: 10px;

 font-weight: bold;

 cursor: pointer;

 transition: all 0.3s;

 box-shadow: 0 4px 10px rgba(32, 178, 170, 0.3);

 display: flex;

 align-items: center;

 gap: 8px;

 border: none;

 font-size: 15px;

 }


 .server-ip:hover {

 transform: translateY(-3px);

 box-shadow: 0 6px 15px rgba(32, 178, 170, 0.5);

 }


 /* Hero Section */

 .hero {

 height: 100vh;

 display: flex;

 align-items: center;

 justify-content: center;

 text-align: center;

 background: linear-gradient(rgba(10, 44, 48, 0.8), rgba(10, 44, 48, 0.9));

 margin-top: 80px;

 position: relative;

 overflow: hidden;

 }


 .hero::before {

 content: '';

 position: absolute;

 top: 0;

 left: 0;

 width: 100%;

 height: 100%;

 background: 

 radial-gradient(circle at 20% 30%, rgba(64, 224, 208, 0.15) 0%, transparent 50%),

 radial-gradient(circle at 80% 70%, rgba(32, 178, 170, 0.1) 0%, transparent 50%);

 z-index: -1;

 }


 .hero-content {

 max-width: 800px;

 z-index: 1;

 animation: fadeIn 1s ease-out;

 }


 @keyframes fadeIn {

 from { opacity: 0; transform: translateY(20px); }

 to { opacity: 1; transform: translateY(0); }

 }


 .hero h2 {

 font-size: 3.5rem;

 margin-bottom: 20px;

 background: linear-gradient(45deg, var(--turquoise), var(--accent));

 -webkit-background-clip: text;

 background-clip: text;

 color: transparent;

 text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);

 font-weight: 800;

 }


 .hero p {

 font-size: 1.2rem;

 margin-bottom: 30px;

 max-width: 600px;

 margin-left: auto;

 margin-right: auto;

 color: var(--turquoise-light);

 }


 .btn {

 display: inline-block;

 background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));

 color: var(--dark);

 padding: 16px 38px;

 border-radius: 10px;

 text-decoration: none;

 font-weight: bold;

 transition: all 0.3s;

 border: none;

 cursor: pointer;

 font-size: 16px;

 box-shadow: 0 5px 15px rgba(32, 178, 170, 0.4);

 position: relative;

 overflow: hidden;

 }


 .btn::before {

 content: '';

 position: absolute;

 top: 0;

 left: -100%;

 width: 100%;

 height: 100%;

 background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);

 transition: 0.5s;

 }


 .btn:hover {

 transform: translateY(-3px);

 box-shadow: 0 8px 20px rgba(32, 178, 170, 0.6);

 }


 .btn:hover::before {

 left: 100%;

 }


 .btn i {

 margin-right: 8px;

 }


 /* Sections */

 section {

 padding: 100px 0;

 }


 .section-title {

 text-align: center;

 margin-bottom: 50px;

 font-size: 2.5rem;

 background: linear-gradient(45deg, var(--turquoise), var(--turquoise-light));

 -webkit-background-clip: text;

 background-clip: text;

 color: transparent;

 font-weight: 800;

 position: relative;

 padding-bottom: 15px;

 }


 .section-title:after {

 content: '';

 position: absolute;

 width: 100px;

 height: 4px;

 background: linear-gradient(90deg, transparent, var(--turquoise), transparent);

 bottom: 0;

 left: 50%;

 transform: translateX(-50%);

 border-radius: 2px;

 }


 /* About Section */

 .about-content {

 display: flex;

 flex-wrap: wrap;

 justify-content: space-between;

 align-items: center;

 gap: 40px;

 }


 .about-text {

 flex: 1;

 min-width: 300px;

 }


 .about-text p {

 margin-bottom: 20px;

 font-size: 1.1rem;

 color: var(--turquoise-light);

 }


 .about-image {

 flex: 1;

 min-width: 300px;

 border: 4px solid var(--turquoise);

 border-radius: 15px;

 overflow: hidden;

 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

 transition: all 0.3s;

 position: relative;

 }


 .about-image::before {

 content: '';

 position: absolute;

 top: 0;

 left: 0;

 right: 0;

 bottom: 0;

 background: linear-gradient(45deg, rgba(64, 224, 208, 0.1), rgba(32, 178, 170, 0.1));

 z-index: 1;

 }


 .about-image:hover {

 transform: scale(1.03);

 box-shadow: 0 15px 40px rgba(32, 178, 170, 0.4);

 }


 .about-image img {

 width: 100%;

 height: auto;

 display: block;

 }


 /* Features Section */

 .features {

 background: linear-gradient(to bottom, var(--dark-light), var(--dark));

 position: relative;

 overflow: hidden;

 }


 .features::before {

 content: '';

 position: absolute;

 top: 0;

 left: 0;

 width: 100%;

 height: 100%;

 background: 

 radial-gradient(circle at 10% 20%, rgba(64, 224, 208, 0.1) 0%, transparent 30%),

 radial-gradient(circle at 90% 80%, rgba(32, 178, 170, 0.1) 0%, transparent 30%);

 z-index: 0;

 }


 .features-grid {

 display: grid;

 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

 gap: 30px;

 position: relative;

 z-index: 1;

 }


 .feature-card {

 background: linear-gradient(145deg, var(--dark-light), var(--dark));

 border-radius: 15px;

 padding: 30px;

 text-align: center;

 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);

 transition: all 0.3s;

 border-left: 4px solid var(--turquoise);

 position: relative;

 overflow: hidden;

 }


 .feature-card::before {

 content: '';

 position: absolute;

 top: 0;

 left: 0;

 width: 100%;

 height: 100%;

 background: linear-gradient(45deg, rgba(64, 224, 208, 0.05), transparent);

 z-index: 0;

 }


 .feature-card:hover {

 transform: translateY(-10px);

 box-shadow: 0 15px 30px rgba(32, 178, 170, 0.3);

 }


 .feature-icon {

 font-size: 50px;

 margin-bottom: 20px;

 color: var(--turquoise);

 position: relative;

 z-index: 1;

 text-shadow: 0 0 15px rgba(64, 224, 208, 0.5);

 }


 .feature-card h3 {

 margin-bottom: 15px;

 color: var(--turquoise);

 font-size: 1.5rem;

 position: relative;

 z-index: 1;

 }


 .feature-card p {

 color: var(--turquoise-light);

 position: relative;

 z-index: 1;

 }


 /* How to Join Section */

 .steps {

 display: flex;

 flex-wrap: wrap;

 justify-content: space-around;

 gap: 20px;

 }


 .step {

 flex: 1;

 min-width: 250px;

 text-align: center;

 padding: 30px 20px;

 background: linear-gradient(145deg, var(--dark-light), var(--dark));

 border-radius: 15px;

 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

 transition: all 0.3s;

 border-top: 3px solid var(--turquoise);

 }


 .step:hover {

 transform: translateY(-5px);

 box-shadow: 0 12px 25px rgba(32, 178, 170, 0.3);

 }


 .step-number {

 width: 60px;

 height: 60px;

 background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));

 border-radius: 50%;

 display: flex;

 align-items: center;

 justify-content: center;

 margin: 0 auto 20px;

 font-size: 24px;

 font-weight: bold;

 color: var(--dark);

 box-shadow: 0 4px 10px rgba(32, 178, 170, 0.3);

 }


 .step h3 {

 color: var(--turquoise);

 margin-bottom: 10px;

 }


 .step p {

 color: var(--turquoise-light);

 }


 /* Server Status */

 .server-status {

 text-align: center;

 background: linear-gradient(145deg, var(--dark-light), var(--dark));

 padding: 40px;

 border-radius: 15px;

 margin-bottom: 40px;

 box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

 border: 2px solid var(--turquoise);

 position: relative;

 }


 .server-status::before {

 content: '';

 position: absolute;

 top: 10px;

 left: 10px;

 right: 10px;

 bottom: 10px;

 border: 1px solid rgba(64, 224, 208, 0.2);

 border-radius: 10px;

 pointer-events: none;

 }


 .status-online {

 color: var(--online);

 font-weight: bold;

 font-size: 1.2rem;

 }


 .status-offline {

 color: var(--offline);

 font-weight: bold;

 font-size: 1.2rem;

 }


 .status-loading {

 color: var(--turquoise);

 font-weight: bold;

 font-size: 1.2rem;

 }


 .players-online {

 margin-top: 10px;

 font-size: 1.2rem;

 color: var(--turquoise-light);

 }


 .player-list {

 margin-top: 15px;

 padding: 15px;

 background: rgba(0, 0, 0, 0.2);

 border-radius: 10px;

 max-height: 200px;

 overflow-y: auto;

 border: 1px solid rgba(64, 224, 208, 0.2);

 }


 .player-list h4 {

 margin-bottom: 10px;

 color: var(--turquoise);

 }


 .player-list ul {

 list-style: none;

 display: flex;

 flex-wrap: wrap;

 gap: 10px;

 justify-content: center;

 }


 .player-list li {

 background: rgba(64, 224, 208, 0.15);

 padding: 6px 12px;

 border-radius: 20px;

 font-size: 0.9rem;

 color: var(--turquoise-light);

 border: 1px solid rgba(64, 224, 208, 0.3);

 }


 /* Rules Section */

 .rules-list {

 background: linear-gradient(145deg, var(--dark-light), var(--dark));

 padding: 30px;

 border-radius: 15px;

 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

 border-left: 4px solid var(--turquoise);

 }


 .rules-list ol {

 margin-left: 20px;

 font-size: 1.1rem;

 }


 .rules-list li {

 margin-bottom: 15px;

 padding-left: 10px;

 color: var(--turquoise-light);

 }


 .rules-list li::marker {

 color: var(--turquoise);

 font-weight: bold;

 }


 /* Footer */

 footer {

 background: linear-gradient(to bottom, var(--dark-light), var(--dark));

 padding: 60px 0 30px;

 text-align: center;

 border-top: 2px solid var(--turquoise);

 position: relative;

 }


 footer::before {

 content: '';

 position: absolute;

 top: 0;

 left: 0;

 width: 100%;

 height: 100%;

 background: 

 radial-gradient(circle at 20% 80%, rgba(64, 224, 208, 0.05) 0%, transparent 30%),

 radial-gradient(circle at 80% 20%, rgba(32, 178, 170, 0.05) 0%, transparent 30%);

 z-index: 0;

 }


 .footer-content {

 display: flex;

 flex-wrap: wrap;

 justify-content: space-between;

 gap: 40px;

 margin-bottom: 40px;

 position: relative;

 z-index: 1;

 }


 .footer-section {

 flex: 1;

 min-width: 300px;

 text-align: left;

 }


 .footer-section h3 {

 color: var(--turquoise);

 margin-bottom: 20px;

 font-size: 1.5rem;

 padding-bottom: 10px;

 border-bottom: 2px solid var(--turquoise);

 display: inline-block;

 }


 .footer-section p {

 margin-bottom: 10px;

 color: var(--turquoise-light);

 }


 .social-links {

 display: flex;

 gap: 15px;

 margin-top: 20px;

 }


 .social-links a {

 display: inline-flex;

 align-items: center;

 justify-content: center;

 width: 45px;

 height: 45px;

 background: linear-gradient(135deg, var(--turquoise), var(--turquoise-dark));

 color: var(--dark);

 border-radius: 50%;

 text-decoration: none;

 transition: all 0.3s;

 box-shadow: 0 4px 10px rgba(32, 178, 170, 0.3);

 }


 .social-links a:hover {

 transform: translateY(-3px);

 box-shadow: 0 6px 15px rgba(32, 178, 170, 0.5);

 }


 .copyright {

 margin-top: 40px;

 padding-top: 20px;

 border-top: 1px solid var(--gray);

 font-size: 0.9rem;

 color: var(--turquoise-light);

 position: relative;

 z-index: 1;

 }


 /* Responsive */

 @media (max-width: 768px) {

 .nav-links {

 display: none;

 }


 .hero h2 {

 font-size: 2.5rem;

 }


 .about-text, .about-image {

 flex: 100%;

 }


 .section-title {

 font-size: 2rem;

 }

 }


 /* Animation for blocks */

 .block {

 width: 30px;

 height: 30px;

 position: absolute;

 background-size: cover;

 z-index: -1;

 opacity: 0.4;

 }


 /* Animation */

 @keyframes float {

 0% { transform: translateY(0) rotate(0deg); }

 50% { transform: translateY(-20px) rotate(10deg); }

 100% { transform: translateY(0) rotate(0deg); }

 }


 .floating {

 animation: float 5s ease-in-out infinite;

 }


 /* Custom scrollbar */

 ::-webkit-scrollbar {

 width: 8px;

 }


 ::-webkit-scrollbar-track {

 background: var(--dark);

 }


 ::-webkit-scrollbar-thumb {

 background: var(--turquoise);

 border-radius: 4px;

 }


 ::-webkit-scrollbar-thumb:hover {

 background: var(--turquoise-dark);

 }

 </style>

</head>

<body>

 <!-- Header -->

 <header>

 <div class="container">

 <nav>

 <div class="logo">

 <div class="logo-img"><i class="fas fa-cube"></i></div>

 <h1>MonolithSMP</h1>

 </div>

 <ul class="nav-links">

 <li><a href="#about">О сервере</a></li>

 <li><a href="#features">Особенности</a></li>

 <li><a href="#join">Как присоединиться</a></li>

 <li><a href="#rules">Правила</a></li>

 <li><a href="#contact">Контакты</a></li>

 </ul>

 <div class="server-ip" id="copy-ip">

 <i class="fas fa-copy"></i> mc.monolithsmp.online

 </div>

 </nav>

 </div>

 </header>


 <!-- Hero Section -->

 <section class="hero">

 <div class="container">

 <div class="hero-content">

 <h2>Добро пожаловать на MonolithSMP</h2>

 <p>Присоединяйся к увлекательному выживанию с уникальными модами и дружным сообществом!</p>

 <a href="#join" class="btn"><i class="fas fa-play"></i> Играть сейчас</a>

 </div>

 </div>

 </section>


 <!-- About Section -->

 <section id="about">

 <div class="container">

 <h2 class="section-title">О нашем сервере</h2>

 <div class="about-content">

 <div class="about-text">

 <p>MonolithSMP - это ванильный сервер выживания с небольшими дополнениями для улучшения игрового опыта. Мы стремимся создать дружелюбное и welcoming сообщество для всех игроков.</p>

 <p>Наш сервер работает на последней версии Minecraft и предлагает стабильный игровой процесс без лагов. Мы регулярно обновляемся и добавляем новый контент.</p>

 <p>Присоединяйся к нам и стань частью нашего растущего сообщества! У нас регулярно проходят ивенты, соревнования и другие активности.</p>

 </div>

 <div class="about-image">

 <img src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='500' height='300' viewBox='0 0 500 300'><rect width='500' height='300' fill='%2320B2AA'/><rect x='150' y='100' width='200' height='150' fill='%230A2C30'/><rect x='200' y='150' width='100' height='100' fill='%2314454B'/><rect x='220' y='190' width='20' height='60' fill='%2350757B'/><rect x='170' y='120' width='30' height='30' fill='%2340E0D0'/><rect x='300' y='120' width='30' height='30' fill='%2340E0D0'/></svg>" alt="MonolithSMP Server">

 </div>

 </div>

 </div>

 </section>


 <!-- Features Section -->

 <section id="features" class="features">

 <div class="container">

 <h2 class="section-title">Особенности сервера</h2>

 <div class="features-grid">

 <div class="feature-card">

 <div class="feature-icon"><i class="fas fa-shield-alt"></i></div>

 <h3>Защита территории</h3>

 <p>Используйте наши плагины защиты, чтобы обезопасить свои постройки от гриферов</p>

 </div>

 <div class="feature-card">

 <div class="feature-icon"><i class="fas fa-store"></i></div>

 <h3>Экономика</h3>

 <p>Торгуйте с другими игроками и создавайте свои магазины для продажи ресурсов</p>

 </div>

 <div class="feature-card">

 <div class="feature-icon"><i class="fas fa-dragon"></i></div>

 <h3>Мобы и боссы</h3>

 <p>Сражайтесь с уникальными мобами и боссами для получения редких лутов</p>

 </div>

 <div class="feature-card">

 <div class="feature-icon"><i class="fas fa-tasks"></i></div>

 <h3>Квесты</h3>

 <p>Выполняйте ежедневные квесты и получайте ценные награды</p>

 </div>

 <div class="feature-card">

 <div class="feature-icon"><i class="fas fa-users"></i></div>

 <h3>Сообщества</h3>

 <p>Создавайте или присоединяйтесь к существующим гильдиям для совместной игры</p>

 </div>

 <div class="feature-card">

 <div class="feature-icon"><i class="fas fa-calendar-alt"></i></div>

 <h3>Регулярные ивенты</h3>

 <p>Участвуйте в PvP-турнирах, стройбаттлах и других мероприятиях</p>

 </div>

 </div>

 </div>

 </section>


 <!-- How to Join Section -->

 <section id="join">

 <div class="container">

 <h2 class="section-title">Как присоединиться</h2>

 

 <div class="server-status">

 <h3>Статус сервера:</h3>

 <p id="server-status" class="status-loading">

 <i class="fas fa-sync-alt fa-spin"></i> Проверка статуса...

 </p>

 <p class="players-online" id="players-online"></p>

 <div class="player-list" id="player-list" style="display: none;">

 <h4>Игроки онлайн:</h4>

 <ul id="players-list"></ul>

 </div>

 </div>

 

 <div class="steps">

 <div class="step">

 <div class="step-number">1</div>

 <h3>Запустите Minecraft</h3>

 <p>Убедитесь, что у вас установлена последняя версия игры</p>

 </div>

 <div class="step">

 <div class="step-number">2</div>

 <h3>Добавьте сервер</h3>

 <p>В меню "Сетевая игра" нажмите "Добавить сервер"</p>

 </div>

 <div class="step">

 <div class="step-number">3</div>

 <h3>Введите адрес</h3>

 <p>В поле "Адрес сервера" введите: mc.monolithsmp.online</p>

 </div>

 <div class="step">

 <div class="step-number">4</div>

 <h3>Присоединяйтесь!</h3>

 <p>Нажмите "Готово" и присоединяйтесь к нашему серверу</p>

 </div>

 </div>

 

 <div style="text-align: center; margin-top: 40px;">

 <a href="#" class="btn" id="direct-connect"><i class="fas fa-plug"></i> Прямое подключение</a>

 </div>

 </div>

 </section>


 <!-- Rules Section -->

 <section id="rules" class="features">

 <div class="container">

 <h2 class="section-title">Правила сервера</h2>

 <div class="rules-list">

 <ol>

 <li>Не использовать читы и любые программы, дающие преимущество в игре</li>

 <li>Уважать других игроков, не оскорблять и не провоцировать конфликты</li>

 <li>Не гриферить и не воровать чужие вещи</li>

 <li>Не использовать дюпы и баги игры</li>

 <li>Следовать указаниям администрации сервера</li>

 <li>Не спамить в чат и не использовать излишнее количество CAPS</li>

 <li>Не рекламировать другие серверы и проекты</li>

 <li>Соблюдать общие нормы поведения и морали</li>

 </ol>

 <p style="margin-top: 20px; font-style: italic; text-align: center; color: var(--turquoise);">Нарушение правил может привести к временному или перманентному бану.</p>

 </div>

 </div>

 </section>


 <!-- Footer -->

 <footer id="contact">

 <div class="container">

 <div class="footer-content">

 <div class="footer-section">

 <h3>MonolithSMP</h3>

 <p>Лучший Minecraft сервер для выживания с друзьями и увлекательными приключениями!</p>

 <p>Домен: mc.monolithsmp.online</p>

 </div>

 <div class="footer-section">

 <h3>Контакты</h3>

 <p><i class="fas fa-envelope"></i> Email: admin@monolithsmp.online</p>

 <p><i class="fab fa-discord"></i> Discord: discord.gg/monolithsmp</p>

 </div>

 <div class="footer-section">

 <h3>Мы в соцсетях</h3>

 <div class="social-links">

 <a href="#"><i class="fab fa-vk"></i></a>

 <a href="#"><i class="fab fa-discord"></i></a>

 <a href="#"><i class="fab fa-youtube"></i></a>

 <a href="#"><i class="fab fa-telegram"></i></a>

 </div>

 </div>

 </div>

 <div class="copyright">

 <p>&copy; 2023 MonolithSMP. Все права защищены.</p>

 </div>

 </div>

 </footer>


 <script>

 document.addEventListener('DOMContentLoaded', function() {

 // Копирование IP адреса

 document.getElementById('copy-ip').addEventListener('click', function() {

 const ip = 'mc.monolithsmp.online';

 navigator.clipboard.writeText(ip).then(function() {

 const originalText = this.innerHTML;

 this.innerHTML = '<i class="fas fa-check"></i> Скопировано!';

 

 setTimeout(() => {

 this.innerHTML = originalText;

 }, 2000);

 }.bind(this));

 });

 

 // Прямое подключение к серверу

 document.getElementById('direct-connect').addEventListener('click', function(e) {

 e.preventDefault();

 window.location.href = 'minecraft://?addExternalServer=MonolithSMP|mc.monolithsmp.online';

 

 setTimeout(function() {

 alert('Если Minecraft не запустился автоматически, скопируйте адрес сервера: mc.monolithsmp.online');

 }, 500);

 });

 

 // Функция для получения статуса сервера

 async function updateServerStatus() {

 const statusElement = document.getElementById('server-status');

 const playersElement = document.getElementById('players-online');

 const playerListElement = document.getElementById('player-list');

 const playersListElement = document.getElementById('players-list');

 

 statusElement.innerHTML = '<i class="fas fa-sync-alt fa-spin"></i> Проверка статуса...';

 statusElement.className = 'status-loading';

 playersElement.textContent = '';

 playerListElement.style.display = 'none';

 

 try {

 // Используем CORS proxy для обхода ограничений браузера

 const response = await fetch(`https://api.mcsrvstat.us/3/mc.monolithsmp.online`);

 const data = await response.json();

 

 if (data.online) {

 statusElement.innerHTML = '<i class="fas fa-check-circle"></i> Сервер онлайн';

 statusElement.className = 'status-online';

 

 playersElement.innerHTML = `<i class="fas fa-users"></i> Игроков онлайн: ${data.players.online}/${data.players.max}`;

 

 // Если есть информация об игроках

 if (data.players.list && data.players.list.length > 0) {

 playerListElement.style.display = 'block';

 playersListElement.innerHTML = '';

 

 data.players.list.forEach(player => {

 const li = document.createElement('li');

 li.textContent = player;

 playersListElement.appendChild(li);

 });

 }

 } else {

 statusElement.innerHTML = '<i class="fas fa-times-circle"></i> Сервер офлайн';

 statusElement.className = 'status-offline';

 playersElement.innerHTML = '<i class