/* =========================
   GlowCraft Store Page
========================= */

.gc-store-page {
    background:
        radial-gradient(circle at top center, rgba(170, 90, 255, 0.16) 0%, transparent 30%),
        radial-gradient(circle at 20% 0%, rgba(255, 204, 0, 0.10) 0%, transparent 22%),
        linear-gradient(180deg, #0d0014 0%, #120018 38%, #0a0a0a 100%);
    color: #ffffff;
    padding: 0;
    overflow: hidden;
}

.gc-store-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.gc-store-hero {
    text-align: center;
    padding: 90px 0 70px;
    position: relative;
}

.gc-store-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(255, 204, 0, 0.10) 0%, transparent 28%),
        radial-gradient(circle at center, rgba(170, 90, 255, 0.10) 0%, transparent 42%);
    pointer-events: none;
}

.gc-store-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 204, 0, 0.10);
    border: 1px solid rgba(255, 204, 0, 0.28);
    color: #ffd75e;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.gc-store-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    margin: 0 0 18px;
    color: #ffffff;
    line-height: 1.05;
    text-shadow:
        0 2px 10px rgba(0,0,0,0.45),
        0 0 18px rgba(170, 90, 255, 0.22);
}

.gc-store-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #eadcf7;
    line-height: 1.8;
}

.gc-store-section {
    padding: 70px 0;
    position: relative;
}

.gc-store-section h2 {
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin: 0 0 16px;
    color: #ffffff;
    line-height: 1.15;
    font-weight: 900;
    text-shadow:
        0 2px 8px rgba(0,0,0,0.5),
        0 0 14px rgba(170, 90, 255, 0.25);
}

.gc-store-section .gc-store-subtext {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
    color: #d8c8ea;
    line-height: 1.8;
    font-size: 1.02rem;
}

.gc-store-btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    text-align: center;
}

.gc-store-btn:hover {
    transform: translateY(-2px);
}

.gc-store-btn-primary {
    background: linear-gradient(135deg, #ffcf33 0%, #ff9f1a 100%);
    color: #181818 !important;
    box-shadow: 0 10px 26px rgba(255, 180, 40, 0.28);
}

.gc-store-btn-primary:hover {
    box-shadow: 0 14px 34px rgba(255, 180, 40, 0.38);
}

.gc-store-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.gc-store-featured-card {
    position: relative;
    border-radius: 20px;
    padding: 26px 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.34);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gc-store-featured-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 204, 0, 0.30);
    box-shadow: 0 26px 50px rgba(0,0,0,0.42), 0 0 30px rgba(170, 90, 255, 0.10);
}

.gc-store-featured-crystals {
    background:
        radial-gradient(circle at top right, rgba(255, 204, 0, 0.16) 0%, transparent 36%),
        linear-gradient(180deg, rgba(52, 24, 0, 0.97) 0%, rgba(22, 12, 18, 0.97) 100%);
}

.gc-store-featured-ranks {
    background:
        radial-gradient(circle at top right, rgba(170, 90, 255, 0.18) 0%, transparent 36%),
        linear-gradient(180deg, rgba(28, 10, 54, 0.98) 0%, rgba(16, 8, 26, 0.98) 100%);
}

.gc-store-featured-extras {
    background:
        radial-gradient(circle at top right, rgba(255, 120, 180, 0.12) 0%, transparent 36%),
        linear-gradient(180deg, rgba(40, 10, 38, 0.98) 0%, rgba(16, 8, 26, 0.98) 100%);
}

.gc-store-featured-card h3 {
    margin: 0 0 12px;
    color: #ffffff !important;
    font-size: 1.55rem;
    line-height: 1.15;
    font-weight: 900;
    text-shadow:
        0 2px 6px rgba(0,0,0,0.6),
        0 0 12px rgba(170, 90, 255, 0.25);
}

.gc-store-featured-card p {
    margin: 0 0 18px;
    color: #f0e8f8 !important;
    line-height: 1.75;
}

.gc-store-price-tease {
    color: #ffcc00;
    font-weight: 900;
    font-size: 1.02rem;
    margin-bottom: 18px;
}

.gc-store-card-actions {
    margin-top: auto;
    padding-top: 10px;
}

.gc-store-card-actions .gc-store-btn {
    width: 100%;
}

