:root {
    --arcade-bg: #08080d;
    --arcade-panel: #0d0d14;
    --arcade-panel-soft: #111118;

    --arcade-cyan: #22d3ee;
    --arcade-fuchsia: #e879f9;
    --arcade-pink: #ec4899;
    --arcade-violet: #8b5cf6;

    --arcade-text: #ffffff;
    --arcade-muted: #71717a;
    --arcade-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: var(--arcade-bg);
    color: var(--arcade-text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ========================================================= */
/* APP */
/* ========================================================= */

.arcade-app {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(232, 121, 249, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(34, 211, 238, 0.06),
            transparent 28%
        ),
        var(--arcade-bg);
}

.arcade-container {
    width: auto;
    max-width: 1900px;

    margin: 0 auto;

    padding: 24px;

    box-sizing: border-box;
}


/* ========================================================= */
/* HEADER */
/* ========================================================= */

.arcade-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 36px;
}

.arcade-brand {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 12px;
}

.arcade-brand-dot {
    width: 8px;
    height: 8px;

    border-radius: 999px;

    background: var(--arcade-fuchsia);

    box-shadow:
        0 0 12px rgba(232, 121, 249, 0.9),
        0 0 25px rgba(232, 121, 249, 0.25);
}

.arcade-brand-text {
    color: var(--arcade-fuchsia);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.35em;

    text-transform: uppercase;
}

.arcade-title {
    margin: 0;

    font-size: clamp(36px, 5vw, 56px);

    font-weight: 900;

    letter-spacing: -0.04em;

    line-height: 1;
    text-transform: uppercase;
}

.arcade-subtitle {
    margin: 10px 0 0;

    max-width: 700px;

    color: #71717a;

    font-size: 14px;
}


/* ========================================================= */
/* SYSTEM STATUS */
/* ========================================================= */

.arcade-status {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 20px;

    border:
        1px solid
        rgba(52, 211, 153, 0.2);

    border-radius: 16px;

    background:
        rgba(52, 211, 153, 0.06);
}

.arcade-status-dot {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #34d399;

    box-shadow:
        0 0 12px rgba(52, 211, 153, 0.9),
        0 0 24px rgba(52, 211, 153, 0.25);
}

.arcade-status-label {
    margin: 0;

    color: #10b981;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.2em;

    text-transform: uppercase;
}

.arcade-status-value {
    margin: 2px 0 0;

    color: #6ee7b7;

    font-size: 14px;
    font-weight: 800;
}


/* ========================================================= */
/* SECTIONS */
/* ========================================================= */

.arcade-section {
    margin-bottom: 28px;
}

.arcade-section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 16px;
}

.arcade-section-title {
    margin: 0;

    color: #ffffff;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 0.2em;

    text-transform: uppercase;
}

.arcade-section-description {
    margin: 5px 0 0;

    color: #52525b;

    font-size: 12px;
}


/* ========================================================= */
/* LIVE DATA */
/* ========================================================= */

.arcade-live-status {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #34d399;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.arcade-live-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #34d399;

    box-shadow:
        0 0 10px rgba(52, 211, 153, 0.8);
}


/* ========================================================= */
/* RESPONSIVE GRID */
/* ========================================================= */

.arcade-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


/* ========================================================= */
/* RESPONSIVE MAIN CONTENT */
/* ========================================================= */

@media (max-width: 1400px) {

    .arcade-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

}


