/* Global Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #0d0d0d; /* Dark background */
    color: #00d9ff; /* Neon blue text */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Background Animation */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle, rgba(77, 59, 156, 0.171), rgba(0, 0, 0, 1)), 
        linear-gradient(45deg, transparent 24%, rgba(4, 228, 41, 0.774) 24%, rgba(55, 255, 5, 0.966) 26%, transparent 26%),
        linear-gradient(-45deg, transparent 24%, rgba(226, 178, 18, 0.3) 24%, rgba(0, 234, 255, 0.3) 26%, transparent 26%);
    background-size: 20px 20px;
    animation: starfield 110s linear infinite;
    z-index: -3;
}

@keyframes starfield {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

/* HUD Container */
.hud {
    position: relative;
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Central Core */
.central-core {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,234,255,0.2), transparent 60%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
}

/* ZARA Image */
.zara-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #00eaff; /* Neon blue border */
    box-shadow: 0 0 20px #00eaff, 0 0 40px #00eaff;
    position: relative; /* Stay static within the core */
    z-index: 2; /* Ensure image stays above rotating elements */
}

/* Inner and Outer Rings */
.inner-rings, .outer-rings {
    position: absolute;
    border-radius: 50%;
    border: 3px solid rgba(0, 234, 255, 0.5);
    z-index: 1; /* Ensure rings stay below the image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-rings {
    width: 250px;
    height: 250px;
    animation: rotate-reverse 20s linear infinite, pulse 2s ease-in-out infinite; /* Add pulse effect */
}

.outer-rings {
    width: 350px;
    height: 350px;
    animation: rotate 15s linear infinite, pulse 3s ease-in-out infinite; /* Add pulse effect */
}

/* Moving Dots */
.moving-dot {
    width: 12px; /* Slightly larger for better visibility */
    height: 12px; /* Slightly larger for better visibility */
    border-radius: 50%;
    background-color: #ff0000;
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center the dot */
    box-shadow: 0 0 10px #00eaff, 0 0 20px #00eaff;
    z-index: 5000;
}

/* Inner Dot */
.inner-dot {
    animation: move-dot-inner 15s linear infinite;
}

/* Outer Dot */
.outer-dot {
    animation: move-dot-outer 15s linear infinite;
}

/* Data Panels */
.data-panels {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    z-index: 2;
}

.panel {
    background-color: rgba(0, 234, 255, 0.1);
    border: 1px solid #00eaff;
    padding: 10px;
    margin: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 234, 255, 0.5);
    animation: flicker 2s infinite alternate;
}

/* Panel Positions */
.left-panel {
    position: absolute;
    left: 10%;
}

.right-panel {
    position: absolute;
    right: 10%;
}

.bottom-panel {
    font-weight: bold;
    background-color: rgba(24, 24, 24, 0.363);
    position: absolute;
    bottom: 8%;
}
/* Digital Clock */
.digital-clock {
    position: absolute;
    top: 28%;
    right: 10%;
    font-size: 1em;
    background: rgba(50, 54, 54, 0.034);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 234, 255, 0.7);
    z-index: 2;
}

/* Futuristic Shapes */
.futuristic-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 234, 255, 0.3);
    z-index: 1;
}

.shape1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

.shape2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 20%;
    animation: float 8s ease-in-out infinite;
}

.shape3 {
    width: 80px;
    height: 80px;
    top: 50%;
    right: 10%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes move-dot-inner {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes move-dot-outer {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

@keyframes flicker {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* Dialog Box Styles */
.dialog-box {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    z-index: 1000; /* Higher than other elements */
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.dialog-content {
    position: relative;
    width: 80%;
    max-width: 500px;
    max-height: 80%; /* Limit height to 80% of the viewport */
    background: rgba(0, 234, 255, 0.1);
    border: 3px solid #00eaff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px #00eaff, 0 0 40px #00eaff;
    animation: show-dialog 0.5s ease-in-out;
    overflow-y: auto;
}

@keyframes show-dialog {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    color: #00eaff;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #ff0000; /* Change color on hover */
}
/* Custom Scrollbar Styles */
.dialog-content::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.dialog-content::-webkit-scrollbar-track {
    background: rgba(0, 234, 255, 0.1); /* Background of the scrollbar track */
    border-radius: 5px;
}

.dialog-content::-webkit-scrollbar-thumb {
    background-color: #00eaff; /* Color of the scrollbar thumb */
    border-radius: 5px;
    box-shadow: 0 0 10px #00eaff, 0 0 20px #00eaff; /* Glow effect for thumb */
}

.dialog-content::-webkit-scrollbar-thumb:hover {
    background-color: #009fbb; /* Hover color for the scrollbar thumb */
}
