/* Blizzard / WoW font for online numbers */
@font-face {
    font-family: "Friz Quadrata Std";
    src: url("../fonts/FrizQuadrataStd.woff2") format("woff2"),
         url("../fonts/FrizQuadrataStd.woff") format("woff"),
         url("../fonts/FrizQuadrataStd.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   SERVER STATUS — realm online block (CRAZY / HARD)
   ============================================================ */
.server-status {
    margin: 20px auto 0;
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    --crazy: #9b5cff;
    --crazy-glow: rgba(155, 92, 255, .55);
    --hard: #f5b544;
    --hard-glow: rgba(245, 181, 68, .5);
}

/* ---- Heading ---- */
.ss-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 0 20px;
}
.ss-heading__pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: ss-pulse 1.8s ease-in-out infinite;
}
@keyframes ss-pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(.7);} }
.ss-heading__title {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 34px;
    letter-spacing: 4px;
    margin: 0;
    background: linear-gradient(180deg, #eaf3ff 0%, #a9cdf5 55%, #5f92cf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 28px rgba(120,180,255,.3);
}

/* ---- Realms row ---- */
.ss-realms {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
}
.ss-realm {
    flex: 0 0 auto;
    width: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    position: relative;
}

/* realm name (under the flag) */
.ss-realm__name {
    font-family: "Friz Quadrata Std", 'Cinzel', serif;
    font-weight: 500;
    font-size: 33px;
    letter-spacing: 2px;
    margin: 6px 0 8px;
}
.ss-realm--crazy .ss-realm__name { color: #a066ff; text-shadow: 0 2px 3px rgba(0,0,0,.98), 0 4px 12px rgba(0,0,0,.85), 0 0 24px rgba(155,92,255,.6); }
.ss-realm--hard  .ss-realm__name { color: #f5b544; text-shadow: 0 2px 3px rgba(0,0,0,.98), 0 4px 12px rgba(0,0,0,.85), 0 0 24px rgba(245,181,68,.55); }

.ss-realm__icon {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0 4px;
}
.ss-realm__icon img {
    max-height: 180px;
    max-width: 136px;
    width: auto;
    object-fit: contain;
}
.ss-realm--crazy .ss-realm__icon img { filter: drop-shadow(0 0 24px var(--crazy-glow)); transform: translateY(-29px); }
.ss-realm--hard  .ss-realm__icon img { filter: drop-shadow(0 0 22px var(--hard-glow)); }

.ss-realm__count {
    font-family: "Friz Quadrata Std", 'Cinzel', serif;
    font-weight: 500;
    font-size: 58px;
    line-height: 1;
}
.ss-realm--crazy .ss-realm__count { color: var(--crazy); text-shadow: 0 2px 3px rgba(0,0,0,.95), 0 4px 14px rgba(0,0,0,.8), 0 0 30px var(--crazy-glow); }
.ss-realm--hard  .ss-realm__count { color: var(--hard);  text-shadow: 0 2px 3px rgba(0,0,0,.95), 0 4px 14px rgba(0,0,0,.8), 0 0 30px var(--hard-glow); }

/* ---- Central scroll ---- */
.ss-scroll {
    flex: 0 0 auto;
    align-self: center;
    margin: 0 -6px;
    filter: drop-shadow(0 14px 32px rgba(0,0,0,.55));
    pointer-events: none;
    z-index: 2;
}
.ss-scroll img { width: 232px; height: auto; display: block; }

.server-status--offline .ss-realm__count { color: #6b7280; text-shadow: none; }
.server-status--offline .ss-realm__badge-dot { background: #ef4444; box-shadow: 0 0 7px #ef4444; }

/* ============================================================
   REALM STATUS dropdown (hero nav, top-right)
   ============================================================ */
.realm-status { position: relative; }
.realm-status__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(10,14,24,.55);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    color: #e6ecf6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color .2s ease, background .2s ease;
}
.realm-status__btn:hover { border-color: rgba(120,180,255,.5); background: rgba(16,22,36,.75); }
.realm-status__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e; box-shadow: 0 0 8px #22c55e;
}
.realm-status__caret { transition: transform .2s ease; opacity: .7; }
.realm-status.open .realm-status__caret { transform: rotate(180deg); }

.realm-status__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 230px;
    background: linear-gradient(180deg, rgba(14,18,30,.98), rgba(9,11,20,.98));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 20px 44px rgba(0,0,0,.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 60;
}
.realm-status.open .realm-status__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.realm-status__menu-title {
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #8b97ad;
    padding: 4px 10px 8px;
    text-transform: uppercase;
}
.realm-status__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #e6ecf6;
}
.realm-status__row:hover { background: rgba(255,255,255,.05); }
.realm-status__name { flex: 1; }
.realm-status__row--crazy .realm-status__name { color: #c9adff; }
.realm-status__row--hard  .realm-status__name { color: #ffdfa0; }
.realm-status__num { font-family: 'Cinzel', serif; font-weight: 900; font-size: 15px; }
.realm-status__row--crazy .realm-status__num { color: #9b5cff; }
.realm-status__row--hard  .realm-status__num { color: #f5b544; }
.realm-status__check { color: #22c55e; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .ss-scroll { display: none; }
    .ss-realms { gap: 14px; }
    .ss-heading__title { font-size: 27px; }
}
@media (max-width: 560px) {
    .ss-realms { flex-direction: column; align-items: center; }
    .ss-realm { max-width: 340px; width: 100%; }
    .ss-realm__count { font-size: 46px; }
    .realm-status__label { display: none; }
    .realm-status__btn { padding: 8px 10px; }
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              