@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&family=Zalando+Sans+Expanded:ital,wght@0,200..900;1,200..900&display=swap');

:root {
    --primary: #e90e0e;
    --primary-light: #f83838;
    --primary-dark: #a10303;
    --primary-glow: rgba(233, 14, 14, 0.55);
    --primary-glow-strong: rgba(233, 14, 14, 0.7);
    --bg-dark: #0f0606;
    --bg-card: #200a0a;
    --bg-card-hover: #2a0d0d;
    --border: #301313;
    --border-glow: rgba(233, 14, 14, 0.35);
    --text: #ffffff;
    --text-dim: #b88b8b;
    --text-dimmer: #754a4a;


    --alert-success: #10b981;
    --alert-success-glow: rgba(16, 185, 129, 0.3);
    --alert-error: #ef4444;
    --alert-error-glow: rgba(239, 68, 68, 0.3);
    --alert-warning: #f59e0b;
    --alert-warning-glow: rgba(245, 158, 11, 0.3);
    --alert-info: var(--primary);
    --alert-info-glow: var(--primary-glow);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

::selection {
    background-color: red;
    color: white;
}


.logo_apex {
    font-size: 24px;
    font-weight: 800;
    animation: shineLOGO 3s linear infinite;
}

@keyframes shineLOGO {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.auth_logo .logo_apex {
    position: relative;
    top: 13px;
    font-size: 24px;
    font-family: "Unbounded", sans-serif;
    font-weight: 300;
    letter-spacing: 0.07em;
    line-height: 1;
}

.auth_logo .logo_desc {
    position: relative;
    top: 13px;
    font-size: 24px;
    font-family: "Unbounded", sans-serif;
    font-weight: 300;
    letter-spacing: 0.07em;
    line-height: 1;
}

.logo .logo_apex {
    font-size: 28px;
    letter-spacing: 0.07em;
    line-height: 1;
}

.logo .logo_desc {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.07em;
    line-height: 1;
    color: #ffffff73;
}

.auth_screen {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.31) 0%, rgba(0, 0, 0, 0.82) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 23px,
            rgba(255, 255, 255, 0.03) 23px,
            rgba(255, 255, 255, 0.03) 24px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 23px,
            rgba(255, 255, 255, 0.03) 23px,
            rgba(255, 255, 255, 0.03) 24px
        ),
        var(--bg-dark);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.auth_screen::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 300px;
    left: 100%;
    top: 100%;
    transform: translateX(-50%);
    background: var(--primary-glow-strong);
    filter: blur(120px);
    pointer-events: none;
}

.auth_screen::after {
    content: '';
    position: absolute;
    width: 287px;
    height: 221px;
    left: 10%;
    bottom: 20%;
    background: var(--primary-glow);
    filter: blur(112px);
    pointer-events: none;
}

.auth_screen.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.auth_container {
    text-align: center;
    padding: 15px 15px;
    box-shadow: inset 0 0 200px 40px rgba(255, 255, 255, 0.08);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    max-width: 460px;
    width: 100%;
    position: relative;
    animation: slideUp 0.5s ease;
}

.auth_container::before {
    content: '';
    position: absolute;
    width: 287px;
    height: 180px;
    left: 50%;
    top: -140px;
    transform: translateX(-50%);
    background: var(--primary-glow-strong);
    filter: blur(112px);
    pointer-events: none;
}

.auth_container::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
}

@media (max-width: 758px) {
    .auth_container {
        max-width: 90%;
        padding: 18px;
    }

    .auth_container::before {
        width: 220px;
        height: 140px;
        top: -110px;
        filter: blur(90px);
    }
}

@media (max-width: 480px) {
    .auth_container {
        max-width: 90%;
        padding: 16px;
    }

    .auth_container::before {
        width: 180px;
        height: 120px;
        top: -90px;
        filter: blur(70px);
    }

    .auth_container::after {
        width: 40px;
    }
}


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

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

.auth_logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
    padding: 30px 30px;
    box-shadow: inset 0 0 50px 3px rgba(255, 255, 255, 0.1);
}

.logo_image {
    width: 100px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    display: block;
}

.discord_auth_btn {
    width: 100%;
    height: 43px;
    box-shadow: 0 10px 38px rgba(220, 7, 7, 0.25);
    background: #dc0707;
    border: none;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.55);
    font-size: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.discord_auth_btn svg {
    width: 22px;
    height: 22px;
}

.discord_auth_btn:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(5px) rotate(-2deg);
}

