/* ============================================
   GLOBAL RESET & BASE
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Barlow Condensed", sans-serif;
    background: #090b12;
    color: #fff;
    overflow-x: hidden;
}

.overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 70% 50%, #8b121b44, transparent 55%),
        radial-gradient(circle at 30% 80%, #8b121b22, transparent 40%);
    z-index: -2;
    background:
        linear-gradient(rgba(7, 9, 15, 0.944), rgba(7, 9, 15, 0.96)),
        url("img/gb.webp") center/cover no-repeat;
}

/* ============================================
   SCROLLBAR
============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #11131f;
}

::-webkit-scrollbar-thumb {
    background: #ff3131;
    border-radius: 30px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff4e4e;
}

/* ============================================
   HEADER
============================================ */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 70px;
    z-index: 100;
}

.logo img {
    width: 100px;
}

nav {
    display: flex;
    gap: 65px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 19px;
    letter-spacing: 1px;
    font-weight: 700;
    transition: 0.3s;
}

nav a:hover {
    color: #cc2222;
}

.right-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-btn {
    width: 150px;
    height: 52px;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    background: #8b121b;
    transition: 0.35s;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #cc2222;
    transition: 0.4s;
    z-index: -1;
}

.login-btn:hover::before {
    left: 0;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 18, 27, 0.3);
}

.login-btn.is-logged-in {
    background: #1a1d2e;
    border: 1px solid #333;
    width: auto;
    min-width: 150px;
    padding: 0 16px;
}

.login-btn.is-logged-in::before {
    display: none;
}

.login-name {
    font-size: 15px;
}

.language {
    width: 165px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    transition: 0.3s;
}

.language:hover {
    border-color: rgba(139, 18, 27, 0.3);
    background: rgba(139, 18, 27, 0.05);
}

.language img {
    width: 24px;
}

.language i {
    color: #666;
}

