@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

.orbitron {
    font-family: 'Orbitron', sans-serif;
}

.futuristic-animation {
    position: relative;
    overflow: hidden;
}

.futuristic-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% {
        left: 100%;
    }
}

.holographic-effect {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.9) 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1),
                0 0 30px rgba(0,0,0,0.8),
                0 0 60px rgba(0,0,0,0.6);
}

.gradient-border {
    position: relative;
    border: 2px solid transparent;
    border-radius: 0.5rem;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(45deg, #fff, #aaa, #fff);
    border-radius: 0.5rem;
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.terminal {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    position: relative;
    overflow: hidden;
}

.terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(0,255,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,0,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.terminal-header {
    background-color: #222;
    padding: 5px 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.terminal-body {
    padding: 15px;
    height: 200px;
    overflow-y: hidden;
}

.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.server-card:hover {
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

.grid-pattern {
    background-image:
        linear-gradient(#333 1px, transparent 1px),
        linear-gradient(90deg, #333 1px, transparent 1px);
    background-size: 50px 50px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background-color: rgba(255,255,255,0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.countdown-timer {
    color: #fff;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
}