/* ========== AWP SKINS PAGE — Скины AWP CS2 ========== */
/* Unique cold blue/teal theme — distinct from AK-47 orange */

.aw {
    --aw-cyan: #00B4D8;
    --aw-blue: #0077B6;
    --aw-ice: #90E0EF;
    --aw-gold: #FFD700;
    --aw-dark: #0a1628;
    --aw-darker: #060d1a;
    --aw-bg: #f0f4f8;
    --aw-card: #ffffff;
    --aw-text: #1e293b;
    --aw-muted: #64748b;
    --aw-radius: 16px;
    --aw-radius-lg: 24px;
    --aw-shadow: 0 4px 24px rgba(0,40,100,.07);
    --aw-shadow-hover: 0 16px 48px rgba(0,40,100,.14);
    --aw-transition: .3s ease;
    background: var(--aw-bg);
    color: var(--aw-text);
    overflow-x: hidden;
}

/* ===== HERO ===== */
.aw-hero {
    position: relative;
    padding: 110px 0 90px;
    background: linear-gradient(160deg, #060d1a 0%, #0a1e3d 35%, #0c2340 60%, #0a1628 100%);
    overflow: hidden;
}
.aw-hero__scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,180,216,.03) 2px,
        rgba(0,180,216,.03) 4px
    );
    pointer-events: none;
    animation: aw-scan 8s linear infinite;
}
@keyframes aw-scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}
.aw-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: .3;
    pointer-events: none;
}
.aw-hero__glow--1 { width: 600px; height: 600px; top: -200px; right: -100px; background: var(--aw-cyan); }
.aw-hero__glow--2 { width: 400px; height: 400px; bottom: -150px; left: -80px; background: var(--aw-blue); }
.aw-hero__glow--3 { width: 250px; height: 250px; top: 50%; left: 40%; background: var(--aw-ice); opacity: .12; }

.aw-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}
.aw-hero__text { flex: 1; }
.aw-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255,215,0,.12);
    border: 1px solid rgba(255,215,0,.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--aw-gold);
    margin-bottom: 20px;
}
.aw-hero__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 20px;
}
.aw-hero__title span {
    background: linear-gradient(135deg, var(--aw-cyan), var(--aw-ice));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.aw-hero__sub {
    font-size: 17px;
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    margin: 0 0 28px;
    max-width: 540px;
}
.aw-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.aw-hero__visual { flex: 0 0 440px; }
.aw-hero__showcase {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.aw-hero__skin {
    max-width: 420px;
    width: 100%;
    filter: drop-shadow(0 20px 60px rgba(0,180,216,.35));
    animation: aw-float 6s ease-in-out infinite;
    cursor: pointer;
    transition: transform .4s ease;
}
.aw-hero__skin:hover { transform: scale(1.05); }
@keyframes aw-float {
    0%,100% { transform: translateY(0) rotate(-.5deg); }
    50% { transform: translateY(-16px) rotate(.5deg); }
}

/* --- Buttons --- */
.aw-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(--aw-transition);
    cursor: pointer;
    border: none;
}
.aw-btn--primary {
    background: linear-gradient(135deg, var(--aw-cyan), var(--aw-blue));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,180,216,.3);
}
.aw-btn--primary:hover {
    box-shadow: 0 8px 30px rgba(0,180,216,.5);
    transform: translateY(-2px);
}
.aw-btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.25);
}
.aw-btn--outline:hover {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.06);
}

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

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

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

/* ===== EXPENSIVE — TOP CARDS ===== */
.aw-top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}
.aw-top-card {
    position: relative;
    background: var(--aw-card);
    border-radius: var(--aw-radius);
    overflow: hidden;
    box-shadow: var(--aw-shadow);
    border: 1px solid rgba(0,180,216,.06);
    transition: var(--aw-transition);
    opacity: 0;
    transform: translateY(30px);
}
.aw-top-card.aw-visible { opacity: 1; transform: translateY(0); }
.aw-top-card:hover {
    box-shadow: var(--aw-shadow-hover);
    transform: translateY(-6px);
}
.aw-top-card__rank {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 3;
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--aw-cyan), var(--aw-blue));
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,180,216,.3);
}
.aw-top-card__img {
    position: relative;
    padding: 28px;
    background: linear-gradient(160deg, #060d1a 0%, #0c2340 50%, #0a1e3d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}
.aw-top-card__img img {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
    filter: drop-shadow(0 8px 30px rgba(0,180,216,.25));
    transition: transform .4s ease;
    cursor: zoom-in;
}
.aw-top-card:hover .aw-top-card__img img { transform: scale(1.08); }
.aw-top-card__price {
    position: absolute;
    bottom: 14px; right: 14px;
    padding: 6px 16px;
    background: rgba(10,22,40,.85);
    color: var(--aw-gold);
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,215,0,.2);
}
.aw-top-card__info { padding: 22px 24px; }
.aw-top-card__info h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--aw-dark);
    margin: 0 0 8px;
}
.aw-top-card__info p {
    font-size: 13px;
    color: var(--aw-muted);
    line-height: 1.65;
    margin: 0;
}

