/* ─────────────────────────────────────────
       XZONE BRAND TOKENS
    ───────────────────────────────────────── */
:root {
    --orange:        #f36422;
    --orange-hover:  #d9551a;
    --orange-glow:   rgba(243, 100, 34, 0.4);
    --dark-navy:     #1b2839;
    --darker-navy:   #0f1923;
    --text-main:     #555555;
    --text-muted:    #888888;
    --text-light:    #cccccc;
    --green-stock:   #3a9e3a;
    --gold:          #ffd700;
    --gold-dark:     #b8960f;
    --purple:        #8b5cf6;
    --cyan:          #06b6d4;
    --bg-page:       #ececec;
    --bg-white:      #ffffff;
    --bg-light:      #f4f4f4;
    --border:        #e0e0e0;
    --font:          'Roboto', sans-serif;
    --font-display:  'Orbitron', sans-serif;
    --radius-card:   8px;
    --radius-btn:    10px;
    --container:     1400px;
}

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

@keyframes crateShake {
    0%, 100% { transform: translateX(0) rotate(0); }
    10% { transform: translateX(-8px) rotate(-3deg); }
    20% { transform: translateX(8px) rotate(3deg); }
    30% { transform: translateX(-6px) rotate(-2deg); }
    40% { transform: translateX(6px) rotate(2deg); }
    50% { transform: translateX(-4px) rotate(-1deg); }
    60% { transform: translateX(4px) rotate(1deg); }
    70% { transform: translateX(-2px) rotate(0); }
    80% { transform: translateX(2px) rotate(0); }
    90% { transform: scale(1.05); }
}

body {
    font-family: var(--font);
    font-size: 14px;
    color: var(--text-main);
    background: var(--bg-page);
}

.tab-home a:not(.btn-outline),
.tab-loot a:not(.btn-outline),
.tab-infografika a:not(.btn-outline),
.tab-soutez a:not(.btn-outline),
.tab-klub a:not(.btn-outline)

{
    color: var(--orange); text-decoration: underline; font-weight: bold
}
.xz-page a:hover { color: var(--orange-hover); }

/* ─────────────────────────────────────────
   LAYOUT WRAPPER
───────────────────────────────────────── */
.xz-page {
    max-width: var(--container);
    margin: 0 auto;
    /*padding: 0 20px 60px;*/
}

/* ─────────────────────────────────────────
   BREADCRUMB
───────────────────────────────────────── */
.xz-breadcrumb {
    padding: 12px 0;
    font-size: 12px;
    color: var(--text-muted);
}
.xz-breadcrumb a { color: var(--orange); }
.xz-breadcrumb span { color: var(--text-muted); margin: 0 4px; }
.xz-breadcrumb .current { color: var(--dark-navy); font-weight: 600; }

/* ─────────────────────────────────────────
   HERO BANNER — Anniversary celebration
───────────────────────────────────────── */
.xz-hero {
    position: relative;
    background: linear-gradient(135deg, var(--darker-navy) 0%, var(--dark-navy) 40%, #2a1a0a 100%);
    border-radius: 12px;
    padding: 60px;
    margin-bottom: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    align-items: center;
}

/* Animated particle background */
.xz-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
            radial-gradient(2px 2px at 20% 30%, var(--orange-glow) 0%, transparent 100%),
            radial-gradient(2px 2px at 60% 20%, rgba(255,215,0,0.3) 0%, transparent 100%),
            radial-gradient(2px 2px at 80% 60%, var(--orange-glow) 0%, transparent 100%),
            radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.2) 0%, transparent 100%),
            radial-gradient(1px 1px at 90% 40%, rgba(255,215,0,0.2) 0%, transparent 100%);
    animation: sparkle 4s ease-in-out infinite alternate;
}

@keyframes sparkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Glowing border accent */
.xz-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange), var(--gold), var(--orange), transparent);
}

.xz-hero__content {
    position: relative;
    z-index: 1;
}

.xz-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(243, 100, 34, 0.15);
    border: 1px solid rgba(243, 100, 34, 0.3);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.xz-hero__badge i { font-size: 14px; }

.xz-hero__title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 8px;
}