@media (max-width: 1050px) {

    .arcade-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


@media (max-width: 700px) {

    .arcade-grid {
        grid-template-columns: 1fr !important;
    }

}

/* ========================================================= */
/* ARCADE BUTTON SYSTEM */
/* ========================================================= */

.arcade-button {

    display: inline-flex;

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

    min-height: 42px;

    padding: 0 18px;

    border: 1px solid
        rgba(168, 85, 247, 0.45);

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            rgba(168, 85, 247, 0.95),
            rgba(217, 70, 239, 0.95)
        );

    color: #ffffff;

    font-family: inherit;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    cursor: pointer;

    box-shadow:
        0 0 20px
        rgba(168, 85, 247, 0.20);

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


.arcade-button:hover {

    border-color:
        rgba(217, 70, 239, 0.70);

    background:
        linear-gradient(
            135deg,
            rgba(168, 85, 247, 1),
            rgba(217, 70, 239, 1)
        );

    box-shadow:
        0 0 28px
        rgba(168, 85, 247, 0.35);

    transform:
        translateY(-1px);
}


.arcade-button:active {

    transform:
        translateY(0);

    box-shadow:
        0 0 16px
        rgba(168, 85, 247, 0.20);
}


.arcade-button:disabled {

    opacity: 0.5;

    cursor: not-allowed;

    transform: none;
}

/* ========================================================= */
/* CARDS */
/* ========================================================= */

.arcade-card {
    position: relative;

    overflow: hidden;

    min-height: 125px;

    padding: 16px;

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        ),
        var(--arcade-panel);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.arcade-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(255, 255, 255, 0.13);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.35);
}

.arcade-card::after {
    position: absolute;

    right: -40px;
    bottom: -40px;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.025);

    filter: blur(28px);

    content: "";
}

.arcade-card-top {
    position: relative;
    z-index: 1;

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.arcade-card-label {
    margin: 0;

    color: #71717a;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.arcade-card-icon {
    display: flex;

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

    width: 32px;
    height: 32px;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.035);

    font-size: 16px;
}

.arcade-card-value {
    position: relative;
    z-index: 1;

    margin: 14px 0 2px;

    color: #ffffff;

    font-size: 32px;
    font-weight: 900;

    letter-spacing: -0.05em;

    line-height: 1;
}

.arcade-card-description {
    position: relative;
    z-index: 1;

    margin: 6px 0 0;

    color: #52525b;

    font-size: 10px;
}

.arcade-activity-message {
    position: relative;
    z-index: 1;

    margin: 8px 0 0;

    color: #ffffff;

    font-size: 11px;
}

.arcade-activity-item .arcade-card-description {
     color: #ffffff !important;
}

/* ========================================================= */
/* CARD ACCENTS */
/* ========================================================= */

.arcade-card-cyan {
    border-color:
        rgba(34, 211, 238, 0.14);
}

.arcade-card-cyan .arcade-card-icon {
    color: var(--arcade-cyan);

    box-shadow:
        0 0 18px rgba(34, 211, 238, 0.08);
}

.arcade-card-fuchsia {
    border-color:
        rgba(232, 121, 249, 0.14);
}

.arcade-card-fuchsia .arcade-card-icon {
    color: var(--arcade-fuchsia);

    box-shadow:
        0 0 18px rgba(232, 121, 249, 0.08);
}

.arcade-card-violet {
    border-color:
        rgba(139, 92, 246, 0.14);
}

.arcade-card-violet .arcade-card-icon {
    color: var(--arcade-violet);

    box-shadow:
        0 0 18px rgba(139, 92, 246, 0.08);
}

.arcade-card-pink {
    border-color:
        rgba(236, 72, 153, 0.14);
}

.arcade-card-pink .arcade-card-icon {
    color: var(--arcade-pink);

    box-shadow:
        0 0 18px rgba(236, 72, 153, 0.08);
}

/* ========================================================= */
/* ACTIVITY FILTERS */
/* ========================================================= */

.arcade-activity-filters {
    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 16px;
}

.arcade-activity-filter-group {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 6px;
}

