/* ========== GLOVES PAGE — Перчатки CS2 ========== */
/* Unique warm amber-gold-crimson palette */

.gl {
    --gl-amber: #E8A030;
    --gl-gold: #FFD700;
    --gl-crimson: #DC2626;
    --gl-rose: #F43F5E;
    --gl-warm: #D97706;
    --gl-dark: #1a1a2e;
    --gl-bg: #FFFBF5;
    --gl-card: #ffffff;
    --gl-text: #2d2d44;
    --gl-muted: #6b7280;
    --gl-radius: 16px;
    --gl-radius-lg: 24px;
    --gl-shadow: 0 4px 20px rgba(139,69,19,.06);
    --gl-shadow-hover: 0 12px 40px rgba(139,69,19,.14);
    --gl-transition: .3s ease;
    background: var(--gl-bg);
    color: var(--gl-text);
    overflow-x: hidden;
}

.gl .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HERO ===== */
.gl-hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #1a0a00 0%, #2d1810 30%, #3d1c0a 60%, #1a0f08 100%);
    overflow: hidden;
}
.gl-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .35;
    pointer-events: none;
}
.gl-hero__glow--1 { width: 600px; height: 600px; top: -150px; right: -100px; background: var(--gl-amber); }
.gl-hero__glow--2 { width: 400px; height: 400px; bottom: -100px; left: -80px; background: var(--gl-crimson); }
.gl-hero__glow--3 { width: 300px; height: 300px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--gl-gold); opacity: .12; }

.gl-hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.gl-particle {
    position: absolute;
    background: rgba(255,215,0,.5);
    border-radius: 50%;
    animation: gl-float 6s ease-in-out infinite;
}
@keyframes gl-float {
    0%,100% { transform: translateY(0) scale(1); opacity: .3; }
    50% { transform: translateY(-30px) scale(1.3); opacity: .7; }
}

.gl-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}
.gl-hero__text { flex: 1; }
.gl-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255,215,0,.15);
    border: 1px solid rgba(255,215,0,.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gl-gold);
    margin-bottom: 20px;
}
.gl-hero__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 20px;
}
.gl-hero__title span {
    background: linear-gradient(135deg, var(--gl-gold), var(--gl-amber), var(--gl-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gl-hero__sub {
    font-size: 17px;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 520px;
}
.gl-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.gl-hero__visual { flex: 0 0 460px; }
.gl-hero__showcase {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gl-hero__glove {
    position: absolute;
    border-radius: 16px;
    max-width: 280px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,.5));
    transition: transform .4s ease;
}
.gl-hero__glove--1 {
    top: 20px; left: 30px;
    z-index: 3;
    animation: gl-glove-float1 5s ease-in-out infinite;
}
.gl-hero__glove--2 {
    bottom: 20px; right: 10px;
    z-index: 2;
    max-width: 240px;
    opacity: .85;
    animation: gl-glove-float2 6s ease-in-out infinite;
}
@keyframes gl-glove-float1 {
    0%,100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}
@keyframes gl-glove-float2 {
    0%,100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
}

/* --- Buttons --- */
.gl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--gl-transition);
    cursor: pointer;
    border: none;
}
.gl-btn--primary {
    background: linear-gradient(135deg, var(--gl-amber), var(--gl-crimson));
    color: #fff;
    box-shadow: 0 4px 20px rgba(232,160,48,.3);
}
.gl-btn--primary:hover {
    box-shadow: 0 8px 30px rgba(232,160,48,.5);
    transform: translateY(-2px);
}
.gl-btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.3);
}
.gl-btn--outline:hover {
    border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.08);
}
.gl-btn--lg { padding: 16px 36px; font-size: 16px; }

/* ===== INTRO ===== */
.gl-intro { padding: 60px 0 0; }
.gl-intro__card {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: var(--gl-card);
    border-radius: var(--gl-radius-lg);
    box-shadow: var(--gl-shadow);
    border: 1px solid rgba(232,160,48,.1);
}
.gl-intro__icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232,160,48,.1);
    border-radius: 14px;
}
.gl-intro__body p {
    margin: 0 0 12px;
    line-height: 1.7;
    font-size: 15px;
    color: var(--gl-muted);
}
.gl-intro__list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}
.gl-intro__list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gl-text);
}
.gl-intro__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gl-amber);
    font-weight: 700;
}