.xz-hero__title .number {
    color: var(--orange);
    text-shadow: 0 0 30px var(--orange-glow);
    font-size: 64px;
}

.xz-hero__subtitle {
    font-size: 20px;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.xz-hero__text {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    max-width: 520px;
}

.xz-hero__logo {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    max-width: 200px;
    justify-self: self-end;
}

.xz-hero__logo .anniversary-number {
    font-family: var(--font-display);
    font-size: 120px;
    font-weight: 900;
    color: var(--orange);
    text-shadow: 0 0 60px var(--orange-glow);
    line-height: 1;
}

.xz-hero__logo .anniversary-label {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-top: 8px;
}

.xz-hero__logo .anniversary-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-top: 12px;
}

/* ─────────────────────────────────────────
   BIG TAB BUTTONS (6-grid navigation)
───────────────────────────────────────── */
.xz-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.xz-tabs__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 16px;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: var(--bg-white);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .25s ease;
    user-select: none;
    font-family: var(--font);
    position: relative;
    overflow: hidden;
}

.xz-tabs__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(243,100,34,0.05), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.xz-tabs__item i {
    font-size: 28px;
    color: var(--text-muted);
    transition: all 0.25s;
}

.xz-tabs__item:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(243, 100, 34, 0.15);
}
.xz-tabs__item:hover::before { opacity: 1; }
.xz-tabs__item:hover i { color: var(--orange); transform: scale(1.15); }

.xz-tabs__item.active {
    background: linear-gradient(135deg, var(--orange), var(--orange-hover));
    border-color: var(--orange);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(243, 100, 34, 0.35);
    transform: translateY(-2px);
}
.xz-tabs__item.active::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
}
.xz-tabs__item.active i { color: #fff; }

/* ─────────────────────────────────────────
   TAB PANELS
───────────────────────────────────────── */
.tab-panel {
    display: none;
    animation: fadeInTab 0.35s ease;
}
.tab-panel.active { display: block; }

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────
   SHARED SECTION STYLES
───────────────────────────────────────── */
.section-card {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    padding: 30px;
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.section-header__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--orange-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}

.section-header__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-navy);
}

.section-header__subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ─────────────────────────────────────────
   HOME TAB
───────────────────────────────────────── */

/* Home article */
.xz-article {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
    background: var(--bg-white);
    border-radius: var(--radius-card);
    padding: 40px;
    margin-bottom: 24px;
}

.xz-article__body h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 16px;
}

.xz-article__body p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-main);
    margin-bottom: 18px;
}
.xz-article__body p:last-child { margin-bottom: 0; }

/* Video embed */
.video-embed {
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    background: var(--darker-navy);
    border: 2px solid rgba(243, 100, 34, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}
.video-embed:hover {
    border-color: var(--orange);
}
.video-embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.video-embed .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 0 30px var(--orange-glow);
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s, transform 0.3s;
}
.video-embed:hover .play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}
.video-embed--playing .play-btn,
.video-embed--ready.is-playing .play-btn {
    opacity: 0 !important;
    pointer-events: none;
}

/* ─────────────────────────────────────────
   LOOT BEDNA TAB
───────────────────────────────────────── */
.loot-crate-container {
    text-align: center;
    padding: 40px 0px;
}

/* ── CS:GO-style horizontal carousel ─── */
.loot-slot {
    margin: 0 auto 30px;
    max-width: 100%;
}

.loot-slot__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.loot-slot__chest {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2a1a0a, #1a0f05);
    border: 3px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--orange-glow), inset 0 0 20px rgba(243, 100, 34, 0.1);
    animation: chestPulse 2.5s ease-in-out infinite alternate;
}

.loot-slot__chest i {
    font-size: 32px;
    color: var(--orange);
    filter: drop-shadow(0 0 8px var(--orange-glow));
}

.loot-slot.is-spinning .loot-slot__chest {
    animation: chestShake 0.4s ease infinite;
}

@keyframes chestPulse {
    0% { box-shadow: 0 0 30px var(--orange-glow), inset 0 0 20px rgba(243, 100, 34, 0.1); }
    100% { box-shadow: 0 0 50px var(--orange-glow), inset 0 0 30px rgba(243, 100, 34, 0.15), 0 0 80px rgba(243, 100, 34, 0.15); }
}

