* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #ff7a18;
    --orange-light: #ff9a45;
    --bg: #080b12;
    --card: #10151e;
    --border: rgba(255,255,255,0.08);
    --muted: #9299a6;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: #fff;
    font-family: Arial, sans-serif;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

/* HEADER */
.shop-header {
    height: 82px;
    padding: 0 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: rgba(8,11,18,0.95);
}

.logo {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.logo span {
    color: var(--orange);
}

.shop-header nav {
    display: flex;
    gap: 32px;
}

.shop-header nav a {
    color: #b8bdc7;
    font-size: 14px;
    transition: color .2s;
}

.shop-header nav a:hover {
    color: var(--orange);
}

/* HERO */
.shop-hero {
    padding: 110px 9% 100px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 75% 45%, rgba(255,122,24,.12), transparent 45%),
        linear-gradient(180deg, #0b1019 0%, #080b12 100%);
    border-bottom: 1px solid var(--border);
}

.hero-label,
.section-label {
    color: var(--orange);
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: bold;
}

.shop-hero h1 {
    margin-top: 22px;
    font-size: clamp(48px, 7vw, 86px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -3px;
}

.shop-hero h1 span {
    color: var(--orange);
}

.shop-hero p {
    color: var(--muted);
    margin-top: 24px;
    font-size: 16px;
}

.shop-button {
    display: inline-flex;
    margin-top: 36px;
    padding: 16px 23px;
    background: var(--orange);
    color: #090b10;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: .2s;
}

.shop-button:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
}

/* CATALOG */
.catalog {
    padding: 75px 9% 100px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 35px;
}

.section-heading h2 {
    margin-top: 12px;
    font-size: 35px;
    font-weight: 900;
}

.catalog-count {
    color: #606775;
    font-size: 11px;
    letter-spacing: 2px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}

.shop-card {
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 9px;
    transition: transform .25s, border-color .25s;
}

.shop-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,122,24,.45);
}

.item-image {
    height: 230px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rank-image {
    background: radial-gradient(circle, #392416 0%, #18130f 50%, #10151e 100%);
}

.cosmetic-image {
    background: radial-gradient(circle, #28203a 0%, #171321 50%, #10151e 100%);
}

.special-image {
    background: radial-gradient(circle, #34301b 0%, #1a1811 50%, #10151e 100%);
}

.item-icon {
    font-size: 78px;
    color: var(--orange);
    text-shadow: 0 0 45px rgba(255,122,24,.35);
    transition: transform .3s;
}

.shop-card:hover .item-icon {
    transform: scale(1.12);
}

.cosmetic-image .item-icon {
    color: #c69aff;
    text-shadow: 0 0 40px rgba(174,120,255,.4);
}

.special-image .item-icon {
    color: #ffd36b;
    text-shadow: 0 0 40px rgba(255,211,107,.35);
}

.item-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 9px;
    letter-spacing: 2px;
    color: #a0a6b2;
    padding: 7px 9px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.2);
    border-radius: 4px;
}

.item-info {
    padding: 25px;
}

.item-category {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--orange);
    font-weight: bold;
}

.item-info h3 {
    margin-top: 12px;
    font-size: 25px;
    font-weight: 800;
}

.item-info p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* FOOTER */
.shop-footer {
    min-height: 85px;
    padding: 25px 9%;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #707784;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.shop-footer a {
    transition: color .2s;
}

.shop-footer a:hover {
    color: var(--orange);
}

/* MOBILE */
@media (max-width: 850px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-header {
        padding: 0 5%;
    }

    .shop-hero,
    .catalog {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 560px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-header {
        height: 70px;
    }

    .shop-header nav {
        gap: 18px;
    }

    .shop-header nav a {
        font-size: 12px;
    }

    .shop-hero {
        padding-top: 80px;
        padding-bottom: 75px;
    }

    .shop-hero h1 {
        letter-spacing: -2px;
    }

    .item-image {
        height: 200px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .shop-footer {
        padding-left: 5%;
        padding-right: 5%;
    }
}

/* =========================
   F-COINS TEST WALLET
========================= */
.fcoins-wallet {
    margin: 0 9%;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #151923, #10141d);
    border: 1px solid rgba(255,122,24,.28);
    border-radius: 12px;
}

.fcoins-wallet::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: 10%;
    top: -160px;
    background: rgba(255,122,24,.08);
    filter: blur(80px);
    pointer-events: none;
}

.wallet-label {
    color: #ff7a18;
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: bold;
}

.wallet-left h2 {
    margin-top: 12px;
    font-size: 18px;
    letter-spacing: 1px;
}

.wallet-balance {
    margin-top: 12px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

#wallet-placeholder {
    display: none;
}

#fcoins-balance {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
}

.fc-symbol {
    font-size: 20px;
    color: #ff922e;
    font-weight: 800;
}

.wallet-left p {
    margin-top: 10px;
    font-size: 12px;
    color: #9299a6;
}

.wallet-right {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.coin-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 900;
    color: #17110a;
    background: linear-gradient(145deg, #ffd36b, #ff8a19);
    box-shadow: 0 0 30px rgba(255,145,30,.18);
}

.claim-button {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    background: #ff7a18;
    color: #0a0c11;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .2s;
}

.claim-button:hover {
    background: #ff9a45;
    transform: translateY(-2px);
}

.claim-button:disabled {
    cursor: not-allowed;
    opacity: .5;
    transform: none;
}

#fcoins-status {
    font-size: 11px;
    color: #9299a6;
    text-align: center;
}

@media (max-width: 650px) {
    .fcoins-wallet {
        margin: 0 5%;
        padding: 25px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .wallet-balance {
        justify-content: center;
    }

    .wallet-right {
        min-width: 0;
    }
}
