/* =========================================================
   GLOBAL & WRAPPER STYLES
   ========================================================= */
.mars-master-wrapper {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    position: relative;
    background: transparent;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

#global-bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

#global-bg-overlay {
    position: fixed;
    inset: 0;
    background: #0f061c;
    opacity: 0.82;
    z-index: 1;
    pointer-events: none;
}

.global-glow-haze {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 245, 255, 0.14), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(91, 141, 239, 0.14), transparent 40%);
}

.mars-relative-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

/* =========================================================
   SCI-FI HERO BANNER MODULE
   ========================================================= */
.mars-hero-viewport-lock {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    /* Fixed for full bleed */
    margin: 0 !important;
    background: transparent;
}

.hero-container {
    width: 100vw !important;
    /* Fixed for full bleed */
    max-width: 100% !important;
    /* Fixed for full bleed */
    min-height: 100vh;
    /* Better vertical scaling */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none !important;
    /* Removed border */
    border-radius: 0 !important;
    /* Removed rounded corners */
    background:
        radial-gradient(ellipse 80% 60% at 50% 110%, rgba(255, 74, 63, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 15% 50%, rgba(0, 245, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 85% 30%, rgba(74, 136, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 100% 100% at 50% 50%, rgba(15, 6, 28, 0.2) 0%, rgba(7, 2, 16, 0.8) 100%);
}

/* Canvases & Background Grid */
#circuitCanvas,
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    pointer-events: none;
}

#circuitCanvas {
    z-index: 1;
    opacity: 0.2;
}

#particleCanvas {
    z-index: 2;
}

.hex-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%2300f5ff' stroke-width='0.5'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%2300f5ff' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: cover;
    overflow: hidden;
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.02) 2px, rgba(0, 0, 0, 0.02) 4px);
}

/* Core Brain Graphic */
.brain-circle-wrapper {
    position: absolute;
    left: 50%;
    top: 56%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    z-index: 6;
    animation: fadeScaleIn 1s ease-out 0.3s both;
    mix-blend-mode: screen;
}

.brain-orbit-ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(0, 245, 255, 0.08);
    animation: orbitSpin 40s linear infinite;
}

.brain-orbit-ring::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00f5ff;
    box-shadow: 0 0 8px #00f5ff, 0 0 16px #00f5ff;
}

.brain-orbit-ring::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 20%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff4a3f;
    box-shadow: 0 0 6px #ff4a3f, 0 0 12px #ff4a3f;
}

.brain-orbit-ring-2 {
    position: absolute;
    inset: -45px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 245, 255, 0.04);
    animation: orbitSpin 55s linear infinite reverse;
}

.brain-orbit-ring-2::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 10px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #4a88ff;
    box-shadow: 0 0 6px #4a88ff;
}

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

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

.brain-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(0, 245, 255, 0.04) 0%, transparent 60%);
    border: 1.5px solid rgba(0, 245, 255, 0.12);
    box-shadow: 0 0 60px rgba(0, 245, 255, 0.06), 0 0 120px rgba(0, 245, 255, 0.03), inset 0 0 80px rgba(0, 245, 255, 0.03);
}

.brain-circle::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(0, 245, 255, 0.15) 15%, transparent 30%, transparent 50%, rgba(255, 74, 63, 0.12) 65%, transparent 80%, transparent 100%);
    animation: circleGlowSpin 8s linear infinite;
    z-index: -1;
}

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

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

.brain-image {
    width: 320px;
    height: 320px;
    position: relative;
    z-index: 2;
    animation: brainFloat 6s ease-in-out infinite;
}

.brain-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.2)) drop-shadow(0 0 60px rgba(0, 245, 255, 0.08));
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 75%);
    mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 75%);
}

@keyframes brainFloat {

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

    50% {
        transform: translateY(-8px) scale(1.02);
    }
}

@keyframes fadeScaleIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.85);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Typography & Text */
.brain-motto {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Orbitron', sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    z-index: 20;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    line-height: 1.3;
    width: 100%;
}