.gc-store-badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.gc-store-strip {
    background: linear-gradient(90deg, rgba(38, 0, 70, 0.95) 0%, rgba(26, 0, 51, 0.95) 50%, rgba(38, 0, 70, 0.95) 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.gc-store-strip-inner {
    padding: 16px 0;
    text-align: center;
    color: #ffd75e;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.12);
}

@media (max-width: 980px) {
    .gc-store-featured-grid {
        grid-template-columns: 1fr;
    }

    .gc-store-hero {
        padding: 90px 0 60px;
    }
}

@media (max-width: 640px) {
    .gc-store-wrap {
        padding: 0 18px;
    }

    .gc-store-hero {
        padding: 72px 0 48px;
    }

    .gc-store-section {
        padding: 56px 0;
    }
}

/* =========================
   GlowCraft Ranks Page
========================= */

.gc-ranks-table-wrap {
    margin-top: 40px;
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    background: rgba(10, 10, 14, 0.82);
}

.gc-ranks-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.gc-ranks-table th,
.gc-ranks-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    color: #ffffff;
}

.gc-ranks-table th:first-child,
.gc-ranks-table td:first-child {
    text-align: left;
    font-weight: 800;
    color: #ffffff;
}

.gc-ranks-table thead th {
    background: linear-gradient(135deg, rgba(95,44,160,0.95), rgba(240,169,62,0.92));
    color: #ffffff;
    font-size: 0.98rem;
    letter-spacing: 0.3px;
}

.gc-ranks-table tbody tr:nth-child(odd) {
    background: rgba(255,255,255,0.02);
}

.gc-ranks-table tbody tr:hover {
    background: rgba(255,255,255,0.05);
}

.gc-yes {
    color: #8dffb1;
    font-weight: 900;
}

.gc-no {
    color: #ff8f8f;
    font-weight: 900;
}

.gc-note-box {
    margin-top: 38px;
    border-radius: 18px;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 204, 0, 0.10) 0%, transparent 36%),
        linear-gradient(180deg, rgba(28, 18, 0, 0.96) 0%, rgba(20, 14, 10, 0.96) 100%);
    border: 1px solid rgba(255, 204, 0, 0.18);
    box-shadow: 0 18px 36px rgba(0,0,0,0.28);
}

.gc-note-box h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 1.4rem;
}

.gc-note-box ul {
    margin: 0;
    padding-left: 18px;
}

.gc-note-box li {
    margin-bottom: 10px;
    color: #f6efe0;
    line-height: 1.7;
}

/* =========================
   GlowCraft Store Navigation
========================= */

.gc-store-nav-cards {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: nowrap;
    max-width: 540px;
    margin: -10px auto 26px;
}

.gc-nav-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 96px;
    padding: 10px 10px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 10px 22px rgba(0,0,0,0.28);
    background:
        radial-gradient(circle at top right, rgba(170, 90, 255, 0.14), transparent),
        linear-gradient(180deg, rgba(20, 10, 30, 0.96), rgba(10, 10, 14, 0.96));
    box-sizing: border-box;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gc-nav-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 204, 0, 0.35);
}

.gc-nav-card * {
    color: inherit !important;
}

.gc-nav-icon {
    display: block;
    font-size: 16px;
    line-height: 1;
    margin-bottom: 6px;
}

.gc-nav-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.15;
}

.gc-nav-text {
    display: block;
    margin-top: 4px;
    font-size: 0.68rem;
    line-height: 1.2;
    color: #d7c7eb !important;
}

.gc-nav-card.is-active {
    border-color: rgba(255, 204, 0, 0.65);
    box-shadow:
        0 14px 28px rgba(0,0,0,0.34),
        0 0 14px rgba(255, 204, 0, 0.18);
}

.gc-nav-card.ranks .gc-nav-icon {
    color: #b57cff !important;
}

.gc-nav-card.crystals .gc-nav-icon {
    color: #ffd75e !important;
}

.gc-nav-card.extras .gc-nav-icon {
    color: #ff7ac8 !important;
}

@media (max-width: 700px) {
    .gc-store-nav-cards {
        flex-wrap: wrap;
        max-width: 340px;
        gap: 12px;
        margin: 0 auto 22px;
    }

    .gc-nav-card {
        width: 150px;
        height: 92px;
    }
}