/* ============================================
   HERO
============================================ */
.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.content {
    text-align: center;
    z-index: 5;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.subtitle {
    display: inline-block;
    color: #8b121b;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 25px;
    padding: 8px 25px;
    border: 1px solid rgba(139, 18, 27, 0.15);
}

.content h1 {
    font-size: 80px;
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content p {
    width: 700px;
    max-width: 100%;
    margin: 0 auto 30px;
    color: #8d8d98;
    font-size: 28px;
    line-height: 1.4;
}

.main-btn {
    width: 300px;
    height: 68px;
    background: linear-gradient(135deg, #8b121b, #6b0e15);
    border: none;
    color: white;
    font-size: 25px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    transition: 0.35s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(139, 18, 27, 0.15);
}

.main-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transform: rotate(45deg);
    transition: 0.6s;
}

.main-btn:hover::after {
    left: 100%;
}

.main-btn:hover {
    transform: translateY(-4px);
    background: #cc2222;
    box-shadow: 0 18px 45px rgba(139, 18, 27, 0.35);
}

.main-btn i {
    transition: 0.3s;
}

.main-btn:hover i {
    transform: translateX(8px);
}

.hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    width: 45%;
    height: 85%;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(0 0 60px rgba(139, 18, 27, 0.12));
}

.socials {
    margin-top: 45px;
    display: flex;
    gap: 14px;
    justify-content: center;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #666;
    font-size: 17px;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
}

.socials a:hover {
    color: #cc2222;
    border-color: rgba(139, 18, 27, 0.3);
    transform: translateY(-5px) scale(1.1);
    background: rgba(139, 18, 27, 0.05);
    box-shadow: 0 10px 30px rgba(139, 18, 27, 0.1);
}

.shadow {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 130px;
    pointer-events: none;
    background: linear-gradient(to bottom, #0a0c1400 0%, #0a0c14 100%);
}

/* ============================================
   ABOUT EVENT
============================================ */
.about-event {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: #0a0c14;
}

.about-event::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, #5b4dff11, transparent 60%);
    pointer-events: none;
}

.container {
    width: 1200px;
    margin: auto;
    max-width: 100%;
    padding: 0 20px;
}

.about-event h2 {
    color: #fff;
    font-size: 74px;
    font-family: "Oswald", sans-serif;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.card {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    padding: 40px;
    background: linear-gradient(145deg, #171722, #11111b);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, transparent, rgba(123, 97, 255, 0.08));
}

.label {
    color: #775dff;
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.card h3 {
    margin-top: 12px;
    color: white;
    font-family: "Oswald", sans-serif;
    font-size: 44px;
    line-height: 1.05;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.card p {
    margin-top: 25px;
    max-width: 420px;
    color: #cfcfd7;
    line-height: 1.8;
    font-size: 15px;
    position: relative;
    z-index: 2;
}

.sd-text {
    width: 280px;
}

.character {
    position: absolute;
    right: -120px;
    top: 100px;
    height: 330px;
    z-index: 1;
    pointer-events: none;
}

.character img {
    height: 100%;
    width: auto;
}

.banner {
    margin-top: 30px;
    height: 300px;
    background: linear-gradient(135deg, #6548ff, #2d215f);
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg,
            transparent 0 40px,
            rgba(255, 255, 255, 0.04) 40px 80px);
}

.banner .left {
    position: relative;
    z-index: 2;
    padding-left: 45px;
}

.banner .left span {
    display: block;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 42px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.banner .left a {
    width: 280px;
    height: 70px;
    background: #fff;
    color: #6a4cff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    transition: 0.3s;
}

.banner .left a:hover {
    transform: translateY(-4px);
}

.banner .box-img {
    position: relative;
    z-index: 2;
}

.banner .box-img img {
    height: 220px;
    margin-right: 40px;
    rotate: calc(10deg);
}

/* ============================================
   CASES COUNTER
============================================ */
.cases-counter {
    background: #0c0e18;
    border-top: 1px solid #1a1d2e;
    border-bottom: 1px solid #1a1d2e;
    padding: 32px 20px 36px;
    text-align: center;
}

.cases-counter__label {
    font-size: 13px;
    letter-spacing: 3px;
    color: #ff3131;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cases-counter__value {
    font-size: clamp(52px, 11vw, 72px);
    line-height: 1.1;
    font-weight: 800;
    font-family: "Oswald", sans-serif;
    color: #fff;
    letter-spacing: -2px;
    margin: 0;
}

.cases-counter__total {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    letter-spacing: 1px;
}

/* ============================================
   SPIN SECTION
============================================ */
.background {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top,
            #1b1d2d 0%,
            #0c0d16 55%,
            #08090f 100%);
    z-index: -3;
}

.background::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
}

.background::after {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    left: 50%;
    top: -500px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #ff2b2b;
    filter: blur(180px);
    opacity: 0.1;
}

.spin_header {
    width: 100%;
    background-color: #0a0c14;
    border-top: none;
}

.spin {
    width: min(1700px, 95%);
    margin: auto;
    padding-top: 48px;
    padding-bottom: 80px;
    text-align: center;
}

.top-text {
    color: #ff4040;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.spin h1 {
    margin: 0;
    font-size: clamp(42px, 8vw, 82px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.desc {
    margin-top: 20px;
    margin-bottom: 0;
    color: #9d9d9d;
    font-size: clamp(16px, 2.5vw, 23px);
    line-height: 1.5;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.wheel-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 65px;
    width: 100%;
    padding: 25px 0;
}

.wheel {
    display: flex;
    align-items: center;
    gap: 30px;
    will-change: transform;
}

.pointer {
    width: 0;
    height: 0;
    margin: 35px auto -12px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 22px solid #ff2d2d;
    filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.8));
    z-index: 50;
    position: relative;
}

.pointer::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 22px;
    width: 4px;
    height: 340px;
    border-radius: 50px;
    background: #ff3131;
    box-shadow:
        0 0 15px #ff3131,
        0 0 35px rgba(255, 0, 0, 0.7);
}

.wheel-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 220px;
    height: 100%;
    z-index: 20;
    pointer-events: none;
    background: linear-gradient(90deg,
            #0c0d16 0%,
            rgba(12, 13, 22, 0.95) 20%,
            rgba(12, 13, 22, 0) 100%);
}

.wheel-wrapper::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 220px;
    height: 100%;
    z-index: 20;
    pointer-events: none;
    background: linear-gradient(-90deg,
            #0c0d16 0%,
            rgba(12, 13, 22, 0.95) 20%,
            rgba(12, 13, 22, 0) 100%);
}

#spinBtn {
    margin-top: 55px;
    width: 310px;
    height: 68px;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ff2626, #ff4b2b);
    box-shadow: 0 12px 40px rgba(255, 50, 50, 0.35);
    transition: 0.25s;
}

#spinBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 55px rgba(255, 50, 50, 0.55);
}

