* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #e6ecff;
    background: #090d1a;
    overflow-x: hidden;
}

/* Header Navigation */
.head_nav_block {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    background: rgba(9, 13, 26, 0.92);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.a34 {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    text-decoration: none;
    color: #e6ecff;
    position: relative;
    transition: 0.3s;
}

.a34:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4e2e;
    transition: 0.3s;
}

.a34:hover {
    color: #ff4e2e;
}

.a34:hover:after {
    width: 100%;
}

.bot {
    background: none;
    border: 2px solid #ff4e2e;
    padding: 12px 30px;
    color: #ff4e2e;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bot:hover {
    background: #ff4e2e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 78, 46, 0.3);
}

/* Main Section */
.main {
    background: url('background.png') center 50% / cover no-repeat;
    min-height: 600px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 100px 50px 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

.main:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 12, 24, 0.72), rgba(20, 29, 53, 0.6));
}

@keyframes move {
    from { transform: translateX(0) translateY(0); }
    to { transform: translateX(100px) translateY(100px); }
}

.aa {
    max-width: 600px;
    z-index: 1;
}

.h1 {
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.industrial {
    color: #ffd700;
    display: block;
    font-size: 40px;
}

.p1 {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.header-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.but {
    background-color: #ff4e2e;
    padding: 15px 35px;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.but:hover {
    background-color: #ff3110;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 78, 46, 0.4);
}

.but-secondary {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 35px;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
}

.but-secondary:hover {
    background: white;
    color: #1b2342;
    transform: translateY(-2px);
}

.header-image img {
    max-width: 400px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Server Status Header */
.server-status-header {
    margin-top: 20px;
}

.header-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
}

.header-status.online {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
}

.header-status.offline {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.online .status-dot {
    background: #4CAF50;
    box-shadow: 0 0 10px #4CAF50;
}

.offline .status-dot {
    background: #f44336;
    box-shadow: 0 0 10px #f44336;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Server Status Container */
.about-section {
    padding: 80px 20px;
    background: #0f1629;
}

.main_img {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
}

.main_img h2 {
    font-size: 40px;
    margin-bottom: 12px;
    color: #e6ecff;
}

.about-subtitle {
    font-size: 18px;
    color: #9fb2e5;
    line-height: 1.6;
}

.server-status-container {
    max-width: 800px;
    margin: 40px auto;
}

.server-status-card {
    background: #141d35;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    transition: 0.3s;
    border: 1px solid rgba(255,78,46,0.25);
}

.server-status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(255,78,46,0.15);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #25304e;
}

.status-header h3 {
    color: #e6ecff;
    font-size: 24px;
}

.update-badge {
    background: rgba(76, 175, 80, 0.18);
    color: #4CAF50;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.status-content {
    min-height: 200px;
}

.server-online, .server-offline, .server-error {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.status-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.status-circle.offline {
    background: #f44336;
    box-shadow: 0 0 20px #f44336;
    animation: none;
}

.status-big {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.online-text {
    color: #4CAF50;
    font-size: 28px;
    font-weight: 700;
}

.offline-text {
    color: #f44336;
    font-size: 28px;
    font-weight: 700;
}

.player-count {
    font-size: 24px;
    color: #9fb2e5;
}

.server-motd {
    font-size: 18px;
    color: #e6ecff;
    margin-bottom: 10px;
    font-weight: 500;
}

.server-version, .server-ping {
    color: #9fb2e5;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.player-list {
    margin-top: 20px;
    padding: 15px;
    background: #1b2642;
    border-radius: 15px;
}

.player-list h4 {
    margin-bottom: 10px;
    color: #e6ecff;
}

.player-item {
    padding: 8px;
    border-bottom: 1px solid #2a3657;
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-item:last-child {
    border-bottom: none;
}

.player-item i {
    color: #ff4e2e;
}

.server-progress {
    margin-top: 20px;
}

.progress-bar {
    height: 10px;
    background: #2a3657;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4e2e, #ff8a5c);
    border-radius: 10px;
    transition: width 0.3s;
}

.progress-text {
    text-align: right;
    color: #9fb2e5;
    font-size: 14px;
}

.server-ip {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #101a33 0%, #1b2342 100%);
    border-radius: 15px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 500;
}

.copy-ip {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.copy-ip:hover {
    background: white;
    color: #1b2342;
}

.status-footer {
    display: flex;
    gap: 30px;
    color: #9fb2e5;
    font-size: 14px;
}

/* Features Block */
.main_block {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.main_elom {
    text-align: center;
    padding: 30px;
    background: #141d35;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: 0.3s;
    height: 430px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main_elom:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255,78,46,0.1);
}

.main_elom img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.main_elom h3 {
    color: #d8e2ff;
    line-height: 1.6;
    font-size: 16px;
}

/* News Section */
.news-section {
    padding: 80px 20px;
    background: #0b1120;
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
    color: #e6ecff;
}

.highlight {
    color: #ff4e2e;
    position: relative;
}

.highlight:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff4e2e, transparent);
}

.news-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: #141d35;
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s;
    border: 1px solid #2a3657;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #ff4e2e;
    box-shadow: 0 20px 40px rgba(255,78,46,0.1);
}

.news-date {
    color: #ff4e2e;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.news-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #e6ecff;
}

.news-card p {
    color: #9fb2e5;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #ff4e2e;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 20px;
    background: #0f1629;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Launcher Section */
.launcher-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #101a33 0%, #1b2342 100%);
    color: white;
    text-align: center;
}

.launcher-content {
    max-width: 800px;
    margin: 0 auto;
}

.launcher-content h2 {
    font-size: 50px;
    margin-bottom: 20px;
}

.launcher-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.launcher-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.launcher-buttons .button {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    min-width: 150px;
}

.launcher-buttons .button:hover {
    background: white;
    color: #1b2342;
}

.small-text {
    font-size: 14px;
    opacity: 0.8;
}

/* Main Cost Section */
.main_cost {
    background: linear-gradient(135deg, #101a33 0%, #1b2342 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.main_cost h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.main_cost p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #0a0f1d;
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ff4e2e;
}

.footer-section p {
    color: #b0b0b0;
    line-height: 1.6;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-section a:hover {
    color: #ff4e2e;
    transform: translateX(5px);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-links a:hover {
    background: #ff4e2e;
    transform: translateY(-5px);
}

.social-links a i {
    color: white;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #b0b0b0;
}

/* Buttons */
.button-container {
    text-align: center;
    margin: 40px 0;
}

.button {
    background-color: #ff4e2e;
    padding: 15px 40px;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.button:hover {
    background-color: #ff3110;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 78, 46, 0.3);
}

.button-small {
    background-color: #ff4e2e;
    padding: 10px 25px;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.button-small:hover {
    background-color: #ff3110;
    transform: translateY(-2px);
}

/* Loader */
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ff4e2e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.status-loader {
    text-align: center;
    padding: 40px;
}

.status-loader p {
    color: #9fb2e5;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main_block {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .head_nav_block {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    
    .h1 {
        font-size: 40px;
    }

    .main_img h2 {
        font-size: 32px;
    }
    
    .industrial {
        font-size: 30px;
    }
    
    .header-buttons {
        justify-content: center;
    }
    
    .main_block {
        grid-template-columns: 1fr;
    }
    
    .news-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .launcher-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .status-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .server-ip {
        flex-direction: column;
        text-align: center;
    }
    
    .copy-ip {
        margin-left: 0;
    }
}

/* Victorian Theme */
:root {
    --victorian-bg: #110c08;
    --victorian-bg-alt: #1a130d;
    --victorian-surface: #241a12;
    --victorian-surface-soft: #2d2117;
    --victorian-text: #efe0bf;
    --victorian-muted: #c8b089;
    --victorian-accent: #c9a15e;
    --victorian-accent-deep: #8a6531;
    --victorian-border: #5a4328;
}

body {
    font-family: "VT323", "Roboto", monospace;
    color: var(--victorian-text);
    background: radial-gradient(circle at top, #302316 0%, #170f0a 45%, #0b0704 100%);
    letter-spacing: 0.02em;
}

h1, h2, h3, h4,
.h1, .section-title, .main_img h2,
.launcher-content h2, .main_cost h3, .status-header h3 {
    font-family: "Press Start 2P", "Cinzel", monospace;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.head_nav_block {
    background: rgba(23, 16, 11, 0.94);
    border-bottom: 1px solid var(--victorian-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.a34 {
    color: var(--victorian-text);
    font-family: "Press Start 2P", monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.a34 i {
    font-size: 12px;
}

.a34:after {
    background: var(--victorian-accent);
}

.a34:hover {
    color: var(--victorian-accent);
}

.main {
    background: url('background.png') center 40% / cover no-repeat;
    border-top: 1px solid var(--victorian-border);
    border-bottom: 1px solid var(--victorian-border);
}

.main:before {
    background: linear-gradient(135deg, rgba(27, 18, 11, 0.84), rgba(59, 39, 23, 0.68));
}

.industrial {
    color: var(--victorian-accent);
    animation-delay: 0.2s;
}

.h1 {
    display: inline-block;
    color: #f2e3c4;
    filter: drop-shadow(0 5px 18px rgba(0, 0, 0, 0.42));
    animation: victorian-title-fallback 3.2s ease-in-out infinite;
}

.industrial {
    animation: victorian-title-fallback 3.2s ease-in-out infinite;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .h1,
    .industrial {
        color: transparent;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        -webkit-background-clip: text;
        background-size: 100% 100%, 320% 100%;
        background-repeat: no-repeat, no-repeat;
        background-position: 0 0, 170% 50%;
        animation:
            victorian-title-glint 2.6s linear infinite,
            victorian-title-fallback 2.6s ease-in-out infinite;
    }

    .h1 {
        background-image:
            linear-gradient(180deg, #f2dab1 0%, #bd9057 100%),
            linear-gradient(
                115deg,
                rgba(255, 255, 255, 0) 36%,
                rgba(255, 245, 219, 0.94) 50%,
                rgba(255, 255, 255, 0) 64%
            );
    }

    .industrial {
        background-image:
            linear-gradient(180deg, #deb071 0%, #855b2c 100%),
            linear-gradient(
                115deg,
                rgba(255, 255, 255, 0) 36%,
                rgba(255, 236, 196, 0.92) 50%,
                rgba(255, 255, 255, 0) 64%
            );
        animation-delay: 0.22s;
    }
}

@keyframes victorian-title-glint {
    0%, 12% {
        background-position: 0 0, 170% 50%;
    }
    56%, 100% {
        background-position: 0 0, -130% 50%;
    }
}

@keyframes victorian-title-fallback {
    0%, 16%, 100% {
        text-shadow:
            0 5px 18px rgba(0, 0, 0, 0.42),
            0 0 0 rgba(255, 238, 204, 0);
        opacity: 0.96;
    }
    34% {
        text-shadow:
            0 5px 18px rgba(0, 0, 0, 0.42),
            0 0 18px rgba(255, 235, 196, 0.42);
        opacity: 1;
    }
    46% {
        text-shadow:
            0 5px 18px rgba(0, 0, 0, 0.42),
            0 0 30px rgba(255, 241, 214, 0.62);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .h1,
    .industrial {
        will-change: background-position, text-shadow;
    }
}

.p1 {
    font-family: "VT323", "Roboto", monospace;
    color: #f6ebd4;
    opacity: 1;
    font-size: clamp(24px, 2.35vw, 36px);
    font-weight: 600;
    line-height: 1.45;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.header-image img {
    width: 240px;
    max-width: 92vw;
    margin-top: 56px;
    filter: sepia(0.35) drop-shadow(0 14px 30px rgba(0, 0, 0, 0.45));
}

.about-section,
.news-section,
.gallery-section {
    background: var(--victorian-bg-alt);
}

.map-section {
    padding: 80px 20px;
    background: var(--victorian-bg);
}

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

.map-content p {
    font-family: "VT323", "Roboto", monospace;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.45;
    color: var(--victorian-muted);
    max-width: 980px;
    margin: 0 auto;
}

.map-actions {
    margin-top: 26px;
}

.map-open-btn {
    text-decoration: none;
}

.server-status-card,
.main_elom,
.news-card {
    background: var(--victorian-surface);
    border: 1px solid var(--victorian-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.server-status-container {
    max-width: 380px;
    margin: 32px auto 40px;
}

.server-status-card {
    padding: 12px;
    border-radius: 22px;
    background: #030b19;
    border: 1px solid rgba(80, 123, 186, 0.45);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.server-status-card:hover {
    transform: none;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.status-content {
    min-height: 0;
}

.status-card-compact {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(105, 142, 196, 0.35);
    background:
        radial-gradient(circle at 20% -10%, rgba(63, 112, 199, 0.28), transparent 52%),
        linear-gradient(180deg, #061328 0%, #040a15 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 10px 24px rgba(0, 0, 0, 0.45);
}

.status-card-compact:after {
    content: "HUBAR INDUSTRIAL";
    position: absolute;
    left: 14px;
    bottom: 42px;
    font-family: "Press Start 2P", monospace;
    font-size: 24px;
    line-height: 1.1;
    color: rgba(32, 55, 91, 0.23);
    letter-spacing: 0.06em;
    pointer-events: none;
}

.compact-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.compact-online {
    display: flex;
    align-items: center;
    gap: 10px;
}

.compact-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1fd57e;
    box-shadow: 0 0 10px rgba(31, 213, 126, 0.95);
}

.compact-count {
    font-family: "Press Start 2P", monospace;
    font-size: 48px;
    line-height: 1;
    letter-spacing: 0;
    color: #f4f8ff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.compact-brand {
    font-family: "Press Start 2P", monospace;
    font-size: 44px;
    line-height: 1;
    color: #f4f8ff;
}

.compact-version-track {
    position: relative;
    z-index: 2;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.compact-version-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    min-width: 88px;
    background: linear-gradient(90deg, #ff8d72, #ff6a56);
    transition: width 0.35s ease;
}

.compact-version-label {
    position: relative;
    z-index: 1;
    padding: 0 10px;
    font-family: "Press Start 2P", monospace;
    font-size: 10px;
    color: #ffffff;
    white-space: nowrap;
}

.compact-name {
    position: relative;
    z-index: 2;
    font-family: "VT323", "Roboto", monospace;
    font-size: 38px;
    line-height: 1;
    color: #f1f6ff;
    margin-bottom: 8px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.compact-ip {
    position: relative;
    z-index: 2;
    font-family: "Press Start 2P", monospace;
    font-size: 11px;
    color: #dae6fb;
    letter-spacing: 0.02em;
}

.status-card-compact.offline .compact-dot {
    background: #ff5a5a;
    box-shadow: 0 0 10px rgba(255, 90, 90, 0.95);
}

.status-card-compact.offline .compact-version-fill {
    background: linear-gradient(90deg, #a33b3b, #d35353);
}

.status-card-compact.error .compact-dot {
    background: #ffbe5c;
    box-shadow: 0 0 10px rgba(255, 190, 92, 0.95);
}

.status-card-compact.error .compact-version-fill {
    background: linear-gradient(90deg, #b17f30, #df9c4a);
}

.compact-retry {
    margin-top: 10px;
    padding: 9px 14px;
    font-size: 10px;
}

.main_img h2,
.status-header h3,
.section-title,
.main_elom h3,
.news-card h3,
.server-motd {
    color: var(--victorian-text);
}


.applcations {
  background-color: #111;
  color: #fff;
}

.main_block .main_elom:nth-child(1) {
    background: linear-gradient(160deg, #5b1111 0%, #2b0d10 100%);
    border-color: #a43d3d;
}

.main_block .main_elom:nth-child(2) {
    background: linear-gradient(160deg, #6a3008 0%, #2e1808 100%);
    border-color: #b7652c;
}

.main_block .main_elom:nth-child(3) {
    background: linear-gradient(160deg, #68510b 0%, #2c2208 100%);
    border-color: #bda038;
}

.main_block .main_elom .feature-title {
    font-family: "Press Start 2P", monospace;
    letter-spacing: 0.04em;
    line-height: 1.25;
    font-size: 16px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.main_block .main_elom .feature-desc {
    font-family: "VT323", "Roboto", monospace;
    letter-spacing: 0.02em;
    line-height: 1.35;
    font-size: 22px;
    color: #f0e3c8;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

.main_block .main_elom:nth-child(4) {
    background: linear-gradient(160deg, #1d4d18 0%, #132a0f 100%);
    border-color: #4ea549;
}

.about-subtitle,
.server-version,
.server-ping,
.player-count,
.progress-text,
.status-footer,
.news-card p,
.footer-section p,
.footer-section a {
    font-family: "VT323", "Roboto", monospace;
    color: var(--victorian-muted);
}

.status-header {
    border-bottom: 2px solid var(--victorian-border);
}

.player-list {
    background: var(--victorian-surface-soft);
}

.player-item {
    border-bottom: 1px solid #3e2e1d;
}

.progress-bar {
    background: #3a2919;
}

.progress-fill {
    background: linear-gradient(90deg, var(--victorian-accent), #e2bf84);
}

.server-ip,
.launcher-section,
.main_cost {
    background: linear-gradient(135deg, #352415 0%, #1a110b 100%);
}

.main_cost h3 {
    font-size: clamp(30px, 3.1vw, 48px);
    margin-bottom: 18px;
}

.main_cost p {
    font-size: clamp(18px, 1.65vw, 28px);
    line-height: 1.45;
    max-width: 1200px;
    margin: 0 auto 28px;
}

.update-badge {
    background: rgba(201, 161, 94, 0.14);
    color: var(--victorian-accent);
    border: 1px solid rgba(201, 161, 94, 0.45);
}

.highlight {
    color: var(--victorian-accent);
}

.highlight:after {
    background: linear-gradient(90deg, var(--victorian-accent), transparent);
}

.news-date,
.player-item i {
    color: var(--victorian-accent);
}

.bot {
    border: 1px solid var(--victorian-accent);
    color: var(--victorian-accent);
    border-radius: 6px;
    font-family: "Press Start 2P", monospace;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.bot:hover {
    background: var(--victorian-accent);
    color: #1a120a;
    box-shadow: 0 8px 24px rgba(201, 161, 94, 0.35);
}

.but,
.button,
.button-small {
    background: linear-gradient(180deg, var(--victorian-accent), var(--victorian-accent-deep));
    color: #1a120a;
    border: 1px solid rgba(239, 224, 191, 0.3);
    border-radius: 6px;
    font-family: "Press Start 2P", monospace;
    font-size: clamp(11px, 0.85vw, 13px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.but:hover,
.button:hover,
.button-small:hover {
    background: linear-gradient(180deg, #d5af70, #9a7239);
}

.header-buttons .but {
    position: relative;
    overflow: hidden;
    border: 1px solid #f2d59f;
    box-shadow:
        0 0 0 1px rgba(255, 237, 198, 0.35) inset,
        0 0 24px rgba(201, 161, 94, 0.42),
        0 0 42px rgba(115, 79, 35, 0.4);
    animation: hoi4-focus-pulse 2.2s ease-in-out infinite;
}

.header-buttons .but:before {
    content: '';
    position: absolute;
    inset: -2px;
    border: 1px solid rgba(255, 227, 170, 0.55);
    opacity: 0.45;
    pointer-events: none;
    animation: hoi4-focus-outline 1.8s ease-in-out infinite;
}

.header-buttons .but:after {
    content: '';
    position: absolute;
    top: 0;
    left: -42%;
    width: 30%;
    height: 100%;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 246, 214, 0.9) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-18deg);
    pointer-events: none;
    animation: hoi4-focus-sweep 2.2s ease-in-out infinite;
}

.header-buttons .but:hover {
    box-shadow:
        0 0 0 1px rgba(255, 245, 220, 0.5) inset,
        0 0 30px rgba(220, 183, 113, 0.56),
        0 0 56px rgba(130, 88, 34, 0.45);
}

.header-buttons .but i {
    color: #2b1b0f;
}

@keyframes hoi4-focus-pulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow:
            0 0 0 1px rgba(255, 237, 198, 0.35) inset,
            0 0 18px rgba(201, 161, 94, 0.34),
            0 0 34px rgba(115, 79, 35, 0.32);
    }
    50% {
        transform: translateY(-1px);
        box-shadow:
            0 0 0 1px rgba(255, 245, 220, 0.45) inset,
            0 0 28px rgba(220, 183, 113, 0.52),
            0 0 52px rgba(130, 88, 34, 0.44);
    }
}

@keyframes hoi4-focus-outline {
    0%, 100% {
        opacity: 0.35;
    }
    50% {
        opacity: 0.75;
    }
}

@keyframes hoi4-focus-sweep {
    0%, 42%, 100% {
        left: -42%;
        opacity: 0;
    }
    50% {
        opacity: 0.9;
    }
    88% {
        left: 122%;
        opacity: 0.95;
    }
}

.but-secondary,
.copy-ip,
.launcher-buttons .button {
    background: rgba(24, 16, 11, 0.45);
    border: 1px solid var(--victorian-accent);
    color: var(--victorian-text);
    border-radius: 6px;
}

.but-secondary:hover,
.copy-ip:hover,
.launcher-buttons .button:hover {
    background: var(--victorian-accent);
    color: #1a120a;
}

.launcher-buttons .button.launcher-attention {
    animation: launcherAttentionPulse 1.4s ease-in-out 3;
    box-shadow:
        0 0 0 1px rgba(255, 243, 219, 0.55) inset,
        0 0 20px rgba(255, 211, 132, 0.62),
        0 0 38px rgba(228, 161, 64, 0.5);
}

@keyframes launcherAttentionPulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow:
            0 0 0 1px rgba(255, 243, 219, 0.3) inset,
            0 0 12px rgba(255, 211, 132, 0.35),
            0 0 18px rgba(228, 161, 64, 0.28);
    }
    50% {
        transform: translateY(-1px) scale(1.02);
        box-shadow:
            0 0 0 1px rgba(255, 243, 219, 0.65) inset,
            0 0 24px rgba(255, 219, 148, 0.75),
            0 0 46px rgba(228, 161, 64, 0.62);
    }
}

footer {
    background: #0d0806;
    border-top: 1px solid var(--victorian-border);
}

.footer-section h4 {
    color: var(--victorian-accent);
}

.social-links a {
    background: rgba(201, 161, 94, 0.18);
    border: 1px solid rgba(201, 161, 94, 0.45);
}

.social-links a:hover {
    background: var(--victorian-accent);
}

@media (max-width: 768px) {
    .main {
        background-position: center 55%;
    }

    .header-image img {
        width: 29.33vw;
        max-width: 29.33vw;
        margin-top: 32px;
    }

    .server-status-container {
        max-width: 100%;
    }

    .compact-count {
        font-size: 36px;
    }

    .compact-brand {
        font-size: 30px;
    }

    .compact-name {
        font-size: 30px;
    }

    .compact-version-label,
    .compact-ip {
        font-size: 9px;
    }

    .status-card-compact:after {
        font-size: 18px;
        bottom: 34px;
    }

    .main_elom {
        height: 390px;
    }

    .main_block .main_elom .feature-desc {
        font-size: 20px;
        -webkit-line-clamp: 9;
    }
}

/* Mobile Polish */
@media (max-width: 768px) {
    .head_nav_block {
        padding: 14px 10px;
        gap: 12px;
    }

    .nav-links {
        width: 100%;
        gap: 10px;
        justify-content: center;
    }

    .a34 {
        font-size: 9px;
        letter-spacing: 0.04em;
        gap: 6px;
        padding: 4px 6px;
    }

    .bot {
        font-size: 10px;
        padding: 10px 12px;
    }

    .main {
        padding: 170px 16px 36px;
    }

    .aa {
        max-width: 100%;
    }

    .h1 {
        font-size: clamp(30px, 8.2vw, 42px);
        line-height: 1.15;
    }

    .industrial {
        font-size: clamp(22px, 6vw, 30px);
    }

    .p1 {
        font-size: clamp(18px, 5.2vw, 24px);
        line-height: 1.35;
    }

    .header-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .header-buttons .but,
    .header-buttons .but-secondary {
        width: min(320px, 92vw);
        justify-content: center;
    }

    .header-image img {
        width: min(220px, 58vw);
        max-width: min(220px, 58vw);
        margin-top: 18px;
    }

    .main_img h2 {
        font-size: clamp(22px, 6.5vw, 30px);
    }

    .about-subtitle {
        font-size: clamp(16px, 5vw, 22px);
    }

    .server-status-container {
        margin-top: 22px;
        margin-bottom: 26px;
    }

    .main_block {
        gap: 16px;
        margin-top: 24px;
    }

    .main_elom {
        height: auto;
        min-height: 320px;
        padding: 20px 16px;
    }

    .main_elom img {
        width: 64px;
        height: 64px;
        margin-bottom: 12px;
    }

    .main_block .main_elom .feature-title {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .main_block .main_elom .feature-desc {
        font-size: clamp(16px, 5vw, 20px);
        -webkit-line-clamp: 7;
    }

    .map-section {
        padding: 56px 16px;
    }

    .map-content p {
        font-size: clamp(17px, 5.3vw, 22px);
    }

    .map-actions .button {
        width: min(320px, 92vw);
        justify-content: center;
    }

    .launcher-section {
        padding: 70px 16px;
    }

    .launcher-content h2 {
        font-size: clamp(24px, 7.2vw, 34px);
    }

    .launcher-content p {
        font-size: clamp(18px, 5.3vw, 24px);
    }

    .launcher-buttons .button {
        width: min(320px, 92vw);
        justify-content: center;
    }

    .main_cost {
        padding: 70px 16px;
    }

    .main_cost h3 {
        font-size: clamp(24px, 7.2vw, 34px);
    }

    .main_cost p {
        font-size: clamp(17px, 5.1vw, 22px);
    }

    .main_cost .button {
        width: min(320px, 92vw);
        justify-content: center;
    }

    footer {
        padding: 44px 16px 16px;
    }
}

@media (max-width: 480px) {
    .a34 {
        font-size: 8px;
    }

    .compact-count {
        font-size: 30px;
    }

    .compact-brand {
        font-size: 24px;
    }

    .compact-version-label,
    .compact-ip {
        font-size: 8px;
    }

    .compact-name {
        font-size: 24px;
    }

    .status-card-compact:after {
        font-size: 14px;
        bottom: 28px;
    }
}


/* =========================
   APPLICATIONS (ЗАЯВКИ)
   Вставлено автоматически
   ========================= */

.applcations {
  position: relative;
  padding: 70px 18px;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(208,168,90,.16), transparent 60%),
    radial-gradient(700px 520px at 85% 25%, rgba(208,168,90,.10), transparent 60%),
    linear-gradient(180deg, #0f0c09 0%, #070504 100%);
  color: #efe7d6;
  border-top: 1px solid rgba(208,168,90,.18);
  border-bottom: 1px solid rgba(208,168,90,.14);
  overflow: hidden;
}

.applcations::before,
.applcations::after {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
}

.applcations::before {
  background: radial-gradient(closest-side at 50% 10%, rgba(208,168,90,.12), transparent 55%);
  filter: blur(0.2px);
}

.applcations::after {
  background: linear-gradient(90deg, transparent 0%, rgba(208,168,90,.08) 50%, transparent 100%);
  opacity: .22;
}

.applcations .map-content {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.applcations .section-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: .5px;
  text-transform: uppercase;
}

.applcations .highlight {
  color: #d0a85a;
  text-shadow: 0 0 22px rgba(208,168,90,.18);
}

.applcations p {
  margin: 0 auto;
  max-width: 760px;
  color: rgba(239,231,214,.78);
  line-height: 1.55;
}

/* Контейнеры */
#applications-list {
  max-width: 1100px;
  margin: 26px auto 0;
  position: relative;
  z-index: 1;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  justify-items: start;
}

@media (max-width: 980px) {
  .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .apps-grid { grid-template-columns: 1fr; }
}

/* Карточка */
.app-card {
  width: 100%;
  max-width: 360px;
  position: relative;
  border-radius: 18px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(208,168,90,.22);
  background: linear-gradient(180deg, rgba(20,16,12,.92), rgba(10,7,5,.90));
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(650px 240px at 20% 0%, rgba(208,168,90,.16), transparent 60%);
  opacity: .85;
  pointer-events: none;
}

.app-card:hover {
  transform: translateY(-2px);
  border-color: rgba(208,168,90,.45);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.app-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(208,168,90,.22);
  background: rgba(6,4,3,.35);
  color: rgba(239,231,214,.82);
  font-size: 12px;
  letter-spacing: .2px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  border: 1px solid rgba(208,168,90,.25);
  background: rgba(208,168,90,.10);
  color: #d0a85a;
}

.app-title {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: .2px;
}

.app-desc {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: rgba(239,231,214,.74);
  line-height: 1.45;
  font-size: 13px;
}

.app-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed rgba(208,168,90,.18);
}

.app-meta {
  font-size: 12px;
  color: rgba(239,231,214,.62);
}

.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .25px;
  color: #efe7d6;
  border: 1px solid rgba(208,168,90,.45);
  background: linear-gradient(180deg, rgba(208,168,90,.22), rgba(208,168,90,.08));
  transition: border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}

.app-btn:hover {
  border-color: rgba(208,168,90,.75);
  transform: translateY(-1px);
}

.app-card--closing .app-badge {
  color: #ffcf7a;
  border-color: rgba(255,207,122,.35);
  background: rgba(255,207,122,.10);
}

/* Пустое состояние */
.apps-empty {
  max-width: 1100px;
  margin: 26px auto 0;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(208,168,90,.16);
  background: rgba(6,4,3,.32);
  color: rgba(239,231,214,.74);
}

.apps-empty-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.apps-empty-sub {
  opacity: .9;
}

/* Обновлено */
.apps-updated {
  max-width: 1100px;
  margin: 16px auto 0;
  font-size: 12px;
  opacity: .7;
  color: rgba(239,231,214,.75);
}
