/* Lux-AI.css */
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
    background-color: #0b0d10; /* Mörk bakgrundsfärg för futuristisk känsla */
    min-height: 100vh; /* Full höjd för att täcka hela skärmen */
    display: flex;
    justify-content: center; /* Centrera innehållet horisontellt */
    align-items: center; /* Centrera innehållet vertikalt */
}

.ai-shadow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 50%; /* Minskat storlek för att vara mer diskret */
    width: 70%;
    border-radius: 1000px;
    background: rgba(20, 20, 20, 0.15); /* Låg opacitet för subtil effekt */
    filter: blur(10px); /* Mjukare blur för att smälta in */
    z-index: -3; /* Längst bak, under både ::before och ::after */
}

.ai-button {
    padding: 1em 2.85em;
    border: none;
    border-radius: 1000px;
    background-color: #161a20;
    color: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: unset;
}

/* Endast texten ändras */
.ai-text {
    font-size: 1.1rem; /* Ändra till önskad storlek */
    line-height: 1; /* Undviker extra höjd */
}

@property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.ai-button::after, .ai-button::before {
    --angle: 0deg;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 107%;
    width: 102%;
    border-radius: 1000px;
    animation: spin 5s linear infinite;
    background-image: conic-gradient(from var(--angle), transparent, #e100ff 0%, #008cff 50%, #e100ff 100%);
    z-index: -1;
    transition: all 0.4s ease;
    opacity: 0.7;
    backface-visibility: hidden; /* Minskar hackighet */
    /*padding: 0.2px;*/
}

/*.ai-button::before {
    filter: blur(1.1rem);
    opacity: 0.5;
    z-index: -2;
}*/

@keyframes spin {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}

/* Glow-lagret */
/*.ai-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 115%;
    width: 110%;
    border-radius: 1000px;
    background: linear-gradient(to bottom right, #008cff, #e100ff);
    z-index: -2;
    opacity: 0;
    filter: blur(18px);
    transition: all 0.3s ease;
}*/

/* På hover – förstärk glowen */
.ai-button:hover::before {
    filter: blur(12px) brightness(1.4);
    opacity: 1;
}

/* Kommenterad kod behålls som den är */
/*.ai-button:hover {
    *z-index: 0;
    box-shadow: linear-gradient(to bottom right, 10px 0 20px #008cff79, 0 0 20px #e100ff79);
    transition: all 0.3s ease;
}*/

/* AI moving edge*/