.arcade-activity-filter {
    padding:
        7px
        11px;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 10px;

    color: #71717a;

    background:
        rgba(13, 13, 20, 0.65);

    font-family: inherit;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.04em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.arcade-activity-filter:hover {
    color: #d4d4d8;

    border-color:
        rgba(255, 255, 255, 0.12);

    background:
        rgba(255, 255, 255, 0.035);
}

.arcade-activity-filter.active {
    color: #ffffff;

    border-color:
        rgba(255, 255, 255, 0.16);

    background:
        rgba(255, 255, 255, 0.08);

    box-shadow:
        inset 0 0 0 1px
        rgba(255, 255, 255, 0.025);
}

/* ========================================================= */
/* ACTIVITY */
/* ========================================================= */

.arcade-activity-card {
    overflow: hidden;

    min-height: 180px;

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 18px;

    background:
        rgba(13, 13, 20, 0.85);
}

.arcade-empty {
    display: flex;

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

    flex-direction: column;

    min-height: 180px;

    text-align: center;
}

.arcade-empty-icon {
    display: flex;

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

    width: 44px;
    height: 44px;

    margin-bottom: 12px;

    border:
        1px solid
        rgba(232, 121, 249, 0.12);

    border-radius: 14px;

    color: var(--arcade-fuchsia);

    background:
        rgba(232, 121, 249, 0.04);

    font-size: 18px;
}

.arcade-empty-title {
    margin: 0;

    color: #a1a1aa;

    font-size: 13px;
    font-weight: 700;
}

.arcade-empty-description {
    margin: 5px 0 0;

    color: #52525b;

    font-size: 11px;
}

/* ========================================================= */
/* EFFECT TEST BUTTON */
/* ========================================================= */

.arcade-effect-test {
    position: relative;
    z-index: 2;

    display: inline-flex;

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

    width: 100%;

    margin-top: 12px;
    padding: 7px 14px;

    border: 1px solid
        rgba(168, 85, 247, 0.35);

    border-radius: 8px;

    background:
        rgba(168, 85, 247, 0.10);

    color: #e9d5ff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.05em;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.arcade-effect-test:hover {
    background:
        rgba(168, 85, 247, 0.20);

    border-color:
        rgba(168, 85, 247, 0.55);

    transform: translateY(-1px);
}

.arcade-effect-test:active {
    transform: translateY(0);
}

/* ========================================================= */
/* EFFECT CONTROLS */
/* ========================================================= */

.arcade-effect-controls {
    display: flex;

    gap: 8px;

    width: 100%;

    margin-top: 14px;
}


/* ========================================================= */
/* TEST BUTTON */
/* ========================================================= */

.arcade-effect-controls .arcade-effect-test {
    flex: 1;

    width: auto;

    margin-top: 0;
}


/* ========================================================= */
/* ENABLE / DISABLE */
/* ========================================================= */

.arcade-effect-toggle {
    flex: 1;

    padding: 9px 12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.04);

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.05em;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.arcade-effect-toggle:hover {
    transform: translateY(-1px);
}


.arcade-effect-toggle.enabled {
    background:
        rgba(232, 121, 249, 0.08);

    border-color:
        rgba(232, 121, 249, 0.25);
}


.arcade-effect-toggle.enabled:hover {
    background:
        rgba(232, 121, 249, 0.16);

    border-color:
        rgba(232, 121, 249, 0.45);
}


.arcade-effect-toggle.disabled {
    background:
        rgba(255, 255, 255, 0.025);

    border-color:
        rgba(255, 255, 255, 0.06);

    color:
        #71717a;
}

/* ========================================================= */
/* RESPONSIVE */
/* ========================================================= */

@media (max-width: 1100px) {

    .arcade-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {

    .arcade-container {
        padding: 20px;
    }

    .arcade-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .arcade-grid {
        grid-template-columns: 1fr;
    }

    .arcade-title {
        font-size: 38px;
    }

}


/* ========================================================= */
/* SIDEBAR */
/* ========================================================= */

.arcade-sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    z-index: 100;

    display: flex;
    flex-direction: column;

    width: 260px;

    padding: 24px 16px;

    border-right: 1px solid rgba(255, 255, 255, 0.07);

    background:
        linear-gradient(
            180deg,
            rgba(15, 15, 23, 0.98),
            rgba(8, 8, 13, 0.98)
        );

    box-shadow:
        12px 0 40px rgba(0, 0, 0, 0.2);

    backdrop-filter: blur(20px);
}


/* ========================================================= */
/* SIDEBAR BRAND */
/* ========================================================= */

.arcade-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 4px 8px 24px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.arcade-sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(232, 121, 249, 0.35);
    border-radius: 12px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(232, 121, 249, 0.18),
            rgba(139, 92, 246, 0.08)
        );

    box-shadow:
        0 0 24px rgba(232, 121, 249, 0.08);

    font-size: 18px;
    font-weight: 900;
}

