:root {
    --bg: #020202;
    --panel: rgba(8, 8, 8, 0.92);
    --red: #ff1f3d;
    --red-soft: rgba(255, 31, 61, 0.17);
    --green: #00ff88;
    --text: #f5f5f5;
    --muted: #9f9f9f;
    --border: rgba(255, 31, 61, 0.28);
    --danger-border: rgba(255, 31, 61, 0.48);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 31, 61, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(0, 255, 136, 0.08), transparent 30%),
        linear-gradient(180deg, #030303 0%, #000 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 31, 61, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 31, 61, 0.045) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 90%);
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.025) 0,
        rgba(255, 255, 255, 0.025) 1px,
        transparent 1px,
        transparent 4px
    );
    opacity: 0.3;
    z-index: 0;
}

.page-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid var(--danger-border);
    box-shadow: 0 10px 40px rgba(255, 31, 61, 0.12);
    backdrop-filter: blur(14px);
}

.navbar-brand {
    color: var(--red);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(255, 31, 61, 0.55);
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: #ff6b7d;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red) !important;
    text-shadow: 0 0 16px rgba(255, 31, 61, 0.55);
}

.navbar-toggler {
    border: 1px solid var(--danger-border);
    color: var(--red);
    padding: 8px 12px;
    box-shadow: none !important;
}

.navbar-toggler-icon-custom {
    display: block;
    color: var(--red);
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 900;
}

.login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 1px solid var(--danger-border);
    border-radius: 999px;
    color: var(--red) !important;
    background: rgba(255, 31, 61, 0.08);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 0 22px rgba(255, 31, 61, 0.08);
}

.login-link:hover,
.login-link.active {
    color: #ffffff !important;
    background: rgba(255, 31, 61, 0.18);
    border-color: rgba(255, 31, 61, 0.72);
    text-shadow: 0 0 14px rgba(255, 31, 61, 0.65);
}

.footer-line {
    padding: 28px 0;
    border-top: 1px solid var(--danger-border);
    color: var(--muted);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.45);
}

.hero {
    padding: 100px 0 55px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--danger-border);
    border-radius: 999px;
    color: var(--red);
    background: var(--red-soft);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 0 24px rgba(255, 31, 61, 0.12);
}

.hero-title {
    margin-top: 24px;
    font-size: clamp(2.6rem, 8vw, 7rem);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.07em;
    color: #ffffff;
    text-shadow: 0 0 38px rgba(255, 31, 61, 0.22);
}

.hero-title span {
    color: var(--red);
    text-shadow: 0 0 32px rgba(255, 31, 61, 0.55);
}

.hero-text {
    max-width: 690px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.warning-strip {
    margin-top: 32px;
    max-width: 760px;
    padding: 14px 18px;
    border: 1px solid var(--danger-border);
    border-radius: 18px;
    background: rgba(255, 31, 61, 0.1);
    color: #ffffff;
    font-family: "Courier New", monospace;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
}

.skull-panel {
    position: relative;
    min-height: 320px;
    border: 1px solid var(--danger-border);
    border-radius: 30px;
    background:
        radial-gradient(circle at center, rgba(255, 31, 61, 0.2), transparent 48%),
        rgba(0, 0, 0, 0.45);
    box-shadow: 0 30px 120px rgba(255, 31, 61, 0.09);
    overflow: hidden;
}

.skull-panel::before {
    content: "☠";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 31, 61, 0.8);
    font-size: clamp(9rem, 18vw, 17rem);
    text-shadow: 0 0 55px rgba(255, 31, 61, 0.58);
    opacity: 0.9;
}

.skull-panel::after {
    content: "TOP SECRET";
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%) rotate(-4deg);
    padding: 8px 18px;
    border: 2px solid var(--red);
    color: var(--red);
    font-weight: 900;
    letter-spacing: 0.18em;
    background: rgba(0, 0, 0, 0.75);
    box-shadow: 0 0 24px rgba(255, 31, 61, 0.25);
}

.card-grid {
    padding: 20px 0 80px;
}

.section-title {
    margin-bottom: 24px;
    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.section-title span {
    color: var(--red);
}

.mystery-card {
    height: 100%;
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 31, 61, 0.09), transparent),
        var(--panel);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mystery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 31, 61, 0.62);
    box-shadow: 0 26px 90px rgba(255, 31, 61, 0.1);
}

.mystery-card.is-paid {
    border-color: rgba(0, 255, 136, 0.55);
    background:
        linear-gradient(180deg, rgba(0, 255, 136, 0.13), transparent),
        var(--panel);
    box-shadow: 0 20px 70px rgba(0, 255, 136, 0.08);
}

.mystery-card.is-paid:hover {
    border-color: rgba(0, 255, 136, 0.78);
    box-shadow: 0 26px 90px rgba(0, 255, 136, 0.13);
}

.mystery-card.is-paid .question {
    color: var(--green);
    background: rgba(0, 255, 136, 0.12);
    border-color: rgba(0, 255, 136, 0.38);
    text-shadow: 0 0 18px rgba(0, 255, 136, 0.45);
}

.mystery-card.is-paid .skull-small {
    color: rgba(0, 255, 136, 0.32);
}

