/* ========== Reset et Variables ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ----- html et body ----- */
html,
body {
    height: 100%;
    width: 100%;
    font-family: "Oxygen";
    color: #000000 !important;
    color-scheme: dark;
}

html {
    font-size: 52px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: none;
}

/* Fond */

.background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("./bg/bg_r_purple.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

body[data-background="cr-purple"] .background-fixed {
    background-image: url("./bg/bg_cr_purple.png");
}

body[data-background="cr-blue"] .background-fixed {
    background-image: url("./bg/bg_cr_blue.png");
}

body[data-background="r-green"] .background-fixed {
    background-image: url("./bg/bg_r_green.png");
}

body[data-background="r-purple"] .background-fixed {
    background-image: url("./bg/bg_r_purple.png");
}

body::-webkit-scrollbar,
.main-content::-webkit-scrollbar {
    display: none;
}

/* ----- Fonts ----- */
/* Basic */
@font-face {
    font-family: 'Oxygen';
    src: url('./fonts/Font-Oxygen-Regular.ttf') format('truetype');
}

/* Citation */
@font-face {
    font-family: 'Lora';
    src: url('./fonts/Font-Lora-Regular.ttf') format('truetype');
}

/* ----- Variables ----- */
:root {
    /* Classic Colors */
    --color-classic-1: rgba(255, 255, 255, 0.01);
    --color-classic-2: rgba(30, 30, 30, 0.2);
    --color-classic-1-eco: rgba(10, 10, 10, 1);
    --color-classic-2-eco: rgba(20, 20, 20, 1);
    /* Pixy Colors */
    --color-pixypurple-light: rgb(180, 0, 255);
    --color-pixypurple-medium: rgb(120, 0, 160);
    --color-pixypurple-dark: rgb(75, 0, 100);
    --color-pixypurple-dark-transluscent: rgba(47, 27, 54, 0.4);
    /* Text Colors */
    --color-text-1: ;
    --color-text-2: ;
    /* Transparency */

    /* Radius System */
    --radius-xs: 10px;
    --radius-s: 12px;
    --radius-m: 18px;
    --radius-l: 30px;
    --radius-xl: 40px;
    --radius-pill: 50px;
    --radius-round: 999px;

    /* Animations */

    /* Nova Colors */
    --color-nova-purple: rgb(138, 21, 188);
    --color-nova-cyan: rgb(52, 172, 199);
    --color-nova-pink: rgb(186, 42, 186);
    --color-nova-purple-transluscent: rgba(138, 21, 188, 0.4);
    --color-nova-cyan-transluscent: rgba(52, 172, 199, 0.4);
    --color-nova-pink-transluscent: rgba(186, 42, 186, 0.4);
}

/* ========== Text ========== */
/* ----- Classic ----- */
h1 {
    margin: 0;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
}

h2 {
    margin: 0;
    font-weight: 600;
    font-size: 0.65rem;
    color: #fff;
    text-decoration: none;
}

h3 {
    margin: 0;
    font-weight: 500;
    font-size: 0.52rem;
    color: #fff;
    text-decoration: none;
}

p {
    margin: 0;
    font-weight: 400;
    font-size: 0.425rem;
    color: #fff;
    text-decoration: none;
}

.citation {
    margin: 0;
    color: #fff;
    text-decoration: none;
    font-family: "Lora" !important;
}

/* ----- special ----- */
/* Menu link */
.menu a {
    font-size: 28px;
    text-decoration: underline;
    text-decoration-color: #7c2bce;
    color: #fff;
    text-align: center;
    transition: 0.3s;
}

.menu a:hover {
    transform: translateY(-3px);
}

/* Footer Text */
footer p {
    font-style: normal;
    color: #FFFFFF;
    font-size: 0.4rem;
}

/* Links */
a:not(.button) {
    color: #FFFFFF;
    text-decoration: underline;
    text-decoration-color: #7c2bce;
}

/* ========== Header, Footer & Nav, Page Structure ========== */
/* ----- Header & Nav ----- */
/* Header */
header {
    width: 100%;
    height: 60px;
    z-index: 5;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(80, 80, 80, 0.2);
}

header img {
    height: 50px;
    border-radius: var(--radius-xs);
    z-index: 5;
}

/* Menu & Nav */
.menu {
    padding-top: 80px;
    height: 100%;
    width: 100%;
    z-index: 4;
    transition: 0.4s;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    pointer-events: none;
    padding-left: 20px;
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}

.menu.open {
    opacity: 1;
    pointer-events: auto;
}

.menu-btn {
    width: 35px;
    height: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 5;
}

.menu-btn span {
    display: block;
    height: 4px;
    border-radius: 2px;
    background: #7c2bce;
    transition: 0.15s;
}

.menu-btn.open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
    opacity: 0;
    visibility: hidden;
    transition-delay: 0.03s;
}

