:root {
    --primary-color: #00ff88;
    --secondary-color: #00ccff;
    --danger-color: #ff3366;
    --bg-dark: #0a0e1a;
    --bg-card: #141824;
    --bg-card-hover: #1a1f2e;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --border-color: #2d3748;
    --glow-color: rgba(0, 255, 136, 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.95) 0%, rgba(26, 31, 46, 0.95) 100%), url('images/background.jpg') center/cover fixed;
    color: var(--text-primary);
    min-height: 100vh;
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 204, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 30px var(--glow-color);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 136, 0.05), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.logo-section {
    position: relative;
    z-index: 1;
}

.logo {
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px var(--glow-color));
}

h1 {
    font-size: 3em;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--glow-color);
    letter-spacing: 3px;
    margin: 20px 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: pulse 2s ease-in-out infinite;
}

.status-badge.online .status-dot {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.status-badge.offline .status-dot {
    background: var(--danger-color);
    box-shadow: 0 0 10px var(--danger-color);
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.welcome-section {
    margin-bottom: 30px;
}

.welcome-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.welcome-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--glow-color);
    transform: translateY(-2px);
}

.welcome-card h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8em;
}

.welcome-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1em;
}

.server-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.info-card, .players-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover, .players-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.3);
}

h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.3);
}

.info-grid {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--bg-dark);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
}

.label {
    color: var(--text-secondary);
    font-weight: 600;
}

.value {
    color: var(--primary-color);
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.hint {
    color: var(--secondary-color);
    font-style: italic;
}

.copy-btn {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px var(--primary-color);
}

.players-list {
    display: grid;
    gap: 10px;
}

.player-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.player-name {
    color: var(--text-primary);
}

.player-ping {
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

.actions {
    margin-bottom: 30px;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--glow-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--bg-dark);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.5);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1.3em;
    position: relative;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 1;
}

.instructions {
    margin-bottom: 30px;
}

.instruction-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
}

.instruction-card ol {
    margin-left: 20px;
    color: var(--text-secondary);
    line-height: 2;
}

.instruction-card li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.instruction-card strong {
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

footer {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
    border-top: 2px solid var(--border-color);
    margin-top: 40px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    .logo {
        max-width: 250px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.section-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px var(--glow-color));
}

h2 .section-icon {
    width: 40px;
    height: 40px;
}
