* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    font-family: SF Pro Display, sans-serif;
}

:root {
    --text-color: rgba(255, 255, 255, 0.9);
    --text-other-color: rgba(255, 255, 255, 0.7);
    --text-desc: rgb(114, 114, 114);
}

body {
    background-color: #000000;
    background-image: url(/img/grain-noise.png);
    background-repeat: repeat;
    background-size: 220px 220px;
    background-attachment: fixed;
    font-family: SF Pro Display, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    padding: 160px 12% 0;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-sect {
    position: relative;
    color: var(--text-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 160px);
    margin-bottom: 40px;
    flex-grow: 1;
}

.main-sect h1 {
    letter-spacing: -0.02em;
    font-weight: 600;
    font-size: 58px;
    line-height: 1.25;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.text-gradient {
    display: inline-block;
    background-image: linear-gradient(to right, #ffffff, #93c5fd, #38bdf8, #60a5fa, #93c5fd, #ffffff);
    background-size: 300% 100%;
    background-repeat: repeat;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientYoyo 8s ease-in-out infinite alternate;
}

@keyframes gradientYoyo {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* ==== React Bits - AccordionGallery Showcase ==== */
.main-sect.mc-hero-container {
    min-height: auto;
    padding-top: 40px !important;
    margin-top: 20px !important;
    margin-bottom: 90px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.main-sect.mc-hero-container h1.mc-hero-title {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
    margin: 0 auto 55px auto !important;
    max-width: 960px;
}

.mc-accordion-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 26px auto 0;
    position: relative;
}

.accordion-gallery {
    --ag-accent: #6f8aff;
    --ag-overlay: #060010;
    --ag-text: #ffffff;
    --ag-gap: 14px;
    --ag-radius: 20px;
    --ag-media-size: 480px;

    display: flex;
    flex-direction: row;
    gap: var(--ag-gap);
    width: 100%;
    max-width: 100%;
    perspective: 1400px;
    perspective-origin: 50% 50%;
}

.accordion-gallery--vertical {
    flex-direction: column;
}

.ag-panel {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--ag-radius);
    cursor: pointer;
    display: block;
    text-decoration: none;
    outline: none;
    transform-style: preserve-3d;
    transform-origin: center center;
    background: #090a10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    will-change: flex-grow, transform;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.ag-panel.ag-panel--active {
    border-color: rgba(111, 138, 255, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(111, 138, 255, 0.18);
}

.ag-panel:focus-visible {
    box-shadow:
        0 0 0 2px var(--ag-accent),
        0 10px 30px -18px rgba(0, 0, 0, 0.8);
}

.ag-panel__frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.ag-panel__media {
    --ag-gray: 1;
    --ag-dim: 0.35;
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--ag-media-size);
    height: 100%;
    filter: grayscale(var(--ag-gray));
    will-change: transform, filter;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.accordion-gallery--vertical .ag-panel__media {
    width: 100%;
    height: var(--ag-media-size);
}

.ag-panel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Fallback & placeholder stylized cards before user images */
.ag-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    user-select: none;
}

.ag-media-placeholder.sky-theme {
    background: radial-gradient(circle at 50% 30%, #172a45 0%, #080c14 100%);
}

.ag-media-placeholder.themes-theme {
    background: radial-gradient(circle at 50% 30%, #1a2e22 0%, #06120b 100%);
}

.ag-media-placeholder.esp-theme {
    background: radial-gradient(circle at 50% 30%, #152238 0%, #070d18 100%);
}

.ag-media-placeholder.hand-theme {
    background: radial-gradient(circle at 50% 30%, #2a1638 0%, #0e0714 100%);
}

.ag-media-placeholder.mods-theme {
    background: radial-gradient(circle at 50% 30%, #1b263b 0%, #070d14 100%);
}

.ag-media-badge {
    padding: 6px 14px;
    background: rgba(12, 14, 22, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.01em;
}

.ag-panel__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 55%, rgba(6, 0, 16, 0.7) 100%),
        rgba(6, 0, 16, 0.1);
}

.ag-panel__label {
    position: absolute;
    left: 22px;
    bottom: 22px;
    right: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
    z-index: 2;
}

.ag-panel__bar {
    flex: 0 0 auto;
    width: 3.5px;
    height: 26px;
    border-radius: 3px;
    background: var(--ag-accent);
    opacity: 0;
    box-shadow: 0 0 12px rgba(111, 138, 255, 0.7);
}

.ag-panel__text {
    color: var(--ag-text);
    font-family: inherit;
    font-weight: 600;
    font-size: clamp(1.1rem, 1.4vw, 1.45rem);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
    position: relative;
    top: 1px;
}

@media (max-width: 768px) {
    .accordion-gallery {
        flex-direction: column;
        perspective: none;
        height: auto !important;
        gap: 14px;
    }
    .ag-panel {
        min-height: 120px;
        transform: none !important;
    }
    .accordion-gallery .ag-panel__media {
        width: 100%;
        height: var(--ag-media-size);
    }
}

/* ==== Arknights In-Game GUI Showcase ==== */
.ak-gui-showcase-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 20px auto 40px auto;
    padding: 0 16px;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
}

.ak-gui-frame {
    position: relative;
    border-radius: 20px;
    background: #0d0d12;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ak-gui-frame:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95);
}

.ak-gui-inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #09090d;
    display: block;
}

.ak-gui-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    user-select: none;
    -webkit-user-drag: none;
}

/* ==== Arknights Tactical Loot ESP Radar HUD ==== */
.ak-esp-scanner-wrap {
    width: min(880px, 100%);
    margin: 20px auto 0 auto;
    position: relative;
    z-index: 4;
}

.ak-esp-hud {
    position: relative;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

.ak-radar-grid {
    position: relative;
    width: 100%;
    height: 360px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
}

.ak-radar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    pointer-events: none;
}
.ak-radar-ring.r1 { width: 100px; height: 100px; }
.ak-radar-ring.r2 { width: 220px; height: 220px; }
.ak-radar-ring.r3 { width: 340px; height: 340px; border-style: solid; border-color: rgba(255, 255, 255, 0.04); }

.ak-radar-cross-h {
    position: absolute;
    left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    pointer-events: none;
}

.ak-radar-cross-v {
    position: absolute;
    top: 0; bottom: 0; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    pointer-events: none;
}

.ak-radar-sweep {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(0, 195, 255, 0.22) 0deg, transparent 60deg, transparent 360deg);
    animation: akRadarRotate 4s linear infinite;
    pointer-events: none;
    mask-image: radial-gradient(circle, black 65%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black 65%, transparent 70%);
}

@keyframes akRadarRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ak-radar-player {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ak-radar-player-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.9);
}

.ak-radar-player-ping {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    animation: akPing 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes akPing {
    0% { transform: scale(0.3); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ESP Targets */
.ak-esp-target {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ak-esp-target:hover {
    transform: translate(-50%, -52%) scale(1.08);
}

.ak-esp-box {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease;
}

.target-chest .ak-esp-box {
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
}

.target-chest:hover .ak-esp-box {
    background: rgba(245, 158, 11, 0.28);
    border-color: rgba(245, 158, 11, 0.8);
}

.target-puzzle .ak-esp-box {
    background: rgba(168, 85, 247, 0.16);
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #c084fc;
}

.target-puzzle:hover .ak-esp-box {
    background: rgba(168, 85, 247, 0.28);
    border-color: rgba(168, 85, 247, 0.8);
}

.ak-esp-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 0;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
    opacity: 0;
    transform: translateX(-4px);
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ak-esp-target:hover .ak-esp-info {
    opacity: 1;
    transform: translateX(0);
}

.ak-esp-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.1px;
}

.ak-esp-dist {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    font-family: monospace;
}

@media (max-width: 768px) {
    .ak-radar-grid {
        height: 260px;
    }
    .ak-esp-info {
        display: none;
    }
}

/* ==== React Bits - Circular Gallery WebGL ==== */
.circular-gallery-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    margin: 50px auto 40px auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
}

.circular-gallery {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.circular-gallery:active {
    cursor: grabbing;
}

.circular-gallery:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 4px;
}

.circular-gallery canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* ==== Easter Egg Tag for Gallery ==== */
.ak-gallery-easter-egg {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: transparent;
    border: none;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.88);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: lowercase;
    padding: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 15;
    white-space: nowrap;
    text-align: center;
}

.ak-gallery-easter-egg.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==== React Bits - Gradient Waves Canvas ==== */
.gradient-waves-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    display: block;
}

/* ==== Canvas Star Particles ==== */
.star-particles-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

/* ==== Game Selection Cards (React Bits - Tilted Card) ==== */
.game-cards-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    margin: 45px auto 0;
    width: 100%;
    max-width: 1140px;
    flex-wrap: wrap;
    z-index: 10;
    perspective: 1200px;
}

.game-card {
    flex: 1 1 320px;
    max-width: 360px;
    background: linear-gradient(180deg, rgba(22, 22, 26, 0.62) 0%, rgba(12, 12, 14, 0.74) 100%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 28px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(32px) saturate(160%);
    -webkit-backdrop-filter: blur(32px) saturate(160%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
    will-change: transform;
    transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.game-card-glare {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    mix-blend-mode: overlay;
}

.game-card-elastic-grid {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    background-size: 24px 24px;
    background-image: 
        linear-gradient(to right, rgba(111, 138, 255, 0.12) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(111, 138, 255, 0.12) 1px, transparent 1px);
    -webkit-mask-image: radial-gradient(circle 160px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 80%);
    mask-image: radial-gradient(circle 160px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 80%);
}

.game-card:hover {
    border-color: rgba(111, 138, 255, 0.35);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.75), 0 0 35px rgba(111, 138, 255, 0.22);
}

.game-card-image-wrap {
    width: 100%;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #090810;
    z-index: 1;
}

.game-card-img,
.morph-slider-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.game-card:hover .game-card-img,
.game-card:hover .morph-slider-canvas {
    transform: scale(1.04);
}

.game-card-body {
    padding: 18px 8px 6px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
    position: relative;
    z-index: 1;
}

.game-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.game-card-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.45;
    margin: 0 0 22px 0;
    flex-grow: 1;
}

.game-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    background: #e6e6ec;
    color: #0e0e11;
    font-size: 15px;
    font-weight: 600;
    border-radius: 16px;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    letter-spacing: -0.01em;
    transform: translateZ(36px);
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: none;
}

.game-card-btn:hover {
    background: #ffffff;
    transform: translateZ(40px) translateY(-1px);
}

.game-card-btn:active {
    transform: translateZ(36px) translateY(0);
}

.game-card-btn:hover {
    background: #ffffff;
    transform: translateZ(40px) translateY(-1px);
    box-shadow: none;
}

.game-card-btn:active {
    transform: translateZ(36px) translateY(0);
}

/* ==== Features Row below Cards ==== */
.hub-features {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px;
    margin: 38px auto 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 10;
}

.hub-feature-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: -0.01em;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    cursor: default;
}

