/* ============================================
   MAIN HEADER - FRONTEND STYLES
   Path: /assets/css/header.css
   ============================================ */

:root {
    --neon-red: #ff1f4b;
    --neon-glow: #ff0033;
    --metal-shine: #ffffff;
    --bg-black: #000000;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Segoe UI', system-ui, sans-serif; 
    background-color: var(--bg-black); 
    color: white;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================== HEADER DESIGN ======================== */
.smart-header {
    position: relative;
    padding: 70px 0;
    background-color: var(--bg-black);
    overflow: hidden;
    border-bottom: 2px solid var(--neon-red);
}

/* Ambient Glow Background */
.ambient-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 31, 75, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Particles Background */
.particles {
    position: absolute;
    width: 100%; height: 100%;
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: 0;
}

/* ======================== LAYOUT ======================== */
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    position: relative;
    z-index: 10;
}

/* ======================== LOGO BOX ======================== */
.logo-box {
    position: relative;
    width: 110px; height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 800px;
}

/* Spinning Halo */
.halo-ring {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top: 2px solid var(--neon-red);
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    animation: ringSpin 3s linear infinite;
    box-shadow: 0 0 20px rgba(255, 31, 75, 0.2);
}

/* Diamond Emblem */
.emblem {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #b30000, #ff0033);
    border-radius: 18px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 0 4px rgba(0,0,0,1),
        0 0 0 6px var(--neon-red),
        0 0 40px var(--neon-glow);
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.emblem i {
    transform: rotate(-45deg);
    font-size: 38px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Hover Effects */
.logo-box:hover .emblem {
    transform: rotate(45deg) scale(1.1);
    box-shadow: 0 0 0 6px var(--neon-red), 0 0 60px var(--neon-red);
}
.logo-box:hover .halo-ring {
    animation-duration: 1s;
    border-top-color: #fff;
}

/* ======================== TEXT BOX ======================== */
.text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.smart-title {
    font-size: 70px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 5px;
    position: relative;
    
    color: transparent;
    background-image: linear-gradient(
        75deg, 
        #444 0%, 
        #fff 40%, 
        #444 60%, 
        #fff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    
    animation: textShine 4s linear infinite reverse;
    
    -webkit-box-reflect: below -15px linear-gradient(to bottom, transparent, transparent 70%, rgba(255,255,255,0.15));
    
    filter: drop-shadow(0 4px 5px rgba(0,0,0,0.8));
}

.smart-tagline {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
}

.decor-dot {
    width: 6px; height: 6px;
    background-color: var(--neon-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-red);
}

/* ======================== ANIMATIONS ======================== */
@keyframes ringSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes textShine {
    to { background-position: 200% center; }
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .smart-title {
        font-size: 45px;
        -webkit-box-reflect: below -10px linear-gradient(to bottom, transparent, transparent 70%, rgba(255,255,255,0.1));
    }
    .smart-tagline {
        font-size: 12px;
        justify-content: center;
    }
}