.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.03);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-links a {
    transition: color 0.3s ease;
}

.nav-links a:hover {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-decoration: none;
}

.ip-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 800;
    color: var(--primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 280px;
}

.ip-btn:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);

    border-color: var(--secondary) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    box-shadow: 0 5px 15px rgba(0, 203, 255, 0.3);
}

.hero-banner {
    background: linear-gradient(135deg, rgba(0, 203, 255, 0.85), rgba(0, 255, 255, 0.85));
    border-radius: 24px;
    padding: 50px;
    color: white;
    display: flex;
    box-shadow: 0 15px 35px rgba(0, 203, 255, 0.25);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-banner h1 {
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-banner p {
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 20px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-buy, .btn-more {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-buy {
    background-color: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.4);
}

.btn-more {
    background: rgba(255,255,255,0.1);
    border: 2px solid white;
    color: white;
    backdrop-filter: blur(5px);
}

.btn-more:hover {
    background: white;
    color: var(--primary);
}

.section-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 5px;
}

.mode-selector, .category-selector {
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 35px;
    position: relative;
    z-index: 10;
}

.mode-btn, .cat-btn {
    width: 100%;
    padding: 15px 20px;
    border-radius: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--text-main);
    background: transparent;
    border: none;
    cursor: pointer;
}

.mode-btn i, .cat-btn i {
    font-size: 18px;
    color: var(--primary);
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.mode-btn:hover, .cat-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
    color: var(--text-main);
}

.mode-btn.active, .cat-btn.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 203, 255, 0.3);
}

.mode-btn.active i, .cat-btn.active i {
    color: white;
}

.store-content {
    flex-grow: 1;
    min-width: 0;
    width: 100%;
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 25px;
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 15px;
}

.store-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

.history-btn {
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    margin: 0;
}

.history-btn:hover {
    background: white;
    transform: translateY(-2px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 25px;
    grid-auto-rows: 1fr;
    align-items: stretch;
    width: 100%;
}

.product-card {
    border-radius: 20px;
    padding: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    animation: fadeIn 0.4s ease forwards;
    opacity: 0;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-sizing: border-box;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 203, 255, 0.3);
}

.product-image {
    height: 190px;
    width: calc(100% + 30px);
    margin: -15px -15px 15px -15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 19px 19px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-title {
    display: none;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    background: rgba(255,255,255,0.6);
    padding: 10px;
    border-radius: 14px;
}

.product-price {
    font-size: 18px;
    font-weight: 800;
}

.product-price span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    line-height: 1;
}

.btn-item-buy {
    background: var(--gradient);
    color: white;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-item-buy:hover {
    box-shadow: 0 5px 15px rgba(0, 203, 255, 0.4);
    transform: scale(1.05);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(0, 203, 255, 0.4);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .mode-selector, .category-selector {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .mode-btn, .cat-btn {
        flex: 1 1 calc(33.333% - 10px);
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 25px 20px;
    }
    .hero-banner h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero-banner p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .btn-buy, .btn-more {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .store-header {
        padding: 15px 20px;
    }
    .store-header h2 {
        font-size: 20px;
    }
    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
        grid-auto-rows: 1fr;
        width: 100%;
    }

    .product-card {
        padding: 10px;
        display: flex;
        flex-direction: column;
        height: 100%;
        opacity: 1;
        box-sizing: border-box;
    }

    .product-image {
        height: 120px;
        width: calc(100% + 20px);
        margin: -10px -10px 10px -10px;
        background-size: cover;
        border-radius: 19px 19px 0 0;
    }

    .product-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 8px 5px;
        background: rgba(255, 255, 255, 0.4);
    }

    .product-price {
        font-size: 15px;
    }

    .product-price span {
        font-size: 10px;
    }

    .btn-item-buy {
        width: 100%;
        padding: 10px 5px;
        font-size: 12px;
        border-radius: 10px;
    }
}