.arcade-sidebar-brand-name {
    color: #ffffff;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 0.16em;
}

.arcade-sidebar-brand-subtitle {
    margin-top: 3px;

    color: #71717a;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.25em;
}


/* ========================================================= */
/* NAVIGATION */
/* ========================================================= */

.arcade-sidebar-nav {
    flex: 1;

    overflow-y: auto;

    padding: 22px 0;
}

.arcade-sidebar-group {
    margin-bottom: 24px;
}

.arcade-sidebar-heading {
    padding: 0 10px 8px;

    color: #3f3f46;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.arcade-sidebar-link {
    position: relative;

    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;

    margin-bottom: 3px;

    padding: 10px 12px;

    border: 1px solid transparent;
    border-radius: 10px;

    color: #71717a;

    font-size: 12px;
    font-weight: 700;

    transition:
        color 160ms ease,
        background 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.arcade-sidebar-link:hover {
    color: #d4d4d8;

    background: rgba(255, 255, 255, 0.035);

    transform: translateX(2px);
}

.arcade-sidebar-link.active {
    color: #ffffff;

    border-color: rgba(232, 121, 249, 0.14);

    background:
        linear-gradient(
            90deg,
            rgba(232, 121, 249, 0.11),
            rgba(139, 92, 246, 0.04)
        );

    box-shadow:
        inset 3px 0 0 var(--arcade-fuchsia),
        0 0 24px rgba(232, 121, 249, 0.04);
}

.arcade-sidebar-link.active::after {
    position: absolute;

    right: 10px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--arcade-fuchsia);

    box-shadow:
        0 0 10px rgba(232, 121, 249, 0.9);

    content: "";
}

.arcade-sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;

    color: #52525b;

    font-size: 14px;
}

.arcade-sidebar-link:hover .arcade-sidebar-icon,
.arcade-sidebar-link.active .arcade-sidebar-icon {
    color: var(--arcade-fuchsia);
}


/* ========================================================= */
/* SIDEBAR FOOTER */
/* ========================================================= */

.arcade-sidebar-footer {
    padding-top: 16px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.arcade-sidebar-system {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px;

    border: 1px solid rgba(52, 211, 153, 0.1);
    border-radius: 12px;

    background: rgba(52, 211, 153, 0.035);
}

.arcade-sidebar-system-dot {
    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #34d399;

    box-shadow:
        0 0 10px rgba(52, 211, 153, 0.8);
}

.arcade-sidebar-system-title {
    color: #71717a;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.arcade-sidebar-system-status {
    margin-top: 2px;

    color: #34d399;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.1em;
}

.arcade-sidebar-version {
    padding-top: 12px;

    color: #27272a;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.12em;

    text-align: center;
}




/* ========================================================= */
/* MAIN CONTENT */
/* ========================================================= */

.arcade-main {
    margin-left: 260px;
    width: calc(100% - 260px);
    max-width: none;
    box-sizing: border-box;
}


/* ========================================================= */
/* MOBILE */
/* ========================================================= */

@media (max-width: 800px) {

    .arcade-sidebar {
        width: 72px;
        padding: 20px 10px;
    }

    .arcade-sidebar-brand {
        justify-content: center;
        padding: 4px 0 20px;
    }

    .arcade-sidebar-brand > div:not(.arcade-sidebar-logo) {
        display: none;
    }

    .arcade-sidebar-heading,
    .arcade-sidebar-link span:not(.arcade-sidebar-icon),
    .arcade-sidebar-system > div,
    .arcade-sidebar-version {
        display: none;
    }

    .arcade-sidebar-link {
        justify-content: center;
        padding: 12px;
    }

    .arcade-sidebar-icon {
        width: auto;
        font-size: 16px;
    }

    .arcade-sidebar-system {
        justify-content: center;
    }

    .arcade-main {
        margin-left: 72px;
    }

}

@media (max-width: 500px) {

    .arcade-container {
        padding: 16px;
    }

}
/* ========================================================= */
/* FINAL ARCADE LAYOUT */
/* ========================================================= */

.arcade-sidebar {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;

    width: 260px !important;
    height: 100vh !important;

    display: flex !important;
    flex-direction: column !important;

    z-index: 9999 !important;

    box-sizing: border-box !important;

    padding: 24px 16px !important;

    background:
        linear-gradient(
            180deg,
            rgba(15, 15, 23, 0.98),
            rgba(8, 8, 13, 0.98)
        ) !important;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.07) !important;

    box-shadow:
        12px 0 40px rgba(0, 0, 0, 0.2) !important;
}

