:root {
    --red-glow: #ff0000;
    --black-bg: #000000;
    --border-color: rgba(255, 0, 0, 0.3);
    --card-bg: rgba(17, 17, 17, 0.5);
    --green-status: #00ff00;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black-bg);
}

.font-minecraft {
    font-family: 'Press Start 2P', cursive;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 0;
    top: 0;
    left: 0;
}
#particles-js::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: radial-gradient(ellipse at center, rgba(255,0,0,0.15) 0%, rgba(0,0,0,0) 60%);
    opacity: 0.7;
}

.neon-text-red {
    color: #fff;
    text-shadow:
        0 0 5px var(--red-glow),
        0 0 10px var(--red-glow),
        0 0 15px var(--red-glow);
}

.neon-text-subtle-red {
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
}

.neon-logo-glow {
    filter: drop-shadow(0 0 5px var(--red-glow)) drop-shadow(0 0 10px var(--red-glow));
    animation: pulse-glow 2s infinite alternate;
}

.reduced-glow {
    filter: drop-shadow(0 0 2px var(--red-glow)) drop-shadow(0 0 5px var(--red-glow));
    animation: none;
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 5px var(--red-glow)) drop-shadow(0 0 10px var(--red-glow)); }
    100% { filter: drop-shadow(0 0 7px var(--red-glow)) drop-shadow(0 0 15px var(--red-glow)); }
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    color: #a0a0a0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fff;
    text-shadow: 0 0 5px var(--red-glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--red-glow);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    box-shadow: 0 0 5px var(--red-glow), 0 0 10px var(--red-glow);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

#header {
    background-color: rgba(0, 0, 0, 0);
}

#header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.btn {
    font-family: 'Press Start 2P', cursive;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 8px;
    border: 2px solid var(--red-glow);
    opacity: 0.6;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--red-glow), inset 0 0 5px var(--red-glow);
    z-index: -1;
}

.btn:hover::before {
    opacity: 1;
    box-shadow: 0 0 10px var(--red-glow), inset 0 0 10px var(--red-glow);
}

.btn-primary {
    background-color: rgba(255, 0, 0, 0.1);
    color: #fff;
}

.btn-primary:hover {
    background-color: rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.ip-box {
    position: relative;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
}

.section-header {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 8px var(--red-glow);
}

@media (min-width: 768px) {
    .section-header {
        font-size: 2.5rem;
    }
}

.store-card, .status-panel {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    border: 1px solid transparent;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.store-card:hover, .status-panel:hover {
    transform: translateY(-5px);
}

.store-card::before, .status-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 0 0 var(--red-glow);
}

.store-card:hover::before, .status-panel:hover::before {
    border-color: var(--red-glow);
    box-shadow: 0 0 15px var(--red-glow), inset 0 0 15px var(--red-glow);
}

.staff-card {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    border: 2px solid rgba(255, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    min-height: 320px;
}

.staff-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.2);
}

.staff-card i {
    transition: transform 0.3s ease;
}

.staff-card:hover i {
    transform: scale(1.1);
}

.server-status-widget {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 300px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    color: white;
}
.status-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
}
.status-online {
    background-color: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}
.status-offline {
    background-color: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}
.players {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    font-weight: bold;
}
.loading {
    color: #9ca3af;
}
@media (max-width: 480px) {
    .server-status-widget {
        padding: 1rem;
        max-width: 100%;
    }
    .players {
        font-size: 1.2rem;
    }
}

.status-panel {
    width: 100%;
    max-width: 500px;
    text-align: left;
    padding: 0;
}

.status-indicator-online {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--green-status);
    margin-right: 0.5rem;
    box-shadow: 0 0 8px var(--green-status);
    animation: pulse-green 2s infinite;
}

.status-indicator-offline {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff0000;
    margin-right: 0.5rem;
    box-shadow: 0 0 8px #ff0000;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 6px var(--green-status); }
    50% { box-shadow: 0 0 12px var(--green-status); }
    100% { box-shadow: 0 0 6px var(--green-status); }
}

.scroll-target {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-target.visible {
    opacity: 1;
    transform: translateY(0);
}

/* New styles for updated status widget */
.server-status-widget {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--red-glow);
    max-width: 300px;
    width: 100%;
}

.server-status-widget .status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: box-shadow 0.3s ease;
}

.server-status-widget .status-online {
    background-color: var(--green-status);
    box-shadow: 0 0 10px var(--green-status);
}

.server-status-widget .status-offline {
    background-color: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

.server-status-widget:hover .status-indicator {
    box-shadow: 0 0 15px var(--red-glow);
}