.menu-btn.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ----- Footer ----- */
footer {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(80, 80, 80, 0.2);
}

/* ----- Main ----- */
main {
    flex: 1;
    padding-top: 60px;
    overflow-y: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.main-content::-webkit-scrollbar {
    display: none;
}

/* ========== Components ========== */
/* ----- Section navigation ----- */
/*
 * Add an empty <nav class="section-navigation" data-section-navigation>
 * to a page. Its links are generated from elements carrying
 * data-section-nav="Label".
 */
.section-navigation {
    --section-nav-color: rgba(255, 255, 255, 0.42);
    --section-nav-active-color: var(--color-pixypurple-light);
    --section-nav-line-width: 18px;
    --section-nav-active-line-width: 38px;
    --section-nav-line-height: 3px;
    --section-nav-gap: 12px;
    position: fixed;
    z-index: 3;
    top: 50%;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--section-nav-gap);
    transform: translateY(-50%);
}

.section-navigation__link {
    position: relative;
    display: block;
    width: var(--section-nav-line-width);
    height: max(24px, var(--section-nav-line-height));
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    cursor: pointer;
    transition: width 0.25s ease, filter 0.25s ease;
}

.section-navigation__link::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 100%;
    height: var(--section-nav-line-height);
    border-radius: inherit;
    background: var(--section-nav-color);
    content: "";
    transition: background-color 0.25s ease, height 0.25s ease, box-shadow 0.25s ease;
    transform: translateY(-50%);
}

.section-navigation__link:hover,
.section-navigation__link:focus-visible,
.section-navigation__link[aria-current="true"] {
    width: var(--section-nav-active-line-width);
}

.section-navigation__link:hover::after,
.section-navigation__link:focus-visible::after,
.section-navigation__link[aria-current="true"]::after {
    height: calc(var(--section-nav-line-height) + 2px);
    background: var(--section-nav-active-color);
    box-shadow: 0 0 10px color-mix(in srgb, var(--section-nav-active-color) 65%, transparent);
}

.section-navigation__link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.section-navigation__link::before {
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    z-index: 1;
    width: max-content;
    max-width: min(240px, 60vw);
    padding: 6px 9px;
    border-radius: var(--radius-xs);
    background: var(--color-classic-1);
    backdrop-filter: blur(5px);
    color: #fff;
    content: attr(aria-label);
    font-size: 14px;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.section-navigation__link:hover::before,
.section-navigation__link:focus-visible::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ----- Main Container ----- */
.content-list {
    max-width: 1000px;
    width: 95%;
    margin: 20px auto;
    padding: 20px;
    background: var(--color-classic-1);
    border-radius: var(--radius-l);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-list.ultrawide {
    max-width: 2000px;
}

/* ----- Sub Container ----- */
.content-block {
    background: var(--color-classic-2);
    padding: 20px;
    border-radius: var(--radius-m);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: 0.3s;
    justify-content: space-between;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.content-block:hover {
    transform: translateY(-3px);
    box-shadow: 0px 7px 11px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-xl);
}

.content-block.clickable {
    appearance: none;
    -webkit-appearance: none;

    border: none;

    color: inherit;
    font: inherit;
    text-align: left;

    cursor: pointer;
}

.content-block.clickable:hover {
    transform: translateY(-3px);
    box-shadow:
        0px 7px 10px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px var(--color-pixypurple-medium);
    cursor: pointer;
    background-color: var(--color-pixypurple-dark-transluscent);
}

.content-block.collumn {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.classic-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.classic-row img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: calc(var(--radius-xs) / 2);
}

/* surrounding container (text 4 example) */
.surround-block {
    width: fit-content;
    height: fit-content;
    background: var(--color-classic-2);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 18px;
    padding-right: 18px;
    border-radius: var(--radius-m);
    gap: 10px;
    justify-content: space-between;
    transition: 0.3s;
    align-self: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.surround-block:hover {
    transform: translateY(-3px);
    box-shadow: 0px 7px 11px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-xl);
}

/* ----- Button (omg i love button omg omg uwu owo ----- */
.btn {
    padding: 10px 22px;
    width: auto;
    height: auto;
    background: rgba(90, 90, 90, 0.2);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-pill);
    border: 2px solid rgba(150, 150, 150, 0.2);
    transition: 0.3s;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    text-decoration: none !important;
    text-align: center;
}

.btn:hover {
    border: 2px solid var(--color-pixypurple-medium);
    transform: translateY(-3px);
    box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.4);
    background-color: var(--color-pixypurple-dark-transluscent);
}