.main_content {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.main_content.visible {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 10001;
}

header {
    position: sticky;
    top: 20px;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(15, 6, 6, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(233, 14, 14, 0.15);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(233, 14, 14, 0.1);
}

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

.header_left .logo {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    white-space: nowrap;
}

.header_right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header_profile {
    position: relative;
    display: flex;
    align-items: center;
}

.search_container {
    position: relative;
    width: 260px;
    min-width: 180px;
}

.search_icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: var(--text-dimmer);
    pointer-events: none;
}

.search_input {
    width: 100%;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0px 0px 17.7px #140303;
    padding: 0 16px 0 40px;
    color: var(--text);
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.search_input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: inset 0px 0px 17.7px #140303, 0 0 10px rgba(233, 14, 14, 0.2);
}

.search_input::placeholder {
    color: #717171;
}

.header_profile .profile_btn {
    height: 36px;
    padding: 0 10px 0 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 0.5px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    font-size: 11px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.header_profile .profile_btn:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.profile_btn_avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e90e0e, #a10303);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.profile_btn_info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.profile_btn_name {
    font-weight: 600;
    font-size: 11px;
}

.profile_btn_role {
    font-size: 9px;
    color: var(--text-dimmer);
}

.profile_btn_chevron {
    width: 12px;
    height: 12px;
    stroke: var(--text-dim);
    transition: transform 0.25s ease;
}

.profile_btn:hover {
    box-shadow: 0 10px 28px rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(2px);
}

.header_profile.active .profile_btn_chevron {
    transform: rotate(180deg);
}

.profile_dropdown_menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 190px;
    background: #0f0606;
    border: 0.5px solid var(--border-glow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
    box-shadow: 0 0 28px rgba(233, 14, 14, 0.18);
    z-index: 210;
}

.header_profile.active .profile_dropdown_menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile_dropdown_item {
    width: 100%;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.profile_dropdown_item:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.profile_dropdown_divider {
    margin: 6px 0;
}

.filter_dropdown {
    position: relative;
}

.filter_btn {
    height: 36px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 0.5px solid rgba(255, 255, 255, 0.4);
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.filter_btn svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-dim);
}

.filter_btn .chevron {
    width: 13px;
    height: 13px;
    transition: transform 0.3s ease;
}

.filter_btn:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.filter_dropdown.active .filter_btn .chevron {
    transform: rotate(180deg);
}

.filter_item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: all 0.2s ease;
    margin-bottom: 5px;
}

