/* NitroSMP Store CSS - Blue Theme */

:root {
    --primary: #2f8cf0;
    --primary-darker: #1a73d9;
    --primary-gradient: linear-gradient(to right, #2f8cf0, #1a73d9);
    --secondary: #4c75e0;
    --accent: #5ca8f5;
    --dark: #171717;
    --dark-lighter: #252525;
    --light: #f9f9f9;
    --gray: #888888;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    
    /* Rank colors */
    --elite-color: #2f8cf0;
    --nitro-color: #5ca8f5; 
    --master-color: #4c75e0;
    --titan-color: #1a73d9;
}

/* =============== GENERAL =============== */

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f0f;
    color: #f0f0f0;
}

.store-nav {
    background-color: rgba(23, 23, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-button {
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.cart-button:hover {
    transform: scale(1.05);
    background-color: var(--primary-darker);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============== HERO SECTION =============== */

.store-hero {
    height: 400px;
    background-image: url('../images/store-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,20,40,0.8), rgba(0,30,60,0.9));
    z-index: 1;
}

.store-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.store-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    background: linear-gradient(to right, #ffffff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.store-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta-button {
    background: var(--primary-gradient);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(47, 140, 240, 0.4);
}

.hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(47, 140, 240, 0.5);
}

.hero-cta-button i {
    margin-left: 8px;
}

/* =============== STORE CONTAINER =============== */

.store-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============== SIDEBAR =============== */

.store-sidebar {
    background-color: rgba(23, 23, 23, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    position: sticky;
    top: 100px;
    height: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-title {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.sidebar-title h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.login-box {
    background: linear-gradient(45deg, rgba(76, 117, 224, 0.1), rgba(82, 194, 52, 0.1));
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.login-box-icon {
    font-size: 2.5rem;
    margin-right: 15px;
    color: var(--primary);
}

.login-box-content h4 {
    margin: 0 0 5px 0;
    font-weight: 600;
}

.login-box-content p {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.login-button {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.login-button:hover {
    background-color: var(--primary-darker);
}

.sidebar-category {
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.sidebar-item-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.sidebar-category.active .sidebar-item-header {
    background-color: rgba(47, 140, 240, 0.1);
}

.sidebar-item-header:hover {
    background-color: rgba(47, 140, 240, 0.05);
}

.sidebar-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
}

.text-icon span {
    font-weight: bold;
}

.rank-elite {
    color: var(--elite-color);
}

.rank-nitro {
    color: var(--nitro-color);
}

.rank-master {
    color: var(--master-color);
}

.rank-titan {
    color: var(--titan-color);
}

.sidebar-item-header span {
    flex-grow: 1;
    font-weight: 500;
}

.sidebar-item-header i {
    transition: var(--transition);
}

.sidebar-category.active .sidebar-item-header i {
    transform: rotate(180deg);
}

.sidebar-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.sidebar-category.active .sidebar-submenu {
    max-height: 500px;
}

.sidebar-subitem {
    display: block;
    padding: 10px 15px 10px 45px;
    text-decoration: none;
    color: #d0d0d0;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sidebar-subitem:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}

.gems-icon {
    width: 20px;
    height: 20px;
}

/* Server Status Widget */
.server-status-widget {
    background: linear-gradient(45deg, rgba(23, 23, 23, 0.95), rgba(35, 35, 35, 0.95));
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.server-status-widget h4 {
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: white;
    display: flex;
    align-items: center;
}

.server-status-widget h4 i {
    margin-right: 8px;
    color: var(--primary);
}

.status-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.status-label {
    color: var(--gray);
}

.status-value {
    font-weight: 600;
    color: white;
}

.copy-ip-button {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 8px 0;
    width: 100%;
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.copy-ip-button:hover {
    background-color: var(--primary);
}

/* =============== STORE CONTENT =============== */

.store-content {
    background-color: rgba(23, 23, 23, 0.95);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Welcome Section */

.welcome-header {
    text-align: center;
    margin-bottom: 30px;
}

.store-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffffff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.store-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.featured-product {
    position: relative;
    background: linear-gradient(45deg, rgba(23, 23, 23, 0.8), rgba(35, 35, 35, 0.8));
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: -30px;
    background-color: var(--primary);
    color: white;
    padding: 5px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(-45deg);
    z-index: 1;
}

.featured-content {
    display: flex;
    padding: 30px;
}

.featured-image {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.featured-product:hover .featured-image img {
    transform: scale(1.05) translateY(-5px);
}

.featured-info {
    flex-grow: 1;
    padding-left: 30px;
}

.featured-info h3 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: white;
}

.featured-info p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1rem;
}

.featured-price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.featured-button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(47, 140, 240, 0.4);
}

.featured-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(47, 140, 240, 0.5);
}

.store-info {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
    color: var(--gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Payment Goal */

.payment-goal {
    background: linear-gradient(45deg, rgba(23, 23, 23, 0.8), rgba(35, 35, 35, 0.8));
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.goal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.goal-header h3 i {
    margin-right: 10px;
    color: var(--primary);
}

.goal-percent {
    background-color: var(--primary);
    color: white;
    border-radius: 20px;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

.goal-progress-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.goal-progress-bar {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.goal-progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.goal-text {
    text-align: center;
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Support and Refund Boxes */

.store-info-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.support-box, .refund-box {
    background: linear-gradient(45deg, rgba(23, 23, 23, 0.8), rgba(35, 35, 35, 0.8));
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.support-box {
    border-left: 4px solid var(--primary);
}

.refund-box {
    border-left: 4px solid var(--secondary);
}

.info-box-icon {
    font-size: 1.8rem;
    margin-right: 15px;
}

.support-box .info-box-icon {
    color: var(--accent);
}

.refund-box .info-box-icon {
    color: var(--secondary);
}

.info-box-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-box-content p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.highlight-text {
    color: var(--primary);
}

/* Recent Customers */

.recent-customers {
    margin-top: 30px;
    background: linear-gradient(45deg, rgba(23, 23, 23, 0.8), rgba(35, 35, 35, 0.8));
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.recent-customers h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.recent-customers h3 i {
    margin-right: 10px;
    color: var(--primary);
}

.customer-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.customer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.customer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-avatar:hover {
    transform: scale(1.1);
    border-color: var(--primary);
}

/* =============== CATEGORY CONTENT =============== */

.category-content {
    display: none;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.category-title i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--primary);
}

.category-description {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.rank-group {
    margin-bottom: 40px;
}

.rank-group-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.rank-group-title {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.rank-group-title i {
    margin-right: 10px;
    color: var(--primary);
    font-size: 1.1rem;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Product Cards */

.product-card {
    background: linear-gradient(45deg, rgba(23, 23, 23, 0.9), rgba(35, 35, 35, 0.9));
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(47, 140, 240, 0.2);
}

.product-card-ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--primary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-card-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(23, 23, 23, 0.7), rgba(35, 35, 35, 0.7));
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card-image img {
    max-height: 100%;
    max-width: 100%;
    transition: var(--transition);
}

.product-card:hover .product-card-image img {
    transform: scale(1.1);
}

.product-card-content {
    padding: 20px;
}

.product-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.rank-elite.product-badge {
    background-color: rgba(47, 140, 240, 0.2);
    color: var(--elite-color);
}

.rank-nitro.product-badge {
    background-color: rgba(92, 168, 245, 0.2);
    color: var(--nitro-color);
}

.rank-master.product-badge {
    background-color: rgba(76, 117, 224, 0.2);
    color: var(--master-color);
}

.rank-titan.product-badge {
    background-color: rgba(26, 115, 217, 0.2);
    color: var(--titan-color);
}

.product-title {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.product-description {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-features {
    list-style-type: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.product-features li {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.product-features li i {
    color: var(--primary);
    margin-right: 8px;
    font-size: 0.8rem;
}

.product-duration {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray);
}

.product-duration i {
    margin-right: 8px;
    color: var(--primary);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.product-button {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.product-button i {
    margin-right: 5px;
}

.product-button:hover {
    background-color: var(--primary-darker);
}

/* Highlight effect for anchor targets */
.product-card.highlight {
    box-shadow: 0 0 0 3px var(--primary);
    animation: highlight-pulse 1s ease-in-out;
}

@keyframes highlight-pulse {
    0%, 100% { box-shadow: 0 0 0 3px var(--primary); }
    50% { box-shadow: 0 0 0 6px var(--primary); }
}

/* =============== CART SIDEBAR =============== */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: #1a1a1a;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    z-index: 1010;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    background-color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.cart-header h3 i {
    margin-right: 10px;
    color: var(--primary);
}

.close-cart {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--primary);
}

.cart-content {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    padding: 30px 0;
    color: var(--gray);
}

.empty-cart i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-cart p {
    margin-bottom: 20px;
}

.start-shopping {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.start-shopping:hover {
    background-color: var(--primary-darker);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.cart-item-price {
    font-weight: 600;
}

.remove-item {
    background: transparent;
    border: none;
    color: var(--accent);
    cursor: pointer;
    transition: var(--transition);
}

.remove-item:hover {
    color: #ff3b3b;
}

.cart-footer {
    padding: 20px;
    background-color: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.checkout-button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-button:hover {
    background: linear-gradient(to right, #47a82e, #3d9026);
}

/* Style for cart item icons */
.cart-icon-placeholder {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(30, 40, 50, 0.8), rgba(20, 30, 40, 0.6));
    border-radius: 6px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

/* Style cart icon placeholders using the same colors as product icons */
.cart-icon-placeholder.rank-elite i {
    color: #54f059; /* Green color for Elite rank */
}

.cart-icon-placeholder.rank-nitro i {
    color: #54fcfc; /* Cyan color for Nitro rank */
}

.cart-icon-placeholder.rank-master i {
    color: #c14445; /* Red color for Master rank */
}

.cart-icon-placeholder.rank-titan i {
    color: #fccd00; /* Gold color for Titan rank */
}

.cart-icon-placeholder.gem i {
    color: #50C878; /* Emerald green for gems */
}

.cart-icon-placeholder.key i {
    color: #FFD700; /* Gold color for keys */
}

/* =============== RANK POPUP STYLES =============== */

/* Rank feature popups */
.rank-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.rank-popup.active {
    opacity: 1;
    visibility: visible;
}

.rank-popup-content {
    background-color: #1a1a1a;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-popup.active .rank-popup-content {
    transform: scale(1);
}

.rank-popup-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-popup-header h3 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.rank-popup-header h3 i {
    margin-right: 10px;
}

.rank-popup-header.rank-elite {
    background: linear-gradient(to right, rgba(23, 23, 23, 0.9), rgba(47, 140, 240, 0.2));
}

.rank-popup-header.rank-nitro {
    background: linear-gradient(to right, rgba(23, 23, 23, 0.9), rgba(92, 168, 245, 0.2));
}

.rank-popup-header.rank-master {
    background: linear-gradient(to right, rgba(23, 23, 23, 0.9), rgba(76, 117, 224, 0.2));
}

.rank-popup-header.rank-titan {
    background: linear-gradient(to right, rgba(23, 23, 23, 0.9), rgba(26, 115, 217, 0.2));
}

.close-rank-popup {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.close-rank-popup:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--primary);
}

.rank-popup-body {
    padding: 20px;
    display: flex;
    gap: 30px;
}

.rank-image {
    flex: 0 0 200px;
}

.rank-image .product-icon-placeholder {
    height: 200px;
    font-size: 5rem;
}

.rank-features-list {
    flex-grow: 1;
}

.rank-features-list h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.rank-features-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.rank-features-list ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-features-list ul li:last-child {
    border-bottom: none;
}

.rank-features-list ul li i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 0.9rem;
}

.rank-popup-footer {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.2);
}

.rank-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.purchase-rank-button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.purchase-rank-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Make rank cards look clickable - MODIFY THIS SECTION */
#ranks-content .product-card {
    cursor: default; /* Changed from pointer to default */
    position: relative;
}

/* Remove the after pseudo-element that shows the info text */
#ranks-content .product-card::after {
    display: none; /* Remove the popup hint text */
}

/* Ensure buttons inside rank cards don't trigger the card click */
#ranks-content .product-card .product-button {
    position: relative;
    z-index: 10;
    cursor: pointer; /* Make sure the button cursor is correct */
}

/* Additional styles to make the icons appear clickable */
.rank-elite .product-icon-placeholder,
.rank-nitro .product-icon-placeholder,
.rank-master .product-icon-placeholder,
.rank-titan .product-icon-placeholder {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-icon-placeholder:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Make only rank icons in the rank section appear clickable */
#ranks-content .product-icon-placeholder,
#bundles-content .product-icon-placeholder {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#ranks-content .product-icon-placeholder:hover,
#bundles-content .product-icon-placeholder:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Add a subtle indicator on hover for rank icons only */
#ranks-content .product-icon-placeholder::after,
#bundles-content .product-icon-placeholder::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
    pointer-events: none;
}

#ranks-content .product-icon-placeholder:hover::after,
#bundles-content .product-icon-placeholder:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Make gems and keys icons NOT appear clickable */
#gems-content .product-icon-placeholder,
#keys-content .product-icon-placeholder {
    cursor: default;
}

#gems-content .product-icon-placeholder:hover,
#keys-content .product-icon-placeholder:hover {
    transform: none;
    box-shadow: none;
}
.original-price {
    color: var(--gray);
    text-decoration: line-through;
    font-size: 1rem;
}

/* Bundle info modal styling */
.info-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 500px;
    width: 90%;
}

.info-modal h2 {
    color: #333;
    margin-bottom: 20px;
}

.info-modal .features-container {
    margin-bottom: 20px;
}

.info-modal ul {
    list-style: none;
    padding-left: 0;
}

.info-modal ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.info-modal ul li:last-child {
    border-bottom: none;
}

.info-modal .close-button {
    background-color: #333;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}

.info-modal .close-button:hover {
    background-color: #555;
}

/* Make bundle cards clickable */
.bundle-card {
    cursor: pointer;
    transition: transform 0.2s;
}

.bundle-card:hover {
    transform: translateY(-5px);
}

/* Bundle-specific modals */
.bundle-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.bundle-modal-content {
    position: relative;
    background-color: #222;
    margin: 15% auto;
    padding: 25px;
    border: 1px solid #888;
    width: 50%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    color: #fff;
    animation: modalFade 0.3s ease-in;
}

@keyframes modalFade {
    from {opacity: 0; transform: translateY(-30px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #fff;
}

.bundle-modal h2 {
    margin-top: 10px;
    margin-bottom: 20px;
    color: #0ff;
    text-align: center;
}

.bundle-modal-features {
    margin-bottom: 30px;
}

.bundle-modal-features h3 {
    color: #0ff;
    margin-bottom: 15px;
}

.bundle-modal-features ul {
    list-style-type: none;
    padding: 0;
}

.bundle-modal-features li {
    padding: 10px;
    margin: 5px 0;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 5px;
}

.bundle-modal-features .discount {
    color: #0f0;
    font-weight: bold;
}

.bundle-modal .purchase-button {
    display: block;
    width: 200px;
    margin: 0 auto;
    padding: 12px;
    background: linear-gradient(to right, #0ff, #00f);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bundle-modal .purchase-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.5);
}