.btn:active {
    transform: scale(98%);
}

.btn.on {
    border: 2px solid var(--color-pixypurple-light);
    background: var(--color-pixypurple-dark-transluscent);
}

.iframepage {
    width: 100%;
    height: 100%;
    border: 0;
    overflow: hidden;
}

.horizontal-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.img-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: calc(var(--radius-xs) / 2);
}

.S10 {
    padding-bottom: 10px;
}

.grid-list {
    height: fit-content;
    display: flex;
}

.grid-block {
    width: calc(33.333% - 8px);
    padding: 8px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: var(--color-classic-2);
    border-radius: var(--radius-s);
    margin: 6px;
}

.content-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.content-grid>* {
    flex: 1 1 calc(33.333% - 12px);
    min-width: 280px;
}

.media-card {
    align-items: center;
    text-align: center;
    padding: 12px;
}

.media-card h2,
.media-card p {
    width: 100%;
}

.media-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-s);
    margin: 4px 0;
}

/* ----- Horiscroll Component ----- */

.horiscroll {
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
    /* Permet le scroll horizontal */
    overflow-y: hidden;
    padding: 10px 5px;
    width: 100%;

    /* Scroll Snapping pour un effet fluide sur mobile */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    /* Cacher la barre de scroll par dÃƒÆ’Ã‚Â©faut (ton style) */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horiscroll::-webkit-scrollbar {
    display: none;
    /* Cache la barre sur Chrome/Safari */
}

/* Les enfants de la section scrollable */
.horiscroll>* {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: start;
    background: var(--color-classic-2);
    padding: 15px;
    border-radius: var(--radius-m);
}

/* Gestion des images ÃƒÆ’  l'intÃƒÆ’Ã‚Â©rieur */
.horiscroll img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-s);
    margin-bottom: 10px;
}

.scroll-item {
    transition: 0.3s;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.scroll-item:hover {
    transform: translateY(-3px);
    box-shadow: 0px 7px 11px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-xl);
}

.scroll-item.clickable {
    appearance: none;
    -webkit-appearance: none;

    border: none;

    color: inherit;
    font: inherit;
    text-align: left;

    cursor: pointer;
}

.scroll-item.clickable:hover {
    transform: translateY(-3px);
    box-shadow:
        0px 7px 10px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px var(--color-pixypurple-medium);
    cursor: pointer;
    background-color: var(--color-pixypurple-dark-transluscent);
}

/* ----- Collapsible ----- */

.droppable-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Bouton principal */

.droppable {
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-classic-2);
    border: none;
    border-radius: var(--radius-m);
    cursor: pointer;
    color: white;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition:
        transform 0.3s,
        box-shadow 0.3s,
        border-radius 0.3s,
        background-color 0.3s;
}

/* Hover cohÃƒÆ’Ã‚Â©rent avec les autres composants */

.droppable:hover {

    transform: translateY(-3px);
    border-radius: var(--radius-xl);
    box-shadow:
        0px 7px 10px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px var(--color-pixypurple-medium);

    background-color: var(--color-pixypurple-dark-transluscent);
}

/* Ouvert */

.droppable.active {

    border-bottom-left-radius: var(--radius-xs);
    border-bottom-right-radius: var(--radius-xs);
}

/* icon */

.icon.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;

    font-size: 38px;
    line-height: 1;

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

    width: 45px;
    height: 45px;

    border-radius: var(--radius-round);

    color: rgba(255, 255, 255, 0.82);

    padding: 0;
    margin: 0;

    overflow: hidden;

    transition:
        transform 0.35s cubic-bezier(.22, .61, .36, 1),
        background 0.25s ease,
        color 0.25s ease;

    font-variation-settings:
        'FILL'1,
        'wght'500,
        'GRAD'0,
        'opsz'24;
}

.droppable.active .icon {
    transform: rotate(180deg);
    color: white;
}

/* ----- Content du droppable ----- */