.brain-motto .motto-highlight {
    background: linear-gradient(135deg, #00f5ff 0%, #4a88ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brain-motto .marstech-highlight {
    background: linear-gradient(135deg, #f3a9c3 0%, #ef0750 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating Cards */
.float-card {
    position: absolute;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 6, 28, 0.65);
    border: 1px solid rgba(0, 245, 255, 0.12);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: cardFloat 6s ease-in-out infinite;
    transition: transform 0.3s;
    padding: 12px;
}

.float-card svg {
    width: 32px;
    height: 32px;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    33% {
        transform: translateY(-10px);
    }

    66% {
        transform: translateY(6px);
    }
}

/* Corner Accents */
.corner-accent {
    position: absolute;
    z-index: 5;
    opacity: 0.5;
}

.corner-tl {
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-top: 2px solid rgba(0, 245, 255, 0.35);
    border-left: 2px solid rgba(0, 245, 255, 0.35);
}

.corner-br {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-bottom: 2px solid rgba(255, 74, 63, 0.35);
    border-right: 2px solid rgba(255, 74, 63, 0.35);
}

/* Stat Items */
.stat-item {
    position: absolute;
    text-align: center;
    padding: 12px 18px;
    min-width: 150px;
    z-index: 10;
    background: rgba(15, 6, 28, 0.5);
    border: 1px solid rgba(0, 245, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.stat-1 {
    left: 8vw;
    top: 25%;
    animation: fadeSlideIn 0.8s ease-out 0.8s both;
}

.stat-2 {
    left: 4vw;
    top: 48%;
    transform: translateY(-50%);
    animation: fadeSlideIn 0.8s ease-out 0.9s both;
}

.stat-3 {
    left: 8vw;
    bottom: 20%;
    animation: fadeSlideIn 0.8s ease-out 1.0s both;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.stat-number .stat-accent {
    color: #ff4a3f;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: #a1a8c0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Data Streams */
.data-stream {
    position: absolute;
    z-index: 3;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0, 245, 255, 0.35), transparent);
    animation: streamFlow 4.5s linear infinite;
}

.stream-1 {
    left: 20%;
    height: 110px;
    animation-delay: 0s;
    top: -110px;
}

.stream-2 {
    left: 45%;
    height: 80px;
    animation-delay: 1.8s;
    top: -80px;
}

.stream-3 {
    left: 70%;
    height: 130px;
    animation-delay: 3.2s;
    top: -130px;
}

.stream-4 {
    left: 35%;
    height: 95px;
    animation-delay: 2.2s;
    top: -95px;
}

@keyframes streamFlow {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(900px);
        opacity: 0;
    }
}

/* Code Snippet */
.code-snippet {
    position: absolute;
    right: 5vw;
    top: 30%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(10, 4, 21, 0.88);
    border: 1px solid rgba(0, 245, 255, 0.12);
    border-radius: 14px;
    padding: 24px 30px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.7;
    min-width: 320px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    animation: fadeSlideIn 1s ease-out 1s both;
}

.code-snippet .code-header {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-snippet .dot-r {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4a3f;
}

.code-snippet .dot-y {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffd43f;
}

.code-snippet .dot-g {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00f5ff;
}

.code-line {
    color: #a1a8c0;
    white-space: nowrap;
}

.code-line .kw {
    color: #ff4a3f;
}

.code-line .fn {
    color: #00f5ff;
}

.code-line .str {
    color: #ffd43f;
}

.code-line .cm {
    color: #555;
}

.code-line .var {
    color: #4a88ff;
}

.cursor-blink {
    display: inline-block;
    width: 7px;
    height: 13px;
    background: #00f5ff;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.bottom-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 13;
    background: linear-gradient(90deg, transparent 0%, #ff4a3f 20%, #00f5ff 50%, #4a88ff 80%, transparent 100%);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.25);
}

.connection-line {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.connection-line line {
    stroke: rgba(0, 245, 255, 0.08);
    stroke-width: 1;
    stroke-dasharray: 4 4;
    animation: dashFlow 2s linear infinite;
}

@keyframes dashFlow {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -16;
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS - KEEP FULL SCI-FI LAYOUT
   ========================================================= */

/* Tablet (769px – 1024px) */
@media(max-width: 1024px) {
    .hero-container {
        min-height: 100vh;
        padding-bottom: 40px;
    }

    .brain-motto {
        font-size: 28px;
        top: 30px;
    }

    .brain-circle-wrapper {
        width: 380px;
        height: 380px;
    }

    .brain-image {
        width: 260px;
        height: 260px;
    }

    .code-snippet {
        right: 3vw;
        font-size: 14px;
        min-width: 280px;
        padding: 18px 22px;
    }

    .stat-item {
        min-width: 120px;
        padding: 10px 14px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 9px;
    }

    .float-card {
        padding: 10px;
    }

    .float-card svg {
        width: 26px;
        height: 26px;
    }
}

/* Mobile (481px – 768px) */
/* Mobile (481px – 768px) */
@media(max-width: 768px) {
    .hero-container {
        min-height: 100vh;
        padding: 15px;
    }

    .brain-motto {
        font-size: 24px;
        top: 25px;
        letter-spacing: 1px;
        width: 90%;
    }

    .brain-circle-wrapper {
        width: 260px;
        height: 260px;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
    }

    .brain-image {
        width: 180px;
        height: 180px;
    }

    /* CODE SNIPPET - Bottom Right */
    .code-snippet {
        top: 73% !important;
        right: 4% !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        font-size: 11px !important;
        min-width: 230px !important;
        width: 230px !important;
        padding: 12px !important;
        white-space: nowrap !important;
        overflow: hidden;
    }

    .stat-item {
        bottom: auto;
        transform: none;
        min-width: 120px;
        width: 120px;
        padding: 10px;
        background: rgba(15, 6, 28, 0.7);
        border: 1px solid rgba(0, 246, 254, 0.2);
        border-radius: 8px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 9px;
        letter-spacing: 1px;
    }

    /* STATS - Corners (Aligned precisely at 25% and 73% height) */
    .stat-1 {
        top: 25%;
        left: 4%;
    }

    .stat-2 {
        top: 73%;
        left: 4%;
    }

    .stat-3 {
        top: 25%;
        right: 4%;
        left: auto !important;
    }

    .float-card {
        padding: 10px;
        background: rgba(15, 6, 28, 0.85);
    }

    .float-card svg {
        width: 24px;
        height: 24px;
    }

    /* FLOAT CARDS - Perfectly aligned horizontally with stats */
    .card-shield {
        left: 4% !important;
        top: 45% !important;
        right: auto !important;
        transform: translateY(-50%) !important;
    }

    .card-lock {
        right: 4% !important;
        top: 45% !important;
        left: auto !important;
        transform: translateY(-50%) !important;
    }

    /* Top and Bottom Center float cards - aligned with top/bottom stats */
    .card-robot {
        left: 50% !important;
        top: 25% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
    }

    .card-terminal {
        left: 50% !important;
        top: 73% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
    }

    .corner-accent {
        opacity: 0.4;
    }

    .corner-tl {
        width: 35px;
        height: 35px;
    }

    .corner-br {
        width: 35px;
        height: 35px;
    }

    .data-stream {
        opacity: 0.6;
    }
}

/* Mobile (481px – 768px) */
@media(max-width: 768px) {
    .hero-container {
        min-height: 780px;
        height: 780px;
        padding: 15px;
    }

    .brain-motto {
        font-size: 24px;
        top: 20px;
        letter-spacing: 1px;
        width: 90%;
    }

    .brain-circle-wrapper {
        width: 280px;
        height: 280px;
        top: 420px;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
    }

    .brain-image {
        width: 195px;
        height: 195px;
    }

    /* CODE SNIPPET & STATS - aligned with stat-2 */
    .code-snippet {
        top: 660px !important;
        right: 8% !important;
        left: auto !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        font-size: 8.5px !important;
        min-width: 170px !important;
        width: 170px !important;
        height: 110px !important;
        padding: 10px !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
        overflow: hidden;
    }

    .stat-item {
        bottom: auto;
        transform: translateY(-50%);
        /* Relies on JS .active */
        min-width: 170px;
        width: 170px;
        height: 110px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 12px 10px;
        background: rgba(15, 6, 28, 0.7);
        border: 1px solid rgba(0, 246, 254, 0.2);
        border-radius: 8px;
    }

    .stat-number {
        font-size: 26px;
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 11px;
        letter-spacing: 1px;
        text-align: center;
    }

    /* STATS - Edge Anchored, fixed vertical pixels */
    .stat-1 {
        top: 150px;
        left: 8%;
    }

    .stat-2 {
        top: 660px;
        left: 8%;
    }

    .stat-3 {
        top: 150px;
        right: 8%;
        left: auto !important;
    }

    .float-card {
        padding: 14px;
        background: rgba(15, 6, 28, 0.85);
    }

    .float-card svg {
        width: 32px;
        height: 32px;
    }

    /* FLOAT CARDS - Left/Right aligned to edges to leave equal gap around brain */
    .card-shield {
        left: 8% !important;
        top: 420px !important;
        right: auto !important;
        transform: translateY(-50%) !important;
    }

    .card-lock {
        right: 8% !important;
        top: 420px !important;
        left: auto !important;
        transform: translateY(-50%) !important;
    }

    .card-robot {
        left: 50% !important;
        top: 150px !important;
        transform: translate(-50%, -50%) !important;
        right: auto !important;
    }

    .card-terminal {
        left: 50% !important;
        top: 660px !important;
        transform: translate(-50%, -50%) !important;
        right: auto !important;
    }

    .corner-accent {
        opacity: 0.4;
    }

    .corner-tl {
        width: 35px;
        height: 35px;
    }

    .corner-br {
        width: 35px;
        height: 35px;
    }

    .data-stream {
        opacity: 0.6;
    }
}

/* Small Phone (≤480px) */
@media(max-width: 480px) {
    .hero-container {
        min-height: 560px;
        height: 560px;
        padding: 10px;
    }

    .brain-motto {
        font-size: 19px;
        top: 20px;
        letter-spacing: 0.5px;
        line-height: 1.4;
        width: 95%;
    }

    .brain-circle-wrapper {
        width: 190px;
        height: 190px;
        top: 310px;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
    }

    .brain-image {
        width: 135px;
        height: 135px;
    }

    .brain-orbit-ring {
        inset: -10px;
    }

    .brain-orbit-ring-2 {
        inset: -22px;
    }

    /* CODE SNIPPET - aligned with stat-2 */
    .code-snippet {
        top: 475px !important;
        right: 4% !important;
        left: auto !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        font-size: 7.5px !important;
        min-width: 140px !important;
        width: 140px !important;
        height: 95px !important;
        padding: 8px !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
        overflow: hidden;
    }

    .stat-item {
        bottom: auto;
        transform: translateY(-50%);
        /* Relies on JS .active */
        min-width: 140px;
        width: 140px;
        height: 95px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 8px 6px;
        border-radius: 8px;
        background: rgba(15, 6, 28, 0.7);
        border: 1px solid rgba(0, 246, 254, 0.2);
    }

    .stat-number {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 8.5px;
        letter-spacing: 0.5px;
        text-align: center;
    }

    /* STATS - Edge Anchored, fixed vertical pixels */
    .stat-1 {
        top: 110px;
        left: 4%;
    }

    .stat-2 {
        top: 430px;
        left: 4%;
    }

    .stat-3 {
        top: 110px;
        right: 4%;
        left: auto !important;
    }

    .float-card {
        padding: 10px;
        background: rgba(15, 6, 28, 0.85);
    }

    .float-card svg {
        width: 26px;
        height: 26px;
    }

    /* FLOAT CARDS - Left/Right aligned to edges to leave equal gap around brain */
    .card-shield {
        left: 8% !important;
        top: 310px !important;
        right: auto !important;
        transform: translateY(-50%) !important;
    }

    .card-lock {
        right: 8% !important;
        top: 310px !important;
        left: auto !important;
        transform: translateY(-50%) !important;
    }

    .card-robot {
        left: 50% !important;
        top: 150px !important;
        transform: translate(-50%, -50%) !important;
        right: auto !important;
    }

    .card-terminal {
        left: 50% !important;
        top: 480px !important;
        transform: translate(-50%, -50%) !important;
        right: auto !important;
    }

    .corner-tl {
        width: 25px;
        height: 25px;
        top: 8px;
        left: 8px;
    }

    .corner-br {
        width: 25px;
        height: 25px;
        bottom: 8px;
        right: 8px;
    }

    .connection-line {
        opacity: 0.4;
    }
}