/* ===== GALLERY (Beautiful) ===== */
.aw-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.aw-gallery__item {
    position: relative;
    background: linear-gradient(160deg, #060d1a 0%, #0c2340 50%, #112240 100%);
    border-radius: var(--aw-radius);
    overflow: hidden;
    padding: 20px 14px 14px;
    text-align: center;
    transition: var(--aw-transition);
    cursor: zoom-in;
}
.aw-gallery__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,180,216,.12), rgba(144,224,239,.08));
    opacity: 0;
    transition: opacity .3s ease;
    border-radius: var(--aw-radius);
}
.aw-gallery__item:hover::before { opacity: 1; }
.aw-gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,100,180,.3);
}
.aw-gallery__item img {
    max-width: 100%;
    max-height: 140px;
    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;
}
.aw-gallery__item:hover img { transform: scale(1.12) rotate(-2deg); }
.aw-gallery__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    z-index: 1;
}

/* ===== SKIN BLOCK ===== */
.aw-skin-block {
    background: var(--aw-card);
    border-radius: var(--aw-radius-lg);
    box-shadow: var(--aw-shadow);
    border: 1px solid rgba(0,180,216,.06);
    padding: 36px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.aw-skin-block.aw-visible { opacity: 1; transform: translateY(0); }
.aw-skin-block__text p {
    font-size: 15px;
    color: var(--aw-muted);
    line-height: 1.7;
    margin: 0 0 14px;
}
.aw-skin-block__highlights {
    background: linear-gradient(135deg, rgba(0,180,216,.04), rgba(0,119,182,.04));
    border: 1px solid rgba(0,180,216,.1);
    border-radius: 14px;
    padding: 20px 24px;
    margin: 16px 0;
}
.aw-skin-block__highlights strong {
    display: block;
    font-size: 14px;
    color: var(--aw-dark);
    margin-bottom: 10px;
}
.aw-skin-block__highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6px;
}
.aw-skin-block__highlights li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--aw-text);
}
.aw-skin-block__highlights li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--aw-cyan);
    font-weight: 700;
}

/* ===== RARE GRID ===== */
.aw-rare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.aw-rare-card {
    background: var(--aw-card);
    border-radius: var(--aw-radius);
    overflow: hidden;
    box-shadow: var(--aw-shadow);
    border: 1px solid rgba(0,180,216,.06);
    transition: var(--aw-transition);
    opacity: 0;
    transform: translateY(30px);
}
.aw-rare-card.aw-visible { opacity: 1; transform: translateY(0); }
.aw-rare-card:hover {
    box-shadow: var(--aw-shadow-hover);
    transform: translateY(-4px);
}
.aw-rare-card__img {
    position: relative;
    padding: 24px;
    background: linear-gradient(160deg, var(--aw-darker) 0%, #0c2340 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
}
.aw-rare-card__img img {
    max-width: 100%;
    max-height: 155px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,180,216,.2));
    transition: transform .4s ease;
}
.aw-rare-card:hover .aw-rare-card__img img { transform: scale(1.08); }
.aw-rare-card__badge {
    position: absolute;
    top: 12px; right: 12px;
    padding: 5px 14px;
    background: linear-gradient(135deg, var(--aw-gold), #ff9500);
    color: var(--aw-darker);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    border-radius: 6px;
    text-transform: uppercase;
}
.aw-rare-card__info { padding: 22px 24px; }
.aw-rare-card__info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--aw-dark);
    margin: 0 0 8px;
}
.aw-rare-card__info p {
    font-size: 13px;
    color: var(--aw-muted);
    line-height: 1.65;
    margin: 0;
}

/* ===== BUDGET GRID ===== */
.aw-budget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
}
.aw-budget__item {
    position: relative;
    background: linear-gradient(160deg, #060d1a 0%, #0c2340 100%);
    border-radius: var(--aw-radius);
    padding: 18px 12px 12px;
    text-align: center;
    transition: var(--aw-transition);
    cursor: pointer;
}
.aw-budget__item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,100,180,.25);
}
.aw-budget__item img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
    margin-bottom: 8px;
    transition: transform .3s ease;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}
