.hero-section-prod-detail {
    padding: 180px 0 120px;
    background-image: url("../img/backgrounds/97.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-section-prod-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(74, 144, 226, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section-prod-detail::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text-content {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 500;
}

.feature-item i {
    color: var(--accent-blue);
    font-size: 18px;
}

.hero-image-content {
    flex: 0 0 400px;
}

.product-thumbnail-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.3s ease;
}

.product-thumbnail-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.product-thumbnail {
    width: 100%;
    height: auto;
    min-height: 250px;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.2), transparent);
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}


/* Main Content Section */
.main-content-section {
    padding: 80px 0;
    background: var(--bg-primary);
    min-height: 100vh;
}

.form-container {
    padding-right: 20px;
}

.sidebar-container {
    position: sticky;
    top: 100px;
    padding-left: 20px;
}

/* Glass Card Styling */
.content-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(74, 144, 226, 0.3);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--accent-blue);
    border-radius: 2px;
}

/* Rating Card */
.overall-rating {
    text-align: left;
    margin-bottom: 25px;
    align-items: center;
    display: flex;
}

.rating-score {
    font-size: 50px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    margin-right: 20px;
}

.rating-stars {
    color: #ffd700;
    font-size: 18px;
    margin: 8px 0;
}

.rating-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.rating-info {
    display: flex;
    flex-direction: column;
}

/* Order Summary */
.empty-cart {
    text-align: center;
    padding: 40px 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.item-image img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 4px;
}

.item-game, .item-quantity {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
}

.order-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 2px solid rgba(74, 144, 226, 0.3);
}

.order-total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
}

.order-total-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-blue);
}

/* Game Description */
.game-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.game-description h5 {
    color: var(--text-white);
    margin: 20px 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.game-description ul {
    padding-left: 20px;
}

.game-description li {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.7);
}

/* Fixed Payment Button - Floating Style */
.fixed-payment-button {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
}

.payment-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

/* Hide total summary in fixed button */
.total-summary {
    display: none;
}

.total-label {
    display: none;
}

.total-amount {
    display: none;
}

.btn-proceed {
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 15px;
    min-width: 180px;
    background: linear-gradient(135deg, #4a90e2, #74b9ff);
    border: none;
    color: white;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    transition: all 0.3s ease;
}

.btn-proceed:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.5);
    background: linear-gradient(135deg, #5ba0f2, #84c9ff);
}

.btn-proceed:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
    background: rgba(74, 144, 226, 0.5);
}

.btn-proceed:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
    background: rgba(74, 144, 226, 0.5);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .topup-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .sidebar-container {
        position: static;
        padding-left: 0;
        margin-top: 30px;
    }
}

@media (max-width: 992px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text-content {
        text-align: center;
    }

    .hero-image-content {
        flex: none;
    }

    .product-thumbnail-wrapper {
        transform: none;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .form-container {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .topup-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
    }

    .content-card {
        padding: 20px;
    }

    .product-thumbnail {
        min-height: 200px;
        max-height: 300px;
    }

    .payment-button-wrapper {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .btn-proceed {
        width: 100%;
        min-width: auto;
    }

    .main-content-section {
        padding-bottom: 120px;
    }
}

/* Topup Grid */
.topup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.topup-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.topup-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    border-color: var(--accent-blue);
    background: rgba(74, 144, 226, 0.1);
}

.topup-card.active {
    border-color: #4A90E2;
    background: rgba(74, 144, 226, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.topup-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 12px auto;
    display: block;
}

.topup-diamonds {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.topup-price {
    font-size: 14px;
    color: var(--text-white);
    opacity: 0.8;
}

/* Membership Badge */
.membership-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 10px;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
}

.membership-badge.silver {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
}

.membership-badge.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.membership-badge.regular {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: #fff;
}

/* Payment Methods - Copied from dashboard.css */
.payment-category-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.payment-methods-container {
    position: relative;
}

.payment-methods-group {
    display: none;
    animation: fadeInUp 0.3s ease;
}

.payment-methods-group.active {
    display: block;
}

.payment-method-item {
    position: relative;
    height: 100%;
}

.payment-method-radio {
    display: none;
}

.payment-method-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    height: 100%;
    min-height: 90px;
}

.payment-method-label:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border-color: rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.payment-method-radio:checked + .payment-method-label {
    background: linear-gradient(
        135deg,
        rgba(74, 144, 226, 0.2) 0%,
        rgba(116, 185, 255, 0.1) 100%
    );
    border-color: #4a90e2;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.2);
}

.payment-info {
    flex: 1;
    min-width: 0;
    margin-right: 12px;
}

.payment-title {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    word-break: break-word;
}

.payment-fee {
    font-size: 12px;
    color: rgba(255, 165, 0, 0.8);
    font-weight: 500;
    margin-bottom: 4px;
}

.payment-balance {
    font-size: 12px;
    color: rgba(255, 165, 0, 0.8);
    font-weight: 500;
    margin-bottom: 4px;
}

.payment-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    line-height: 1.3;
}

.payment-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 60px;
    height: auto;
}

.payment-icon-img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    height: auto;
    width: auto;
}

.payment-icon-placeholder {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
}

.no-payment-methods {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
}

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