@keyframes chestShake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-5deg) scale(1.05); }
    75% { transform: rotate(5deg) scale(1.05); }
}

.loot-slot__label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
}

.loot-slot__machine {
    position: relative;
    background: linear-gradient(145deg, #2a1a0a, #1a0f05);
    border: 3px solid var(--orange);
    border-radius: 16px;
    padding: 4px;
    box-shadow: 0 0 40px var(--orange-glow), inset 0 0 40px rgba(243, 100, 34, 0.1);
    transition: box-shadow 0.4s, border-color 0.4s;
}

.loot-slot.is-spinning .loot-slot__machine {
    box-shadow: 0 0 60px var(--orange-glow), inset 0 0 60px rgba(243, 100, 34, 0.15), 0 0 100px rgba(243, 100, 34, 0.2);
    border-color: var(--gold);
}

/* Fade-out + collapse when carousel hides after spin */
.loot-slot__machine--hidden {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.loot-slot__header--hidden {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.loot-slot__viewport {
    height: 180px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: var(--darker-navy);
}

/* Horizontal fade on edges */
.loot-slot__viewport::before,
.loot-slot__viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 1;
    pointer-events: none;
}

.loot-slot__viewport::before {
    left: 0;
    background: linear-gradient(to right, var(--darker-navy), transparent);
}

.loot-slot__viewport::after {
    right: 0;
    background: linear-gradient(to left, var(--darker-navy), transparent);
}

.loot-slot__strip {
    display: flex;
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
}

/* Individual card */
.loot-slot__item {
    width: 150px;
    min-width: 150px;
    flex-shrink: 0;
    height: 172px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 4px 3px;
    border-radius: 10px;
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    padding: 12px 8px;
}

/* Rarity color strip at top of card */
.loot-slot__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 10px 10px 0 0;
}

.loot-slot__item-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.loot-slot__item-text {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    max-width: 130px;
}

.loot-slot__item-rarity {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pointer – vertical center marker (CS:GO style triangle + line) */
.loot-slot__pointer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: var(--orange);
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 12px var(--orange-glow), 0 0 24px var(--orange-glow);
}

.loot-slot__pointer::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--orange);
    filter: drop-shadow(0 0 6px var(--orange-glow));
}

.loot-slot__pointer::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--orange);
    filter: drop-shadow(0 0 6px var(--orange-glow));
}