.aw-budget__item:hover img { transform: scale(1.1); }
.aw-budget__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== PRICE GRID ===== */
.aw-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}
.aw-price-item {
    background: var(--aw-card);
    border-radius: var(--aw-radius);
    padding: 28px;
    box-shadow: var(--aw-shadow);
    border: 1px solid rgba(0,180,216,.06);
    transition: var(--aw-transition);
    opacity: 0;
    transform: translateY(20px);
}
.aw-price-item.aw-visible { opacity: 1; transform: translateY(0); }
.aw-price-item:hover {
    box-shadow: var(--aw-shadow-hover);
    transform: translateY(-2px);
}
.aw-price-num {
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--aw-cyan), var(--aw-blue));
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    border-radius: 12px;
    margin-bottom: 16px;
}
.aw-price-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--aw-dark);
    margin: 0 0 8px;
}
.aw-price-item p {
    font-size: 14px;
    color: var(--aw-muted);
    line-height: 1.65;
    margin: 0;
}

/* ===== CASES ===== */
.aw-cases-block {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.aw-cases-card {
    background: var(--aw-card);
    border-radius: var(--aw-radius);
    padding: 28px;
    box-shadow: var(--aw-shadow);
    border: 1px solid rgba(0,180,216,.06);
    transition: var(--aw-transition);
}
.aw-cases-card:hover {
    box-shadow: var(--aw-shadow-hover);
    transform: translateY(-2px);
}
.aw-cases-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--aw-dark);
    margin: 0 0 10px;
}
.aw-cases-card p {
    font-size: 14px;
    color: var(--aw-muted);
    line-height: 1.6;
    margin: 0;
}
.aw-cases-cta {
    text-align: center;
    padding: 48px;
    background: linear-gradient(160deg, var(--aw-darker), #0c2340);
    border-radius: var(--aw-radius-lg);
}
.aw-cases-cta p {
    color: rgba(255,255,255,.7);
    margin: 0 0 24px;
    font-size: 18px;
    font-weight: 600;
}
.aw-cases-cta__btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FAQ ===== */
.aw-faq {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.aw-faq__item {
    background: var(--aw-card);
    border-radius: var(--aw-radius);
    box-shadow: var(--aw-shadow);
    border: 1px solid rgba(0,180,216,.06);
    overflow: hidden;
    transition: var(--aw-transition);
}
.aw-faq__item:hover { box-shadow: var(--aw-shadow-hover); }
.aw-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--aw-dark);
    cursor: pointer;
    text-align: left;
    gap: 16px;
    font-family: inherit;
}
.aw-faq__arrow {
    flex-shrink: 0;
    transition: transform .3s ease;
    color: var(--aw-cyan);
}
.aw-faq__item--open .aw-faq__arrow { transform: rotate(180deg); }
.aw-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
}
.aw-faq__item--open .aw-faq__a {
    max-height: 300px;
    padding: 0 24px 20px;
}
.aw-faq__a p {
    font-size: 14px;
    color: var(--aw-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===== BACK ===== */
.aw-back {
    padding: 40px 0 80px;
    text-align: center;
}
.aw-back .aw-btn--outline {
    color: var(--aw-text);
    border-color: rgba(0,180,216,.3);
}
.aw-back .aw-btn--outline:hover {
    border-color: var(--aw-cyan);
    background: rgba(0,180,216,.06);
    color: var(--aw-cyan);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .aw-hero__inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .aw-hero__visual { flex: none; }
    .aw-hero__skin { max-width: 340px; }
    .aw-hero__sub { max-width: 100%; }
    .aw-hero__actions { justify-content: center; }
    .aw-intro__card { flex-direction: column; }
    .aw-top-grid { grid-template-columns: 1fr; }
    .aw-rare-grid { grid-template-columns: 1fr; }
    .aw-price-grid { grid-template-columns: 1fr; }
    .aw-cases-block { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .aw-hero { padding: 60px 0 50px; }
    .aw-section { padding: 50px 0; }
    .aw-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .aw-budget-grid { grid-template-columns: repeat(2, 1fr); }
    .aw-toc__links { grid-template-columns: 1fr; }
    .aw-cases-cta { padding: 32px 20px; }
}

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

/* ========== DARK THEME ========== */
body.dark-theme .aw {
    --aw-bg: #0a0e1a;
    --aw-card: #111827;
    --aw-text: #c8d0e0;
    --aw-muted: #8b95a8;
    --aw-shadow: 0 4px 24px rgba(0,0,0,.4);
    --aw-shadow-hover: 0 16px 48px rgba(0,0,0,.5);
}
body.dark-theme .aw h2,
body.dark-theme .aw h3 { color: #e2e8f0; }
body.dark-theme .aw-section { border-color: #1e293b; }
body.dark-theme .aw-faq__item { background: #111827; border-color: #1e293b; }
body.dark-theme .aw-faq__q { color: #e2e8f0; }
body.dark-theme .aw-faq__a { color: #c8d0e0; }
body.dark-theme .aw-toc { background: #111827; border-color: #1e293b; }
body.dark-theme .aw-toc a { color: #7dd3fc; }
body.dark-theme .aw-skin-block { background: #111827; }
body.dark-theme .aw-gallery__item { background: #1e293b; }
body.dark-theme .aw-cta__box { background: #111827; }
