/* =========================================================
   GYMKART - PREMIUM FITNESS STORE
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #080808;
    --bg-soft: #101010;
    --card: #141414;
    --card-hover: #1a1a1a;
    --text: #ffffff;
    --muted: #9b9b9b;
    --line: rgba(255,255,255,0.08);
    --accent: #c8ff00;
    --accent-dark: #9dcc00;
    --danger: #ff4d4d;
    --radius: 18px;
    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8,8,8,0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo > span:last-child > span {
    color: var(--accent);
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #000;
    border-radius: 10px;
    font-weight: 900;
    font-size: 21px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #a9a9a9;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-btn {
    border: 1px solid var(--line);
    padding: 9px 17px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.25s;
}

.login-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    font-size: 17px;
}

.cart-btn span {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 20px;
    background: var(--accent);
    color: #000;
    font-size: 10px;
    font-weight: 900;
    display: grid;
    place-items: center;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 80% 45%, rgba(200,255,0,0.10), transparent 30%),
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.04), transparent 25%);
}

.hero-content {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 50px;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge,
.eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-badge {
    padding: 8px 12px;
    background: rgba(200,255,0,0.08);
    border: 1px solid rgba(200,255,0,0.18);
    border-radius: 30px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(44px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -4px;
    font-weight: 900;
    max-width: 720px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-text > p {
    max-width: 560px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 32px;
}

.primary-btn,
.secondary-btn {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
    transition: 0.25s;
}

.primary-btn {
    background: var(--accent);
    color: #000;
}

.primary-btn:hover {
    background: #dcff5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200,255,0,0.15);
}

.secondary-btn {
    border: 1px solid var(--line);
    color: #ddd;
}

.secondary-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-stats {
    display: flex;
    gap: 35px;
    margin-top: 45px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 20px;
}

.hero-stats small {
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px;
}

/* =========================================================
   HERO PRODUCT
   ========================================================= */

.hero-product {
    min-height: 520px;
    position: relative;
    display: grid;
    place-items: center;
}

.hero-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(200,255,0,0.10);
    filter: blur(45px);
}

.protein-placeholder {
    width: 230px;
    height: 390px;
    position: relative;
    z-index: 2;
    transform: rotate(6deg);
    filter: drop-shadow(0 30px 35px rgba(0,0,0,0.65));
}

.protein-lid {
    width: 160px;
    height: 45px;
    position: absolute;
    left: 35px;
    top: 0;
    border-radius: 12px 12px 5px 5px;
    background: linear-gradient(#3d3d3d, #111);
    border: 2px solid #555;
}

.protein-body {
    position: absolute;
    top: 35px;
    width: 230px;
    height: 340px;
    border-radius: 22px 22px 35px 35px;
    background:
        linear-gradient(90deg, #111 0%, #262626 50%, #0d0d0d 100%);
    border: 1px solid #3c3c3c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.protein-body::after {
    content: "";
    position: absolute;
    inset: 45% -30px auto;
    height: 100px;
    background: var(--accent);
    transform: rotate(-5deg);
}

.protein-body small,
.protein-body strong,
.protein-body span,
.protein-body em {
    position: relative;
    z-index: 2;
}

.protein-body small {
    font-size: 12px;
    letter-spacing: 4px;
}

.protein-body strong {
    font-size: 36px;
    line-height: 1;
    margin-top: 10px;
}

.protein-body span {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--accent);
}

.protein-body em {
    font-style: normal;
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 95px;
    color: #111;
    font-weight: 900;
}

.floating-tag {
    position: absolute;
    z-index: 5;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(20,20,20,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    font-size: 11px;
    font-weight: 700;
}

.tag-one {
    top: 110px;
    left: 10%;
}

.tag-two {
    right: 3%;
    bottom: 120px;
    color: var(--accent);
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 95px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 35px;
}

.section-heading h2 {
    margin-top: 8px;
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -1.8px;
}

.section-heading h2 span {
    color: var(--accent);
}

.view-all {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.center {
    justify-content: center;
    text-align: center;
}

/* =========================================================
   CATEGORIES
   ========================================================= */

.categories {
    background: #0c0c0c;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.category-card {
    padding: 28px;
    min-height: 205px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200,255,0,0.35);
    background: var(--card-hover);
}

.category-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(200,255,0,0.08);
    font-size: 24px;
}

.category-card h3 {
    margin-top: 22px;
    font-size: 17px;
}

.category-card p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.category-card span {
    display: block;
    color: var(--accent);
    margin-top: 17px;
    font-size: 11px;
    font-weight: 800;
}

/* =========================================================
   OFFER
   ========================================================= */

.offer-section {
    padding: 70px 0;
}

.offer-box {
    min-height: 300px;
    padding: 50px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 80% 40%, rgba(200,255,0,0.15), transparent 30%),
        linear-gradient(120deg, #151515, #0e0e0e);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.offer-content h2 {
    font-size: 48px;
    line-height: 1;
    letter-spacing: -2px;
    margin: 10px 0 15px;
}

.offer-content h2 span {
    color: var(--accent);
}

.offer-content p {
    color: var(--muted);
    margin-bottom: 25px;
}

.offer-percent {
    width: 230px;
    height: 230px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-8deg);
    box-shadow: 0 25px 60px rgba(200,255,0,0.12);
}