.hub-feature-item svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.25s ease, transform 0.25s ease, filter 0.25s ease;
    flex-shrink: 0;
}

.hub-feature-item:hover {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(111, 138, 255, 0.55);
}

.hub-feature-item:hover svg {
    color: #6f8aff;
    transform: scale(1.12);
    filter: drop-shadow(0 0 10px rgba(111, 138, 255, 0.8));
}

.highlight {
    line-height: 0%;
    display: inline-flex;
    position: relative;
    padding: 7px 22px;
    padding-left: 7px;
    border-radius: 40px;
    background: rgba(20, 20, 20, 0.35);
    border: none;
    backdrop-filter: blur(37.5px) !important;
    -webkit-backdrop-filter: blur(37.5px) !important;
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    isolation: isolate;
    will-change: backdrop-filter, transform, opacity;
    overflow: hidden;
    font-size: 22px;
    font-weight: 400;
    vertical-align: middle;
    align-items: center;
    color: var(--text-color);
    box-shadow: 4px 7px 13.5px rgb(0, 0, 0, 0.15);
}

.highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 40px;
    padding: 1px;
    background: linear-gradient(149deg, #fff -10%, #fff -60%, rgba(255, 255, 255, 0.06) 20%, rgba(255, 255, 255, 0.06) 80%, #fff 130%, #fff 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.highlight .icon.event.altar {background-color: #722ABE;}
.highlight .icon.event.meteor {background-color: #74BE2A;}
.highlight .icon.event.beacon {background-color: #B22ABE;}
.highlight .icon.event.death {background-color: #E93A57;}
.highlight .icon.event.vulcan {background-color: #DF9239;}
.highlight .icon.event.xray1 {background-color: #1C85B9;}
.highlight .icon.event.mine {background-color: #431CB9;}
.highlight .icon.event.chest {background-color: #74BE2A;}

.main-sect .highlight {
    margin: 0 16px;
}

.main-sect .highlight:last-child {
    margin-left: 0;
}

.highlight .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 50px;
    font-size: 18px;
    flex-shrink: 0;
    flex-grow: 0;
}

.highlight .icon i {
    line-height: 1;
}

.right-events {
    margin: 42px auto 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.main-sect .highlight.status {
    margin: 0;
}

.highlight .icon.event {
    line-height: 1;
    padding: 10px 12px;
    background-color: #B91C1C;
    margin-right: 10px;
}

.stats {
    display: flex;
    gap: 28px;
    line-height: 1;
}

.stats h2 {
    font-weight: 500;
    font-size: 56px;
    margin-bottom: 14px;
}

.stats p {
    color: var(--text-desc);
    font-size: 16px;
}

/**/

.pluses {
    padding: 200px 0;
    padding-bottom: 0px;
}

.island {
    color: var(--text-color);
}

.island .upper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.island .upper h1 {
    font-size: 80px;
    line-height: 150%;
    letter-spacing: -1px;
    font-weight: 500;
    background-image: linear-gradient(to bottom, #fff 50%, #979797);
    -webkit-background-clip: text;
    color: transparent;
} 

.island .highlight .icon img {
    width: 16px;
    height: 16px;
}

.server-events {
    display: flex;
    padding: 90px 0;
    padding-bottom: 150px;
    align-items: flex-start;
}

.server-events h1 {
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 10px;
}

.server-events p {
    font-size: 18px;
    color: var(--text-desc);
}

.statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-left: auto;
    justify-content: flex-end;
}

.music {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 60px 0 90px 0;
}

.music h1 {
    font-size: 90px;
    letter-spacing: -1px;
    font-weight: 500;
    margin-bottom: 24px;
    background-image: linear-gradient(to bottom, #fff 50%, #979797);
    -webkit-background-clip: text;
    color: transparent;
}

.music p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-desc);
    max-width: 680px;
    margin: 0 auto;
}

.highlight.music {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 500px;
    margin-top: 42px;
}

.highlight.music .upper {
    display: flex;
    align-items: center;
    gap: 20px;
    line-height: 1;
}

.highlight.music .tracker img {
    width: 26px;
}

.highlight.music .upper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-width: 0;
}

.highlight.music .upper .cover {
    width: 80px;
    min-width: 80px;
    border-radius: 16px;
    display: block;
}

.highlight.music .info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1 1 0%;
    margin-right: 30px;
    text-align: left;
}

.highlight.music .title {
    font-size: 22px;
    font-weight: 500;
    white-space: normal;
}

.highlight.music .executor {
    font-size: 18px;
    color: #aaa;
    white-space: normal;
}

.middle {
    display: flex;
    align-items: center;
    gap: 2px;
    width: 100%;
    margin-top: 8px;
}

.middle span {
    font-size: 15px;
    color: #aaa;
    min-width: 40px;
    text-align: center;
}

.progress-bar {
    position: relative;
    flex: 1 1 0%;
    height: 6px;
    min-width: 180px;
    margin: 0 4px;
}

.line-all {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgb(255, 255, 255, 0.25);
    border-radius: 3px;
    height: 100%;
    width: 100%;
}

.line-done {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    background: #FFF;
    border-radius: 3px;
    height: 100%;
    width: 15%;
    z-index: 1;
    transition: width 0.3s;
}

.down {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 8px;
}

.down img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.down .repeat, .sc {
    width: 26px;
}

.down .control {
    display: flex;
    align-items: center;
    gap: 30px;
}
.music-stack {
    position: relative;
    width: 500px;
    height: 340px;
    margin-top: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.highlight.music {
    width: 500px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: absolute;
    left: 0;
    top: 0;
}

.music-bg {
    z-index: 1;
    transform: translate(35px, -35px);
}

.music-front {
    z-index: 2;
    transform: translate(-35px, 35px);
    opacity: 1;
}

/* ww */


.other-statuses {
    display: flex;
    padding: 120px 0 160px 0;
    align-items: center;
    justify-content: center;
}

.other-text {
    max-width: 620px;
}

.other-statuses h1 {
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 22px;
    letter-spacing: -1px;
    background-image: linear-gradient(to bottom, #fff 50%, #979797);
    -webkit-background-clip: text;
    color: transparent;
}

.other-statuses p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-desc);
}

.other.statuses {
    display: flex;
    gap: 18px;
    margin-left: auto;
}

.left-st {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
}

.highlight.status {
    width: fit-content;
}

.highlight.status.xray {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding: 26px;
    height: fit-content;
}

.highlight.status.xray .ore {
    display: inline-block;
    margin-right: 12px;
    vertical-align: middle;
}
.highlight.status.xray .ore img {
    width: 32px;
}
.find {
    line-height: 1;
}
.finded {
    color: var(--text-other-color);
}
.highlight.status.xray span {
    vertical-align: middle;
}

/*mods*/

.highlight.mod .text {
    margin-left: 16px;
}

.highlight.mod img {
    border-radius: 14px;
    width: 86px;
}

.mod-stack {
    position: relative;
    margin: 64px auto 20px auto;
    display: flex;
    width: 600px;
    height: 120px;
    justify-content: center;
    align-items: center;
    perspective: 800px;
    transform-style: preserve-3d;
}

.highlight.mod {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    padding: 0;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: none;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    isolation: isolate;
    will-change: backdrop-filter, transform, opacity;
    overflow: hidden;
    position: absolute;
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.highlight.mod:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.highlight.mod::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(149deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.12) 30%, rgba(255, 255, 255, 0.04) 70%, rgba(255, 255, 255, 0.25) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.highlight.mod img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 12px;
    pointer-events: none;
    user-select: none;
}

.highlight.mod.mod-front {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* ==== React Bits - BounceCards Showcase ==== */
.bounceCardsContainer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 380px;
    height: 220px;
    perspective: 1000px;
    transform-style: preserve-3d;
    perspective-origin: center center;
}

.bounce-card {
    position: absolute;
    width: 130px;
    height: 130px;
    aspect-ratio: 1;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    overflow: hidden;
    background: #090b14;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(111, 138, 255, 0.15);
    cursor: pointer;
    will-change: transform;
    transform-style: preserve-3d;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.bounce-card:hover {
    border-color: rgba(111, 138, 255, 0.6);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.9), 0 0 35px rgba(111, 138, 255, 0.4);
}

.bounce-card .bounce-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
}


.video-text {
    margin-bottom: 35px;
}

.video-container-wrap {
    width: min(920px, 100%);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(111, 138, 255, 0.15);
    background: #000000;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.video-preview-facade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.video-preview-facade::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    transition: opacity 0.3s ease;
}

.video-container-wrap:hover .video-preview-facade {
    filter: brightness(1.06);
}

.video-play-btn {
    position: relative;
    z-index: 2;
    width: 76px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
    filter: drop-shadow(0 10px 25px rgba(255, 0, 0, 0.45));
}

.yt-play-icon {
    width: 100%;
    height: 100%;
}

.yt-play-bg {
    fill: #ff0033;
    transition: fill 0.3s ease;
}

.yt-play-arrow {
    fill: #ffffff;
}

.video-container-wrap:hover .video-play-btn {
    transform: scale(1.15);
    filter: drop-shadow(0 14px 35px rgba(255, 0, 0, 0.7));
}

.video-iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.h1-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

h1 .highlight .icon,
h1 .highlight .text-content {
    display: inline-block;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.right-events .highlight.status {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.5s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.stats .users,
.stats .launches {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.visible .h1-text,
.visible h1 .highlight .icon,
.visible h1 .highlight .text-content,
.visible .right-events .highlight.status,
.visible .stats .users,
.visible .stats .launches {
    opacity: 1;
    transform: translate(0, 0);
}

.visible .h1-text:nth-of-type(1) { transition-delay: 0.1s; }
.visible .h1-text:nth-of-type(2) { transition-delay: 0.2s; }
.visible h1 .highlight:nth-of-type(1) .icon { transition-delay: 0.3s; }
.visible h1 .highlight:nth-of-type(1) .text-content { transition-delay: 0.3s; }
.visible .h1-text:nth-of-type(3) { transition-delay: 0.3s; }
.visible h1 .highlight:nth-of-type(2) .icon { transition-delay: 0.4s; }
.visible h1 .highlight:nth-of-type(2) .text-content { transition-delay: 0.5s; }
.visible .h1-text:nth-of-type(4) { transition-delay: 0.3s; }

.visible .right-events .highlight.status:nth-child(1) { transition-delay: 0.4s; }
.visible .stats .users { transition-delay: 0.7s; }

.visible .right-events .highlight.status:nth-child(2) { transition-delay: 0.5s; }
.visible .stats .launches { transition-delay: 0.8s; }

.visible .right-events .highlight.status:nth-child(3) { transition-delay: 0.6s; }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.4s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.statuses .animate-on-scroll.is-visible:nth-child(1) { transition-delay: 0.1s; }
.statuses .animate-on-scroll.is-visible:nth-child(2) { transition-delay: 0.2s; }
.statuses .animate-on-scroll.is-visible:nth-child(3) { transition-delay: 0.3s; }
.statuses .animate-on-scroll.is-visible:nth-child(4) { transition-delay: 0.4s; }
.statuses .animate-on-scroll.is-visible:nth-child(5) { transition-delay: 0.5s; }

.music-stack .music-bg.animate-on-scroll,
.music-stack .music-front.animate-on-scroll {
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.music-stack .music-bg.animate-on-scroll.is-visible {
    transform: translate(35px, -35px);
}

.music-stack .music-front.animate-on-scroll.is-visible {
    transform: translate(-35px, 35px);
}

.music-stack .music-bg.animate-on-scroll.is-visible {
    transition-delay: 0.1s;
}

.music-stack .music-front.animate-on-scroll.is-visible {
    transition-delay: 0.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-on-scroll .other-text,
.animate-on-scroll .left-st .highlight,
.animate-on-scroll .xray,
.animate-on-scroll .finded {
    opacity: 0;
}

.is-visible .other-text,
.is-visible .left-st .highlight,
.is-visible .xray,
.is-visible .finded {
    animation: fadeInUp 0.5s cubic-bezier(0.45, 1.45, 0.49, 1.15) forwards;
}

.is-visible .left-st .highlight {
    animation: fadeInUp 0.5s cubic-bezier(0.45, 1.45, 0.49, 1.15) forwards;
    animation-delay: 0.5s, 1.2s; 
}

.is-visible .other-text { 
    animation-delay: 0.2s; 
}

.is-visible .left-st .highlight:nth-child(1) { animation-delay: 0.4s; }
.is-visible .left-st .highlight:nth-child(2) { animation-delay: 0.5s; }
.is-visible .left-st .highlight:nth-child(3) { animation-delay: 0.6s; }

.is-visible .xray { 
    animation-delay: 0.8s; 
}

.is-visible .xray .finded:nth-of-type(2) { animation-delay: 0.9s; }
.is-visible .xray .finded:nth-of-type(3) { animation-delay: 1s; }
.is-visible .xray .finded:nth-of-type(4) { animation-delay: 1.1s; }



.animate-on-scroll .music-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}
.is-visible .music-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll .other-text {
    opacity: 0;
}

.is-visible .other-text {
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 0.1s;
}

.animate-on-scroll .music-text.video-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.7s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.animate-on-scroll iframe {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.7s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.is-visible .music-text.video-text {
    opacity: 1;
    transform: translateY(0);
}

.is-visible iframe {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.is-visible .music-text.video-text {
    transition-delay: 0.1s;
}

.is-visible iframe {
    transition-delay: 0.2s;
}

/* ==== CTA Banner (ElasticMesh + Пастельные голубые тона) ==== */
.cta-banner-wrap {
    width: min(920px, 100%);
    margin: 140px auto 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.cta-banner-card {
    position: relative;
    border-radius: 36px;
    padding: 64px 40px;
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
    filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.75));
    cursor: default;
    touch-action: none;
}

.elastic-mesh-canvas-wrap {
    position: absolute;
    inset: -45px;
    width: calc(100% + 90px);
    height: calc(100% + 90px);
    z-index: 1;
    pointer-events: none;
}

.elastic-mesh-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cta-banner-title {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.25;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
    will-change: transform;
}

.cta-banner-desc {
    font-size: clamp(14px, 1.8vw, 16px);
    color: rgba(241, 245, 249, 0.92);
    margin: 0 0 16px 0;
    line-height: 1.5;
    max-width: 540px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
    will-change: transform;
}

.cta-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 42px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    cursor: pointer;
    will-change: transform;
}

.cta-banner-btn:hover {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.cta-banner-btn:active {
    transform: scale(0.98);
}

/* ==== Arknights Accordion Features List (iOS Style) ==== */
.ak-list-section {
    padding: 120px 20px 80px 20px;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.ak-list-header {
    text-align: center;
    margin-bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ak-list-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -1px;
    margin: 0 0 18px 0;
    background-image: linear-gradient(to bottom, #fff 50%, #979797);
    -webkit-background-clip: text;
    color: transparent;
}

.ak-list-subtitle {
    font-size: clamp(14px, 1.8vw, 17px);
    color: var(--text-desc);
    max-width: 620px;
    margin: 0;
    line-height: 1.65;
}

/* ==== Circular 3D WebGL Gallery ==== */
.circular-gallery-wrapper {
    width: 100%;
    height: 520px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    cursor: grab;
    user-select: none;
}
.circular-gallery-wrapper:active {
    cursor: grabbing;
}
.circular-gallery {
    width: 100%;
    height: 100%;
    position: relative;
    outline: none;
}
.circular-gallery canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}
.ak-gallery-easter-egg {
    position: absolute;
    bottom: 30px;
    transform: translateX(-50%) translateY(10px);
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 10;
}
.ak-gallery-easter-egg.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.ak-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.ak-accordion-item {
    position: relative;
    background: rgba(10, 10, 13, 0.78);
    border-radius: 20px;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 12px 36px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ak-accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(13, 13, 17, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 38px rgba(0, 0, 0, 0.55);
}

.ak-accordion-item.active {
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(12, 12, 16, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 48px rgba(0, 0, 0, 0.65);
}

.ak-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: background 0.35s ease;
    user-select: none;
}

.ak-accordion-header:hover {
    background: rgba(255, 255, 255, 0.015);
}

.ak-acc-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ak-acc-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.04);
}

.ak-acc-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ak-accordion-header:hover .ak-acc-avatar {
    transform: scale(1.05);
}

.ak-acc-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.ak-acc-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ak-acc-chevron {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.ak-accordion-item.active .ak-acc-chevron {
    transform: rotate(180deg);
    color: #ffffff;
}

/* Accordion Smooth Body Animation using CSS grid */
.ak-accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ak-accordion-item.active .ak-accordion-body {
    grid-template-rows: 1fr;
}

.ak-accordion-content {
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.ak-fn-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    transition: background 0.3s ease;
    position: relative;
}

.ak-fn-row:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.03);
}

.ak-fn-row:hover {
    background: rgba(255, 255, 255, 0.018);
}

.ak-fn-name {
    font-size: 15.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ak-exp-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ak-fn-num {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    font-family: monospace;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .ak-accordion-header {
        padding: 16px 18px;
    }
    .ak-fn-row {
        padding: 13px 18px;
    }
    .ak-fn-row:not(:last-child)::after {
        left: 18px;
        right: 18px;
    }
    .ak-acc-icon {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }
    .ak-acc-title {
        font-size: 16.5px;
    }
    .ak-fn-name {
        font-size: 14.5px;
    }
}