.arcade-main {
    margin-left: 260px !important;

    width: calc(100% - 260px) !important;

    max-width: none !important;

    box-sizing: border-box !important;
    
    
}

/* ========================================================= */
/* EFFECT PREVIEW */
/* ========================================================= */

.arcade-effect-preview {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

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

    padding: 30px;

    background:
        rgba(0, 0, 0, 0.82);

    backdrop-filter: blur(8px);

    cursor: pointer;
}

.arcade-effect-preview img,
.arcade-effect-preview video {
    display: block;

    max-width: 90vw;
    max-height: 85vh;

    border:
        1px solid
        rgba(232, 121, 249, 0.35);

    border-radius: 16px;

    box-shadow:
        0 0 40px
        rgba(232, 121, 249, 0.20);
}

.arcade-effect-preview video {
    background: #000;

    cursor: default;
}

/* ========================================================= */
/* EFFECT MEDIA PREVIEW */
/* ========================================================= */

.arcade-effect-media {
    display: flex;

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

    width: 100%;
    height: 110px;

    margin: 12px 0 14px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 12px;

    background:
        rgba(0, 0, 0, 0.30);
}

.arcade-effect-media img,
.arcade-effect-media video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.arcade-effect-media video {
    background: #000;
}


/* ========================================================= */
/* ADD EFFECT BUTTON */
/* ========================================================= */

.arcade-effect-add {
    display: inline-flex;

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

    padding: 7px 14px;

    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 8px;

    background: rgba(168, 85, 247, 0.10);

    color: #e9d5ff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.05em;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.arcade-effect-add:hover {
    background: rgba(168, 85, 247, 0.20);

    border-color: rgba(168, 85, 247, 0.55);

    transform: translateY(-1px);
}

.arcade-effect-add:active {
    transform: translateY(0);
}

/* ========================================================= */
/* EFFECT DELETE BUTTON */
/* ========================================================= */

.arcade-effect-delete {
    position: relative;
    z-index: 10;

    display: inline-flex;

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

    width: 100%;

    margin-top: 8px;
    padding: 7px 14px;

    border: 1px solid rgba(244, 63, 94, 0.30);
    border-radius: 8px;

    background: rgba(244, 63, 94, 0.08);

    color: #fecdd3;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.05em;

    cursor: pointer;

    pointer-events: auto;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.arcade-effect-delete:hover {
    background: rgba(244, 63, 94, 0.18);

    border-color: rgba(244, 63, 94, 0.55);

    transform: translateY(-1px);
}

.arcade-effect-delete:active {
    transform: translateY(0);
}

.arcade-effect-delete:disabled {
    opacity: 0.6;

    cursor: wait;
}

/* ========================================================= */
/* REWARD CONFIGURATION PANEL */
/* ========================================================= */

.arcade-reward-config-panel {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: flex-start;

    justify-content: center;

    padding: 30px;

    background:
        rgba(5, 5, 12, 0.78);

    backdrop-filter:
        blur(8px);

    overflow-y: auto;

    overflow-x: hidden;

}


.arcade-reward-config-panel-inner {

    width: 100%;

    max-width: 620px;

    padding: 28px;

    margin: auto 0;

    box-sizing: border-box;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(25, 18, 42, 0.98),
            rgba(10, 12, 24, 0.98)
        );

    box-shadow:
        0 25px 80px
        rgba(0, 0, 0, 0.65),

        0 0 35px
        rgba(168, 85, 247, 0.12);

}


