@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* Inherit Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #f5f5f5;
    background-image: radial-gradient(circle, rgba(7,53,72,0.5) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center;
    min-height: 100vh;
}

/* Header Styles - Matching index.css */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(18, 18, 18, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.header-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #007ba7;
}

.login-button, #logout-button {
    text-decoration: none;
    color: #fff;
    background-color: #00a7e6;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.login-button:hover, #logout-button:hover {
    background-color: #005f80;
    transform: scale(1.05);
}

/* Store Specific Styles */
.store-container {
    max-width: 1200px;
    margin: 100px auto 40px;
    padding: 20px;
}

.store-title {
    font-size: 3rem;
    color: #00a7e6;
    text-align: center;
    margin-bottom: 10px;
}

.store-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #a0a0a0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
    align-items: start;
}

/* Account listings grid: 3 narrow columns at desktop so each card keeps a
   tight, scannable width (instead of stretching to half the page).
   Below 1100px we drop to 2 columns; below 700px (small tablet/large phone)
   we drop further to a single column for legibility. */
#accounts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    #accounts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    #accounts-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: rgba(28, 28, 28, 0.95);
    border: 2px solid #1f1f1f;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 123, 167, 0.2);
}

.product-card.featured {
    border-color: #00a7e6;
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.95), rgba(0, 167, 230, 0.1));
}

.product-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #00a7e6;
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: bold;
}

.product-card h2 {
    font-size: 1.6rem;
    color: #f5f5f5;
    margin-bottom: 15px;
}

.price {
    font-size: 2.2rem;
    color: #00a7e6;
    font-weight: bold;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.features-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list li:last-child {
    border-bottom: none;
}

.buy-button, .add-to-cart-button {
    background-color: #00a7e6;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.buy-button:hover, .add-to-cart-button:hover {
    background-color: #0090cc;
    transform: scale(1.05);
}

/* Additional Features Section */
.additional-features {
    margin-top: 60px;
    text-align: center;
}

.additional-features h2 {
    font-size: 2rem;
    color: #007ba7;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    padding: 20px;
    background: rgba(28, 28, 28, 0.95);
    border-radius: 10px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item svg,
.feature-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    color: #00a7e6;
}

.feature-item h3 {
    color: #007ba7;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-item p {
    color: #a0a0a0;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Footer */
.page-footer {
    text-align: center;
    padding: 20px;
    color: #a0a0a0;
    margin-top: 40px;
}

/* Gradient Canvas */
#gradientCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .store-title {
        font-size: 2.5rem;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

/* Product Type Toggle */
.product-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.toggle-btn {
    background: rgba(28, 28, 28, 0.95);
    border: 2px solid #1f1f1f;
    color: #f5f5f5;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-toggle {
        padding: 0 15px;
        gap: 10px;
    }

    .toggle-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

.toggle-btn.active {
    background: #00a7e6;
    border-color: #00a7e6;
}

/* Product Sections */
.products-section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-section.active {
    display: block;
    opacity: 1;
}

/* Cart Icon Styles */
.cart-icon {
    position: relative;
    margin-right: 20px;
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-icon:hover, .cart-icon.active {
    color: #00a7e6;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #00a7e6;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 167, 230, 0.95);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.error {
    background: rgba(170, 0, 0, 0.95);
}

.toast svg {
    width: 20px;
    height: 20px;
}

/* Product Card Icons */
.product-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    color: #00a7e6;
}

.product-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: rgba(28, 28, 28, 0.95);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    padding: 30px;
    border: 2px solid #00a7e6;
    margin: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: #00a7e6;
    font-size: 1.8rem;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #00a7e6;
}

.modal-body {
    margin-bottom: 30px;
}

.modal-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #00a7e6;
}

.modal-icon svg {
    width: 100%;
    height: 100%;
}

.modal-price {
    text-align: center;
    margin-bottom: 30px;
}

.modal-price span:first-child {
    font-size: 2rem;
    color: #00a7e6;
    font-weight: bold;
    margin-right: 10px;
}

.modal-price span:last-child {
    color: #a0a0a0;
    font-size: 1.1rem;
}

.modal-description h3,
.modal-features h3 {
    color: #00a7e6;
    margin-bottom: 15px;
}

.modal-description p {
    color: #f5f5f5;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-features ul {
    list-style: none;
    padding: 0;
}

.modal-features li {
    color: #f5f5f5;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-features li:last-child {
    border-bottom: none;
}

.modal-footer {
    text-align: center;
}

.modal-add-to-cart {
    background-color: #00a7e6;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-add-to-cart:hover {
    background-color: #0090cc;
    transform: scale(1.05);
}

/* Button Group Styles */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

/* Details Button Styles */
.details-button {
    background: none;
    border: none;
    color: #00a7e6;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.details-button:hover {
    background: rgba(0, 167, 230, 0.1);
    transform: scale(1.05);
}

/* Buy and Add to Cart Button Styles */
.buy-button,
.add-to-cart-button {
    background-color: #00a7e6;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.buy-button:hover,
.add-to-cart-button:hover {
    background-color: #0090cc;
    transform: scale(1.05);
}

/* Price per unit styles */
.price-per-unit {
    color: #a0a0a0;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* Responsive modal styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 20px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-price span:first-child {
        font-size: 1.6rem;
    }
}

/* Coin Product Specific Styles */
.product-card.coin-product {
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.95), rgba(255, 170, 0, 0.1));
}

/* Only apply border to coin products with the "Best Deal" badge */
.product-card.coin-product.featured {
    border-color: #FFAA00;
}

.product-card.coin-product:not(.featured) {
    border: none;
}

