/* ====================================
   Home Section - HUD Interface Styles
   Fragmented HUD from test.html
   ==================================== */

:root {
    --hud-neon-blue: #00d2ff;
    --hud-neon-glow: rgba(0, 210, 255, 0.5);
    --hud-img-size: 400px;
}

/* HUD Wrapper */
.hud-wrapper {
    position: relative;
    width: 700px;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Center Image Container */
.hud-image-container {
    width: var(--hud-img-size);
    height: var(--hud-img-size);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--hud-neon-blue);
    box-shadow: 0 0 30px var(--hud-neon-glow), 0 0 60px rgba(0, 210, 255, 0.3);
    z-index: 100;
    transition: transform 0.4s ease;
    position: relative;
}

.hud-profile-pic {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Base Ring Styling */
.hud-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    border: 2px solid var(--hud-neon-blue);
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Ring 1: Full - Clockwise - Slow - Dotted */
.hud-ring.r1 {
    width: 454px;
    height: 454px;
    animation: hudRotClock 12s linear infinite;
    border-style: dotted;
}

/* Ring 2: Half (180 deg) - Anti-Clockwise */
.hud-ring.r2 {
    width: 486px;
    height: 486px;
    border-bottom-color: transparent;
    border-left-color: transparent;
    animation: hudRotAnti 8s linear infinite;
}

/* Ring 3: Quarter (90 deg) - Clockwise - Fast */
.hud-ring.r3 {
    width: 518px;
    height: 518px;
    border-top-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;
    animation: hudRotClock 4s linear infinite;
}

/* Ring 4: Full - Anti-Clockwise - Double Line */
.hud-ring.r4 {
    width: 550px;
    height: 550px;
    border-style: double;
    border-width: 4px;
    animation: hudRotAnti 20s linear infinite;
    opacity: 0.4;
}

/* Ring 5: 270 Degree Sweep - Clockwise */
.hud-ring.r5 {
    width: 582px;
    height: 582px;
    border-left-color: transparent;
    animation: hudRotClock 15s linear infinite;
}

/* Revolving Text SVG */
.hud-text-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 90;
    animation: hudRotClock 25s linear infinite;
    pointer-events: none;
}

.hud-revolving-text {
    fill: var(--hud-neon-blue);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
    filter: drop-shadow(0 0 5px var(--hud-neon-blue));
    text-transform: uppercase;
}

/* Animations */
@keyframes hudRotClock {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes hudRotAnti {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

/* Hover Interaction - "Overclock" effect */
.hud-wrapper:hover .hud-ring {
    opacity: 1;
    filter: brightness(1.3) drop-shadow(0 0 10px var(--hud-neon-blue));
    animation-duration: 2s !important;
}

.hud-wrapper:hover .hud-image-container {
    transform: scale(1.05);
}

/* ====================================
   Responsive Design
   ==================================== */

@media (max-width: 1200px) {
    :root {
        --hud-img-size: 350px;
    }
    
    .hud-wrapper {
        width: 600px;
        height: 600px;
    }
    
    .hud-ring.r1 { width: 394px; height: 394px; }
    .hud-ring.r2 { width: 418px; height: 418px; }
    .hud-ring.r3 { width: 442px; height: 442px; }
    .hud-ring.r4 { width: 466px; height: 466px; }
    .hud-ring.r5 { width: 490px; height: 490px; }
}

@media (max-width: 992px) {
    :root {
        --hud-img-size: 300px;
    }
    
    .hud-wrapper {
        width: 500px;
        height: 500px;
    }
    
    .hud-ring.r1 { width: 334px; height: 334px; }
    .hud-ring.r2 { width: 354px; height: 354px; }
    .hud-ring.r3 { width: 374px; height: 374px; }
    .hud-ring.r4 { width: 394px; height: 394px; }
    .hud-ring.r5 { width: 414px; height: 414px; }
    
    .hud-text-svg {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --hud-img-size: 280px;
    }
    
    .hud-wrapper {
        width: 450px;
        height: 450px;
    }
    
    .hud-ring.r1 { width: 304px; height: 304px; }
    .hud-ring.r2 { width: 316px; height: 316px; }
    .hud-ring.r3 { width: 328px; height: 328px; }
    .hud-ring.r4 { width: 340px; height: 340px; }
    .hud-ring.r5 { width: 352px; height: 352px; }
    
    .hud-revolving-text {
        font-size: 12px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    :root {
        --hud-img-size: 220px;
    }
    
    .hud-wrapper {
        width: 350px;
        height: 350px;
    }
    
    .hud-ring.r1 { width: 234px; height: 234px; }
    .hud-ring.r2 { width: 244px; height: 244px; }
    .hud-ring.r3 { width: 254px; height: 254px; }
    .hud-ring.r4 { width: 264px; height: 264px; }
    .hud-ring.r5 { width: 274px; height: 274px; }
    
    .hud-image-container {
        border-width: 1px;
        box-shadow: 0 0 15px var(--hud-neon-glow);
    }
}