/* ===== TOC ===== */
.gl-toc { padding: 40px 0; }
.gl-toc__card {
    background: var(--gl-card);
    border-radius: var(--gl-radius-lg);
    padding: 28px 32px;
    box-shadow: var(--gl-shadow);
    border: 1px solid rgba(232,160,48,.1);
}
.gl-toc__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 16px;
    color: var(--gl-text);
}
.gl-toc__links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 8px;
}
.gl-toc__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--gl-text);
    font-size: 14px;
    font-weight: 500;
    transition: var(--gl-transition);
}
.gl-toc__link:hover { background: rgba(232,160,48,.06); color: var(--gl-amber); }
.gl-toc__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--gl-amber), var(--gl-crimson));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ===== SECTIONS ===== */
.gl-section { padding: 80px 0; }
.gl-section--alt { background: #fff; }
.gl-section__head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}
.gl-section__badge {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, rgba(232,160,48,.1), rgba(220,38,38,.08));
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gl-amber);
    margin-bottom: 16px;
}
.gl-section__head h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--gl-dark);
    margin: 0 0 14px;
}
.gl-section__head p {
    font-size: 15px;
    color: var(--gl-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===== TOP-5 CARDS ===== */
.gl-top5-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.gl-top5-card {
    position: relative;
    background: var(--gl-card);
    border-radius: var(--gl-radius-lg);
    overflow: hidden;
    box-shadow: var(--gl-shadow);
    border: 1px solid rgba(232,160,48,.08);
    transition: var(--gl-transition);
    opacity: 0;
    transform: translateY(30px);
}
.gl-top5-card.gl-visible {
    opacity: 1;
    transform: translateY(0);
}
.gl-top5-card:hover {
    box-shadow: var(--gl-shadow-hover);
    transform: translateY(-6px);
}
.gl-top5-card__rank {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gl-gold), var(--gl-amber));
    color: #1a0a00;
    font-weight: 800;
    font-size: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(232,160,48,.4);
}
.gl-top5-card__img {
    background: linear-gradient(135deg, #1a0a00 0%, #3d1c0a 50%, #2d1810 100%);
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}
.gl-top5-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 80%, rgba(232,160,48,.15), transparent 60%);
    pointer-events: none;
}
.gl-top5-card__img img {
    max-width: 200px;
    max-height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,.5));
    transition: transform .4s ease;
    position: relative;
    z-index: 1;
    cursor: zoom-in;
}
.gl-top5-card:hover .gl-top5-card__img img { transform: scale(1.08) rotate(-2deg); }
.gl-top5-card__info {
    padding: 20px 24px 24px;
}
.gl-top5-card__info h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gl-dark);
    margin: 0 0 8px;
}
.gl-top5-card__info p {
    font-size: 13px;
    color: var(--gl-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== GLOVE TYPE BLOCK ===== */
.gl-type-block {
    background: var(--gl-card);
    border-radius: var(--gl-radius-lg);
    box-shadow: var(--gl-shadow);
    border: 1px solid rgba(232,160,48,.06);
    padding: 36px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.gl-type-block.gl-visible {
    opacity: 1;
    transform: translateY(0);
}
.gl-type-block__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(232,160,48,.1);
}
.gl-type-block__icon {
    font-size: 32px;
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(232,160,48,.12), rgba(220,38,38,.08));
    border-radius: 16px;
    flex-shrink: 0;
}
.gl-type-block__header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--gl-dark);
    margin: 0;
}
.gl-type-block__header h3 span {
    font-weight: 400;
    color: var(--gl-muted);
    font-size: 16px;
}
.gl-type-block__count {
    margin-left: auto;
    padding: 4px 14px;
    background: linear-gradient(135deg, rgba(232,160,48,.1), rgba(220,38,38,.06));
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gl-amber);
    white-space: nowrap;
}

/* Glove Gallery Grid */
.gl-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.gl-gallery__item {
    position: relative;
    background: linear-gradient(135deg, #1a0a00 0%, #3d1c0a 50%, #2d1810 100%);
    border-radius: 14px;
    padding: 20px 14px 14px;
    text-align: center;
    transition: var(--gl-transition);
    cursor: zoom-in;
    overflow: hidden;
}
.gl-gallery__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232,160,48,.12), rgba(255,215,0,.08));
    opacity: 0;
    transition: opacity .3s ease;
    border-radius: 14px;
}
.gl-gallery__item:hover::before { opacity: 1; }
.gl-gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.gl-gallery__item img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform .4s ease;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,.4));
    position: relative;
    z-index: 1;
}
.gl-gallery__item:hover img {
    transform: scale(1.12);
}
.gl-gallery__item span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    z-index: 1;
}

/* Glove Block Text */
.gl-type-block__text p {
    font-size: 15px;
    color: var(--gl-muted);
    line-height: 1.7;
    margin: 0 0 14px;
}
.gl-type-block__highlights {
    background: linear-gradient(135deg, rgba(232,160,48,.05), rgba(220,38,38,.03));
    border: 1px solid rgba(232,160,48,.12);
    border-radius: 14px;
    padding: 20px 24px;
    margin: 16px 0;
}
.gl-type-block__highlights strong {
    display: block;
    font-size: 14px;
    color: var(--gl-dark);
    margin-bottom: 10px;
}
.gl-type-block__highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px;
}
.gl-type-block__highlights li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--gl-text);
}
.gl-type-block__highlights li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gl-amber);
    font-weight: 700;
}

