site: add server section, highlights carousel, OBT/Season content

- server status cards (online/players/version) via /api/status mcstatus ping
- highlights carousel ported from old site (/highlights/ static media)
- OBT (war in Zarya, open beta event server) + Season (Prologue, Create:
  Aeronautics, year-long) sections
- nav updated, sections renumbered 01-06
This commit is contained in:
SashegDev
2026-08-20 09:15:14 +00:00
parent b4bd76ed35
commit c628397850
20 changed files with 465 additions and 7 deletions
+208 -2
View File
@@ -346,6 +346,209 @@ ul { list-style: none; }
font-weight: 300;
}
/* ---------- Server status ---------- */
.server {
background:
radial-gradient(800px 400px at 15% 10%, rgba(233, 69, 96, 0.08), transparent 60%),
radial-gradient(800px 400px at 85% 90%, rgba(233, 69, 96, 0.05), transparent 60%);
}
.server-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.server-card {
background: rgba(22, 22, 31, 0.85);
backdrop-filter: blur(16px);
border: 1px solid var(--border);
border-radius: 16px;
padding: 30px 28px;
transition: transform .25s ease, border-color .25s ease;
}
.server-card:hover { transform: translateY(-4px); border-color: rgba(233, 69, 96, 0.35); }
.server-card-label {
font-size: 12px;
font-weight: 600;
letter-spacing: 2px;
text-transform: uppercase;
color: var(--text-secondary);
margin-bottom: 14px;
}
.server-card-value {
font-size: 26px;
font-weight: 800;
line-height: 1.1;
display: flex;
align-items: center;
gap: 10px;
}
.server-card-sub { font-size: 13px; color: var(--text-secondary); margin-top: 10px; }
.server-season { color: var(--text-secondary); font-size: 18px; font-weight: 600; }
.status-dot {
width: 12px;
height: 12px;
border-radius: 50%;
flex: none;
display: inline-block;
}
.status-dot--online { background: #22c55e; box-shadow: 0 0 16px rgba(34, 197, 94, 0.8); animation: pulse 2s infinite; }
.status-dot--offline { background: #ef4444; box-shadow: 0 0 16px rgba(239, 68, 68, 0.8); }
.status-dot--loading { background: var(--text-secondary); animation: pulse 1.2s infinite; }
.status-text--online { color: #22c55e; }
.status-text--offline { color: #ef4444; }
/* ---------- Highlights carousel ---------- */
.carousel {
position: relative;
border-radius: 20px;
overflow: hidden;
background: var(--bg-card);
border: 1px solid var(--border);
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.carousel-track {
display: flex;
transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
flex: 0 0 100%;
min-width: 100%;
position: relative;
background: #000;
}
.carousel-slide img,
.carousel-slide video {
width: 100%;
height: auto;
max-height: 640px;
object-fit: contain;
display: block;
}
.carousel-caption {
position: absolute;
left: 20px;
bottom: 20px;
background: rgba(7, 7, 10, 0.7);
backdrop-filter: blur(10px);
border: 1px solid var(--border);
color: var(--text);
font-size: 13px;
padding: 8px 14px;
border-radius: 8px;
}
.carousel-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 5;
width: 52px;
height: 52px;
border-radius: 50%;
border: 1px solid var(--border);
background: rgba(7, 7, 10, 0.6);
backdrop-filter: blur(8px);
color: var(--text);
font-size: 28px;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background .2s ease, transform .15s ease, color .2s ease;
}
.carousel-btn:hover { background: var(--accent); color: #fff; }
.carousel-btn--prev { left: 16px; }
.carousel-btn--next { right: 16px; }
.carousel-btn:active { transform: translateY(-50%) scale(0.92); }
.carousel-dots {
display: flex;
justify-content: center;
gap: 8px;
padding: 18px 0;
position: absolute;
bottom: 0;
left: 0;
right: 0;
z-index: 5;
}
.carousel-dot {
width: 9px;
height: 9px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.25);
cursor: pointer;
transition: background .2s ease, transform .2s ease;
}
.carousel-dot.active { background: var(--accent); transform: scale(1.3); }
/* ---------- Season theme grid ---------- */
.theme {
background: var(--bg-surface);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}
.theme-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.theme-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 30px;
text-align: center;
transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.theme-card:hover {
transform: translateY(-4px);
border-color: rgba(233, 69, 96, 0.35);
background: #1a1a25;
}
.theme-tag {
display: inline-block;
font-size: 11px;
font-weight: 600;
letter-spacing: 1px;
text-transform: uppercase;
color: var(--accent);
background: rgba(233, 69, 96, 0.12);
padding: 5px 10px;
border-radius: 6px;
margin-bottom: 16px;
}
.theme-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.theme-card p { font-size: 14px; color: var(--text-secondary); font-weight: 300; }
/* ---------- Features ---------- */
.features-grid {
@@ -595,16 +798,19 @@ ul { list-style: none; }
/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
.features-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
.features-grid, .news-grid, .theme-grid { grid-template-columns: repeat(2, 1fr); }
.server-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
.nav-links { display: none; }
.section { padding: 90px 20px; }
.features-grid, .news-grid { grid-template-columns: 1fr; }
.features-grid, .news-grid, .theme-grid { grid-template-columns: 1fr; }
.server-stats { grid-template-columns: 1fr; }
.hero { padding-top: 140px; }
.hero-diamond--1 { right: -10%; }
.download-card { padding: 26px; }
.carousel-btn { width: 42px; height: 42px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {