:root {
    --primary-color: #5e72e4;
    --secondary-color: #434190;
    --highlight-color: #38b2ac;
    --text-color: #f7fafc;
    --dark-bg: #1a202c;
    --darker-bg: #0f131c;
    --stat-color: #4a5568;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    overflow: hidden;
}

.visual-container {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.center-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 2rem;
}

.visual-card {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.server-visual {
    position: relative;
    width: 200px;
    height: 250px;
    margin: 0 auto 2rem;
}

.server-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 30px;
    background: #2d3748;
    border-radius: 0 0 5px 5px;
}

.server-tower {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 200px;
    background: linear-gradient(to bottom, #4a5568, #2d3748);
    border-radius: 5px 5px 0 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.server-light {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--highlight-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--highlight-color);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.server-vent {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: repeating-linear-gradient(
        to right,
        #2d3748,
        #2d3748 10px,
        #4a5568 10px,
        #4a5568 20px
    );
}

.server-leds {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4a5568;
}

.led-1 { animation: led-pulse 2s infinite; }
.led-2 { animation: led-pulse 2s infinite 0.5s; }
.led-3 { animation: led-pulse 2s infinite 1s; }

@keyframes led-pulse {
    0% { background: #4a5568; }
    50% { background: var(--highlight-color); box-shadow: 0 0 5px var(--highlight-color); }
    100% { background: #4a5568; }
}

.visual-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.highlight {
    color: var(--highlight-color);
    font-weight: 700;
}

.visual-subtitle {
    font-size: 1.2rem;
    color: #a0aec0;
    margin-bottom: 2.5rem;
}

.visual-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(45, 55, 72, 0.5);
    padding: 1.5rem 1rem;
    border-radius: 8px;
    min-width: 120px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(74, 85, 104, 0.3);
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #a0aec0;
}

.visual-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    background: rgba(26, 32, 44, 0.7);
    backdrop-filter: blur(5px);
}

.url {
    color: var(--highlight-color);
    font-family: monospace;
}

@media (max-width: 768px) {
    .visual-title {
        font-size: 2rem;
    }
    
    .visual-stats {
        flex-direction: column;
        gap: 1rem;
        max-width: 200px;
        margin: 2rem auto 0;
    }
}

.center-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px); /* Mengurangi tinggi untuk footer */
    padding: 2rem;
    box-sizing: border-box;
}

.visual-card {
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
}

.server-visual {
    position: relative;
    width: 180px;
    height: 220px;
    margin: 0 auto 1.5rem;
}

.visual-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.visual-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    padding: 0 1rem;
}

.visual-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2.5rem;
    gap: 1rem;
}

.stat-item {
    padding: 1.2rem 0.8rem;
    min-width: 100px;
}

.visual-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem;
    text-align: center;
    background: rgba(26, 32, 44, 0.9);
    backdrop-filter: blur(5px);
    z-index: 10;
}

.visual-footer p {
    margin: 0;
    padding: 0.5rem 0;
}

/* Media Queries untuk Responsivitas */
@media (max-width: 768px) {
    .center-content {
        height: calc(100vh - 70px);
        padding: 1.5rem;
        align-items: flex-start;
        padding-top: 3rem;
    }
    
    .visual-card {
        padding: 1.5rem;
    }
    
    .server-visual {
        width: 140px;
        height: 180px;
        margin-bottom: 1.2rem;
    }
    
    .visual-title {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .visual-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .visual-stats {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 100%;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        flex: 1 1 100px;
        padding: 1rem 0.5rem;
        margin-bottom: 0;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .visual-footer {
        padding: 0.8rem;
    }
    
    .visual-footer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .center-content {
        padding: 1rem;
        padding-top: 2rem;
    }
    
    .visual-title {
        font-size: 1.5rem;
    }
    
    .visual-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .server-visual {
        width: 120px;
        height: 160px;
    }
    
    .visual-stats {
        gap: 0.5rem;
    }
    
    .stat-item {
        flex: 1 1 80px;
        padding: 0.8rem 0.3rem;
    }
    
    .stat-icon {
        font-size: 1.2rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}