﻿:root {
    --bg: #0f1115;
    --card: #161a22;
    --accent: #6ee7b7;
    --accent2: #22c55e;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background: radial-gradient(1200px 600px at 10% -10%, #1f2933, transparent), radial-gradient(1000px 500px at 90% 0%, #0b3a2a, transparent), var(--bg);
    color: var(--text);
}

#aa {
    color: green;
}

    #aa:hover {
        color: darkolivegreen
    }

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(15,17,21,.7);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 15, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(107,255,154,0.15);
    background: rgba(5, 15, 10, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Фікс бага зі стрибками */
    will-change: transform;
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    min-height: 80px;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
}

    .logo img {
        height: 48px;
        width: auto;
        transition: all 0.3s ease;
        filter: drop-shadow(0 0 8px rgba(107,255,154,0.4));
    }

        .logo img:hover {
            transform: scale(1.05);
            filter: drop-shadow(0 0 14px rgba(107,255,154,0.8));
        }

/* Навігація */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
}

    .main-nav a {
        color: #cfeee0;
        text-decoration: none;
        font-weight: 500;
        letter-spacing: 0.5px;
        position: relative;
        padding: 6px 0;
        transition: all 0.25s ease;
    }

        /* Неонова підкреслююча лінія */
        .main-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 0%;
            height: 2px;
            background: linear-gradient(90deg, #6bff9a, #2affc9);
            box-shadow: 0 0 8px rgba(107,255,154,0.8);
            transition: width 0.3s ease;
        }

        .main-nav a:hover {
            color: #6bff9a;
            text-shadow: 0 0 6px rgba(107,255,154,0.6);
        }

            .main-nav a:hover::after {
                width: 100%;
            }

/* Дії справа */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Кошик */
.cart-btn {
    background: linear-gradient(135deg, #6bff9a, #2affc9);
    border: none;
    color: #052015;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(107,255,154,0.5);
    transition: all 0.25s ease;
}

    .cart-btn:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 0 25px rgba(107,255,154,0.9);
    }

/* Димовий фон */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('/Content/weeds.png') repeat;
    background-size: cover; /* можна 200% 200% для більшого масштабу */
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    animation: smokeMove 120s linear infinite;
}

/* Анімація — фон рухається вниз */
@keyframes smokeMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 1000px;
    }
}

/* Контент вище диму */
body > * {
    position: relative;
    z-index: 1;
}

/* Hero */
.hero {
    padding: 60px 0;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.hero-slides {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s ease, transform 1s ease;
    pointer-events: none;
}

    .hero-slide.active {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
        position: relative;
    }

.hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    background: linear-gradient(135deg, rgba(10,30,20,0.9), rgba(5,20,15,0.9));
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 0 40px rgba(107,255,154,0.15);
}

    .hero-card img {
        width: 100%;
        border-radius: 18px;
        box-shadow: 0 0 30px rgba(0,0,0,0.4);
    }

.hero-text h1 {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 15px;
    color: #6bff9a;
    text-shadow: 0 0 12px rgba(107,255,154,0.5);
}

.hero-text p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* Навігація */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(107,255,154,0.3);
    color: #6bff9a;
    font-size: 36px;
    width: 50px;
    height: 60px;
    border-radius: 12px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

    .hero-nav:hover {
        background: rgba(107,255,154,0.15);
        box-shadow: 0 0 20px rgba(107,255,154,0.6);
    }

    .hero-nav.prev {
        left: 15px;
    }

    .hero-nav.next {
        right: 15px;
    }

/* Mobile */
@media (max-width: 900px) {
    .hero-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* Catalog */
.catalog {
    padding: 40px 0 80px;
}

.catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

    .catalog-header h2 {
        margin: 0;
        font-size: 26px;
    }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}

/* Product Card */
.product {
    background: linear-gradient(180deg, #161a22, #11151c);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}

    .product:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,.4);
    }

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #022c22;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 999px;
}

.product img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.product-body {
    padding: 14px;
    display: grid;
    gap: 10px;
}

.product h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.meta {
    font-size: 12px;
    color: var(--muted);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.price {
    font-weight: 800;
    font-size: 16px;
    color: var(--accent);
}

.buy {
    background: rgba(110,231,183,.15);
    color: green;
    border: 1px solid rgba(110,231,183,.4);
    border-radius: 10px;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
}

    .buy:hover {
        background: linear-gradient(135deg, var(--accent), var(--accent2));
        color: #022c22;
    }

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 30px 0;
    color: var(--muted);
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-card {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }
}

/**************************************************************************************************/

/* SEO Section */
.seo-section {
    padding: 80px 0;
    background: radial-gradient(800px 400px at 10% 0%, rgba(34,197,94,.08), transparent);
}

.seo-wrap {
    max-width: 900px;
}

.seo-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #6ee7b7, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 32px;
}

.seo-card {
    background: linear-gradient(180deg, #161a22, #11151c);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 26px;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    animation: fadeUp .8s ease both;
}

    .seo-card h3 {
        margin-top: 0;
        margin-bottom: 14px;
        font-size: 20px;
        color: var(--accent);
    }

    .seo-card ul,
    .seo-card ol {
        padding-left: 20px;
        margin: 0;
    }

    .seo-card li {
        margin-bottom: 10px;
        line-height: 1.6;
        color: #d1d5db;
    }

.seo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.seo-box {
    background: rgba(22,26,34,.7);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.05);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .seo-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,.35);
    }

    .seo-box h3 {
        margin-top: 0;
        color: var(--accent);
    }

    .seo-box p {
        color: var(--muted);
        line-height: 1.7;
    }