#spinBtn:active {
    transform: scale(0.97);
}

#spinBtn.spinning {
    pointer-events: none;
    opacity: 0.65;
    cursor: default;
}

#spinBtn.claim {
    background: linear-gradient(90deg, #28b44c, #35d463);
    box-shadow: 0 15px 40px rgba(40, 180, 76, 0.45);
}

#spinBtn.claim:hover {
    box-shadow: 0 20px 55px rgba(40, 180, 76, 0.65);
}

/* ============================================
   ITEM CARD
============================================ */
.item {
    width: 220px;
    min-width: 220px;
    height: 350px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background: inherit;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition: 0.35s;
    cursor: default;
    user-select: none;
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.04),
        0 10px 25px rgba(0, 0, 0, 0.35);
}

.item:hover {
    transform: translateY(-8px);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.08),
        0 20px 45px rgba(0, 0, 0, 0.55);
}

.item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.04),
            transparent 35%,
            rgba(0, 0, 0, 0.4));
}

.item::after {
    content: "";
    position: absolute;
    top: -150px;
    left: -120px;
    width: 120px;
    height: 420px;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(28deg);
    transition: 0.8s;
}

.item:hover::after {
    left: 320px;
}

.item img {
    width: 180px;
    height: 140px;
    object-fit: contain;
    display: block;
    margin: 28px auto 10px;
    transition: 0.35s;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.55));
    animation: float 3s ease-in-out infinite;
}

