/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0d0d0d;
    color: #eee;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(90deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    text-align: center;
    padding: 3rem 1rem;
    position: relative;
}

.header-container h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 8px #ff6600;
}

.subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 0.5rem;
}

.underline {
    width: 150px;
    height: 3px;
    margin: 1rem auto 0;
    background: linear-gradient(to right, #ff6600, #ffcc00);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

/* Pulse animation for underline */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Main Sections */
main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    margin-bottom: 3rem;
}

section h2 {
    font-size: 2rem;
    color: #ff6600;
    border-bottom: 2px solid #ff6600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Server Cards */
.server-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.server-card {
    background-color: #111;
    border-left: 4px solid var(--server-color, #ff6600); /* default fallback */
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 8px #000;
}

.server-card.online {
    border-left-color: #00ff99;
}

.server-card.offline {
    border-left-color: #494949;
}

.server-card.full {
    border-left-color: #ff3300;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--server-color, #ff6600);
}

.server-card h3 {
    margin-bottom: 0.5rem;
}

.server-card p {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.feature-card {
    background: linear-gradient(145deg, #1a1a1a, #222);
    padding: 1.5rem 1rem;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    color: #ffcc00;
}

.feature-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px #ffcc00;
}

/* Download Button */
.download-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #ff6600;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 0 10px #ff6600;
    animation: glow 2s infinite alternate;
    transition: background 0.3s;
}

.download-button:hover {
    background: #ff9933;
}

/* Glow animation */
@keyframes glow {
    from { box-shadow: 0 0 10px #ff6600; }
    to { box-shadow: 0 0 20px #ffcc00; }
}

/* Related section */
#related a {
    color: #00cfff;
    font-weight: bold;
}

#related a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #111;
    color: #666;
}
