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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
}

header {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.nav-links a:hover {
    color: #00ff88;
    transform: translateY(-2px);
}

.nav-links a.active {
    color: #00ff88;
    border-bottom: 2px solid #00ff88;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section h2 {
    color: #00ff88;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.server-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: rgba(0, 255, 136, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.info-card h3 {
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 1.1rem;
    font-family: monospace;
}

.info-card .copy-btn {
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: #00ff88;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.info-card .copy-btn:hover {
    background: #00cc6a;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

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

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

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

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

.server-intro {
    line-height: 1.8;
    font-size: 1.1rem;
}

.rules-list {
    list-style: none;
}

.rules-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list .rule-number {
    background: #00ff88;
    color: #000;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.forum-thread {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: background 0.3s;
}

.forum-thread:hover {
    background: rgba(255, 255, 255, 0.1);
}

.forum-thread .thread-title {
    color: #00ff88;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.forum-thread .thread-meta {
    font-size: 0.9rem;
    color: #aaa;
}

.forum-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forum-form input,
.forum-form textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    color: #fff;
    font-size: 1rem;
}

.forum-form input:focus,
.forum-form textarea:focus {
    outline: none;
    border-color: #00ff88;
}

.forum-form button {
    background: #00ff88;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.forum-form button:hover {
    background: #00cc6a;
}

.ping-test {
    text-align: center;
}

.ping-input {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.ping-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    color: #fff;
}

.ping-input button {
    background: #00ff88;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.ping-input button:hover {
    background: #00cc6a;
}

.ping-result {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.ping-result.success {
    border-color: #00ff88;
}

.ping-result.error {
    border-color: #ff4444;
}

.ping-result h4 {
    margin-bottom: 1rem;
}

.ping-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.ping-detail {
    background: rgba(0, 255, 136, 0.1);
    padding: 0.8rem;
    border-radius: 4px;
}

.ping-detail .label {
    font-size: 0.8rem;
    color: #aaa;
}

.ping-detail .value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ff88;
}

footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

footer p {
    color: #aaa;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .server-info {
        grid-template-columns: 1fr;
    }
    
    .ping-input {
        flex-direction: column;
    }
}