.content {
    max-height: 0;
    overflow: 1;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition:
        max-height 0.4s ease,
        opacity 0.25s ease;
}

/* ouvert */
.content.open {
    opacity: 1;
    max-height: 2000px;
}

/* les content-block dedans restent NORMAUX */
.content .content-block {
    margin: 0;
}

/* juste adaptation des coins */
.content .content-block {
    border-radius: var(--radius-xs);
}

.content .content-block:last-child {
    border-bottom-left-radius: var(--radius-m);
    border-bottom-right-radius: var(--radius-m);
}

.content .content-block:last-child:hover {
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
}

.inbox {
    width: 100%;
    height: 52px;

    padding: 0 20px;

    background: rgba(90, 90, 90, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border: 2px solid rgba(150, 150, 150, 0.2);
    border-radius: var(--radius-pill);

    color: #fff;
    font-size: 20px;
    font-family: inherit;

    outline: none;

    transition:
        border-color 0.3s,
        background-color 0.3s,
        box-shadow 0.3s,
        transform 0.3s;
}

.inbox::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.inbox:hover {
    border-color: var(--color-pixypurple-medium);
    background-color: var(--color-pixypurple-dark-transluscent);
}

.inbox:focus {
    border-color: var(--color-pixypurple-light);

    background-color: var(--color-pixypurple-dark-transluscent);

    box-shadow:
        0 0 0 4px rgba(120, 0, 160, 0.15),
}

.inbox:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ----- switch ----- */

.switch {
    position: relative;
    width: 60px;
    height: 34px;
    display: inline-block;
}

.switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.slider {
    position: absolute;
    inset: 0;
    background: rgba(90, 90, 90, 0.2);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(150, 150, 150, 0.2);
    border-radius: var(--radius-pill);
    transition: 0.3s;
}

.slider::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: var(--radius-round);
    background: white;
    transition: 0.3s;
}

.switch input:checked+.slider {
    background: var(--color-pixypurple-dark-transluscent);
    border-color: var(--color-pixypurple-medium);
}

.switch input:checked+.slider::before {
    transform: translateX(26px);
    background: var(--color-pixypurple-medium);
}

/* ========== Nova Components ========== */

.novaffect {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.5s ease,
        border-radius 0.3s ease;
}

/* border interne gradient */
.novaffect::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;

    background: linear-gradient(135deg,
            var(--color-nova-cyan),
            var(--color-nova-pink),
            var(--color-nova-purple));

    opacity: 0;
    transition: opacity 0.3s ease;

    /* magie pour faire une vraie border interne */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

/* fond gradient */
.novaffect:hover {
    transform: translateY(-3px);

    background:
        linear-gradient(135deg,
            var(--color-nova-purple-transluscent) 0%,
            var(--color-nova-pink-transluscent) 45%,
            var(--color-nova-cyan-transluscent) 100%);

    box-shadow:
        0px 7px 10px rgba(0, 0, 0, 0.4);
}

/* apparition smooth de la border */
.novaffect:hover::before {
    opacity: 1;
}

/* ----- AI Loader ----- */
.orion-loader {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;

    filter:
        drop-shadow(0 0 8px rgba(0, 255, 0, 0.45)) drop-shadow(0 0 18px rgba(0, 255, 0, 0.25));

    animation: loaderPulse 2s ease-in-out infinite;
}

.orbit {
    position: absolute;

    border-radius: var(--radius-round);
    opacity: 0.95;
}

.orbit-horizontal {
    width: 100%;
    height: 42%;
    border: 4px solid var(--color-nova-pink);
    animation: spinHorizontal 3s ease-in-out infinite;
}

.orbit-vertical {
    width: 42%;
    height: 100%;
    border: 4px solid var(--color-nova-cyan);
    animation: spinVertical 3s ease-in-out infinite reverse;
}

.core {
    width: 20px;
    height: 20px;
    border: 6px var(--color-nova-purple);
    border-radius: var(--radius-round);
    background: var(--color-nova-purple);
    animation:
        corePulse 1.5s ease-in-out infinite;
}

/* animations */

@keyframes spinHorizontal {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinVertical {
    from {
        transform: rotate(90deg);
    }

    to {
        transform: rotate(450deg);
    }
}

@keyframes corePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.75;
    }

    50% {
        transform: scale(0.82);
        opacity: 1;
    }
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

