@font-face {
    font-family: "font1";
    src: url("/font1.ttf") format("truetype");
}
@font-face {
    font-family: "SpecialElite-Regular";
    src: url("/SpecialElite-Regular.ttf") format("truetype");
}

:root {
    --primary-color: #0d1117;
    --accent-color: #B48446;
    --accent-glow: rgba(180, 132, 70, 0.4);
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --success: #2ea043;
    --success-glow: rgba(46, 160, 67, 0.5);
    --error: #f85149;
    --error-glow: rgba(248, 81, 73, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SpecialElite-Regular', 'Inter', sans-serif;
    color: #1b1107;
    background-color: #0A0A0A;
    background-image: url('/images/BGDark.webp?v=3');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 10, 10, 0.85) 100%);
    z-index: 1;
}

.status-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 540px;
    width: 100%;
}

.logo-container {
    width: 260px;
    height: 100px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.title {
    font-family: 'font1', serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: normal;
    letter-spacing: -2px;
    margin-bottom: 0.25rem;
    -webkit-text-fill-color: rgb(255, 193, 113);
    filter: drop-shadow(0px 0px 12px #2e1b00);
    -webkit-text-stroke: 1px #3f2500;
    text-stroke: 2px #422700;
    text-shadow:
      2px 0 black,
      -2px 0 black,
      0 2px black,
      0 -2px black,
      2px 2px black,
      -2px -2px black,
      2px -2px 15px black,
      -2px 2px 15px black;
}

.subtitle {
    font-family: 'SpecialElite-Regular', cursive;
    font-size: 1.2rem;
    font-weight: bold;
    color: #B48446;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.status-card {
    background-image: url('/images/large-bg.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed rgba(63, 37, 0, 0.25);
}

.status-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--text-secondary);
    box-shadow: 0 0 10px var(--text-secondary);
}

.status-indicator.online {
    background-color: var(--success);
    box-shadow: 0 0 15px var(--success), 0 0 30px var(--success-glow);
    animation: pulse-online 2s infinite;
}

.status-indicator.offline {
    background-color: var(--error);
    box-shadow: 0 0 15px var(--error);
}

@keyframes pulse-online {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 var(--success-glow); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(46, 160, 67, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 160, 67, 0); }
}

.status-text {
    font-family: 'font1', serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.status-text.online {
    color: #1a6f2b;
    text-shadow: 0 1px 2px rgba(255,255,255,0.4);
}

.status-text.offline {
    color: #a6241e;
    text-shadow: 0 1px 2px rgba(255,255,255,0.4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-label {
    font-family: 'font1', serif;
    font-size: 1rem;
    color: #3F2500;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-family: 'SpecialElite-Regular', monospace;
    font-size: 2.2rem;
    font-weight: bold;
    color: #1b1107;
}

.footer {
    margin-top: 3rem;
    color: #B48446;
    font-size: 0.9rem;
    font-family: 'SpecialElite-Regular', cursive;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}

.footer p {
    margin: 5px 0;
}

@media (max-width: 600px) {
    .status-card {
        padding: 2.5rem 1.5rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .stat-value {
        font-size: 2rem;
    }
    .status-text {
        font-size: 1.8rem;
    }
}