.offer-percent strong {
    font-size: 64px;
    line-height: 0.9;
    font-weight: 900;
}

.offer-percent span {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 3px;
}

/* =========================================================
   PRODUCTS
   ========================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200,255,0,0.3);
}

.product-image {
    height: 250px;
    background: #0e0e0e;
    position: relative;
    display: grid;
    place-items: center;
}

.discount {
    position: absolute;
    left: 13px;
    top: 13px;
    z-index: 3;
    padding: 5px 8px;
    background: var(--accent);
    color: #000;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 900;
}

.product-placeholder {
    width: 130px;
    height: 190px;
    display: grid;
    place-items: center;
    text-align: center;
    background: linear-gradient(145deg, #353535, #101010);
    border-radius: 14px 14px 25px 25px;
    border: 1px solid #555;
    color: white;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    transform: rotate(4deg);
    box-shadow: 0 25px 30px rgba(0,0,0,0.5);
}

.product-placeholder.creatine {
    background: linear-gradient(145deg, #343b15, #111);
}

.product-placeholder.gainer {
    background: linear-gradient(145deg, #3c2020, #111);
}

.product-placeholder.preworkout {
    background: linear-gradient(145deg, #202b3c, #111);
}

.product-info {
    padding: 18px;
}

.product-info > small {
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.product-info h3 {
    font-size: 14px;
    margin-top: 7px;
    line-height: 1.35;
}

.rating {
    margin-top: 9px;
    color: var(--accent);
    font-size: 11px;
}

.rating span {
    color: #777;
    margin-left: 4px;
}

.price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
}

.price strong {
    font-size: 18px;
}

.price del {
    color: #666;
    font-size: 11px;
}

.add-cart {
    width: 100%;
    height: 40px;
    margin-top: 15px;
    border: 1px solid rgba(200,255,0,0.3);
    border-radius: 9px;
    background: rgba(200,255,0,0.07);
    color: var(--accent);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    transition: 0.25s;
}

.add-cart:hover {
    background: var(--accent);
    color: #000;
}

/* =========================================================
   WHY GYMKART
   ========================================================= */

.why-section {
    padding: 90px 0;
    background: #0c0c0c;
    border-top: 1px solid var(--line);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.why-card {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

.why-card > div {
    width: 45px;
    height: 45px;
    margin: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(200,255,0,0.1);
    color: var(--accent);
    font-weight: 900;
}

.why-card h3 {
    margin-top: 17px;
    font-size: 15px;
}

.why-card p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 8px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #050505;
    border-top: 1px solid var(--line);
}

.footer-grid {
    padding: 65px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 45px;
}

.footer-brand p {
    max-width: 330px;
    color: #777;
    font-size: 12px;
    margin-top: 18px;
}

.footer-grid h4 {
    font-size: 13px;
    margin-bottom: 17px;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-grid a:not(.logo) {
    color: #777;
    font-size: 11px;
    transition: 0.2s;
}

.footer-grid a:not(.logo):hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 18px 0;
    color: #555;
    font-size: 10px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .nav-links {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 70px 0;
    }

    .hero-text > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .hero-product {
        min-height: 420px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 650px) {

    .nav {
        height: 68px;
    }

    .logo {
        font-size: 19px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .login-btn {
        padding: 8px 11px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        min-height: auto;
        padding: 65px 0 40px;
    }

    .hero h1 {
        font-size: 45px;
        letter-spacing: -2.5px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .hero-stats {
        gap: 20px;
        margin-top: 35px;
    }

    .hero-product {
        min-height: 360px;
    }

    .protein-placeholder {
        transform: scale(0.8) rotate(6deg);
    }

    .tag-one {
        left: 0;
        top: 65px;
    }

    .tag-two {
        right: 0;
        bottom: 55px;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .category-grid,
    .product-grid,
    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .category-card {
        padding: 18px;
        min-height: 180px;
    }

    .category-icon {
        width: 45px;
        height: 45px;
    }

    .product-image {
        height: 190px;
    }

    .product-placeholder {
        width: 95px;
        height: 140px;
        font-size: 14px;
    }

    .product-info {
        padding: 13px;
    }

    .product-info h3 {
        font-size: 12px;
    }

    .price strong {
        font-size: 15px;
    }

    .offer-box {
        padding: 30px 22px;
    }

    .offer-content h2 {
        font-size: 35px;
    }

    .offer-percent {
        width: 120px;
        height: 120px;
    }

    .offer-percent strong {
        font-size: 35px;
    }

    .offer-percent span {
        font-size: 9px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 430px) {

    .hero h1 {
        font-size: 39px;
    }

    .category-grid,
    .product-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .offer-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .offer-percent {
        align-self: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}