* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background-color: #0d1017;
    color: #e4e6eb;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 0%, #1e2638 0%, #0d1017 60%);
    background-attachment: fixed;
}

/* Hero Section */
.store-main {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
}

.store-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: url('/images/shop.webp') center/cover no-repeat;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.store-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(13, 16, 23, 0.7), #0d1017);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: #ffffff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.hero-content h1 span {
    color: #f2a900;
}

.hero-content p {
    font-size: 1.1rem;
    color: #a1a6b0;
    font-weight: 400;
}

/* Packages Grid */
.store-packages {
    max-width: 1200px;
    margin: -3rem auto 4rem;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.package-card {
    background: linear-gradient(145deg, #181d29, #131720);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: rgba(242, 169, 0, 0.4);
}

.card-top {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.5);
    flex-grow: 1;
}

.card-top h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.bonus-tag {
    display: inline-block;
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-bottom {
    background: #0f1219;
    padding: 1.5rem;
    text-align: center;
}

.price {
    font-size: 1.25rem;
    color: #e4e6eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-buy {
    width: 100%;
    background: #0078ff;
    color: #ffffff;
    border: none;
    padding: 0.8rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-buy:hover {
    background: #0062cc;
}

/* Card Variations */
.package-card.popular {
    border-color: #f2a900;
    box-shadow: 0 0 20px rgba(242, 169, 0, 0.1);
}

.package-card.popular .btn-buy {
    background: #f2a900;
    color: #000;
}
.package-card.popular .btn-buy:hover {
    background: #d99700;
}

.package-card.legendary .card-top h2 {
    color: #a335ee;
}

.ribbon {
    position: absolute;
    top: 15px;
    left: -35px;
    background: #f2a900;
    color: #000;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 40px;
    transform: rotate(-45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Custom Amount Panel */
.custom-amount-panel {
    background: linear-gradient(145deg, #181d29, #131720);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.custom-amount-panel h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.custom-amount-panel p {
    color: #a1a6b0;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.custom-calculator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.custom-calculator input {
    width: 120px;
    background: #0d1017;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: #fff;
    font-size: 1.5rem;
    padding: 0.5rem;
    text-align: center;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    outline: none;
}

.custom-calculator input:focus {
    border-color: #0078ff;
}

.math-symbol {
    font-size: 1.5rem;
    color: #666;
}

.calculated-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f2a900;
    min-width: 100px;
}

.btn-buy.custom {
    width: auto;
    padding: 0.8rem 2.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .custom-calculator {
        flex-direction: column;
        gap: 1rem;
    }
}