.mystery-card.is-paid .static-countdown {
    color: var(--green);
    border-color: rgba(0, 255, 136, 0.3);
    text-shadow: 0 0 16px rgba(0, 255, 136, 0.28);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.question {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: var(--red);
    background: rgba(255, 31, 61, 0.11);
    border: 1px solid rgba(255, 31, 61, 0.32);
    font-size: 2.35rem;
    font-weight: 900;
    font-family: "Courier New", monospace;
    text-shadow: 0 0 18px rgba(255, 31, 61, 0.45);
}

.skull-small {
    color: rgba(255, 255, 255, 0.16);
    font-size: 2.4rem;
    line-height: 1;
}

.card-label {
    margin-top: 24px;
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 900;
}

.card-text {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.remaining-label {
    margin-top: 22px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.static-countdown {
    margin-top: 8px;
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.48);
    border: 1px solid rgba(255, 31, 61, 0.22);
    color: var(--red);
    font-family: "Courier New", monospace;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-shadow: 0 0 16px rgba(255, 31, 61, 0.28);
}

.paid-badge {
    display: inline-flex;
    margin-top: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(0, 255, 136, 0.12);
    border: 1px solid rgba(0, 255, 136, 0.36);
    color: var(--green);
    font-family: "Courier New", monospace;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ts-card {
    border: 1px solid rgba(255, 31, 61, 0.18);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 31, 61, 0.1), transparent 34%),
        rgba(8, 8, 10, 0.88);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.ts-card-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 900;
}

.ts-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid rgba(255, 31, 61, 0.34);
    border-radius: 999px;
    color: var(--red);
    background: rgba(255, 31, 61, 0.08);
    font-family: "Courier New", monospace;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ts-small-label {
    color: rgba(255, 255, 255, 0.48);
    font-family: "Courier New", monospace;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ts-section-meta {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.83rem;
    font-weight: 700;
}

.ts-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ts-pill-red {
    border: 1px solid rgba(255, 31, 61, 0.3);
    color: #ffffff;
    background: rgba(255, 31, 61, 0.1);
}

.ts-pill-green {
    border: 1px solid rgba(50, 210, 135, 0.42);
    color: #6dffb5;
    background: rgba(50, 210, 135, 0.1);
}

.ts-pill-warn {
    border: 1px solid rgba(255, 190, 80, 0.42);
    color: #ffd389;
    background: rgba(255, 190, 80, 0.1);
}

.ts-pill-muted {
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.06);
}

.ts-link-list .list-group-item {
    margin-bottom: 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.ts-link-list .list-group-item:hover {
    color: #ffffff;
    border-color: rgba(255, 31, 61, 0.3);
    background: rgba(255, 31, 61, 0.08);
}

.target-main-image,
.target-image-placeholder {
    width: 100%;
    height: 210px;
    border-radius: 16px;
}

.target-main-image {
    object-fit: cover;
    display: block;
}

.target-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    background:
        linear-gradient(135deg, rgba(255, 31, 61, 0.08), transparent),
        rgba(0, 0, 0, 0.35);
    font-size: 3.4rem;
}

.target-view-all,
.target-action-btn {
    border: 1px solid rgba(255, 31, 61, 0.26);
    border-radius: 13px;
    background: rgba(255, 31, 61, 0.08);
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.target-view-all {
    min-height: 34px;
}

.target-view-all:hover,
.target-action-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 31, 61, 0.48);
    background: rgba(255, 31, 61, 0.16);
}

.target-action-btn {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 64px;
    padding: 10px 12px;
}

.target-action-btn span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.68rem;
}

.target-action-btn strong {
    color: #ffffff;
    font-size: 0.86rem;
}

.target-title {
    color: #ffffff;
    font-size: clamp(1.85rem, 3.4vw, 3.35rem);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.target-title span {
    color: var(--red);
    text-shadow: 0 0 28px rgba(255, 31, 61, 0.4);
}

.target-countdown-box {
    max-width: 390px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 31, 61, 0.2);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.28);
}

.target-countdown {
    color: #ffffff;
    font-family: "Courier New", monospace;
    font-size: clamp(1.15rem, 2.2vw, 1.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.target-copy {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.65;
    font-size: 0.92rem;
}

.target-info-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 64px;
    padding: 10px 11px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.028);
}

.target-info-row span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.target-info-row strong {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
}

.target-tabs .nav-link {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.target-tabs .nav-link.active {
    color: #ffffff !important;
    border-color: rgba(255, 31, 61, 0.36);
    background: rgba(255, 31, 61, 0.14);
}

.target-gallery-item,
.target-gallery-placeholder {
    position: relative;
    overflow: hidden;
    display: block;
    height: 118px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.35);
    text-decoration: none;
}

.col-md-4 .target-gallery-item,
.col-md-4 .target-gallery-placeholder {
    height: 252px;
}

.target-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.target-gallery-item span,
.target-gallery-placeholder span {
    position: absolute;
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 4px 8px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.58);
    font-size: 0.7rem;
    font-weight: 800;
}

.target-gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.22);
    background:
        radial-gradient(circle at center, rgba(255, 31, 61, 0.12), transparent 50%),
        rgba(255, 255, 255, 0.03);
}

.target-gallery-placeholder strong {
    font-size: 1.9rem;
}

.target-data-box {
    min-height: 70px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.035);
}

.target-data-name {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    font-weight: 800;
}

.target-data-size {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.42);
    font-family: "Courier New", monospace;
    font-size: 0.74rem;
    font-weight: 900;
}

.target-data-link {
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

.target-data-link:hover {
    color: #ffffff;
}

.target-info-title {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
}

.target-info-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
    font-size: 0.93rem;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 16px 0 8px;
    }

    .login-link {
        margin-top: 10px;
        width: 100%;
    }

    .hero {
        padding-top: 76px;
    }

    .skull-panel {
        margin-top: 36px;
    }
}

@media (max-width: 767.98px) {
    .target-main-image,
    .target-image-placeholder {
        height: 210px;
    }

    .col-md-4 .target-gallery-item,
    .col-md-4 .target-gallery-placeholder,
    .target-gallery-item,
    .target-gallery-placeholder {
        height: 150px;
    }
}

@media (max-width: 575px) {
    .mystery-card {
        min-height: auto;
    }

    .target-countdown {
        font-size: 1.2rem;
    }
}