.filter_item:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.filter_item.selected_filter {
    background: linear-gradient(145.6deg, #4a0303 28.53%, var(--primary) 77.04%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 35px rgba(233, 14, 14, 0.2);
    color: white;
}

.filter_menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 180px;
    background: #0f0606;
    border: 0.5px solid var(--border-glow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 200;
    box-shadow: 0 0 30px rgba(233, 14, 14, 0.12);
}

.filter_dropdown.active .filter_menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.action_btn {
    height: 36px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 0.5px solid rgba(255, 255, 255, 0.4);
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.action_btn svg {
    width: 14px;
    height: 14px;
}

.action_btn:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.upload_btn {
    background: linear-gradient(145.6deg, #4a0303 28.53%, var(--primary) 77.04%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 35px rgba(233, 14, 14, 0.2);
}

.upload_btn:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.admin_btn,
.logout_btn {
    padding: 0 12px;
}

.admin_btn span,
.logout_btn span {
    display: none;
}

@media (max-width: 1200px) {
    header {
        width: 95%;
        padding: 10px 20px;
        top: 15px;
    }

    .search_container {
        width: 220px;
    }
}

@media (max-width: 992px) {
    header {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        top: 15px;
        width: 95%;
        gap: 15px;
    }

    .header_left {
        display: flex;
        justify-content: center;
    }

    .header_left .logo {
        justify-content: center;
    }

    .header_left .logo .logo_apex {
        font-size: 24px;
    }

    .header_left .logo .logo_desc {
        font-size: 18px;
    }

    .header_right {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .search_container {
        width: 100%;
        max-width: 500px;
    }

    .filter_dropdown {
        flex: 0 1 auto;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px;
        top: 10px;
        width: 95%;
    }

    .header_right {
        flex-wrap: wrap;
        gap: 8px;
    }

    .search_container {
        width: 100%;
        max-width: none;
        order: -1;
        margin-bottom: 5px;
    }

    .filter_dropdown {
        flex: 1 1 auto;
        min-width: 120px;
    }

    .filter_btn {
        width: 100%;
        justify-content: center;
    }

    .filter_menu {
        right: 0;
        left: 0;
        width: 100%;
        min-width: 200px;
    }

    .action_btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .upload_btn {
        flex: 1 1 100%;
        margin-top: 5px;
    }

    .admin_btn span,
    .logout_btn span {
        display: inline;
        margin-left: 5px;
    }

    .admin_btn svg,
    .logout_btn svg {
        margin-right: 2px;
    }
}

@media (max-width: 576px) {
    header {
        width: 100%;
        top: 0;
        left: 0;
        margin: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        border-bottom: 1px solid var(--border-glow);
    }

    .header_right {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .filter_dropdown {
        flex: 1 1 calc(50% - 4px);
    }

    .action_btn {
        flex: 1 1 calc(50% - 4px);
    }

    .upload_btn {
        flex: 1 1 100%;
    }

    .filter_menu {
        min-width: auto;
    }

    .header_left .logo .logo_apex {
        font-size: 38px;
    }

    .header_left .logo .logo_desc {
        font-size: 23px;
    }
}

@media (max-width: 380px) {
    .header_right {
        flex-direction: column;
    }

    .filter_dropdown,
    .action_btn {
        width: 100%;
        flex: none;
    }

    .filter_btn,
    .action_btn {
        width: 100%;
        justify-content: center;
    }

    .admin_btn span,
    .logout_btn span {
        display: inline;
    }

    .filter_menu {
        width: 100%;
    }
}

@media (hover: none) and (pointer: coarse) {

    .filter_btn,
    .action_btn,
    .search_input {
        min-height: 42px;
    }

    .search_input {
        font-size: 14px;
    }

    .filter_menu {
        max-height: 300px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filter_item {
        padding: 14px;
        font-size: 12px;
    }
}

@media (max-width: 896px) and (orientation: landscape) {
    header {
        padding: 8px 16px;
        top: 8px;
    }

    .header_left .logo .logo_apex {
        font-size: 20px;
    }

    .header_left .logo .logo_desc {
        font-size: 14px;
    }

    .header_right {
        gap: 6px;
    }

    .search_container {
        width: 200px;
    }

    .search_input {
        height: 34px;
    }

    .filter_btn,
    .action_btn {
        height: 34px;
        padding: 0 12px;
    }
}

.leaks_container {
    padding: 40px;
    min-height: calc(100vh - 200px);
    position: relative;
}

.leaks_container::before {
    content: '';
    position: fixed;
    width: 287px;
    height: 221px;
    left: -171px;
    bottom: 150px;
    background: var(--primary-glow);
    filter: blur(112px);
    pointer-events: none;
    z-index: 0;
}

.dashboard {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.dashboard_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
}

.dashboard_header h2 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(120deg, #e90e0e, #f83838);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.dashboard_header p {
    font-size: 12px;
    color: var(--text-dim);
}

.dashboard_stats_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.dashboard_stat_card {
    background: linear-gradient(0deg, #000000, #0f0606);
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 0 24px rgba(233, 14, 14, 0.12);
}

.dashboard_stat_label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dimmer);
}

.dashboard_stat_value {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    text-shadow: 0 0 16px rgba(233, 14, 14, 0.45);
}

.dashboard_section {
    margin-bottom: 22px;
}

.dashboard_section_header {
    margin-bottom: 10px;
}

.dashboard_section_header h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.top_leaker_grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 1.1fr;
    gap: 10px;
}

.top_leaker_card {
    background: linear-gradient(135deg, #200a0a, #300e0e);
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.top_leaker_card.rank-1 {
    transform: translateY(-4px);
    box-shadow: 0 0 26px rgba(233, 14, 14, 0.3);
}

.top_leaker_rank {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-dimmer);
}

.top_leaker_name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.top_leaker_meta {
    font-size: 11px;
    color: var(--text-dim);
}

.profile_card {
    background: linear-gradient(0deg, #000000, #0f0606);
    border-radius: 3px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile_card--highlight {
    box-shadow: 0 0 26px rgba(233, 14, 14, 0.4);
    border-color: rgba(233, 14, 14, 0.6);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

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

.profile_avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e90e0e, #a10303);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.profile_name {
    font-size: 13px;
    font-weight: 600;
}

.profile_meta {
    font-size: 11px;
    color: var(--text-dim);
}

.profile_badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.profile_badge {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 999px;
    border: 0.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-dim);
}

.profile_badge--admin {
    border-color: var(--primary);
    color: var(--primary-light);
}

.profile_badge--booster {
    border-color: #a855f7;
    color: #e9d5ff;
}

.leaks_container::after {
    content: '';
    position: fixed;
    width: 287px;
    height: 221px;
    right: -100px;
    bottom: 120px;
    background: var(--primary-glow);
    filter: blur(112px);
    pointer-events: none;
    z-index: 0;
}

.leaks_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    animation: fadeIn 0.5s ease;
    position: relative;
    z-index: 1;
    padding: 10px;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.leak_card {
    background: url(./img/product.png) no-repeat center/cover, linear-gradient(135deg, #4713130a, #2b0c0c09);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInCard 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.3s;
}

.cursor-dot {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #ff0000f1;
    filter: blur(54px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
    mix-blend-mode: screen;
    transition: opacity 0.3s ease, background 0.3s ease !important;
    animation: shimmer 1.5s ease-in-out infinite alternate;
    opacity: 0;
}

.leak_card.booster_card .cursor-dot {
    background: #b547e6b7;
}

@keyframes shimmer {
    0% {
        filter: blur(50px);
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        filter: blur(60px);
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.best-leak-badge {
    position: absolute;
    top: 23px;
    right: 23px;
    font-size: 12px;
    padding: 5px 9px;
    background: url(./img/best_seller.png) no-repeat center/cover;
    box-shadow: 0 4px 21px rgba(255, 182, 46, .45);
}

@media (max-width: 992px) {
    .best-leak-container {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        justify-content: center;
    }

    .best-leak-content {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .best-leak-container {
        padding: 8px 12px;
    }

    .best-leak-content {
        gap: 8px;
    }

    .best-leak-price .new-price {
        font-size: 12px;
    }
}

@keyframes fadeInCard {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

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

@media (prefers-reduced-motion: reduce) {
    .leak_card {
        animation: none;
        opacity: 1 !important;
    }
}

.leak_image {
    padding: 15px;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.leak_content {
    padding: 15px;
}

.leak_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
}

.leak_badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    box-shadow: 0 10px 38px rgba(220, 7, 7, 0.25);
    background: #dc0707;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.55);
}

.booster_card .leak_badge.booster_badge {
    background: linear-gradient(135deg, #9c27b0, #ba68c8);
    color: white;
    padding: 3px 8px;
    font-size: 8.5px;
    box-shadow: 0 0 10px rgba(156, 39, 176, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.leak_content {
    padding: 15px;
}

.leak_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.leak_title_group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.leak_title {
    font-size: 13.5px;
    text-shadow: 0 0 28px rgba(255, 255, 255, .35);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text);
    flex: 1;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 190px;
    margin-bottom: 3px;
}

.leak_link {
    font-size: 13px;
    color: var(--primary);
    text-shadow: 0 0 12px rgba(233, 14, 14, 0.25);
    text-transform: uppercase;
}

.leak_description_group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
}

.leak_description {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
    overflow: hidden;
}

.leak_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 11px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.07);
    font-size: 9.5px;
    color: #717171;
    letter-spacing: 0.02em;
}

.leak_uploader {
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
    padding: 5px 20px;
}

.leak_uploader svg {
    width: 15.5px;
    height: 15.5px;
    stroke: currentColor;
    flex-shrink: 0;
}

.leak_stats {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    flex-wrap: wrap;
}

.leak_stat {
    flex: 1 1 calc((100% - 18px) / 4);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    gap: 8px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    transition: all 0.3s ease;
}

.leak_stat:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.leak_stat svg {
    width: 15.5px;
    height: 15.5px;
    stroke: currentColor;
    fill: none;
}

.leak_stat.liked {
    background: linear-gradient(135deg, #ec489a 0%, #f43f5e 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.leak_stat.liked svg {
    fill: #ffffff;
    stroke: #ffffff;
    animation: likePop 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes likePop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

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

.leak_stat.liked {
    animation: likeGlow 0.4s ease-out;
}

@keyframes likeGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4);
    }

    100% {
        box-shadow: 0 0 0 8px rgba(236, 72, 153, 0);
    }
}

.leak_actions {
    margin-top: 13px;
    display: flex;
    gap: 6px;
}

.btn_download {
    flex: 1;
    height: 25px;
    box-shadow: 0 10px 38px rgba(220, 7, 7, 0.25);
    background: #dc0707;
    border: none;
    color: white;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn_download svg {
    width: 15px;
    height: 15px;
}

.btn_download:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.booster_card {
    max-width: 340px;
    margin: 0 auto;
}

.booster_card .leak_badge.booster_badge {
    padding: 2px 7px;
    font-size: 8.5px;
}

.leaks_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

@media (max-width: 1400px) {
    .leaks_grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 1024px) {
    .leaks_grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .leaks_grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 14px;
    }

    .leak_card {
        max-width: 100%;
    }

    .leak_title {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .leaks_grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .leak_content {
        padding: 14px;
    }
}

.no_results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-dim);
    font-size: 15px;
    font-style: italic;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-top: 0.5px solid var(--border-glow);
    font-size: 11px;
    color: var(--text-dimmer);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer-container {
    border-top: rgba(255, 255, 255, 0.15) 0.5px solid;
    max-width: 1850px;
    margin: 0 auto;
    padding: 30px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 25px;
    max-width: 400px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: #141414;
    border: 1px solid #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    border-color: #ef4444;
    background-color: #1a1a1a;
}

.footer-socials i {
    width: 20px;
    height: 20px;
    color: #a0a0a0;
    transition: color 0.2s ease;
}

.footer-column h6 {
    font-size: 16px;
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    margin-bottom: 12px;
    color: white;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    font-size: 13px;
    font-family: 100;
    color: #a0a0a0;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.modal {
    position: fixed;
    inset: 0;
    /* Muss über #mainContent.visible (z-index: 10001) liegen, sonst nimmt der Dialog keinen Fokus/Klicks an. */
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal_container {
    position: relative;
    background: linear-gradient(0deg, #000000, #0f0606);
    border: 0.5px solid var(--border-glow);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    z-index: 1;
}

.modal_container::before {
    content: '';
    position: absolute;
    width: 287px;
    height: 180px;
    left: 50%;
    top: -140px;
    transform: translateX(-50%);
    background: var(--primary-glow-strong);
    filter: blur(112px);
    pointer-events: none;
}

.modal_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
}

.modal_header h2 {
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.02em;
    color: var(--text);
}

.custom_alert_close,
.modal_close {
    width: 25px;
    height: 25px;
    background: linear-gradient(225deg, rgba(255, 0, 0, 0.15) 0%, rgba(250, 0, 0, 0.02) 100%);
    border: 0.5px solid rgba(255, 0, 4, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom_alert_close svg,
.modal_close svg {
    width: 13px;
    height: 13px;
    stroke: #FF0004;
    filter: drop-shadow(0px 0px 4px rgba(255, 0, 4, 0.25));
}

.custom_alert_close:hover,
.modal_close:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.modal_body {
    padding: 26px;
}

.form_group {
    margin-bottom: 18px;
}

.form_group label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.02em;
    color: var(--text);
}

.form_group input,
.form_group select,
.form_group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0px 0px 17.7px #140303;
    padding: 11px 14px;
    color: var(--text);
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form_group textarea {
    resize: vertical;
    min-height: 120px;
}

.form_group input:focus,
.form_group select:focus,
.form_group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: inset 0px 0px 17.7px #140303, 0 0 10px rgba(233, 14, 14, 0.2);
}

.form_group input::placeholder,
.form_group textarea::placeholder {
    color: #717171;
}

.form_group select {
    appearance: none;
    cursor: pointer;
}

.form_group select option {
    background: #0f0606;
}

.modal_footer {
    display: flex;
    gap: 10px;
    margin-top: 26px;
}

.btn_primary,
.btn_secondary {
    flex: 1;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.55);
    border: 0.2px solid rgba(255, 255, 255, 0.3);
}

.btn_primary {
    box-shadow: 0 10px 38px rgba(220, 7, 7, 0.25);
    background: #dc0707;
    color: white;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.55);
}

.btn_primary svg {
    width: 15px;
    height: 15px;
}

.btn_primary:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.btn_secondary {
    background: linear-gradient(145.6deg, #404040 28.53%, #595959 77.04%);
    color: white;
    box-shadow: 0 0 35px rgba(43, 43, 43, 0.35);
}

.btn_secondary svg {
    width: 15px;
    height: 15px;
}

.btn_secondary:hover {
    background: linear-gradient(145.6deg, #50505041 28.53%rgba(106, 106, 106, 0.253)6a 77.04%);
    box-shadow: 0 0 35px rgba(43, 43, 43, 0.116);
    transform: translateY(3px) rotate(-2deg);
}

.upload_note {
    margin-top: 16px;
    text-align: center;
    font-size: 11px;
    color: var(--text-dimmer);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}


@media (max-width: 1400px) {
    .leaks_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .leaks_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    header {
        padding: 14px 24px;
    }

    .leaks_container {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .leaks_grid {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .header_right {
        flex-wrap: wrap;
    }

    .search_container {
        width: 100%;
    }

    .filter_btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .leaks_container {
        padding: 16px;
    }

    .leaks_grid {
        gap: 14px;
    }

    .leak_content {
        padding: 14px;
    }

    .modal_container {
        max-width: 100%;
    }
}

.btn_like.liked {
    border-color: var(--primary);
    background: rgba(233, 14, 14, 0.08);
}

.btn_like.liked svg {
    stroke: var(--primary);
    fill: rgba(233, 14, 14, 0.5);
}

.btn_delete {
    width: 26px;
    height: 26px;
    background: rgba(255, 0, 0, 0.05);
    border: 0.5px solid rgba(255, 0, 4, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn_delete svg {
    width: 14px;
    height: 14px;
    stroke: rgba(255, 80, 80, 0.7);
    fill: none;
    transition: all 0.3s ease;
}

.btn_delete:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.btn_delete:hover svg {
    stroke: black;
}

.btn_edit {
    width: 26px;
    height: 26px;
    background: rgba(59, 130, 246, 0.05);
    color: rgba(59, 130, 246, 0.7);
    border: 0.5px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn_edit:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.btn_edit:hover svg {
    stroke: black;
}

.custom_alert_overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.custom_alert_container {
    pointer-events: all;
    max-width: 400px;
    width: 90%;
    background: linear-gradient(0deg, #000000, #0f0606);
    border: 0.5px solid var(--border-glow);
    box-shadow: 0 0 60px rgba(233, 14, 14, 0.25), 0 0 0 1px rgba(233, 14, 14, 0.1) inset;
    animation: alertSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transform-origin: top;
}

.custom_alert_container::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    left: -50px;
    top: -50px;
    background: var(--alert-info-glow);
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
}

.custom_alert_container::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
    opacity: 0.5;
}

.custom_alert_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.3);
}

.custom_alert_title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text);
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.35);
}

.custom_alert_title svg {
    width: 18px;
    height: 18px;
}

.custom_alert_body {
    padding: 20px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dim);
    background: rgba(15, 6, 6, 0.8);
}

.custom_alert_message {
    margin-bottom: 10px;
    word-break: break-word;
}

.custom_alert_timer {
    height: 2px;
    background: rgba(233, 14, 14, 0.2);
    overflow: hidden;
    position: relative;
}

.custom_alert_timer_bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform-origin: left;
    animation: alertTimer 5s linear forwards;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes alertSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

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

@keyframes alertTimer {
    0% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

.custom_alert_queue {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: 320px;
    width: auto;
}

.custom_alert_container {
    pointer-events: all;
    width: 100%;
    background: linear-gradient(0deg, #000000, #200a0a);
    border: 0.5px solid rgba(233, 14, 14, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(233, 14, 14, 0.1) inset;
    animation: alertSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    font-size: 12px;
    margin-bottom: 0;
    transform-origin: right;
}

.custom_alert_container::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    right: -30px;
    top: -30px;
    background: var(--alert-info-glow);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

.custom_alert_container::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 1px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    opacity: 0.3;
}

.custom_alert_title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text);
}

.custom_alert_title svg {
    width: 14px;
    height: 14px;
}

.custom_alert_message {
    word-break: break-word;
}

.custom_alert_timer {
    height: 1px;
    background: rgba(233, 14, 14, 0.1);
    overflow: hidden;
    position: relative;
}

.custom_alert_timer_bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform-origin: left;
    animation: alertTimer 5s linear forwards;
    box-shadow: 0 0 5px var(--primary);
}

@keyframes alertSlideIn {
    0% {
        opacity: 0;
        transform: translateX(20px) scale(0.95);
    }

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

@keyframes alertTimer {
    0% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

@keyframes alertSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(20px) scale(0.95);
    }
}

.custom_alert_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.custom_alert_overlay .custom_alert_container {
    max-width: 380px;
    animation: alertZoomIn 0.3s ease;
}

@keyframes alertZoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.settings_group {
    margin-bottom: 20px;
}

.settings_group h3 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.settings_option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.settings_option:last-child {
    border-bottom: none;
}

.settings_option label {
    cursor: pointer;
}

.settings_option label span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
}

.settings_option label small {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 2px;
}

.settings_option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #e90e0e;
    cursor: pointer;
}

.reduced-motion .leak_card,
.reduced-motion .booster_card,
.reduced-motion .cursor-dot {
    animation: none !important;
}

.reduced-glow .leak_card,
.reduced-glow header,
.reduced-glow .upload_btn,
.reduced-glow .btn_primary,
.reduced-glow .custom_alert_container {
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .custom_alert_queue {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .custom_alert_container {
        width: 100%;
    }
}

.booster_card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(156, 39, 176, 0.05)) !important;
    transition: all 0.3s ease;
}

.booster_card .leak_badge.booster_badge {
    background: url(./img/product_booster.png) no-repeat center/cover, linear-gradient(135deg, #9c27b0, #ba68c8);
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(156, 39, 176, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 3;
    position: relative;
}

.booster_card .btn_download {
    background: linear-gradient(135deg, #9c27b0, #ba68c8) !important;
    box-shadow: 0 0 15px rgba(156, 39, 176, 0.4) !important;
}

.booster_card .btn_download:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25) !important;
    background: rgb(255, 255, 255) !important;
    color: black !important;
    transform: translateY(3px) rotate(-2deg) !important;
    transition: all 0.3s ease !important;
}

.booster_card .btn_download.btn_disabled {
    background: #2a2a2a !important;
    box-shadow: none !important;
    opacity: 0.5;
}

.booster_card .btn_like:hover {
    border-color: #ba68c8 !important;
    box-shadow: 0 0 12px rgba(156, 39, 176, 0.4) !important;
}

.booster_card .btn_like:hover svg {
    stroke: #ba68c8 !important;
    fill: rgba(156, 39, 176, 0.3) !important;
}

.booster_card .btn_like.liked {
    border-color: #ba68c8 !important;
    background: rgba(156, 39, 176, 0.15) !important;
}

.booster_card .btn_like.liked svg {
    stroke: #ba68c8 !important;
    fill: rgba(156, 39, 176, 0.6) !important;
}

.booster_card .leak_stat svg {
    transition: all 0.3s ease;
}

.booster_card:hover .leak_stat svg {
    stroke: #ba68c8;
    filter: drop-shadow(0 0 5px rgba(156, 39, 176, 0.5));
}

@keyframes boosterShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.btn_download.btn_disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #2a2a2a !important;
}

.btn_download.btn_disabled:hover {
    background: #2a2a2a !important;
    transform: none;
    box-shadow: none !important;
}

.upload_options {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.upload_option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex: 1;
}

.upload_option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #e90e0e;
}

.upload_option label {
    cursor: pointer;
    font-size: 14px;
    color: #e5e5e5;
}

.upload_option:first-child label {
    color: #b3b3b3;
}

.upload_option:last-child label {
    color: #c86868;
    font-weight: 500;
}

.header_nav_tabs {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.03);
    height: 36px;
    /* margin-left: 30px; */
    border: 0.5px solid rgba(255, 255, 255, 0.4);
}

.nav_tab_btn {
    display: flex;
    align-items: center;
    background: transparent;
    color: white;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.55);
    border: none;
    letter-spacing: 0.02em;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0 16px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

.nav_tab_btn svg {
    width: 14px;
    height: 14px;
}

.nav_tab_btn:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.nav_tab_btn.active {
    background: linear-gradient(145.6deg, #4a0303 28.53%, var(--primary) 77.04%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 35px rgba(233, 14, 14, 0.2);
    color: white;
}

.app_content {
    margin-left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

#leaksView {
    margin-top: 70px;
}

.view {
    display: none;
    flex-direction: column;
    width: 100%;
}

.view.active {
    display: flex;
    animation: fadeInView 0.5s ease forwards;
}

.view.slide-left {
    animation: slideInLeft 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

.view.slide-right {
    animation: slideInRight 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

@keyframes fadeInView {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.dashboard_bg {
    background: radial-gradient(circle at 40% 10%, rgba(200, 10, 10, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(200, 10, 10, 0.04) 0%, transparent 35%);
    min-height: 100vh;
}

.dashboard_container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
}

.dashboard_section_title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.dashboard_section_title h2 {
    font-size: 30px;
    font-weight: 700;
    font-family: "Unbounded", sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats_row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.stat_box {
    flex: 1;
    min-width: 250px;
    min-height: 125px;
    background: linear-gradient(145deg, rgba(30, 20, 20, 0.6), rgba(15, 10, 10, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.stat_box_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stat_box_title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat_box_icon {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.2);
}

.stat_box_val_area {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.stat_box_value {
    font-size: 35px;
    font-weight: 800;
    line-height: 1;
    color: #e5e5e5;
}

.stat_chart {
    width: 100px;
    height: 40px;
    margin-left: 10px;
}

.stat_chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.leaker_podium_row {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 60px;
    min-height: 180px;
    padding-top: 20px;
}

.dashboard_highlights_row {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 50px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dashboard_highlight_slot {
    width: 100%;
}

.dashboard_highlight_slot .leak_card {
    max-width: none;
}

@media (max-width: 900px) {
    .dashboard_highlights_row {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

.podium_card {
    flex: 1;
    max-width: 230px;
    background: linear-gradient(145deg, rgba(30, 20, 20, 0.5), rgba(15, 10, 10, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.podium_card:hover {
    transform: translateY(-5px);
}

.podium_card.rank-1 {
    transform: translateY(-20px);
    background: linear-gradient(145deg, rgba(40, 25, 15, 0.7), rgba(20, 12, 5, 0.8));
    border-color: rgba(255, 215, 0, 0.15);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.05);
    z-index: 10;
}

.podium_card.rank-1:hover {
    transform: translateY(-25px);
}

.podium_icon {
    font-size: 28px;
    margin-bottom: 15px;
    margin-top: -40px;
    background: #150505;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.podium_icon.gold {
    border-color: gold;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.podium_rank {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #e5e5e5;
}

.podium_meta {
    font-size: 10px;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.podium_user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top_leaker_name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.podium_avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    background-size: cover;
    background-position: center;
}

.profile_badges_container {
    display: flex;
    gap: 8px;
    justify-content: center;
}

header.leaks_top_bar {
    position: sticky;
    top: 20px;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto 20px auto;
    background: rgba(15, 6, 6, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(233, 14, 14, 0.15);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 90;
    border-radius: 12px;
}

.leaks_container_flex {
    padding: 0 40px 40px 40px;
}

@media (max-width: 768px) {
    .sidebar {
        width: 60px;
    }

    .sidebar_btn {
        width: 35px;
        height: 35px;
    }

    .sidebar_avatar {
        width: 35px;
        height: 35px;
    }

    .app_content {
        margin-left: 30px;
        max-width: calc(100% - 60px);
    }

    .dashboard_container {
        padding: 40px 15px;
    }

    .leaker_podium_row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding-top: 40px;
    }

    .podium_card {
        max-width: 100%;
        width: 80%;
    }

    .podium_card.rank-1 {
        transform: none;
        order: -1;
    }

    .podium_card.rank-1:hover {
        transform: translateY(-5px);
    }

    .leaks_container_flex {
        padding: 0 15px 40px 15px;
    }
}

.custom_profile_modal {
    max-width: 480px;
    background: linear-gradient(145deg, rgba(30, 20, 20, 0.95), rgba(15, 10, 10, 0.98));
    border: 1px solid rgba(233, 14, 14, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.profile_modal_top {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.profile_modal_avatar {
    width: 64px;
    height: 64px;
    /* border-radius: 50%; */
    background: #ffffff;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(233, 14, 14, 0.4);
}

.profile_modal_userinfo h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 700;
}

.profile_modal_meta {
    margin: 0;
    font-size: 12px;
    color: var(--text-dim);
}

.profile_modal_stats_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.p_stat_box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.p_stat_box:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    border-color: rgba(233, 14, 14, 0.3);
}

.p_stat_val {
    font-size: 33px;
    font-weight: 800;
    font-family: "Unbounded", sans-serif;
    color: white;
    margin-bottom: 4px;
    text-shadow: 0 0 10px rgba(233, 14, 14, 0.3);
}

.p_stat_label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marquee-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    background-color: red;
    color: black;
    padding: 0.5rem 0;
    z-index: 50;
}

.marquee-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    background-color: red;
    color: black;
    padding: 8px 0;
    /* 0.5rem → 8px */
    z-index: 50;
}

.marquee-inner {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-track span {
    padding-right: 32px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


.edit_modal_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.edit_modal {
    position: relative;
    background: linear-gradient(0deg, #000000, #0f0606);
    border: 0.5px solid var(--border-glow);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    z-index: 1;
}

.edit_modal::before {
    content: '';
    position: absolute;
    width: 287px;
    height: 180px;
    left: 50%;
    top: -140px;
    transform: translateX(-50%);
    background: var(--primary-glow-strong);
    filter: blur(112px);
    pointer-events: none;
}

.edit_modal_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
}

.edit_modal_header h3 {
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}

.edit_modal .modal_close {
    width: 25px;
    height: 25px;
    background: linear-gradient(225deg, rgba(255, 0, 0, 0.15) 0%, rgba(250, 0, 0, 0.02) 100%);
    border: 0.5px solid rgba(255, 0, 4, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit_modal .modal_close svg {
    width: 13px;
    height: 13px;
    stroke: #FF0004;
    filter: drop-shadow(0px 0px 4px rgba(255, 0, 4, 0.25));
}

.edit_modal .modal_close:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    transform: translateY(3px) rotate(-2deg);
}

.edit_modal .modal_close:hover svg {
    stroke: black;
}

.edit_modal_body {
    padding: 26px;
}

.edit_modal .form_group {
    margin-bottom: 18px;
}

.edit_modal .form_group label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.02em;
    color: var(--text);
}

.edit_modal .form_group input,
.edit_modal .form_group select,
.edit_modal .form_group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0px 0px 17.7px #140303;
    padding: 11px 14px;
    color: var(--text);
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.edit_modal .form_group textarea {
    resize: vertical;
    min-height: 120px;
}

.edit_modal .form_group input:focus,
.edit_modal .form_group select:focus,
.edit_modal .form_group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: inset 0px 0px 17.7px #140303, 0 0 10px rgba(233, 14, 14, 0.2);
}

.edit_modal .form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.edit_modal .modal_actions {
    display: flex;
    gap: 10px;
    margin-top: 26px;
}

.edit_modal .btn_primary,
.edit_modal .btn_secondary {
    flex: 1;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.55);
    border: 0.2px solid rgba(255, 255, 255, 0.3);
}

.edit_modal .btn_primary {
    box-shadow: 0 10px 38px rgba(220, 7, 7, 0.25);
    background: #dc0707;
    color: white;
}

.edit_modal .btn_primary:hover {
    box-shadow: 0 10px 38px rgba(255, 255, 255, 0.25);
    background: rgb(255, 255, 255);
    color: black;
    transform: translateY(3px) rotate(-2deg);
}

.edit_modal .btn_secondary {
    background: linear-gradient(145.6deg, #404040 28.53%, #595959 77.04%);
    color: white;
    box-shadow: 0 0 35px rgba(43, 43, 43, 0.35);
}

.edit_modal .btn_secondary:hover {
    background: linear-gradient(145.6deg, #50505041 28.53%, rgba(106, 106, 106, 0.253) 77.04%);
    transform: translateY(3px) rotate(-2deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

@media (max-width: 480px) {
    .edit_modal {
        max-width: 95%;
    }

    .edit_modal .form_row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .edit_modal_body {
        padding: 20px;
    }

    .edit_modal_header {
        padding: 15px 20px;
    }
}