/* =====================================================
   AI BRAIN CONTAINER
===================================================== */
.ai-brain{
    position: relative;

    width: 280px;
    height: 280px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 48px;

    background: linear-gradient(
        145deg,
        rgba(14,20,42,.95),
        rgba(8,12,28,.98)
    );

    border: 1px solid rgba(96,165,250,.18);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 12px 30px rgba(0,0,0,.45),
        0 0 40px rgba(37,99,235,.12);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    overflow: hidden;
}


.ai-brain::after{
    content:"";
    position:absolute;
    inset:10px;

    border-radius:38px;

    border:1px solid rgba(255,255,255,.05);

    pointer-events:none;
}

/* =====================================================
   AI BRAIN CORE
===================================================== */

.brain-core{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding-top: 40px;
    z-index:5;
}
   .brain-frame {
    position: relative;
    z-index: 10;

    width: 210px;
    height: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    border-radius: 42px;
}

.brain-frame-img {
    width: 115%;
    height: 115%;

    object-fit: cover;
    object-position: center;

    user-select: none;
    pointer-events: none;

    filter: drop-shadow(0 0 18px rgba(96,165,250,.25));

    transition:
        transform .4s ease,
        filter .4s ease;
}

.ai-brain:hover .brain-frame-img {
    transform: scale(1.03);
    filter:
        drop-shadow(0 0 25px rgba(96,165,250,.65))
        drop-shadow(0 0 60px rgba(124,58,237,.55));
}

/* HEADER LOGO */
.header-logo-brain{
    width:48px;
    height:48px;
    overflow:hidden;
    border-radius:12px;
    flex-shrink:0;
}

.header-logo-brain-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* SIDEBAR LOGO */
.sidebar-logo-brain{
    width:48px;
    height:48px;
    overflow:hidden;
    border-radius:12px;
    flex-shrink:0;
}

.sidebar-logo-brain-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
   
/* =====================================================
   AI BRAIN RINGS
===================================================== */


.brain-ring{
    position:absolute;
    top:50%;
    left:50%;
    border:2px solid rgba(96,165,250,.12);
    border-radius:50%;
    transform:translate(-50%,-50%);
    pointer-events:none;
}

.ring-1{
    width: 330px;
height: 330px;
    animation:ringRotate 12s linear infinite;
}

.ring-2{
    width: 430px;
height: 430px;
    border-color:rgba(124,58,237,.10);
    animation:ringRotateReverse 16s linear infinite;
}

.ring-3{
    width: 480px;
height: 480px;
    border-color:rgba(59,130,246,.08);
    animation:ringRotate 22s linear infinite;
}
/* =====================================================
   BRAIN ANIMATIONS
===================================================== */
/*.brain-glow{
    position: absolute;
    inset: 0;

    border-radius: 50%;

    .brain-glow{
    background: radial-gradient(
    circle at center,
    rgba(124,58,237,.12) 0%,
    rgba(59,130,246,.10) 35%,
    rgba(7,16,29,.95) 70%,
    #020617 100%
);
   */

    filter: blur(80px);
    

    z-index: 1;

    pointer-events: none;
}

.brain-pulse{
    position:absolute;
    top:50%;
    left:50%;
    width: 290px;
height: 290px;
    border-radius:50%;
    transform:translate(-50%,-50%);
    background:radial-gradient(circle,
    rgba(96,165,250,.10) 0%,
    rgba(59,130,246,.04) 45%,
    transparent 70%);
    /* animation: brainGlow 3s ease-in-out infinite; )
   */
   
    z-index:0;
    pointer-events:none;
}
   /* ===========================
   DESKTOP ONLY
=========================== */
@media screen and (min-width: 1024px) {

    .ai-brain{
    position: relative;
    width: 320px;
    height: 320px;

    margin-top: 120px;
    margin-left: -70px;
    }

    .brain-img{
        width: 190px;
        height: 190px;
    }

    .ring-1{
        width:330px;
        height:330px;
    }

    .ring-2{
        width:430px;
        height:430px;
    }

    .ring-3{
        width:480px;
        height:480px;
    }
   

}
   /* ===========================
   MOBILE ONLY
=========================== */
@media screen and (max-width: 1023px) {

    .ai-brain{
    width:auto;
    height:auto;

    background:transparent;
    border:none;
    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;

    overflow:visible;

    transform:translate(0,0);
    }
   .ai-brain::after{
    display:none;
}

.brain-core{
    width:280px;
    height:280px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:transparent;
    border:none;
    box-shadow:none;
}
.brain-frame{
    width:280px;
    height:280px;

    overflow:hidden;

    border-radius:42px;

    background:transparent;
    border:none;
    box-shadow:none;

    display:flex;
    align-items:center;
    justify-content:center;
}

    .brain-frame-img{
    width:80%;
    height:80%;

    object-fit:cover;
    object-position:center;

    border-radius:42px;
    }

    .ring-1,
.ring-2,
.ring-3{
    display:none;
}

}