.seo-text {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #d1d5db;
}

    .seo-text h3 {
        color: var(--accent);
        margin-bottom: 10px;
    }

.tag {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #022c22;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    margin: 0 4px;
}

/* Highlight card */
.seo-card.highlight {
    border: 1px solid rgba(110,231,183,.4);
    box-shadow: 0 0 0 1px rgba(110,231,183,.2), 0 20px 40px rgba(0,0,0,.4);
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .seo-grid {
        grid-template-columns: 1fr;
    }

    .seo-lead {
        font-size: 16px;
    }
}










/****************************************** Footer /*******************************************/
.site-footer {
    margin-top: 80px;
    background: radial-gradient(800px 400px at 10% 0%, rgba(34,197,94,.12), transparent), linear-gradient(180deg, #0b0f14, #07090d);
    border-top: 1px solid rgba(255,255,255,.06);
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: #9ca3af;
    margin: 12px 0 18px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .6px;
    background: linear-gradient(135deg, #6ee7b7, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-social {
    display: flex;
    gap: 12px;
}

    .footer-social a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(110,231,183,.12);
        display: grid;
        place-items: center;
        text-decoration: none;
        font-size: 16px;
        transition: transform .25s ease, background .25s ease;
    }

        .footer-social a:hover {
            transform: translateY(-4px) scale(1.05);
            background: linear-gradient(135deg, #6ee7b7, #22c55e);
            color: #022c22;
        }

.footer-col h4 {
    margin: 0 0 14px;
    font-size: 16px;
    color: #e5e7eb;
    position: relative;
}

    .footer-col h4::after {
        content: "";
        display: block;
        width: 32px;
        height: 2px;
        background: linear-gradient(135deg, #6ee7b7, #22c55e);
        margin-top: 6px;
        border-radius: 2px;
    }

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s ease, transform .2s ease;
    display: inline-block;
}

    .footer-col a:hover {
        color: #6ee7b7;
        transform: translateX(4px);
    }

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 16px 0;
    background: rgba(0,0,0,.25);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: #9ca3af;
}

.footer-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

    .footer-badges span {
        background: rgba(110,231,183,.12);
        border: 1px solid rgba(110,231,183,.25);
        border-radius: 999px;
        padding: 4px 10px;
        font-size: 12px;
        color: #6ee7b7;
    }

/* Responsive Footer */
@@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}





/************************************************** PRODUCTS HFT EFFECTS: */
/* ====== GRID (якщо ще нема) ====== */
.catalog .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

/* ====== PRODUCT CARD ====== */
.product {
    position: relative;
    background: linear-gradient(145deg, #0e1424, #05080f);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.6);
    transition: all 0.35s ease;
    animation: product-pulse 3.5s ease-in-out infinite;
    transform-style: preserve-3d;
}

/* ====== PULSE ====== */
@keyframes product-pulse {
    0%, 100% {
        box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.6), 0 0 0 rgba(255,215,0,0);
    }

    50% {
        box-shadow: 0 0 0 1px rgba(255,215,0,0.25), 0 15px 40px rgba(0,0,0,0.8), 0 0 25px rgba(255,215,0,0.35);
    }
}

/* ====== SHINE (відблиск як у HFT) ====== */
.product::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( 120deg, transparent 20%, rgba(255,255,255,0.15) 40%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 60%, transparent 80% );
    transform: translateX(-120%);
    animation: shine-move 4s infinite;
    pointer-events: none;
}

@keyframes shine-move {
    0% {
        transform: translateX(-120%);
    }

    40% {
        transform: translateX(120%);
    }

    100% {
        transform: translateX(120%);
    }
}

/* ====== IMAGE ====== */
.product img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* ====== BODY ====== */
.product-body {
    padding: 14px;
}

/* ====== BADGE ====== */
.product .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, gold, orange);
    color: #000;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(255,200,0,0.7);
    animation: badge-glow 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes badge-glow {
    0%,100% {
        box-shadow: 0 0 10px rgba(255,200,0,0.5);
    }

    50% {
        box-shadow: 0 0 25px rgba(255,200,0,0.9);
    }
}

/* ====== HOVER EFFECT (HFT PREMIUM) ====== */
.product:hover {
    transform: translateY(-10px) scale(1.03) rotateX(4deg);
    box-shadow: 0 0 0 1px rgba(255,215,0,0.4), 0 25px 60px rgba(0,0,0,0.9), 0 0 40px rgba(255,215,0,0.5);
}

    .product:hover img {
        transform: scale(1.08);
        filter: drop-shadow(0 0 12px rgba(255,215,0,0.5));
    }

/* ====== PRICE ====== */
.product .price {
    color: gold;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255,215,0,0.6);
}

/* ====== BUY BUTTON ====== */
.product .buy {
    background: linear-gradient(45deg, #ffcc00, #ff9900);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255,165,0,0.5);
    transition: all 0.3s ease;
}

    .product .buy:hover {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(255,200,0,0.9);
    }