/* ── Rarity colors for cards ─── */
.loot-slot__item--legendary::before { background: #ff9800; }
.loot-slot__item--legendary { background: linear-gradient(180deg, rgba(255,152,0,0.15) 0%, rgba(255,152,0,0.03) 100%); border-color: rgba(255,152,0,0.3); }
.loot-slot__item--legendary .loot-slot__item-icon { background: rgba(255,152,0,0.2); color: #ff9800; }
.loot-slot__item--legendary .loot-slot__item-text { color: #ffcc80; }
.loot-slot__item--legendary .loot-slot__item-rarity { color: #ff9800; }

.loot-slot__item--epic::before { background: #a349ff; }
.loot-slot__item--epic { background: linear-gradient(180deg, rgba(163,73,255,0.12) 0%, rgba(163,73,255,0.03) 100%); border-color: rgba(163,73,255,0.25); }
.loot-slot__item--epic .loot-slot__item-icon { background: rgba(163,73,255,0.2); color: #a349ff; }
.loot-slot__item--epic .loot-slot__item-text { color: #ce93d8; }
.loot-slot__item--epic .loot-slot__item-rarity { color: #a349ff; }

.loot-slot__item--rare::before { background: #2196f3; }
.loot-slot__item--rare { background: linear-gradient(180deg, rgba(33,150,243,0.12) 0%, rgba(33,150,243,0.03) 100%); border-color: rgba(33,150,243,0.25); }
.loot-slot__item--rare .loot-slot__item-icon { background: rgba(33,150,243,0.2); color: #2196f3; }
.loot-slot__item--rare .loot-slot__item-text { color: #90caf9; }
.loot-slot__item--rare .loot-slot__item-rarity { color: #2196f3; }

.loot-slot__item--uncommon::before { background: #4caf50; }
.loot-slot__item--uncommon { background: linear-gradient(180deg, rgba(76,175,80,0.12) 0%, rgba(76,175,80,0.03) 100%); border-color: rgba(76,175,80,0.25); }
.loot-slot__item--uncommon .loot-slot__item-icon { background: rgba(76,175,80,0.2); color: #4caf50; }
.loot-slot__item--uncommon .loot-slot__item-text { color: #a5d6a7; }
.loot-slot__item--uncommon .loot-slot__item-rarity { color: #4caf50; }

.loot-slot__item--common::before { background: #9e9e9e; }
.loot-slot__item--common { background: linear-gradient(180deg, rgba(158,158,158,0.08) 0%, rgba(158,158,158,0.02) 100%); border-color: rgba(158,158,158,0.15); }
.loot-slot__item--common .loot-slot__item-icon { background: rgba(158,158,158,0.15); color: #9e9e9e; }
.loot-slot__item--common .loot-slot__item-text { color: rgba(255,255,255,0.6); }
.loot-slot__item--common .loot-slot__item-rarity { color: #9e9e9e; }

.loot-crate__hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.loot-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--orange), var(--orange-hover));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    box-shadow: 0 6px 20px rgba(243, 100, 34, 0.3);
}

.loot-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(243, 100, 34, 0.4);
}

.loot-btn:active { transform: translateY(0); }

/* Loot result (hidden by default) */
.loot-result {
    display: none;
    margin-top: 30px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(243,100,34,0.1), rgba(255,215,0,0.1));
    border: 2px solid var(--orange);
    border-radius: 16px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    animation: resultReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.loot-result.visible { display: block; }

@keyframes resultReveal {
    0%   { opacity: 0; transform: scale(0.3) rotate(-3deg); filter: blur(8px); }
    50%  { opacity: 1; transform: scale(1.06) rotate(0.5deg); filter: blur(0); }
    70%  { transform: scale(0.97); }
    100% { opacity: 1; transform: scale(1) rotate(0); filter: blur(0); }
}

.loot-result__icon {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 12px;
    transition: color 0.3s;
}

.loot-result__icon i {
    filter: drop-shadow(0 0 8px currentColor);
}

.loot-result__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 8px;
    transition: color 0.3s;
}

.loot-result__desc {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.6;
}

/* Coupon code display inside result */
.loot-result__coupon {
    margin-top: 16px;
    padding: 16px;
    background: var(--darker-navy);
    border-radius: 10px;
    text-align: center;
}

.loot-result__coupon-label {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.loot-result__coupon-code {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: 3px;
    padding: 8px 0;
    text-shadow: 0 0 10px var(--orange-glow);
    user-select: all;
    cursor: text;
}

.loot-result__coupon-info {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 6px;
}

/* ─────────────────────────────────────────
   LOOT FAQ
───────────────────────────────────────── */
.loot-faq {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.loot-faq__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.loot-faq__title i {
    color: var(--orange);
    font-size: 24px;
}

.loot-faq__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loot-faq__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--orange);
}

.loot-faq__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--orange), var(--orange-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.loot-faq__item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 6px;
}

.loot-faq__item p {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
}

/* ─────────────────────────────────────────
   LOOT TABLE (Rarity rewards)
───────────────────────────────────────── */
.loot-table-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.loot-table__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.loot-table__title i {
    color: var(--orange);
    font-size: 22px;
}

.loot-table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    background: var(--darker-navy);
}

.loot-table__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s;
}

.loot-table__row:last-child {
    border-bottom: none;
}

.loot-table__row:hover {
    background: rgba(255,255,255,0.04);
}

.loot-table__rarity {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
}

.loot-table__rarity i {
    font-size: 14px;
}

.loot-table__reward {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    text-align: right;
}

/* Rarity colors */
.loot-table__row--legendary {
    background: linear-gradient(90deg, rgba(255,165,0,0.15), rgba(255,165,0,0.05));
    border-left: 4px solid #ff9800;
}
.loot-table__row--legendary .loot-table__rarity {
    color: #ff9800;
    text-shadow: 0 0 10px rgba(255,152,0,0.4);
}
.loot-table__row--legendary .loot-table__reward {
    color: #ffcc80;
    font-weight: 700;
}

.loot-table__row--epic {
    background: linear-gradient(90deg, rgba(163,73,255,0.12), rgba(163,73,255,0.04));
    border-left: 4px solid #a349ff;
}
.loot-table__row--epic .loot-table__rarity {
    color: #a349ff;
    text-shadow: 0 0 10px rgba(163,73,255,0.4);
}
.loot-table__row--epic .loot-table__reward {
    color: #ce93d8;
}

.loot-table__row--rare {
    background: linear-gradient(90deg, rgba(33,150,243,0.12), rgba(33,150,243,0.04));
    border-left: 4px solid #2196f3;
}
.loot-table__row--rare .loot-table__rarity {
    color: #2196f3;
    text-shadow: 0 0 10px rgba(33,150,243,0.4);
}
.loot-table__row--rare .loot-table__reward {
    color: #90caf9;
}

.loot-table__row--uncommon {
    background: linear-gradient(90deg, rgba(76,175,80,0.12), rgba(76,175,80,0.04));
    border-left: 4px solid #4caf50;
}
.loot-table__row--uncommon .loot-table__rarity {
    color: #4caf50;
    text-shadow: 0 0 10px rgba(76,175,80,0.4);
}
.loot-table__row--uncommon .loot-table__reward {
    color: #a5d6a7;
}

.loot-table__row--common {
    background: linear-gradient(90deg, rgba(158,158,158,0.1), rgba(158,158,158,0.03));
    border-left: 4px solid #9e9e9e;
}
.loot-table__row--common .loot-table__rarity {
    color: #9e9e9e;
}
.loot-table__row--common .loot-table__reward {
    color: rgba(255,255,255,0.6);
}

/* ─────────────────────────────────────────
   INFOGRAFIKA TAB
───────────────────────────────────────── */
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline b{
    color: var(--orange);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--orange), var(--gold), var(--orange));
    transform: translateX(-50%);
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 40px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 40px);
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 20px;
    height: 20px;
    background: var(--orange);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--orange), 0 0 15px var(--orange-glow);
    z-index: 2;
}

.timeline-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 6px;
}

.timeline-event {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Timeline gallery (single image or multi-image slideshow) */
.timeline-gallery {
    margin-top: 14px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.timeline-gallery > img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Multi-image gallery */
.timeline-gallery__slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.timeline-gallery__slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-gallery__slides img.active {
    opacity: 1;
}

.timeline-gallery__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 2px;
}

.timeline-gallery__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.timeline-gallery__dots span.active {
    background: var(--orange);
    transform: scale(1.2);
}

.timeline-gallery__dots span:hover {
    background: var(--orange-hover);
}

/* Stats row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, var(--darker-navy), var(--dark-navy));
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid rgba(243, 100, 34, 0.2);
}

.stat-card__number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 4px;
    text-shadow: 0 0 20px var(--orange-glow);
}

.stat-card__label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─────────────────────────────────────────
   SOUTĚŽ MĚSÍCE TAB
───────────────────────────────────────── */
.contest-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contest-prize {
    background: linear-gradient(145deg, var(--darker-navy), var(--dark-navy));
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(243, 100, 34, 0.2);
    position: relative;
    overflow: hidden;
}

.contest-prize::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(243,100,34,0.1), transparent, rgba(255,215,0,0.05), transparent);
    animation: rotateBg 8s linear infinite;
}

@keyframes rotateBg {
    to { transform: rotate(360deg); }
}

.contest-prize__month {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.contest-prize__image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contest-prize__image i {
    font-size: 64px;
    color: var(--gold);
    filter: drop-shadow(0 0 15px rgba(255,215,0,0.3));
}

.contest-prize__name {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}

.contest-prize__value {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: var(--gold);
    font-weight: 600;
}


.contest-info p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-main);
    margin-bottom: 16px;
}

.contest-steps {
    list-style: none;
    margin-top: 20px;
}

.contest-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.6;
}

.contest-steps li .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.contest-countdown {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.contest-countdown__label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contest-countdown__timer {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--orange);
}

/* ─────────────────────────────────────────
   ČLÁNKY / BLOG TAB
───────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.blog-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 32px;
    position: relative;
}

.blog-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
}

.blog-card__body {
    padding: 20px;
}

.blog-card__date {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card__excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
}

.blog-load-more {
    text-align: center;
    margin-top: 30px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid var(--orange);
    border-radius: 24px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--orange);
    color: #fff;
}

/* ─────────────────────────────────────────
   XZONE KLUB TAB
───────────────────────────────────────── */
.klub-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.klub-hero__content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 12px;
}

.klub-hero__content p {
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.75;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--orange), var(--orange-hover));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(243, 100, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(243, 100, 34, 0.4);
    text-decoration: none;
    color: #fff;
}
/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
    .xz-hero {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    .xz-hero__logo {
        max-width: 300px;
        margin: 0 auto;
        aspect-ratio: auto;
        padding: 40px;
    }
    .xz-tabs { grid-template-columns: repeat(3, 1fr); }
    .xz-article { grid-template-columns: 1fr; }
    .video-embed { max-width: 360px; margin: 0 auto; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .contest-layout { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .klub-hero { grid-template-columns: 1fr; }
    .klub-perks { grid-template-columns: repeat(2, 1fr); }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
        flex-direction: row;
    }
    .timeline::before { left: 15px; }
    .timeline-dot { left: 15px; }
}

.article-category > a{
    font-family: 'Roboto', sans-serif;
    display: inline-block;
    padding: 5px 10px;
    background: #f36422;
    color: #ffffff;
    font-size: 12px;
    border-radius: 4px;
}
.article-item{
    border: 1px solid #F2F2F2;
    padding: 0 30px 30px 30px;
    background: #ffffff;
    color: #000000;
    box-shadow: 0px 0px 25px 0px #0000000D;
}

.article-img{
    width: 100%;
    border-radius: 20px;
}
.article-item-img{
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.article-item-perex{
    font-family: 'Roboto', sans-serif;
    color: #000000;
    font-size: 15px;
    font-weight: 400;
    text-align: left;

    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}
.article-item-h1, .article-item-h1>a{
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    color: #000000;
}
.article-item-h1{
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 48px;
    display: -webkit-box;
}

@media (max-width: 640px) {
    .xz-hero { padding: 30px 24px; }
    .xz-hero__title { font-size: 32px; }
    .xz-hero__title .number { font-size: 42px; }
    .xz-tabs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .xz-tabs__item { padding: 20px 12px; font-size: 12px; }
    .xz-tabs__item i { font-size: 22px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .loot-prizes { grid-template-columns: 1fr; }
    .klub-perks { grid-template-columns: 1fr; }
    .contest-layout { grid-template-columns: 1fr; }
    .loot-faq__item { flex-direction: column; gap: 12px; }
    .loot-faq__icon { display: none; }
    .loot-table__rarity { min-width: 110px; font-size: 11px; }
    .loot-table__row { padding: 12px 14px; }
    .loot-table__reward { font-size: 13px; }
    .loot-slot__item { width: 120px; min-width: 120px; height: 142px; }
    .loot-slot__item-icon { width: 40px; height: 40px; font-size: 20px; }
    .loot-slot__item-text { font-size: 11px; }
    .loot-slot__viewport { height: 150px; }
    .loot-slot__viewport::before,
    .loot-slot__viewport::after { width: 40px; }
}

/* ─────────────────────────────────────────
   ARTICLE + VIDEO REEL
───────────────────────────────────────── */
.xz-article {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
    margin-bottom: 30px;
}

.xz-article__body {
    line-height: 1.7;
}

.xz-article__body h3 {
    margin-top: 18px;
    margin-bottom: 6px;
}

.xz-article__body p {
    margin-bottom: 12px;
}

/* Video embed */
.video-embed {
    position: relative;
    width: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: #000;
    aspect-ratio: 9 / 16;
}

.video-embed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(243, 100, 34, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}

.play-btn i {
    color: #fff;
    font-size: 22px;
    margin-left: 3px;
}

.play-btn:hover {
    background: var(--orange);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-embed--playing .play-btn {
    display: none;
}

@media (max-width: 1026px) {
    .xz-article {
        grid-template-columns: 1fr;
    }

    .video-embed {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .video-embed {
        max-width: 100%;
    }
}