/* ========== Responsive System ========== */
@media (max-width: 768px) {
    .section-navigation {
        right: 10px;
        --section-nav-line-width: 14px;
        --section-nav-active-line-width: 28px;
        --section-nav-gap: 8px;
    }

    .content-list {
        width: 100%;
        padding: 15px;
    }

    .content-grid>* {
        flex-basis: calc(50% - 12px);
        min-width: 240px;
    }

    .content-block {
        border-radius: var(--radius-m);
    }

    .img-icon {
        width: 35px;
        height: 35px;
    }

    .btn,
    .inbox {
        min-height: 48px;
    }

    html {
        font-size: 44px;
    }
}

@media (max-width: 480px) {
    .section-navigation {
        right: 7px;
    }

    .content-list {
        width: 100%;
        padding: 10px;
    }

    .content-grid>* {
        flex-basis: 100%;
        min-width: 0;
    }

    .content-block {
        border-radius: var(--radius-m);
    }

    .img-icon {
        flex-direction: column;
        align-items: flex-start;
    }

    html {
        font-size: 36px;
    }
}

/* ----- Responsive Horiscroll ----- */
@media (max-width: 768px) {
    .horiscroll>* {
        width: 85%;
    }
}

/* ========== Low Perf mode ========== */

body.lowperf .menu {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.lowperf .content-list {
    background: var(--color-classic-1-eco);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.lowperf .content-block {
    background: var(--color-classic-2-eco);
}

body.lowperf .scroll-item {
    background: var(--color-classic-2-eco);
}

body.lowperf .media-card img {
    filter: none;
}

/* ========== accesibility ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.btn:focus-visible,
.inbox:focus-visible,
.droppable:focus-visible,
.switch input:focus-visible+.slider,
.content-block.clickable:focus-visible {
    outline: 3px solid var(--color-pixypurple-light);
    outline-offset: 3px;
}

.ai-loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    background: radial-gradient(circle at center, #0f0c29 0%, #1a103c 50%, #05030a 100%);
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.ai-loader-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 50%;
    filter: blur(45px);
    opacity: 0.8;
    animation: pulseGlow 4s ease-in-out infinite alternate;
    z-index: 1;
}

.wave-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    filter: blur(15px);
}

.wave {
    position: absolute;
    border-radius: 40%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    animation: rotateWave 8s linear infinite;
}

.wave-1 {
    width: 140px;
    height: 140px;
    border-color: rgba(59, 130, 246, 0.6);
    animation-duration: 6s;
    animation-direction: normal;
}

.wave-2 {
    width: 170px;
    height: 170px;
    border-color: rgba(139, 92, 246, 0.5);
    animation-duration: 9s;
    animation-direction: reverse;
}

.wave-3 {
    width: 200px;
    height: 200px;
    border-color: rgba(236, 72, 153, 0.4);
    animation-duration: 12s;
    animation-direction: normal;
}

.ai-core {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(139, 92, 246, 0.8), rgba(236, 72, 153, 0.8));
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.5);
    animation: morphOrb 6s ease-in-out infinite alternate;
    filter: blur(2px);
}

.core-pulse {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(139, 92, 246, 0) 70%);
    animation: innerPulse 2s ease-in-out infinite alternate;
}

.status-text {
    margin-top: 30px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textPulse 2s ease-in-out infinite alternate;
    z-index: 4;
    text-transform: uppercase;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
        filter: blur(35px);
    }

    100% {
        transform: scale(1.3);
        opacity: 0.9;
        filter: blur(55px);
    }
}

@keyframes rotateWave {
    0% {
        transform: rotate(0deg) scale(0.95);
    }

    50% {
        transform: rotate(180deg) scale(1.05);
    }

    100% {
        transform: rotate(360deg) scale(0.95);
    }
}

@keyframes morphOrb {
    0% {
        border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
        transform: scale(0.9);
    }

    33% {
        border-radius: 40% 60% 50% 60% / 60% 40% 60% 40%;
        transform: scale(1.05);
    }

    66% {
        border-radius: 60% 50% 40% 50% / 40% 50% 60% 50%;
        transform: scale(0.95);
    }

    100% {
        border-radius: 50% 60% 50% 40% / 50% 50% 60% 60%;
        transform: scale(1.1);
    }
}

@keyframes innerPulse {
    0% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.9;
    }
}

@keyframes textPulse {
    0% {
        opacity: 0.5;
        filter: drop-shadow(0 0 2px rgba(96, 165, 250, 0.3));
    }

    100% {
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(244, 114, 182, 0.6));
    }
}