.arcade-reward-config-panel
.arcade-effect-field {

    margin-top: 24px;

}


.arcade-reward-config-panel
.arcade-effect-field label {

    display: block;

    margin-bottom: 8px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

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

}


.arcade-reward-config-panel
.arcade-effect-field select {

    width: 100%;

    padding: 13px 15px;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 10px;

    background:
        rgba(0, 0, 0, 0.35);

    color:
        #ffffff;

    outline: none;

}


.arcade-reward-config-panel
.arcade-effect-field select:focus {

    border-color:
        rgba(168, 85, 247, 0.65);

    box-shadow:
        0 0 0 3px
        rgba(168, 85, 247, 0.10);

}


.arcade-reward-config-panel-actions {

    display: flex;

    justify-content: flex-end;

    gap: 12px;

    margin-top: 28px;

}


.arcade-reward-config-panel-actions
button {

    min-height: 42px;

    padding: 0 18px;

    border-radius: 9px;

    cursor: pointer;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.08em;

}


.arcade-reward-config-panel-actions
.arcade-effect-cancel {

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    background:
        rgba(255, 255, 255, 0.04);

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

}


.arcade-reward-config-panel-actions
.arcade-effect-cancel:hover {

    background:
        rgba(255, 255, 255, 0.08);

}


.arcade-reward-config-panel-actions
.arcade-effect-save {

    border:
        1px solid
        rgba(168, 85, 247, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(168, 85, 247, 0.95),
            rgba(217, 70, 239, 0.95)
        );

    color:
        #ffffff;

    box-shadow:
        0 0 20px
        rgba(168, 85, 247, 0.20);

}


.arcade-reward-config-panel-actions
.arcade-effect-save:hover {

    box-shadow:
        0 0 28px
        rgba(168, 85, 247, 0.35);

    transform:
        translateY(-1px);

}

/* =========================================================
   REWARD CARD CONFIGURE BUTTON
   ========================================================= */

.arcade-reward-configure {

    min-height: 42px;

    padding: 0 18px;

    border-radius: 9px;

    cursor: pointer;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.08em;

    border:
        1px solid
        rgba(168, 85, 247, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(168, 85, 247, 0.95),
            rgba(217, 70, 239, 0.95)
        );

    color:
        #ffffff;

    box-shadow:
        0 0 20px
        rgba(168, 85, 247, 0.20);

    transition:
        all 0.2s ease;

}


.arcade-reward-configure:hover {

    box-shadow:
        0 0 28px
        rgba(168, 85, 247, 0.35);

    transform:
        translateY(-1px);

}

/* ========================================================= */
/* REWARDS PLATFORM FILTER */
/* ========================================================= */

.arcade-platform-filter {

display: flex;

flex-wrap: wrap;

gap: 8px;

margin-bottom: 18px;

}

.arcade-platform-button {

min-height: 38px;

padding: 0 16px;

border:
    1px solid
    rgba(255, 255, 255, 0.10);

border-radius: 9px;

background:
    rgba(255, 255, 255, 0.035);

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

font-size: 11px;

font-weight: 800;

letter-spacing: 0.10em;

cursor: pointer;

transition:
    all 0.18s ease;

}

.arcade-platform-button:hover {

border-color:
    rgba(168, 85, 247, 0.45);

background:
    rgba(168, 85, 247, 0.08);

color:
    #ffffff;

}

.arcade-platform-button.active {

border-color:
    rgba(168, 85, 247, 0.60);

background:
    linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.22),
        rgba(217, 70, 239, 0.14)
    );