.product-card.coin-product .product-badge {
    background: linear-gradient(135deg, #FFAA00, #FFD700);
}

.product-card.coin-product .price {
    color: #FFAA00;
}

.product-card.coin-product .buy-button,
.product-card.coin-product .add-to-cart-button {
    background: linear-gradient(135deg, #FFAA00, #FFD700, #FFA500);
    background-size: 200% 200%;
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.product-card.coin-product .buy-button:hover,
.product-card.coin-product .add-to-cart-button:hover {
    background-position: 100% 100%;
    box-shadow: 0 0 25px rgba(255, 170, 0, 0.5);
    background-color: transparent;
}

.product-card.coin-product h2 {
    background: linear-gradient(135deg, #FFAA00, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.product-card.coin-product .price-per-unit {
    color: rgba(255, 170, 0, 0.8);
}

.product-card.coin-product .product-icon {
    color: #FFAA00;
}

.product-card.coin-product .details-button {
    background: none;
    color: #FFAA00;
    border: none;
    padding: 0;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
}

.product-card.coin-product .details-button:hover {
    color: #FFD700;
    transform: none;
    box-shadow: none;
    background: none;
}

/* Remove the SVG styles since we're not using them anymore */
.product-card.coin-product .details-button svg {
    display: none;
}

/* Modal styles for coin products */
.modal[data-product-type="coins"] {
    background: rgba(0, 0, 0, 0.85);
}

.modal[data-product-type="coins"] .modal-content {
    background: #1B1B1B;
    border: 2px solid #FFAA00;
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.15);
}

.modal[data-product-type="coins"] .modal-header {
    border-bottom: 1px solid rgba(255, 170, 0, 0.3);
}

.modal[data-product-type="coins"] .modal-header h2 {
    color: #FFAA00;
    font-size: 2rem;
}

.modal[data-product-type="coins"] .modal-price {
    color: #FFAA00;
    font-size: 2.5rem;
    margin: 20px 0;
}

.modal[data-product-type="coins"] .modal-price span:last-child {
    color: rgba(255, 170, 0, 0.6);
    font-size: 1rem;
}

.modal[data-product-type="coins"] .modal-description h3 {
    color: #FFD700;
    margin-bottom: 10px;
}

.modal[data-product-type="coins"] .modal-description p {
    color: #fff;
    opacity: 0.9;
}

.modal[data-product-type="coins"] .modal-features {
    margin-top: 20px;
}

.modal[data-product-type="coins"] .modal-features h3 {
    color: #FFD700;
    margin-bottom: 15px;
}

.modal[data-product-type="coins"] .modal-features ul {
    list-style: none;
    padding: 0;
}

.modal[data-product-type="coins"] .modal-features li {
    color: #fff;
    opacity: 0.9;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 170, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal[data-product-type="coins"] .modal-features li::before {
    content: "✓";
    color: #FFAA00;
}

.modal[data-product-type="coins"] .modal-add-to-cart {
    background: linear-gradient(135deg, #4ECCA3, #66FFD1);
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;

}

.modal[data-product-type="coins"] .modal-add-to-cart:hover {
    background: linear-gradient(135deg, #FFD700, #FFAA00);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 170, 0, 0.4);
}

.modal[data-product-type="coins"] .close-modal {
    color: #FFAA00;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.modal[data-product-type="coins"] .close-modal:hover {
    color: #FFD700;
    opacity: 1;
    transform: scale(1.1);
}

.modal[data-product-type="coins"] .modal-icon svg {
    color: #FFAA00;
    stroke: #FFAA00;
}

.modal[data-product-type="coins"] .modal-price {
    color: #00A7E6;  /* Reset default color */
}

.modal[data-product-type="coins"] .modal-price span:first-child {
    color: #00A7E6;  /* Reset default color */
    background: linear-gradient(135deg, #FFAA00, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal[data-product-type="coins"] .modal-price span:last-child {
    color: rgba(255, 170, 0, 0.8);
}

.modal[data-product-type="coins"] .modal-add-to-cart {
    background: linear-gradient(135deg, #FFD700, #FFAA00);    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;

}

.modal[data-product-type="coins"] .modal-add-to-cart:hover {
    background-position: 100% 100%;
    box-shadow: 0 0 25px rgba(255, 170, 0, 0.5);
    transform: translateY(-2px);
}

/* Cart styles for coin products */
.cart-item-card[data-type="coins"] {
    border: 1px solid rgba(255, 170, 0, 0.3);
    background: rgba(28, 28, 28, 0.95);
}

.cart-item-card[data-type="coins"] .item-details h3 {
    background: linear-gradient(135deg, #FFAA00, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cart-item-card[data-type="coins"] .item-type {
    color: rgba(255, 170, 0, 0.8);
}

.cart-item-card[data-type="coins"] .item-price {
    background: linear-gradient(135deg, #FFAA00, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cart-item-card[data-type="coins"] .item-icon svg {
    color: #FFAA00;
    stroke: #FFAA00;
}

.cart-item-card[data-type="coins"] .quantity-btn {
    color: #FFAA00;
    border-color: rgba(255, 170, 0, 0.3);
}

.cart-item-card[data-type="coins"] .quantity-btn:hover {
    background: rgba(255, 170, 0, 0.1);
    color: #FFD700;
}

.cart-item-card[data-type="coins"] .remove-item {
    color: #FFAA00;
}

.cart-item-card[data-type="coins"] .remove-item:hover {
    color: #FFD700;
}

.cart-item-card[data-type="coins"]:hover {
    border-color: #FFAA00;
    box-shadow: 0 4px 12px rgba(255, 170, 0, 0.1);
}

/* Cart Modal Styles for Coin Products */
.modal[data-product-type="coins"] .modal-content {
    background: linear-gradient(to bottom, #1b1b1b, #1b1b1b);
    border: 2px solid #FFAA00;
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.15);
}

.modal[data-product-type="coins"] .modal-header {
    border-bottom: 1px solid rgba(255, 170, 0, 0.2);
}

.modal[data-product-type="coins"] .modal-header h2 {
    background: linear-gradient(45deg, #FFAA00, #FFD700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal[data-product-type="coins"] .modal-icon svg {
    stroke: #FFAA00;
}

.modal[data-product-type="coins"] .modal-price {
    color: #FFAA00;
}

.modal[data-product-type="coins"] .modal-price span:first-child {
    background: linear-gradient(45deg, #FFAA00, #FFD700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.modal[data-product-type="coins"] .modal-price span:last-child {
    color: rgba(255, 170, 0, 0.7);
}

.modal[data-product-type="coins"] .modal-features li::before {
    content: '✓';
    color: #FFAA00;
    margin-right: 8px;
}

.modal[data-product-type="coins"] .modal-update-quantity {
    background: linear-gradient(45deg, #FFAA00, #FFD700);
    color: black;
    border: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.modal[data-product-type="coins"] .modal-update-quantity:hover {
    background: linear-gradient(45deg, #FFD700, #FFF);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 170, 0, 0.2);
}

.modal[data-product-type="coins"] .close-modal {
    color: #FFAA00;
    transition: all 0.3s ease;
}

.modal[data-product-type="coins"] .close-modal:hover {
    color: #FFD700;
    transform: scale(1.1);
}

/* Update the toggle button for coins */
.toggle-btn[data-type="coins"].active {
    background: linear-gradient(135deg, #FFAA00, #FFD700);
    border-color: #FFAA00;
    color: rgb(255, 255, 255);
}

.toggle-btn[data-type="coins"]:hover {
    border-color: #FFAA00;
    color: #ffffff;
}

.product-card.coin-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 170, 0, 0.2);
}

/* Account Product Specific Styles — whole-card theme via `data-account-type` + CSS variables. */
.product-card.account-product {
    --acct-t1: #4ECCA3;
    --acct-t2: #66FFD1;
    --acct-price: #4ECCA3;
    --acct-muted: rgba(78, 204, 163, 0.82);
    --acct-border: rgba(120, 140, 160, 0.42);
    --acct-tint: rgba(78, 204, 163, 0.1);
    --acct-btn-shadow: rgba(78, 204, 163, 0.32);
    --acct-hover-glow: rgba(78, 204, 163, 0.22);
    --acct-section-border: rgba(78, 204, 163, 0.18);
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.95), var(--acct-tint));
    padding: 14px 12px;
    border: 1px solid var(--acct-border);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset, 0 6px 18px rgba(0, 0, 0, 0.28);
    height: auto;
}

.product-card.account-product[data-account-type="farming_ready"] {
    /* Deeper forest greens for the "Farming ready" tier. */
    --acct-t1: #4caa6e;
    --acct-t2: #14502d;
    --acct-price: #8ed8a3;
    --acct-muted: rgba(120, 200, 150, 0.85);
    --acct-border: rgba(20, 110, 60, 0.55);
    --acct-tint: rgba(8, 48, 26, 0.45);
    --acct-btn-shadow: rgba(20, 110, 60, 0.5);
    --acct-hover-glow: rgba(20, 110, 60, 0.3);
    --acct-section-border: rgba(30, 130, 70, 0.32);
}

.product-card.account-product[data-account-type="mining_ready"] {
    /* Pushed lighter (icy) so the contrast with mid-game is unmistakable. */
    --acct-t1: #d6f3ff;
    --acct-t2: #7fc8ee;
    --acct-price: #e8f8ff;
    --acct-muted: rgba(200, 232, 250, 0.92);
    --acct-border: rgba(170, 220, 255, 0.55);
    --acct-tint: rgba(120, 200, 240, 0.18);
    --acct-btn-shadow: rgba(150, 210, 245, 0.4);
    --acct-hover-glow: rgba(170, 220, 255, 0.28);
    --acct-section-border: rgba(170, 220, 255, 0.32);
}

.product-card.account-product[data-account-type="early_game"] {
    /* Paler, butter-toned yellow (less saturated than the previous canary). */
    --acct-t1: #fff1b8;
    --acct-t2: #d9c87a;
    --acct-price: #fff7d4;
    --acct-muted: rgba(255, 240, 190, 0.88);
    --acct-border: rgba(220, 210, 150, 0.45);
    --acct-tint: rgba(120, 110, 60, 0.22);
    --acct-btn-shadow: rgba(220, 210, 150, 0.32);
    --acct-hover-glow: rgba(220, 210, 150, 0.24);
    --acct-section-border: rgba(220, 210, 150, 0.3);
}

.product-card.account-product[data-account-type="mid_game"] {
    /* Darker, royal-blue palette so it can't be mistaken for "Mining ready". */
    --acct-t1: #4a6dc9;
    --acct-t2: #1a2a72;
    --acct-price: #8ea4e8;
    --acct-muted: rgba(140, 165, 230, 0.85);
    --acct-border: rgba(40, 70, 170, 0.55);
    --acct-tint: rgba(12, 22, 70, 0.45);
    --acct-btn-shadow: rgba(50, 90, 200, 0.5);
    --acct-hover-glow: rgba(40, 70, 170, 0.32);
    --acct-section-border: rgba(60, 90, 180, 0.32);
}

.product-card.account-product[data-account-type="late_game"] {
    --acct-t1: #d4a8ff;
    --acct-t2: #7a3cb8;
    --acct-price: #ead4ff;
    --acct-muted: rgba(210, 180, 255, 0.88);
    --acct-border: rgba(170, 120, 230, 0.45);
    --acct-tint: rgba(72, 36, 110, 0.32);
    --acct-btn-shadow: rgba(170, 120, 230, 0.38);
    --acct-hover-glow: rgba(170, 120, 230, 0.26);
    --acct-section-border: rgba(170, 120, 230, 0.26);
}

.product-card.account-product[data-account-type="endgame"] {
    --acct-t1: #ff8a8a;
    --acct-t2: #8b1c2b;
    --acct-price: #ffc9c9;
    --acct-muted: rgba(255, 170, 170, 0.88);
    --acct-border: rgba(200, 70, 90, 0.5);
    --acct-tint: rgba(90, 18, 28, 0.35);
    --acct-btn-shadow: rgba(200, 80, 90, 0.42);
    --acct-hover-glow: rgba(200, 70, 90, 0.28);
    --acct-section-border: rgba(200, 80, 90, 0.3);
}

.product-card.account-product[data-account-type="other"] {
    /* "Other" used to look disabled because of the muted greys.
       Switch to a vibrant teal/aqua so the Add-to-Cart button reads as active. */
    --acct-t1: #4ECCA3;
    --acct-t2: #2aa8c0;
    --acct-price: #9ef0d3;
    --acct-muted: rgba(170, 230, 210, 0.88);
    --acct-border: rgba(78, 204, 163, 0.45);
    --acct-tint: rgba(20, 72, 70, 0.3);
    --acct-btn-shadow: rgba(78, 204, 163, 0.4);
    --acct-hover-glow: rgba(78, 204, 163, 0.28);
    --acct-section-border: rgba(78, 204, 163, 0.28);
}

.product-card.account-product.featured {
    border-color: var(--acct-t1);
}

.product-card.account-product .product-badge {
    background: linear-gradient(135deg, var(--acct-t1), var(--acct-t2));
    color: #0b1414;
}

.product-card.account-product .price {
    color: var(--acct-price);
}

.product-card.account-product .buy-button,
.product-card.account-product .add-to-cart-button {
    background: linear-gradient(135deg, var(--acct-t1), var(--acct-t2));
    background-size: 200% 200%;
    box-shadow: 0 0 10px var(--acct-btn-shadow);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.product-card.account-product .buy-button:hover,
.product-card.account-product .add-to-cart-button:hover {
    background-position: 100% 100%;
    box-shadow: 0 0 25px var(--acct-btn-shadow);
    background-color: transparent;
}

/* The listing's display name (e.g. "Lime") is rendered in solid white with a soft theme glow
   so it visually outranks the gradient-tinted price + subtitle text below it. */
.product-card.account-product h2 {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: #ffffff;
    text-shadow: 0 0 12px color-mix(in srgb, var(--acct-t1) 55%, transparent),
                 0 1px 2px rgba(0, 0, 0, 0.45);
}

.product-card.account-product .price-per-unit {
    color: var(--acct-muted);
}

/* Small subtitle directly under the listing's <h2> — labels the account type
   (e.g. "Farming ready") in the card's accent color. */
.product-card.account-product .account-type-subtitle {
    display: block;
    margin-top: 2px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--acct-t1);
    opacity: 0.88;
    text-align: center;
}

.product-card.account-product .product-icon {
    color: var(--acct-t1);
}

.product-card.account-product .account-highlight-section {
    border-color: var(--acct-section-border);
}
/* Modal styles for account products */
.modal[data-product-type="accounts"] {
    background: rgba(0, 0, 0, 0.85);
}

.modal[data-product-type="accounts"] .modal-content {
    background: #1B1B1B;
    border: 2px solid #4ECCA3;
    box-shadow: 0 0 20px rgba(78, 204, 163, 0.15);
}

.modal[data-product-type="accounts"] .modal-header {
    border-bottom: 1px solid rgba(78, 204, 163, 0.3);
}

.modal[data-product-type="accounts"] .modal-header h2 {
    background: linear-gradient(135deg, #4ECCA3, #66FFD1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal[data-product-type="accounts"] .modal-price span:first-child {
    background: linear-gradient(135deg, #4ECCA3, #66FFD1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal[data-product-type="accounts"] .modal-price span:last-child {
    color: rgba(78, 204, 163, 0.6);
}

.modal[data-product-type="accounts"] .modal-description h3,
.modal[data-product-type="accounts"] .modal-features h3 {
    color: #4ECCA3;
}

.modal[data-product-type="accounts"] .modal-features li::before {
    content: "✓";
    color: #4ECCA3;
    margin-right: 8px;
}

.modal[data-product-type="accounts"] .modal-add-to-cart {
    background: linear-gradient(135deg, #4ECCA3, #66FFD1);
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal[data-product-type="accounts"] .modal-add-to-cart:hover {
    background: linear-gradient(135deg, #66FFD1, #4ECCA3);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(78, 204, 163, 0.4);
}

.modal[data-product-type="accounts"] .close-modal {
    color: #4ECCA3;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.modal[data-product-type="accounts"] .close-modal:hover {
    color: #66FFD1;
    opacity: 1;
    transform: scale(1.1);
}

.modal[data-product-type="accounts"] .modal-icon svg {
    color: #4ECCA3;
    stroke: #4ECCA3;
}

/* Cart styles for account products */
.cart-item-card[data-type="accounts"] {
    border: 1px solid rgba(78, 204, 163, 0.3);
    background: rgba(28, 28, 28, 0.95);
}

.cart-item-card[data-type="accounts"] .item-details h3 {
    background: linear-gradient(135deg, #4ECCA3, #66FFD1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cart-item-card[data-type="accounts"] .item-type {
    color: rgba(78, 204, 163, 0.8);
}

.cart-item-card[data-type="accounts"] .item-price {
    background: linear-gradient(135deg, #4ECCA3, #66FFD1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cart-item-card[data-type="accounts"] .item-icon svg {
    color: #4ECCA3;
    stroke: #4ECCA3;
}

.cart-item-card[data-type="accounts"] .quantity-btn {
    color: #4ECCA3;
    border-color: rgba(78, 204, 163, 0.3);
}

.cart-item-card[data-type="accounts"] .quantity-btn:hover {
    background: rgba(78, 204, 163, 0.1);
    color: #66FFD1;
}

.cart-item-card[data-type="accounts"] .remove-item {
    color: #4ECCA3;
}

.cart-item-card[data-type="accounts"] .remove-item:hover {
    color: #66FFD1;
}

.cart-item-card[data-type="accounts"]:hover {
    border-color: #4ECCA3;
    box-shadow: 0 4px 12px rgba(78, 204, 163, 0.1);
}

/* Update the toggle button for accounts */
.toggle-btn[data-type="accounts"].active {
    background: linear-gradient(135deg, #4ECCA3, #66FFD1);
    border-color: #4ECCA3;
    color: #ffffff;
}

.toggle-btn[data-type="accounts"]:hover {
    border-color: #4ECCA3;
    color: #ffffff;
}

.product-card.account-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--acct-hover-glow);
}

/* Skyblock account listing highlights (dynamic store rendering) */
.account-listings-loading,
.account-listings-empty {
    grid-column: 1 / -1;
    padding: 18px 14px;
    text-align: center;
}

/* =========================================================================
   Accounts grid empty-state hero card.
   -------------------------------------------------------------------------
   When the API returns zero listings (either truly out of stock or just
   filtered to nothing) we replace the boring "No listings match." text
   with a full-width card that includes a visible graphic (SOLD OUT stamp
   for the sold-out variant; tinted SVG icons for filter/error variants)
   plus clear next-step CTAs. Variants:
     .accounts-empty-state--sold-out  - genuinely no listings available
     .accounts-empty-state--filtered  - active type filter has no matches
     .accounts-empty-state--error     - fetch failed

   Theme: mint green to match the .toggle-btn[data-type="accounts"] gradient
   (#4ECCA3 -> #66FFD1) so the empty state visually belongs to the accounts
   section of the storefront rather than the global cerulean cyan accents.
   ========================================================================= */
.accounts-empty-state {
    /* Span the full width of the products-grid regardless of column count. */
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center;
    padding: 40px 44px;
    /* Three-layer background:
         1. Stronger top-right mint glow that fills more of the card.
         2. Lower-left secondary mint glow for a balanced wash.
         3. Deep green-teal base (NOT navy) so the underlying card no longer
            reads as blue. Sampled to harmonise with #4ECCA3 / #66FFD1. */
    background:
        radial-gradient(ellipse at top right, rgba(78, 204, 163, 0.22), transparent 65%),
        radial-gradient(ellipse at bottom left, rgba(102, 255, 209, 0.08), transparent 60%),
        linear-gradient(135deg, rgba(10, 28, 22, 0.96), rgba(6, 18, 14, 0.97));
    border: 1px solid rgba(78, 204, 163, 0.36);
    border-radius: 22px;
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 0 36px rgba(78, 204, 163, 0.12) inset;
    color: #e8fff5;
    overflow: hidden;
    position: relative;
}

/* Big mint glow halo behind the content, anchored to the top-right so
   it doesn't fight with the SOLD OUT stamp on the left. Intensified so
   the card visibly leans into the accounts-section mint theme. */
.accounts-empty-state::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 60%;
    height: 180%;
    background: radial-gradient(ellipse at center, rgba(78, 204, 163, 0.28), transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.accounts-empty-state > * {
    position: relative;
    z-index: 1;
}

/* =========================================================================
   SOLD OUT stamp graphic.
   -------------------------------------------------------------------------
   Designed to evoke a vintage rubber-stamp look: bold red letters, double
   outer/inner border, diagonal stripe texture, slight tilt, and a gentle
   float animation so it doesn't read as static decoration.
   ========================================================================= */
.accounts-empty-state__stamp {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #ef4444;
    border-radius: 14px;
    transform: rotate(-8deg);
    position: relative;
    background:
        /* Diagonal hatch texture for that "ink absorbed into paper" feel. */
        repeating-linear-gradient(
            45deg,
            rgba(239, 68, 68, 0.06) 0,
            rgba(239, 68, 68, 0.06) 6px,
            transparent 6px,
            transparent 12px
        );
    box-shadow:
        0 0 0 4px rgba(239, 68, 68, 0.18),
        0 0 28px rgba(239, 68, 68, 0.35);
    animation: accounts-empty-stamp-float 3.5s ease-in-out infinite;
}

/* Inner border for the classic double-bordered rubber-stamp look. */
.accounts-empty-state__stamp::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 2px solid #ef4444;
    border-radius: 9px;
    pointer-events: none;
}

.accounts-empty-stamp-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.95;
    /* Monospace font reads as "official stamped paperwork" much better
       than the site's default sans-serif would here. */
    font-family: ui-monospace, SFMono-Regular, "Menlo", monospace;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: 0.14em;
    color: #ef4444;
    text-shadow:
        0 0 10px rgba(239, 68, 68, 0.55),
        0 0 2px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
}

.accounts-empty-stamp-text span { display: block; }

/* Gentle float animation so the stamp draws the eye without spinning
   or jumping aggressively. Holds its -8deg tilt while bobbing 6px. */
@keyframes accounts-empty-stamp-float {
    0%, 100% { transform: rotate(-8deg) translateY(0); }
    50%       { transform: rotate(-8deg) translateY(-6px); }
}

/* =========================================================================
   Generic SVG icon variant for filter / error states.
   Mint-themed to match the accounts toggle button.
   ========================================================================= */
.accounts-empty-state__icon {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4ECCA3;
    background: radial-gradient(ellipse at center, rgba(78, 204, 163, 0.22), transparent 70%);
    border-radius: 50%;
}

.accounts-empty-state__icon svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 12px rgba(78, 204, 163, 0.55));
}

/* Error variant: swap mint green for red so a failed fetch reads
   unmistakably as a problem, not just an empty list. */
.accounts-empty-state--error .accounts-empty-state__icon {
    color: #ef4444;
    background: radial-gradient(ellipse at center, rgba(239, 68, 68, 0.2), transparent 70%);
}

.accounts-empty-state--error .accounts-empty-state__icon svg {
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.5));
}

/* =========================================================================
   Body content (heading, copy, CTAs).
   ========================================================================= */
.accounts-empty-state__body {
    min-width: 0;
}

.accounts-empty-state__body h3 {
    margin: 0 0 10px;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    /* White-to-mint gradient sampled from the .toggle-btn[data-type="accounts"]
       button (#4ECCA3 -> #66FFD1) so the heading visually echoes the section's
       brand color. */
    background: linear-gradient(90deg, #ffffff 0%, #66FFD1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.accounts-empty-state__body p {
    margin: 0 0 20px;
    color: rgba(232, 255, 245, 0.72);
    line-height: 1.55;
    font-size: 0.96rem;
    max-width: 60ch;
}

.accounts-empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.accounts-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1;
}

.accounts-empty-cta--primary {
    /* Exact mint gradient lifted from .toggle-btn[data-type="accounts"].active
       (#4ECCA3 -> #66FFD1) so the primary CTA matches the section's brand
       color. Text colour kept dark for contrast against the bright mint. */
    background: linear-gradient(135deg, #4ECCA3, #66FFD1);
    color: #06281f;
    box-shadow: 0 0 24px rgba(78, 204, 163, 0.4);
}

.accounts-empty-cta--primary:hover {
    transform: scale(1.04);
    box-shadow: 0 0 32px rgba(102, 255, 209, 0.55);
}

/* =========================================================================
   Secondary CTA = "Browse coins instead".
   -------------------------------------------------------------------------
   Resting state: outlined "ghost" pill.
     - Transparent fill (just the tiniest gold tint) so the eye reads the
       primary mint CTA first and treats this as the alternative.
     - Crisp 2-color gold border via a double box-shadow ring (outer amber
       + inner brighter gold "lip") so the rim feels like a coin edge.
     - Bright gold text + icon (#FFD66B) sampled to harmonise with the
       #FFAA00 - #FFD700 coins gradient.
     - Subtle gold halo around the button for warmth.
   Hover state: fills in to the full solid coins gradient.
   ========================================================================= */
.accounts-empty-cta--secondary {
    background: rgba(20, 12, 0, 0.35);
    color: #FFD66B;
    border-color: transparent;
    /* Layered shadows give the outlined rim its "coin edge" feel:
        - First inset shadow: bright inner highlight (top-left -> bottom-right).
        - Second inset shadow: dark gold inner rim for depth.
        - Two outer rings (1px + 2px) draw the gold border in two tones.
        - Final outer glow softens everything together. */
    box-shadow:
        inset 0 1px 0 rgba(255, 234, 132, 0.18),
        inset 0 0 14px rgba(255, 170, 0, 0.08),
        0 0 0 1px rgba(255, 215, 0, 0.85),
        0 0 0 2px rgba(184, 134, 11, 0.45),
        0 0 18px rgba(255, 170, 0, 0.18);
    text-shadow: 0 0 8px rgba(255, 170, 0, 0.3);
}

.accounts-empty-cta--secondary:hover {
    /* On hover, fill in to the full coins gradient so the user gets a clear
       "this leads to coins" affordance. Border and shadows collapse into a
       single solid gold glow. */
    background: linear-gradient(135deg, #FFAA00, #FFD700);
    border-color: transparent;
    color: #2a1700;
    transform: scale(1.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 0 0 1px rgba(255, 215, 0, 0.95),
        0 0 28px rgba(255, 170, 0, 0.55);
    text-shadow: none;
}

/* Minted gold-coin icon inside the .accounts-empty-cta--secondary button.
   Colors are hard-coded in the SVG itself (gradient + dark rim) so the
   icon stays photoreal-gold regardless of the button's hover state - we
   just give it a soft glow so it pops off the resting dark fill and a
   tiny lift on hover. */
.accounts-empty-cta--secondary svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(255, 170, 0, 0.55));
    transition: filter 0.2s ease, transform 0.2s ease;
}

.accounts-empty-cta--secondary:hover svg {
    /* Slight bob and brighter halo when the button hits its hover state. */
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.7));
    transform: translateY(-1px) scale(1.05);
}

/* Stack the stamp / icon above the body text on narrow viewports so the
   layout stays readable on phones (the desktop grid would otherwise compress
   the body column past the comfortable reading width). */
@media (max-width: 720px) {
    .accounts-empty-state {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 30px 22px;
        gap: 22px;
    }
    .accounts-empty-state__stamp {
        width: 130px;
        height: 130px;
    }
    .accounts-empty-stamp-text {
        font-size: 1.5rem;
    }
    .accounts-empty-state__icon {
        width: 90px;
        height: 90px;
    }
    .accounts-empty-state__icon svg {
        width: 50px;
        height: 50px;
    }
    .accounts-empty-state__body p {
        margin-left: auto;
        margin-right: auto;
    }
    .accounts-empty-state__actions {
        justify-content: center;
    }
}

/* Respect reduced-motion preferences: drop the stamp float animation. */
@media (prefers-reduced-motion: reduce) {
    .accounts-empty-state__stamp {
        animation: none;
    }
    .accounts-empty-cta:hover {
        transform: none;
    }
}

/* Shimmer skeletons while account listings are fetched from the API. */
@keyframes account-listings-shimmer {
    0% { background-position: 120% 0; }
    100% { background-position: -20% 0; }
}

.account-listing-skeleton-card {
    pointer-events: none;
    border-radius: 14px;
    padding: 14px 12px;
    min-height: 220px;
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.75), rgba(78, 204, 163, 0.06));
    border: 1px solid rgba(78, 204, 163, 0.18);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.account-skel-line {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.12) 42%,
        rgba(255, 255, 255, 0.04) 78%
    );
    background-size: 220% 100%;
    animation: account-listings-shimmer 1.25s ease-in-out infinite;
}

.account-skel-rank {
    height: 22px;
    width: 70%;
    margin: 0 auto;
}

.account-skel-title {
    height: 18px;
    width: 85%;
    margin: 0 auto;
}

.account-skel-price {
    height: 22px;
    width: 38%;
    margin: 4px auto 0;
}

.account-skel-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    flex: 1;
}

.account-skel-highlights .account-skel-line:nth-child(2) {
    width: 92%;
}

.account-skel-highlights .account-skel-short {
    width: 64%;
}

.account-skel-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}

.account-skel-pill {
    flex: 1;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.14) 45%,
        rgba(255, 255, 255, 0.05) 80%
    );
    background-size: 220% 100%;
    animation: account-listings-shimmer 1.25s ease-in-out infinite;
}

.account-skel-pill-ghost {
    flex: 0 0 72px;
}

@media (prefers-reduced-motion: reduce) {
    .account-skel-line,
    .account-skel-pill {
        animation: none;
        background: rgba(255, 255, 255, 0.08);
    }
}

/* ----- Accounts toolbar: single-select type filters + auto-apply order ---------- */
.accounts-toolbar {
    display: flex;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.95), rgba(78, 204, 163, 0.06));
    border: 1px solid rgba(78, 204, 163, 0.2);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.accounts-toolbar-label {
    font-weight: 700;
    color: #c9ffe2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
}

.accounts-toolbar-count {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
}

.accounts-toolbar-stack {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.accounts-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.accounts-toolbar-row--top {
    justify-content: space-between;
}

/* The single combined row holds the "Show types" label + chips on the left,
   and the compact order dropdown on the right (no border separator). */
.accounts-toolbar-row--filters {
    align-items: center;
    gap: 10px 12px;
    justify-content: flex-start;
}

.accounts-toolbar-row--order {
    margin-left: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
}

.accounts-filter-label {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex: 0 0 auto;
}

.accounts-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /* Don't grow — leaves room for the order block (which uses margin-left: auto) on the right. */
    flex: 0 1 auto;
    min-width: 0;
}

/* Per-type chip: large, color-coded, slot for an icon to the left of the label. */
.accounts-type-chip {
    appearance: none;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    /* Each chip exposes its own theme via CSS variables (set by data-type below). */
    --chip-c1: #4ECCA3;
    --chip-c2: #66FFD1;
    --chip-tint: rgba(78, 204, 163, 0.14);
    --chip-border: rgba(78, 204, 163, 0.45);
    border: 1.5px solid color-mix(in srgb, var(--chip-c1) 35%, rgba(120, 140, 160, 0.25));
    background: rgba(12, 18, 26, 0.55);
    color: color-mix(in srgb, var(--chip-c1) 55%, rgba(255, 255, 255, 0.55));
    display: inline-flex;
    align-items: center;
    gap: 9px;
    line-height: 1;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
                box-shadow 0.18s ease, transform 0.12s ease;
}

.accounts-type-chip .chip-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    image-rendering: pixelated;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.18s ease, filter 0.18s ease;
}

.accounts-type-chip.is-active {
    border-color: var(--chip-border);
    background: linear-gradient(135deg, var(--chip-tint), rgba(12, 18, 26, 0.55));
    color: #ffffff;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--chip-c1) 35%, transparent),
                0 6px 18px color-mix(in srgb, var(--chip-c1) 24%, transparent);
}

.accounts-type-chip.is-active .chip-icon {
    opacity: 1;
}

.accounts-type-chip:hover {
    border-color: var(--chip-border);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Per-chip palettes, mirrored from the .product-card.account-product[data-account-type=...] tokens. */
.accounts-type-chip[data-type="all"] {
    /* "All" sits first in the bar — neutral white-on-charcoal so it doesn't compete with the type colors. */
    --chip-c1: #ffffff; --chip-c2: #cfd8e3;
    --chip-tint: rgba(255, 255, 255, 0.14);
    --chip-border: rgba(255, 255, 255, 0.55);
}
.accounts-type-chip[data-type="farming_ready"] {
    --chip-c1: #4caa6e; --chip-c2: #14502d;
    --chip-tint: rgba(20, 110, 60, 0.32);
    --chip-border: rgba(20, 110, 60, 0.7);
}
.accounts-type-chip[data-type="mining_ready"] {
    --chip-c1: #d6f3ff; --chip-c2: #7fc8ee;
    --chip-tint: rgba(170, 220, 255, 0.22);
    --chip-border: rgba(170, 220, 255, 0.7);
}
.accounts-type-chip[data-type="early_game"] {
    --chip-c1: #fff1b8; --chip-c2: #d9c87a;
    --chip-tint: rgba(220, 210, 150, 0.22);
    --chip-border: rgba(220, 210, 150, 0.7);
}
.accounts-type-chip[data-type="mid_game"] {
    --chip-c1: #4a6dc9; --chip-c2: #1a2a72;
    --chip-tint: rgba(50, 90, 200, 0.34);
    --chip-border: rgba(50, 90, 200, 0.75);
}
.accounts-type-chip[data-type="late_game"] {
    --chip-c1: #d4a8ff; --chip-c2: #7a3cb8;
    --chip-tint: rgba(170, 120, 230, 0.28);
    --chip-border: rgba(170, 120, 230, 0.7);
}
.accounts-type-chip[data-type="endgame"] {
    --chip-c1: #ff8a8a; --chip-c2: #8b1c2b;
    --chip-tint: rgba(200, 70, 90, 0.3);
    --chip-border: rgba(200, 70, 90, 0.7);
}
.accounts-type-chip[data-type="other"] {
    --chip-c1: #4ECCA3; --chip-c2: #2aa8c0;
    --chip-tint: rgba(78, 204, 163, 0.22);
    --chip-border: rgba(78, 204, 163, 0.6);
}

.accounts-order-label {
    /* Keep the inline label tight so the dropdown can sit at the side without a wrap. */
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.accounts-order-select {
    flex: 0 0 auto;
    min-width: 170px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(78, 204, 163, 0.25);
    background: rgba(12, 18, 26, 0.75);
    color: #f0fff8;
    font-size: 0.84rem;
    outline: none;
}

/* Replace Chrome's bright "selected" focus ring with a subtle theme-tinted glow.
   Only render it for keyboard navigation (`:focus-visible`) so mouse interactions
   don't leave a lingering blue outline after the user picks a value. */
.accounts-order-select:focus-visible {
    outline: none;
    border-color: rgba(78, 204, 163, 0.55);
    box-shadow: 0 0 0 2px rgba(78, 204, 163, 0.25);
}

@media (max-width: 900px) {
    .accounts-toolbar-row--order {
        margin-left: 0;
        flex-basis: 100%;
        order: 3;
    }
}

@media (max-width: 600px) {
    .accounts-toolbar-row--order {
        flex-wrap: wrap;
    }
    .accounts-order-select {
        flex: 1 1 100%;
    }
}

.muted {
    color: rgba(255, 255, 255, 0.65);
}

.account-listing-highlights {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 10px;
}

.account-highlight-section {
    display: grid;
    gap: 0;
    /* Use the per-card themed border instead of a hardcoded mint tone. */
    border: 1px solid var(--acct-section-border, rgba(78, 204, 163, 0.16));
    background: rgba(12, 18, 26, 0.45);
    border-radius: 10px;
    overflow: hidden;
}

.account-highlight-section-title {
    appearance: none;
    width: 100%;
    border: 0;
    /* Tinted pill follows the parent card's theme variable so each account type stays cohesive. */
    background: var(--acct-tint, rgba(78, 204, 163, 0.12));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    color: var(--acct-t1, #eaffea);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.account-highlight-section-title:hover {
    background: color-mix(in srgb, var(--acct-t1, #4ECCA3) 18%, transparent);
}

.account-highlight-section-caret {
    color: var(--acct-t1, rgba(78, 204, 163, 0.92));
    font-size: 0.8rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.account-highlight-section.is-expanded .account-highlight-section-caret {
    transform: rotate(0deg);
}

.account-highlight-section:not(.is-expanded) .account-highlight-section-caret {
    transform: rotate(-90deg);
}

.account-highlight-section-grid {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px;
    background: rgba(12, 18, 26, 0.25);
    transform-origin: top center;
}

.account-highlight-section.is-expanded .account-highlight-section-grid {
    animation: section-expand-fade 180ms ease-out;
}

.account-highlight-section-grid[hidden] {
    display: none;
}

@keyframes section-expand-fade {
    0% {
        opacity: 0;
        transform: translateY(-4px) scaleY(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

.account-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 7px;
    border-radius: 8px;
    /* Each row borders/tints itself with the active card theme. */
    border: 1px solid var(--acct-section-border, rgba(78, 204, 163, 0.18));
    background: linear-gradient(180deg, rgba(29, 33, 37, 0.7), rgba(18, 22, 26, 0.85));
}

.account-highlight-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 10px;
    background: var(--acct-tint, rgba(78, 204, 163, 0.14));
    border: 1px solid var(--acct-section-border, rgba(78, 204, 163, 0.22));
    flex-shrink: 0;
}

.hl-icon-emoji {
    font-size: 13px;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 167, 230, 0.15));
}

.hl-icon-image {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.account-highlight-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.account-highlight-label {
    color: var(--acct-t1, rgba(78, 204, 163, 0.9));
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
}

.account-highlight-value {
    color: #eaf8ff;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.15;
    word-break: break-word;
}

@media (max-width: 1200px) {
    .account-highlight-section-grid {
        grid-template-columns: 1fr;
    }
}

/* Match the live editor preview: Add to Cart + Details share a single row,
   with the cart button taking remaining space and Details rendered as a compact pill. */
.product-card.account-product .button-group {
    margin-top: 12px;
    gap: 8px;
    flex-direction: row;
    align-items: stretch;
}

.product-card.account-product .add-to-cart-button {
    margin-top: 0;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    flex: 1 1 auto;
}

/* "View More" secondary control: outline follows the active card theme variables. */
.product-card.account-product .details-button {
    margin-top: 0;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--acct-border);
    color: var(--acct-t1);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    flex: 0 0 auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.product-card.account-product .details-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--acct-t2);
    transform: translateY(-1px);
    box-shadow: none;
}

.account-rank-badge {
    margin-bottom: 8px;
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rank-text {
    /* Base styling with Minecraftia only; color and size handled separately. */
    font-family: 'Minecraftia', monospace;
    font-size: 1.25rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

/* Nudge the +/- suffix (VIP+, MVP+, MVP++) up a few pixels to match in-game alignment. */
.rank-text .rank-plus {
    position: relative;
    top: -3px;
    display: inline-block;
}

.rank-bracket {
    color: inherit;
}

.rank-none { color: #9a9a9a; }
.rank-vip { color: #55ff55; }
.rank-vip-plus { color: #55ff55; }
.rank-vip-plus .rank-plus { color: #ffd747; }
.rank-mvp { color: #55ffff; }
.rank-mvp-plus { color: #55ffff; }
.rank-mvp-plus .rank-plus { color: #ff5555; }
.rank-mvp-plus-plus { color: #55ffff; }
.rank-mvp-plus-plus .rank-plus { color: #ffb84d; }
.rank-plus.rank-plus-black {
    color: #0b0b0b;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.6), 0 0 2px rgba(255, 255, 255, 0.5);
}
.rank-plus.rank-plus-dark-blue { color: #0000aa; }
.rank-plus.rank-plus-dark-green { color: #00aa00; }
.rank-plus.rank-plus-dark-aqua { color: #00aaaa; }
.rank-plus.rank-plus-dark-red { color: #aa0000; }
.rank-plus.rank-plus-dark-purple { color: #aa00aa; }
.rank-plus.rank-plus-gold { color: #ffaa00; }
.rank-plus.rank-plus-gray { color: #aaaaaa; }
.rank-plus.rank-plus-dark-gray { color: #555555; }
.rank-plus.rank-plus-blue { color: #5555ff; }
.rank-plus.rank-plus-green { color: #55ff55; }
.rank-plus.rank-plus-aqua { color: #55ffff; }
.rank-plus.rank-plus-red { color: #ff5555; }
.rank-plus.rank-plus-light-purple { color: #ff55ff; }
.rank-plus.rank-plus-yellow { color: #ffff55; }
.rank-plus.rank-plus-white { color: #ffffff; }

.sb-level-badge {
    font-family: 'Minecraftia', monospace;
    font-size: 1.25rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}
.sb-level-value {
    /* The value inherits the exact tier color class while brackets stay gray. */
    color: inherit;
}
.sb-bracket {
    /* Only level brackets should always be Minecraft gray. */
    color: #aaaaaa;
}
.sb-level-tier-0 { color: #aaaaaa; }
.sb-level-tier-40 { color: #ffffff; }
.sb-level-tier-80 { color: #ffff55; }
.sb-level-tier-120 { color: #55ff55; }
.sb-level-tier-160 { color: #00aa00; }
.sb-level-tier-200 { color: #55ffff; }
.sb-level-tier-240 { color: #00aaaa; }
.sb-level-tier-280 { color: #5555ff; }
.sb-level-tier-320 { color: #ff55ff; }
.sb-level-tier-360 { color: #aa00aa; }
.sb-level-tier-400 { color: #ffaa00; }
.sb-level-tier-440 { color: #ff5555; }
.sb-level-tier-480 { color: #aa0000; }

@media (max-width: 1024px) {
    #accounts-grid {
        grid-template-columns: 1fr;
    }
}

/* Coin Calculator Styles */
.coin-calculator {
    background: rgba(28, 28, 28, 0.95);
    border: 2px solid #FFAA00;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    box-shadow: 0 0 30px rgba(255, 170, 0, 0.1);
}

.calculator-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.calculator-header h2 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #FFAA00, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.calculator-icon {
    width: 40px;
    height: 40px;
    color: #FFAA00;
}

.calculator-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group label {
    color: #FFD700;
    font-size: 1.1rem;
    font-weight: 500;
}

.amount-input {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.amount-input input {
    width: 100%;
    padding: 15px;
    padding-right: 80px;
    border: 2px solid rgba(255, 170, 0, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Remove number input spinners */
.amount-input input::-webkit-outer-spin-button,
.amount-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.amount-input input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.amount-input input:focus {
    outline: none;
    border-color: #FFAA00;
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.2);
}

.amount-input .unit {
    position: absolute;
    right: 15px;
    color: rgba(255, 170, 0, 0.8);
    font-weight: 500;
}

.unit-toggle {
    display: flex;
    gap: 2px;
    background: rgba(255, 170, 0, 0.1);
    padding: 3px;
    border-radius: 8px;
}

.unit-btn {
    background: none;
    border: none;
    color: rgba(255, 170, 0, 0.8);
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.unit-btn.active {
    background: linear-gradient(135deg, #FFAA00, #FFD700);
    color: #000000;
}

.bulk-discount-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 170, 0, 0.2);
}

.bulk-discount-info span {
    display: block;
    color: #FFD700;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.bulk-discount-info ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.bulk-discount-info li {
    color: rgba(255, 170, 0, 0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bulk-discount-info li::before {
    content: "→";
    color: #FFAA00;
}

@media (max-width: 768px) {
    .bulk-discount-info ul {
        grid-template-columns: 1fr;
    }
}

.price-display {
    background: rgba(255, 170, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calculated-price, .price-per-m {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label, .rate-label {
    color: #FFD700;
    font-size: 1.1rem;
    font-weight: 500;
}

.price-value {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #FFAA00, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rate-value {
    color: rgba(255, 170, 0, 0.8);
    font-size: 1.1rem;
}

.calculator-features {
    border-top: 1px solid rgba(255, 170, 0, 0.2);
    padding-top: 20px;
}

.calculator-features h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.calculator-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.calculator-features li {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.calculator-features li::before {
    content: "✓";
    color: #FFAA00;
}

.calculator-add-to-cart {
    background: linear-gradient(135deg, #FFAA00, #FFD700);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 10px;
}

.calculator-add-to-cart:hover {
    background: linear-gradient(135deg, #FFD700, #FFAA00);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 170, 0, 0.4);
}

/* Responsive styles for calculator */
@media (max-width: 768px) {
    .coin-calculator {
        margin: 0 20px;
        padding: 20px;
    }

    .calculator-features ul {
        grid-template-columns: 1fr;
    }

    .calculator-header h2 {
        font-size: 1.8rem;
    }
}

.error-message {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.calculator-add-to-cart:disabled {
    background: linear-gradient(135deg, #666666, #888888);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.calculator-add-to-cart:disabled:hover {
    background: linear-gradient(135deg, #666666, #888888);
    transform: none;
    box-shadow: none;
}

.product-card.out-of-stock {
    opacity: 0.7;
    position: relative;
}

.product-card.out-of-stock::before {
    content: "Out of Stock";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: rgba(255, 68, 68, 0.9);
    color: white;
    padding: 10px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 1;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.product-card.out-of-stock .button-group {
    pointer-events: none;
}

.product-card.out-of-stock .add-to-cart-button,
.product-card.out-of-stock .buy-button {
    background: linear-gradient(135deg, #666666, #888888);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.product-card.out-of-stock .add-to-cart-button:hover,
.product-card.out-of-stock .buy-button:hover {
    background: linear-gradient(135deg, #666666, #888888);
    transform: none;
    box-shadow: none;
}

.product-card.out-of-stock .details-button {
    opacity: 0.5;
    cursor: not-allowed;
}

/* YouTube Tutorial Button */
.youtube-tutorial-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #FF0000;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 auto 24px;
    width: fit-content;
    transition: all 0.3s ease;
}

.youtube-tutorial-btn:hover {
    background-color: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

/* =========================================================================
   Compact "View SkyCrypt" button on storefront listing cards.
   The full-size variant lives in css/account-details.css; this is the smaller
   inline version used between the price and the highlight categories.
   ========================================================================= */
.product-card.account-product .account-skycrypt-btn--compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    /* Sit between the price and the first highlight section without crowding either. */
    margin: 8px auto 14px;
    padding: 7px 14px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(
        110deg,
        #0091cc 0%,
        #00a7e6 25%,
        #4ad3ff 50%,
        #00a7e6 75%,
        #0091cc 100%
    );
    background-size: 300% 100%;
    background-position: 0% 50%;
    border: 1px solid rgba(74, 211, 255, 0.5);
    box-shadow:
        0 3px 10px rgba(0, 167, 230, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    animation: account-skycrypt-btn-shimmer 5s ease-in-out infinite;
}

@keyframes account-skycrypt-btn-shimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .product-card.account-product .account-skycrypt-btn--compact {
        animation: none;
    }
}

.product-card.account-product .account-skycrypt-btn--compact:hover,
.product-card.account-product .account-skycrypt-btn--compact:focus-visible {
    transform: translateY(-1px);
    box-shadow:
        0 5px 14px rgba(0, 167, 230, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    outline: none;
}

.product-card.account-product .account-skycrypt-btn--compact:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 167, 230, 0.4);
}

.product-card.account-product .account-skycrypt-btn--compact .account-skycrypt-btn-icon,
.product-card.account-product .account-skycrypt-btn--compact .account-skycrypt-btn-arrow {
    flex: 0 0 auto;
    color: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 47, 73, 0.35));
}

.product-card.account-product .account-skycrypt-btn--compact .account-skycrypt-btn-arrow {
    margin-left: 1px;
    opacity: 0.9;
    transition: transform 0.18s ease;
}

.product-card.account-product .account-skycrypt-btn--compact:hover .account-skycrypt-btn-arrow {
    transform: translate(2px, -2px);
}

.youtube-icon {
    width: 24px;
    height: 24px;
}