/* ===== PRICE GRID ===== */
.gl-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.gl-price-card {
    background: var(--gl-card);
    border-radius: var(--gl-radius);
    padding: 28px;
    box-shadow: var(--gl-shadow);
    border: 1px solid rgba(232,160,48,.06);
    transition: var(--gl-transition);
    opacity: 0;
    transform: translateY(30px);
}
.gl-price-card.gl-visible {
    opacity: 1;
    transform: translateY(0);
}
.gl-price-card:hover {
    box-shadow: var(--gl-shadow-hover);
    transform: translateY(-4px);
}
.gl-price-card__icon { font-size: 28px; margin-bottom: 14px; }
.gl-price-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gl-dark);
    margin: 0 0 10px;
}
.gl-price-card p {
    font-size: 14px;
    color: var(--gl-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== CROSSLINKS ===== */
.gl-crosslinks {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
    opacity: 0;
    transform: translateY(20px);
}
.gl-crosslinks.gl-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FAQ ===== */
.gl-faq {
    padding: 80px 0;
    background: #fff;
}
.gl-faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}
.gl-faq__item {
    background: var(--gl-bg);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(232,160,48,.08);
    opacity: 0;
    transform: translateY(20px);
}
.gl-faq__item.gl-visible {
    opacity: 1;
    transform: translateY(0);
}
.gl-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--gl-dark);
    text-align: left;
    gap: 16px;
}
.gl-faq__q svg {
    flex-shrink: 0;
    transition: transform .3s ease;
    color: var(--gl-amber);
}
.gl-faq__item.active .gl-faq__q svg { transform: rotate(180deg); }
.gl-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 24px;
}
.gl-faq__item.active .gl-faq__a {
    max-height: 300px;
    padding: 0 24px 18px;
}
.gl-faq__a p {
    font-size: 14px;
    color: var(--gl-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===== CTA ===== */
.gl-cta { padding: 80px 0; }
.gl-cta__box {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #1a0a00 0%, #3d1c0a 50%, #1a0f08 100%);
    border-radius: var(--gl-radius-lg);
    position: relative;
    overflow: hidden;
}
.gl-cta__box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(232,160,48,.2), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(220,38,38,.15), transparent 50%);
    pointer-events: none;
}
.gl-cta__box h2 {
    position: relative;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
}
.gl-cta__box p {
    position: relative;
    font-size: 16px;
    color: rgba(255,255,255,.7);
    margin: 0 auto 28px;
    max-width: 600px;
}
.gl-cta__actions {
    position: relative;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== ANIMATIONS ===== */
[data-animate] {
    transition: opacity .6s ease, transform .6s ease;
}

/* ===== ZOOM OVERLAY ===== */
.gl-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    cursor: zoom-out;
}
.gl-zoom-overlay.active {
    opacity: 1;
    visibility: visible;
}
.gl-zoom-overlay__inner {
    max-width: 520px;
    max-height: 80vh;
    padding: 24px;
    animation: gl-zoom-in .3s ease;
}
.gl-zoom-overlay__inner img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,.5));
}
@keyframes gl-zoom-in {
    from { transform: scale(.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .gl-hero__inner {
        flex-direction: column;
        text-align: center;
    }
    .gl-hero__visual { flex: none; width: 100%; max-width: 380px; }
    .gl-hero__showcase { height: 260px; }
    .gl-hero__sub { margin-left: auto; margin-right: auto; }
    .gl-hero__actions { justify-content: center; }
    .gl-gallery { grid-template-columns: repeat(3, 1fr); }
    .gl-top5-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .gl-hero { padding: 70px 0 50px; }
    .gl-hero__showcase { height: 200px; }
    .gl-hero__glove { max-width: 180px; }
    .gl-hero__glove--2 { max-width: 150px; }
    .gl-section { padding: 50px 0; }
    .gl-type-block { padding: 20px; }
    .gl-type-block__header h3 { font-size: 20px; }
    .gl-type-block__header h3 span { font-size: 14px; }
    .gl-type-block__count { display: none; }
    .gl-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gl-gallery__item { padding: 14px 10px 10px; }
    .gl-gallery__item img { max-height: 80px; }
    .gl-top5-grid { grid-template-columns: 1fr; }
    .gl-top5-card__img { min-height: 160px; }
    .gl-price-grid { grid-template-columns: 1fr; }
    .gl-intro__card { flex-direction: column; }
    .gl-intro__list { grid-template-columns: 1fr; }
    .gl-cta__box { padding: 40px 20px; }
    .gl-faq { padding: 50px 0; }
    .gl-crosslinks { flex-direction: column; align-items: center; }
}