color:
    #ffffff;

box-shadow:
    0 0 18px
    rgba(168, 85, 247, 0.14);

}


/* ========================================================= */
/* GRID OVERFLOW FIX */
/* ========================================================= */

.arcade-main,
.arcade-container,
.arcade-section,
.arcade-grid,
.arcade-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* =========================================================
   REWARD OVERLAY DISPLAY SETTINGS
   ========================================================= */

.arcade-reward-display-settings {

    margin-top: 20px;

    padding: 20px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 12px;

    background:
        rgba(255,255,255,0.025);

}


.arcade-reward-display-title {

    font-size: 0.8rem;

    font-weight: 800;

    letter-spacing: 0.12em;

    margin-bottom: 4px;

}


.arcade-reward-display-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-top: 14px;

}


.arcade-reward-display-grid
.arcade-effect-field {

    min-width: 0;

}


.arcade-reward-display-grid
input,
.arcade-reward-display-grid
select {

    width: 100%;

    box-sizing: border-box;

}


.reward-display-custom-position {

    margin-top: 10px;

}


@media (max-width: 700px) {

    .arcade-reward-display-grid {

        grid-template-columns:
            1fr;

    }

}

/* =========================================================
   REWARD CONFIGURATOR BUTTONS
   ========================================================= */

.arcade-reward-config-panel button {

    min-height: 42px;

    padding: 0 18px;

    border-radius: 9px;

    cursor: pointer;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.08em;

    transition:
        all 0.2s ease;

}


/* =========================================================
   ADD ACTION
   ========================================================= */

.arcade-reward-add-action
.arcade-effect-save {

    border:
        1px solid
        rgba(168, 85, 247, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(168, 85, 247, 0.95),
            rgba(217, 70, 239, 0.95)
        );

    color:
        #ffffff;

    box-shadow:
        0 0 20px
        rgba(168, 85, 247, 0.20);

}


.arcade-reward-add-action
.arcade-effect-save:hover {

    box-shadow:
        0 0 28px
        rgba(168, 85, 247, 0.35);

    transform:
        translateY(-1px);

}


/* =========================================================
   CONFIGURATOR SAVE
   ========================================================= */

.arcade-reward-config-panel-actions
.arcade-effect-save {

    border:
        1px solid
        rgba(168, 85, 247, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(168, 85, 247, 0.95),
            rgba(217, 70, 239, 0.95)
        );

    color:
        #ffffff;

    box-shadow:
        0 0 20px
        rgba(168, 85, 247, 0.20);

}


.arcade-reward-config-panel-actions
.arcade-effect-save:hover {

    box-shadow:
        0 0 28px
        rgba(168, 85, 247, 0.35);

    transform:
        translateY(-1px);

}


/* =========================================================
   CONFIGURATOR CANCEL
   ========================================================= */

.arcade-reward-config-panel-actions
.arcade-effect-cancel {

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    background:
        rgba(255, 255, 255, 0.04);

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

}


.arcade-reward-config-panel-actions
.arcade-effect-cancel:hover {

    background:
        rgba(255, 255, 255, 0.08);

    transform:
        translateY(-1px);

}

/* ========================================================= */
/* GAME SYSTEM BUTTONS */
/* ========================================================= */

.arcade-button {
    display: inline-flex;

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

    min-height: 40px;

    padding: 0 16px;

    border-radius: 9px;

    font-family: inherit;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.08em;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;

    color: #ffffff;
}


/* ========================================================= */
/* ADD GAME — FUCHSIA */
/* ========================================================= */

.arcade-button-add {
    border:
        1px solid
        rgba(232, 121, 249, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(232, 121, 249, 0.95),
            rgba(217, 70, 239, 0.95)
        );

    box-shadow:
        0 0 20px
        rgba(232, 121, 249, 0.18);
}

.arcade-button-add:hover {
    border-color:
        rgba(232, 121, 249, 0.70);

    box-shadow:
        0 0 30px
        rgba(232, 121, 249, 0.35);

    transform:
        translateY(-1px);
}