.item:hover img {
    transform: scale(1.08) rotate(-2deg);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

.item-name {
    padding: 0 18px;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.item-type {
    margin-top: 8px;
    color: #8f93a7;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.item-price {
    margin-top: 18px;
    font-size: 23px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

.rarity-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 7px;
}

/* Rarities */
.milspec {
    border-color: #4ea3ff;
}

.milspec .rarity-line {
    background: #4ea3ff;
}

.milspec:hover {
    box-shadow: 0 0 30px rgba(78, 163, 255, 0.45);
}

.restricted {
    border-color: #9c6dff;
}

.restricted .rarity-line {
    background: #9c6dff;
}

.restricted:hover {
    box-shadow: 0 0 30px rgba(156, 109, 255, 0.45);
}

.classified {
    border-color: #ff4fc7;
}

.classified .rarity-line {
    background: #ff4fc7;
}

.classified:hover {
    box-shadow: 0 0 35px rgba(255, 79, 199, 0.45);
}

.covert {
    border-color: #ff4040;
}

.covert .rarity-line {
    background: #ff4040;
}

.covert:hover {
    box-shadow: 0 0 38px rgba(255, 60, 60, 0.5);
}

.knife {
    border-color: #ffcb3b;
}

.knife .rarity-line {
    background: #ffcb3b;
}

.knife {
    background: linear-gradient(180deg, rgba(255, 205, 60, 0.08), #171926);
}

.knife:hover {
    box-shadow: 0 0 45px rgba(255, 210, 60, 0.6);
}

.winner {
    transform: scale(1.08) !important;
    opacity: 1 !important;
    filter: none !important;
    z-index: 99;
    animation: winnerGlow 1.2s infinite alternate;
}

@keyframes winnerGlow {
    from {
        box-shadow: 0 0 20px rgba(255, 70, 70, 0.3);
    }

    to {
        box-shadow: 0 0 55px rgba(255, 80, 80, 0.8);
    }
}

.loser {
    opacity: 0.18;
    filter: grayscale(1) blur(0.3px);
}

.fade {
    opacity: 0.18;
    filter: grayscale(1);
    transform: scale(0.92);
}

.win-title {
    color: #ffd54d;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.45);
}

.win-desc {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
}

.win-text {
    animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   LIVE DROP
============================================ */
.page {
    width: min(1800px, 95%);
    margin: auto;
    padding: 25px 0 80px;
}

.live-drop {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 40px;
}

.live-title {
    min-width: 130px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff5252;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    text-transform: uppercase;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3131;
    box-shadow: 0 0 8px #ff3131, 0 0 20px #ff3131;
}

.live-track {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
}

.drop-item {
    width: 140px;
    height: 44px;
    padding: 5px 8px;
    background: #171925;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: 0.25s;
    animation: liveDrop 0.55s cubic-bezier(0.18, 1, 0.32, 1);
}

.drop-item:hover {
    transform: translateY(-3px);
}

@keyframes liveDrop {
    0% {
        opacity: 0;
        transform: translateX(60px) scale(0.82);
        filter: blur(6px);
    }

    60% {
        transform: translateX(-4px) scale(1.03);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

.drop-item img {
    width: 52px;
    height: 28px;
    object-fit: contain;
    pointer-events: none;
}

.drop-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.drop-name {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
}

.drop-price {
    font-size: 11px;
    color: #9ea6b7;
}

.drop-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
}

.drop-item.knife::after {
    background: #ff2b5b;
}

.drop-item.covert::after {
    background: #ff4343;
}

.drop-item.classified::after {
    background: #ffc534;
}

.drop-item.restricted::after {
    background: #4da8ff;
}

.drop-item.milspec::after {
    background: #19dbc4;
}

/* ============================================
   CASE SECTION
============================================ */
.case-section {
    margin-top: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.diamond {
    width: 10px;
    height: 10px;
    background: #ff4242;
    transform: rotate(45deg);
    box-shadow: 0 0 10px #ff4242;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
    gap: 18px;
}

.case-card {
    position: relative;
    overflow: hidden;
    background: #151823;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 330px;
    padding: 22px;
    transition: 0.28s;
    cursor: pointer;
}

.case-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 255, 255, 0.15);
}

.case-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
}

.chance {
    position: absolute;
    right: 18px;
    top: 18px;
    color: #bfc6d6;
    font-size: 14px;
    font-weight: 700;
}

.rarity {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.skin-image {
    width: 100%;
    height: 165px;
    object-fit: contain;
    margin-top: 30px;
    transition: 0.35s;
}

.case-card:hover .skin-image {
    transform: scale(1.08);
}

.skin-name {
    margin-top: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
}

.skin-price {
    margin-top: 10px;
    text-align: center;
    color: #8f97aa;
    font-size: 18px;
}

.bottom-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
}

.case-card.knife {
    background: linear-gradient(180deg, #2a1820, #161822);
}

.case-card.knife::before {
    background: #ff2b59;
}

.case-card.knife .rarity {
    color: #ff395f;
}

.case-card.knife .bottom-line {
    background: #ff395f;
}

.case-card.covert {
    background: linear-gradient(180deg, #2b1818, #161822);
}

.case-card.covert::before {
    background: #ff4141;
}

.case-card.covert .rarity {
    color: #ff4d4d;
}

.case-card.covert .bottom-line {
    background: #ff4d4d;
}

.case-card.classified {
    background: linear-gradient(180deg, #292519, #171822);
}

.case-card.classified::before {
    background: #ffc72d;
}

.case-card.classified .rarity {
    color: #ffc72d;
}

.case-card.classified .bottom-line {
    background: #ffc72d;
}

.case-card.restricted {
    background: linear-gradient(180deg, #172338, #161822);
}

.case-card.restricted::before {
    background: #59a8ff;
}

.case-card.restricted .rarity {
    color: #59a8ff;
}

.case-card.restricted .bottom-line {
    background: #59a8ff;
}

.case-card.milspec {
    background: linear-gradient(180deg, #15292b, #161822);
}

.case-card.milspec::before {
    background: #15dcc8;
}

.case-card.milspec .rarity {
    color: #15dcc8;
}

.case-card.milspec .bottom-line {
    background: #15dcc8;
}

/* ============================================
   FAQ
============================================ */
.faq_head {
    width: 100%;
    max-width: 100%;
    background-color: #0a0c14;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.faq {
    width: min(1100px, 92%);
    margin: auto;
}

.faq-subtitle {
    padding-top: 20px;
    color: #ff3b3b;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.faq h2 {
    text-align: center;
    font-size: 82px;
    line-height: .95;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 90px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.faq-question {
    width: 100%;
    height: 84px;
    background: none;
    border: none;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    transition: .25s;
}

.faq-question:hover {
    color: #ff4242;
}

.faq-question span {
    font-size: 48px;
    font-weight: 300;
    transition: .35s;
    color: #fff;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
    color: #ff4242;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
    color: #9ca4b5;
    font-size: 18px;
    line-height: 1.8;
    padding: 0 10px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 10px 30px;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: #11111a;
}

.footer-banner {
    height: 54px;
    background: #ff2026;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.footer-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-35deg,
            rgba(255, 255, 255, .12) 0 40px,
            transparent 40px 120px);
    opacity: .5;
}

.footer-banner span {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}

.footer-content {
    width: min(900px, 92%);
    margin: auto;
    padding: 70px 0;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 35px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: .25s;
}

.footer-socials a:hover {
    background: #ff3035;
    border-color: #ff3035;
    transform: translateY(-3px);
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 35px;
}

.logo-left {
    font-size: 44px;
    font-weight: 900;
}

.footer-x {
    color: #666;
    font-size: 34px;
}

.logo-right {
    color: #fff;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 3px;
}

.footer-text {
    color: #7d8394;
    line-height: 1.9;
    font-size: 15px;
    max-width: 760px;
    margin: auto;
}

/* ============================================================
   RESPONSIVE
============================================================ */

/* ===== 1200px ===== */
@media (max-width: 1200px) {
    .hero-image {
        width: 40%;
        height: 75%;
        opacity: 0.7;
    }

    .content h1 {
        font-size: 80px;
    }

    .container {
        width: 100%;
    }

    .spin h1 {
        font-size: 58px;
    }

    .desc {
        font-size: 18px;
    }

    .item {
        width: 180px;
        min-width: 180px;
        height: 250px;
    }

    .item img {
        width: 145px;
        height: 110px;
    }

    .faq h2 {
        font-size: 60px;
    }
}

/* ===== 992px ===== */
@media (max-width: 992px) {
    header {
        padding: 20px 30px;
    }

    nav {
        gap: 30px;
    }

    .content h1 {
        font-size: 60px;
    }

    .content p {
        font-size: 22px;
    }

    .hero-image {
        width: 35%;
        height: 65%;
        opacity: 0.5;
    }

    .about-event h2 {
        font-size: 52px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .character {
        right: -60px;
        height: 250px;
        opacity: 0.6;
    }

    .sd-text {
        width: auto;
        max-width: 280px;
    }

    .faq h2 {
        font-size: 54px;
    }

    .faq-question {
        font-size: 28px;
        height: 72px;
    }

    .faq-question span {
        font-size: 40px;
    }
}

/* ===== 768px ===== */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    header {
        padding: 15px 20px;
    }

    .right-header {
        gap: 10px;
    }

    .login-btn {
        width: 100px;
        height: 40px;
        font-size: 14px;
    }

    .language {
        width: 100px;
        height: 40px;
    }

    .content h1 {
        font-size: 42px;
    }

    .content p {
        font-size: 17px;
        width: 100%;
    }

    .main-btn {
        width: 220px;
        height: 56px;
        font-size: 17px;
    }

    .hero-image {
        width: 60%;
        height: 50%;
        opacity: 0.25;
        bottom: -20px;
    }

    .subtitle {
        font-size: 14px;
        padding: 5px 15px;
    }

    .socials a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .about-event {
        padding: 60px 0;
    }

    .about-event h2 {
        font-size: 34px;
        margin-bottom: 30px;
    }

    .card {
        min-height: 320px;
        padding: 25px;
    }

    .card h3 {
        font-size: 30px;
    }

    .character {
        right: -30px;
        height: 200px;
        opacity: 0.4;
    }

    .banner {
        height: auto;
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }

    .banner .left {
        padding-left: 0;
        text-align: center;
    }

    .banner .left span {
        font-size: 28px;
    }

    .banner .left a {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .banner .box-img img {
        height: 140px;
        margin-right: 0;
    }

    /* SPIN */
    .spin h1 {
        font-size: 42px;
    }

    .top-text {
        font-size: 11px;
    }

    .desc {
        font-size: 16px;
    }

    #spinBtn {
        width: 100%;
        max-width: 320px;
    }

    .item {
        width: 155px;
        min-width: 155px;
        height: 220px;
    }

    .item img {
        width: 120px;
        height: 90px;
    }

    .wheel-wrapper::before,
    .wheel-wrapper::after {
        width: 80px;
    }

    .pointer::after {
        height: 200px;
        top: 15px;
    }

    /* LIVE DROP */
    .live-drop {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .live-title {
        min-width: auto;
    }

    .drop-item {
        width: 120px;
        height: 40px;
        padding: 4px 6px;
    }

    .drop-item img {
        width: 40px;
        height: 22px;
    }

    /* CASE GRID */
    .case-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 12px;
    }

    .case-card {
        min-height: 250px;
        padding: 16px;
    }

    .skin-image {
        height: 120px;
        margin-top: 20px;
    }

    .skin-name {
        font-size: 16px;
    }

    .chance {
        font-size: 12px;
        right: 12px;
        top: 12px;
    }

    .rarity {
        font-size: 11px;
    }

    /* FAQ */
    .faq_head {
        min-height: auto;
        padding: 40px 0;
    }

    .faq h2 {
        font-size: 38px;
        margin-bottom: 50px;
    }

    .faq-question {
        font-size: 22px;
        height: 64px;
    }

    .faq-question span {
        font-size: 34px;
    }

    .faq-answer {
        font-size: 16px;
    }

    .faq-item.active .faq-answer {
        max-height: 300px;
        padding: 0 10px 20px;
    }

    /* FOOTER */
    .footer-content {
        padding: 40px 0;
    }

    .footer-logo {
        flex-wrap: wrap;
        gap: 12px;
    }

    .logo-left,
    .logo-right {
        font-size: 28px;
    }

    .footer-x {
        font-size: 24px;
    }

    .footer-socials a {
        width: 36px;
        height: 36px;
    }

    .footer-text {
        font-size: 13px;
    }
}

/* ===== 480px ===== */
@media (max-width: 480px) {
    .logo img {
        width: 70px;
    }

    .login-btn {
        width: 80px;
        height: 34px;
        font-size: 12px;
    }

    .language {
        width: 70px;
        height: 34px;
        font-size: 12px;
        gap: 6px;
    }

    .language img {
        width: 18px;
    }

    .content h1 {
        font-size: 32px;
    }

    .content p {
        font-size: 14px;
    }

    .main-btn {
        width: 180px;
        height: 48px;
        font-size: 14px;
        gap: 10px;
    }

    .subtitle {
        font-size: 12px;
        padding: 4px 12px;
    }

    .hero-image {
        width: 80%;
        height: 40%;
        opacity: 0.2;
    }

    .about-event h2 {
        font-size: 28px;
    }

    .card {
        min-height: 250px;
        padding: 18px;
    }

    .card h3 {
        font-size: 24px;
    }

    .label {
        font-size: 14px;
    }

    .card p {
        font-size: 13px;
    }

    .character {
        height: 150px;
        right: -20px;
        opacity: 0.3;
    }

    .banner .left span {
        font-size: 22px;
    }

    .banner .left a {
        height: 54px;
        font-size: 17px;
        width: 100%;
        max-width: 220px;
    }

    .banner .box-img img {
        height: 100px;
    }

    .spin {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .spin h1 {
        font-size: 32px;
    }

    .desc {
        font-size: 14px;
    }

    .wheel {
        gap: 16px;
    }

    .item {
        width: 130px;
        min-width: 130px;
        height: 190px;
    }

    .item img {
        width: 100px;
        height: 75px;
        margin: 18px auto 6px;
    }

    .item-name {
        font-size: 14px;
        padding: 0 10px;
    }

    .item-type {
        font-size: 11px;
    }

    .item-price {
        font-size: 16px;
        margin-top: 10px;
    }

    .wheel-wrapper::before,
    .wheel-wrapper::after {
        width: 40px;
    }

    .pointer {
        border-left-width: 10px;
        border-right-width: 10px;
        border-top-width: 16px;
    }

    .pointer::after {
        height: 140px;
        top: 10px;
        width: 3px;
    }

    #spinBtn {
        height: 54px;
        font-size: 16px;
        margin-top: 35px;
    }

    .live-track {
        gap: 6px;
    }

    .drop-item {
        width: 100px;
        height: 34px;
        padding: 3px 5px;
        gap: 6px;
    }

    .drop-item img {
        width: 32px;
        height: 18px;
    }

    .drop-name {
        font-size: 8px;
    }

    .drop-price {
        font-size: 9px;
    }

    .case-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .case-card {
        min-height: 200px;
        padding: 12px;
    }

    .skin-image {
        height: 90px;
        margin-top: 14px;
    }

    .skin-name {
        font-size: 13px;
        margin-top: 12px;
    }

    .skin-price {
        font-size: 14px;
        margin-top: 6px;
    }

    .chance {
        font-size: 10px;
        right: 8px;
        top: 8px;
    }

    .rarity {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 16px;
        gap: 8px;
    }

    .diamond {
        width: 8px;
        height: 8px;
    }

    .faq h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .faq-question {
        font-size: 17px;
        height: 54px;
    }

    .faq-question span {
        font-size: 28px;
    }

    .faq-answer {
        font-size: 14px;
    }

    .faq-subtitle {
        font-size: 12px;
        padding-top: 10px;
    }

    .footer-banner span {
        font-size: 14px;
    }

    .footer-content {
        padding: 30px 0;
    }

    .logo-left,
    .logo-right {
        font-size: 22px;
    }

    .footer-x {
        font-size: 18px;
    }

    .footer-text {
        font-size: 12px;
    }

    .footer-socials {
        gap: 10px;
        margin-bottom: 25px;
    }

    .footer-socials a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* ===== 360px ===== */
@media (max-width: 360px) {
    header {
        padding: 10px 12px;
    }

    .logo img {
        width: 55px;
    }

    .login-btn {
        width: 65px;
        height: 30px;
        font-size: 10px;
    }

    .language {
        width: 55px;
        height: 30px;
        font-size: 10px;
    }

    .language img {
        width: 14px;
    }

    .content h1 {
        font-size: 26px;
    }

    .content p {
        font-size: 12px;
    }

    .main-btn {
        width: 150px;
        height: 40px;
        font-size: 12px;
        gap: 8px;
    }

    .subtitle {
        font-size: 10px;
        padding: 3px 10px;
        margin-bottom: 15px;
    }

    .socials a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .spin h1 {
        font-size: 26px;
    }

    .item {
        width: 110px;
        min-width: 110px;
        height: 165px;
    }

    .item img {
        width: 80px;
        height: 60px;
        margin: 14px auto 4px;
    }

    .item-name {
        font-size: 12px;
        padding: 0 6px;
    }

    .item-type {
        font-size: 9px;
    }

    .item-price {
        font-size: 13px;
        margin-top: 6px;
    }

    .case-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .case-card {
        min-height: 170px;
        padding: 10px;
    }

    .skin-image {
        height: 70px;
        margin-top: 10px;
    }

    .skin-name {
        font-size: 11px;
        margin-top: 8px;
    }

    .skin-price {
        font-size: 12px;
    }

    .faq-question {
        font-size: 14px;
        height: 46px;
    }

    .faq-question span {
        font-size: 22px;
    }

    .faq-answer {
        font-size: 13px;
    }

    .faq h2 {
        font-size: 24px;
    }

    .logo-left,
    .logo-right {
        font-size: 18px;
    }

    .footer-x {
        font-size: 14px;
    }

    .footer-banner span {
        font-size: 12px;
    }

    .footer-text {
        font-size: 11px;
    }
}

/* Inter fallback — self-hosted fonts in vendor/fonts.css */

body.wcase-modal-open {
    overflow: hidden;
}

/* ── Fake browser (Dark Carnival pattern) ───────────────── */
#wcase-browser-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 16px;
    box-sizing: border-box;
}

#wcase-browser-window {
    background: #191a1d;
    border-radius: 10px;
    min-width: min(1200px, 96vw);
    max-width: 96vw;
    border: 1px solid #505053;
    position: relative;
    box-sizing: border-box;
}

.wcase-br-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    cursor: default;
}

.wcase-br-title-left {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-top: 5px;
    margin-bottom: 9px;
    color: #fff;
    font-size: 12px;
    font-family: Inter, sans-serif;
    font-weight: 500;
}

.wcase-br-steam-logo {
    height: 14px;
    filter: invert(1) brightness(1.4);
    opacity: 0.8;
}

.wcase-br-title-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 5px;
    margin-bottom: 9px;
}

.wcase-br-title-btns svg {
    cursor: pointer;
    flex-shrink: 0;
}

.wcase-br-line {
    width: 100%;
    height: 1px;
    background: #505053;
}

.wcase-br-urlbar {
    display: flex;
    align-items: center;
    padding: 0 11px;
    transition: background 0.2s;
}

.wcase-br-urlbar:hover {
    background: #2d2e31;
}

.wcase-br-urlbar p {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-family: Inter, sans-serif;
    color: #9aa0a6;
    margin: 0;
    padding: 4px 0;
    word-break: break-all;
}

.wcase-br-iframe {
    width: 100%;
    height: min(700px, 70vh);
    display: block;
    border: none;
}

/* ── Claim popup (dc-overlay pattern) ───────────────────── */
#wcase-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

#wcase-popup {
    position: relative;
    background: linear-gradient(160deg, #141622 0%, #0d0f18 100%);
    border: 1px solid #2a2f45;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    padding: 36px 30px 32px;
    text-align: center;
    color: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.wcase-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: #666;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

.wcase-popup-close:hover {
    color: #fff;
}

.wcase-popup-badge {
    display: inline-block;
    color: #ff3131;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
    padding: 5px 14px;
    border: 1px solid rgba(255, 49, 49, 0.25);
}

.wcase-prize-preview img {
    max-height: 110px;
    margin-bottom: 16px;
}

.wcase-popup-steam-logo {
    height: 52px;
    margin-bottom: 18px;
    filter: brightness(1.2);
}

.wcase-popup-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.wcase-popup-title--sm {
    font-size: 24px;
}

.wcase-popup-sub {
    color: #ff3131;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.wcase-popup-desc {
    color: #888;
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 24px;
}

.wcase-popup-desc strong {
    color: #fff;
}

.wcase-popup-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wcase-popup-btn--claim {
    background: linear-gradient(90deg, #8b121b, #ff3131);
    color: #fff;
}

.wcase-popup-btn--steam {
    background: #1b9df0;
    color: #fff;
    font-size: 17px;
}

.wcase-win-badge {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #8b121b, #ff3131);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcase-win-badge .fa-trophy {
    font-size: 42px;
    color: #fff;
}

.wcase-prize-block {
    border-top: 1px solid #22263a;
    border-bottom: 1px solid #22263a;
    padding: 20px 0;
    margin-bottom: 20px;
}

.wcase-prize-block img {
    max-height: 100px;
    margin-bottom: 12px;
}

.wcase-prize-name {
    font-size: 22px;
    font-weight: 700;
    color: #ff3131;
}

.wcase-overload-text {
    color: #777;
    line-height: 1.55;
    font-size: 14px;
    margin-bottom: 20px;
}

.wcase-overload-text strong {
    color: #fff;
}

@media (max-width: 768px) {
    #wcase-browser-window {
        min-width: 100%;
    }

    .wcase-br-iframe {
        height: min(560px, 62vh);
    }

    .wcase-br-urlbar p {
        font-size: 10px;
    }

    #wcase-popup {
        padding: 28px 20px 24px;
    }

    .wcase-popup-title {
        font-size: 24px;
    }
}