/**
 * Section 11 — Retro Kit + Mystery Box diagonal split
 */
.tnk-s11 {
    --tnk-red: #E31E24;
    --tnk-red-light: #ff5566;
    --tnk-amber: #f5b450;
    --tnk-amber-light: #ffc77a;
    --tnk-black: #0d0d0d;
    --tnk-ease: cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;
    width: 100%;
    background: var(--tnk-black);
    overflow: hidden;
    isolation: isolate;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.tnk-s11 *, .tnk-s11 *::before, .tnk-s11 *::after { box-sizing: border-box; }

.tnk-s11__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
    position: relative;
}

.tnk-s11__panel {
    position: relative;
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    min-height: 580px;
}

.tnk-s11__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-desktop);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.8s var(--tnk-ease);
}
.tnk-s11__panel:hover::before { transform: scale(1.04); }

.tnk-s11__panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.70) 100%);
    z-index: 1;
}

.tnk-s11__panel > * { position: relative; z-index: 2; }

/* RETRO PANEL — clipped right, content anchored left */
.tnk-s11__panel--retro {
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    padding-right: 110px;
}
.tnk-s11__panel--retro::before {
    background-color: #2a1a0a;
    /* Fallback gradient placeholder when no real image set */
    background-image: var(--bg-desktop,
        repeating-linear-gradient(135deg, rgba(245,180,80,0.06) 0 2px, transparent 2px 16px),
        linear-gradient(135deg, #3a2410 0%, #1c0e04 60%, #0d0500 100%));
}

/* MYSTERY PANEL — clipped left, content anchored right */
.tnk-s11__panel--mystery {
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
    padding-left: 110px;
    align-items: flex-end;
    text-align: right;
}
.tnk-s11__panel--mystery::before {
    background-color: #1a0808;
    background-image: var(--bg-desktop,
        repeating-linear-gradient(45deg, rgba(227,30,36,0.08) 0 2px, transparent 2px 16px),
        linear-gradient(135deg, #3a0a10 0%, #1a0408 60%, #0a0204 100%));
}
.tnk-s11__panel--mystery::after {
    background: linear-gradient(180deg, rgba(40,5,8,0.55) 0%, rgba(20,0,2,0.78) 100%);
}

/* Image specs */
.tnk-s11__specs {
    position: absolute;
    top: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255,255,255,0.85);
    font-family: ui-monospace, 'SF Mono', Monaco, monospace;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 3px;
    pointer-events: none;
}
.tnk-s11__specs-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.tnk-s11__panel--retro .tnk-s11__specs { left: 24px; color: var(--tnk-amber); }
.tnk-s11__panel--mystery .tnk-s11__specs { right: 24px; color: var(--tnk-red-light); }

.tnk-s11__panel-inner { max-width: 480px; width: 100%; }

/* Tag pill */
.tnk-s11__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 22px;
    padding: 7px 14px;
    border-radius: 99px;
}
.tnk-s11__tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.tnk-s11__panel--retro .tnk-s11__tag {
    background: rgba(245,180,80,0.14);
    color: var(--tnk-amber);
    border: 1px solid rgba(245,180,80,0.40);
}
.tnk-s11__panel--mystery .tnk-s11__tag {
    background: rgba(227,30,36,0.18);
    color: #ff8a92;
    border: 1px solid rgba(227,30,36,0.45);
}

.tnk-s11__title {
    font-size: clamp(36px, 4.4vw, 56px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.tnk-s11__title em { font-style: normal; display: block; }
.tnk-s11__panel--retro .tnk-s11__title em { color: var(--tnk-amber); }
.tnk-s11__panel--mystery .tnk-s11__title em { color: var(--tnk-red-light); }

.tnk-s11__copy {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 32px;
    color: rgba(255,255,255,0.82);
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* Stats */
.tnk-s11__stats {
    display: flex;
    gap: 32px;
    margin: 0 0 36px;
    padding: 22px 0 0;
    border-top: 1px solid rgba(255,255,255,0.20);
}
.tnk-s11__panel--mystery .tnk-s11__stats { justify-content: flex-end; }

.tnk-s11__stat { display: flex; flex-direction: column; }
.tnk-s11__stat-num {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}
.tnk-s11__stat-lbl {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-top: 8px;
}

/* CTA underlined arrow */
.tnk-s11__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 12px 0 8px;
    border-bottom: 2px solid currentColor;
    align-self: flex-start;
    transition: gap 0.25s var(--tnk-ease), color 0.25s var(--tnk-ease);
}
.tnk-s11__panel--retro .tnk-s11__cta { color: var(--tnk-amber); }
.tnk-s11__panel--mystery .tnk-s11__cta {
    color: #ff8a92;
    align-self: flex-end;
}
.tnk-s11__cta:hover { gap: 18px; }
.tnk-s11__panel--retro .tnk-s11__cta:hover { color: var(--tnk-amber-light); }
.tnk-s11__panel--mystery .tnk-s11__cta:hover { color: #fff; }
.tnk-s11__cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--tnk-ease);
}
.tnk-s11__cta:hover svg { transform: translateX(4px); }
.tnk-s11__cta-external {
    width: 12px !important;
    height: 12px !important;
    margin-left: -2px;
    opacity: 0.7;
}

/* Tablet */
@media (max-width: 1024px) {
    .tnk-s11__panel { padding: 56px 40px; min-height: 520px; }
    .tnk-s11__panel--retro { padding-right: 84px; }
    .tnk-s11__panel--mystery { padding-left: 84px; }
    .tnk-s11__title { font-size: 38px; }
    .tnk-s11__copy { font-size: 14px; }
    .tnk-s11__stats { gap: 22px; }
}

/* Mobile — stack, drop diagonal */
@media (max-width: 720px) {
    .tnk-s11__grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .tnk-s11__panel {
        padding: 56px 24px;
        min-height: 460px;
        clip-path: none !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    .tnk-s11__panel--retro,
    .tnk-s11__panel--mystery {
        padding-left: 24px;
        padding-right: 24px;
    }
    .tnk-s11__panel::before {
        background-image: var(--bg-mobile, var(--bg-desktop));
    }
    .tnk-s11__panel--retro::before {
        background-image: var(--bg-mobile, var(--bg-desktop,
            repeating-linear-gradient(135deg, rgba(245,180,80,0.06) 0 2px, transparent 2px 16px),
            linear-gradient(135deg, #3a2410 0%, #1c0e04 60%, #0d0500 100%)));
    }
    .tnk-s11__panel--mystery::before {
        background-image: var(--bg-mobile, var(--bg-desktop,
            repeating-linear-gradient(45deg, rgba(227,30,36,0.08) 0 2px, transparent 2px 16px),
            linear-gradient(135deg, #3a0a10 0%, #1a0408 60%, #0a0204 100%)));
    }
    .tnk-s11__panel--mystery .tnk-s11__stats { justify-content: flex-start; }
    .tnk-s11__panel--mystery .tnk-s11__cta { align-self: flex-start !important; }
    .tnk-s11__panel--mystery { border-top: 1px solid rgba(255,255,255,0.08); }
    .tnk-s11__title { font-size: 32px; }
    .tnk-s11__copy { font-size: 14px; }
    .tnk-s11__stats { gap: 22px; flex-wrap: wrap; }
    .tnk-s11__stat-num { font-size: 22px; }
    .tnk-s11__specs { top: 14px; }
    .tnk-s11__panel--retro .tnk-s11__specs { left: 18px; }
    .tnk-s11__panel--mystery .tnk-s11__specs { right: auto; left: 18px; }
    .tnk-s11__panel:hover::before { transform: none; }
}

/* Small mobile */
@media (max-width: 420px) {
    .tnk-s11__panel { padding: 48px 18px; min-height: 400px; }
    .tnk-s11__title { font-size: 28px; }
    .tnk-s11__copy { font-size: 13px; }
    .tnk-s11__stats { gap: 16px; padding-top: 16px; margin-bottom: 26px; }
    .tnk-s11__stat-num { font-size: 19px; }
    .tnk-s11__cta { font-size: 11px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .tnk-s11__panel::before, .tnk-s11__cta, .tnk-s11__cta svg { transition: none; }
    .tnk-s11__panel:hover::before { transform: none; }
}