/* ========================================================= */
/* CONFIGURE — CYAN */
/* ========================================================= */

.arcade-button-configure {
    border:
        1px solid
        rgba(34, 211, 238, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(34, 211, 238, 0.95),
            rgba(6, 182, 212, 0.95)
        );

    box-shadow:
        0 0 20px
        rgba(34, 211, 238, 0.18);
}

.arcade-button-configure:hover {
    border-color:
        rgba(34, 211, 238, 0.70);

    box-shadow:
        0 0 30px
        rgba(34, 211, 238, 0.35);

    transform:
        translateY(-1px);
}


/* ========================================================= */
/* DELETE — RED */
/* ========================================================= */

.arcade-button-delete {
    border:
        1px solid
        rgba(244, 63, 94, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(244, 63, 94, 0.95),
            rgba(220, 38, 38, 0.95)
        );

    box-shadow:
        0 0 20px
        rgba(244, 63, 94, 0.18);
}

.arcade-button-delete:hover {
    border-color:
        rgba(244, 63, 94, 0.70);

    box-shadow:
        0 0 30px
        rgba(244, 63, 94, 0.35);

    transform:
        translateY(-1px);
}


/* ========================================================= */
/* BUTTON PRESS */
/* ========================================================= */

.arcade-button:active {
    transform:
        translateY(0);
}

/* ========================================================= */
/* GAME SYSTEM BUTTONS */
/* ========================================================= */

.arcade-game-add,
.arcade-game-configure,
.arcade-game-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 18px;

    border-radius: 9px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.08em;

    cursor: pointer;

    transition:
        all 0.2s ease;
}


/* ========================================================= */
/* ADD GAME — FUCHSIA */
/* ========================================================= */

.arcade-game-add {
    border:
        1px solid
        rgba(232, 121, 249, 0.50);

    background:
        linear-gradient(
            135deg,
            rgba(232, 121, 249, 0.95),
            rgba(217, 70, 239, 0.95)
        );

    color: #ffffff;

    box-shadow:
        0 0 20px
        rgba(232, 121, 249, 0.20);
}

.arcade-game-add:hover {
    border-color:
        rgba(232, 121, 249, 0.75);

    box-shadow:
        0 0 30px
        rgba(232, 121, 249, 0.38);

    transform:
        translateY(-1px);
}


/* ========================================================= */
/* CONFIGURE — CYAN */
/* ========================================================= */

.arcade-game-configure {
    border:
        1px solid
        rgba(34, 211, 238, 0.50);

    background:
        linear-gradient(
            135deg,
            rgba(34, 211, 238, 0.95),
            rgba(6, 182, 212, 0.95)
        );

    color: #ffffff;

    box-shadow:
        0 0 20px
        rgba(34, 211, 238, 0.18);
}

.arcade-game-configure:hover {
    border-color:
        rgba(34, 211, 238, 0.75);

    box-shadow:
        0 0 30px
        rgba(34, 211, 238, 0.35);

    transform:
        translateY(-1px);
}


/* ========================================================= */
/* DELETE — RED */
/* ========================================================= */

.arcade-game-delete {
    border:
        1px solid
        rgba(244, 63, 94, 0.50);

    background:
        linear-gradient(
            135deg,
            rgba(244, 63, 94, 0.95),
            rgba(220, 38, 38, 0.95)
        );

    color: #ffffff;

    box-shadow:
        0 0 20px
        rgba(244, 63, 94, 0.18);
}

.arcade-game-delete:hover {
    border-color:
        rgba(244, 63, 94, 0.75);

    box-shadow:
        0 0 30px
        rgba(244, 63, 94, 0.35);

    transform:
        translateY(-1px);
}


/* ========================================================= */
/* ACTIVE PRESS */
/* ========================================================= */

.arcade-game-add:active,
.arcade-game-configure:active,
.arcade-game-delete:active {
    transform: translateY(0);
}