/* Modern CSS Variables */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
        /*font-family: 'Orbitron', 'Rajdhani', 'Arial', sans-serif;*/
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Hero Section with Video Background */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary); /* Fallback */
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(45deg, #232119, #000ebb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    margin-right: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

/* Hero Visual Stats Grid */
.hero-visual {
    position: relative;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.stat-card {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.stat-icon {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sections */
.news-section, .transactions-section {
    background: white;
    position: relative;
    z-index: 1;
}

.games-section {
    /* background: var(--dark-color); */
    /* background:url('../images/bj.png') no-repeat center center; */
    position: relative;
    z-index: 1;
}

/* Cards */
.news-card, .game-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    height: 100%;
}

.news-card:hover, .game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.game-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

/* Game Images */
.game-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.game-image img:hover {
    transform: scale(1.05);
}

.game-image img[src*="default-game.svg"] {
    border: 2px solid #4a90e2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

/* Modal Styles - Override for better visibility */
.modal-title {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 0 8px #00d4ff;
}

.modal-header {
    background: linear-gradient(135deg, #0066cc, #6600cc) !important;
    color: #ffffff !important;
    border-bottom: 2px solid #00d4ff;
}

.modal-content {
    background: rgba(15, 15, 26, 0.95) !important;
    border: 2px solid #00d4ff;
    border-radius: 0;
    backdrop-filter: blur(20px);
}

/* Game Info Card */
.game-info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.game-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.game-image-wrapper img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-image-wrapper:hover img {
    transform: scale(1.05);
}

.game-links .btn {
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
}

/* Purchase Form */
.purchase-form {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

/* Pricing Summary */
.pricing-summary {
    position: sticky;
    top: 20px;
}

.pricing-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.pricing-row:last-child {
    margin-bottom: 0;
}

.pricing-row.total-row {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin: 0 -1.25rem 0.75rem -1.25rem;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
}

.pricing-row.discount-row {
    color: var(--success-color);
}

/* Previous Keys List */
.previous-keys-list {
    max-height: 300px;
    overflow-y: auto;
}

.previous-keys-list::-webkit-scrollbar {
    width: 4px;
}

.previous-keys-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.previous-keys-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.previous-keys-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Purchase Items - Compact Design */
.purchase-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.purchase-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,123,255,0.15);
    transform: translateY(-1px);
}

.purchase-item:last-child {
    margin-bottom: 0;
}

.purchase-item .key-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.purchase-item .key-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.purchase-item .key-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
}

.purchase-item .key-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.purchase-item .key-info-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #666;
}

.purchase-item .key-info-item i {
    width: 12px;
    font-size: 0.7rem;
}

.purchase-item .key-display {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 4px;
    padding: 0.5rem;
}

.purchase-item .key-display .input-group {
    margin-bottom: 0;
}

.purchase-item .key-display input {
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
    background: white;
    border: none;
    padding: 0.25rem 0.5rem;
}

.purchase-item .key-display .btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border: none;
}

.purchase-item .key-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.purchase-item .key-actions .btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    flex: 1;
}

/* Warnings Section */
.warnings-section .alert-sm {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.warnings-section .alert-sm:last-child {
    margin-bottom: 0;
}

/* Empty State */
.empty-keys-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #6c757d;
}

.empty-keys-state i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.empty-keys-state h6 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.empty-keys-state p {
    font-size: 0.8rem;
    margin: 0;
}

/* Buttons */
.btn-buy-tool:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .feature-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .purchase-item .info-grid {
        grid-template-columns: 1fr;
    }

    /* Video optimization for mobile */
    .hero-video-background {
        object-position: center center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.bg-glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Recharge Page Styling - Streamlined Design */
.recharge-container {
    padding-top: 100px !important; /* Consistent with other pages */
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

/* Streamlined Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-title i {
    color: #ffc107;
    font-size: 2rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Current Balance - Compact Design */
.current-balance {
    display: inline-block;
    margin: 0 auto;
}

.balance-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
}

.balance-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.balance-info {
    flex: 1;
}

.balance-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.balance-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

/* Payment Method - Simplified */
.payment-method-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.payment-method-section .row {
    align-items: center;
}

.payment-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto;
}

.payment-method-section h5 {
    color: #333;
    margin-bottom: 0.5rem;
}

.payment-method-section p {
    color: #666;
    margin: 0;
}

.payment-method-section .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

/* Package Selection - Clean Grid */
.packages-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: #667eea;
}

.section-subtitle {
    color: #666;
    margin-bottom: 2rem;
}

/* Package Cards - Streamlined */
.package-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

.package-card.popular {
    border-color: #ffc107;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.popular-badge i {
    margin-right: 0.5rem;
}

/* Package Header */
.package-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.package-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.package-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Package Content */
.package-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.package-pricing {
    margin-bottom: 1.5rem;
}

.price-main {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.price-currency {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.package-benefits {
    margin-bottom: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.benefit-item i {
    width: 16px;
    text-align: center;
}

.package-description {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Custom Amount Section */
.custom-amount-section {
    text-align: center;
    margin-bottom: 1rem;
}

.custom-amount-section .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.custom-amount-input {
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    padding: 0.75rem;
    font-size: 1rem;
    text-align: center;
}

.custom-amount-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.bonus-display {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.bonus-amount {
    color: #28a745;
}

/* Package Footer */
.package-footer {
    margin-top: auto;
}

.package-footer .form-check {
    margin: 0;
}

.package-footer .form-check-input {
    display: none;
}

.package-footer .form-check-label {
    cursor: pointer;
    margin: 0;
}

.package-footer .btn {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.package-footer .form-check-input:checked + .form-check-label .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: scale(1.05);
}

/* Payment Button */
#paymentBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

#paymentBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

#paymentBtn:active {
    transform: translateY(0);
}

/* Security Section - Simplified */
.security-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.security-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.security-section .section-subtitle {
    margin-bottom: 2rem;
}

.security-item {
    padding: 1rem;
}

.security-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin: 0 auto;
}

.security-item h5 {
    font-size: 1rem;
    color: #333;
    margin: 1rem 0 0.5rem;
}

.security-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recharge-container {
        padding-top: 90px !important;
    }
    
    .hero-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .balance-card {
        min-width: auto;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .package-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .recharge-container {
        padding-top: 85px !important;
    }
    
    .hero-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .balance-card {
        padding: 1rem;
    }
    
    .package-card {
        padding: 1rem;
    }
    
    .security-section {
        padding: 1.5rem;
    }
    
    .security-section .row {
        gap: 1rem;
    }
    
    .security-item {
        padding: 0.5rem;
    }
}

.btn-show-purchase-details:focus {
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

/* Purchase Details Modal Styling */
#purchaseDetailsModal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#purchaseDetailsModal .modal-header {
    background: linear-gradient(135deg, #17a2b8, #138496);
    border-bottom: none;
    padding: 1.5rem;
}

#purchaseDetailsModal .modal-title {
    font-weight: 700;
    font-size: 1.25rem;
}

#purchaseDetailsModal .modal-body {
    padding: 2rem;
}

.purchase-details-content .alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.purchase-details-text {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    line-height: 1.6;
}

.purchase-details-text p {
    color: #495057;
    font-size: 1rem;
    margin: 0;
}

/* Purchase Button Styling */
.btn-show-purchase-details {
    background: linear-gradient(135deg, #17a2b8, #138496);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-show-purchase-details:hover {
    background: linear-gradient(135deg, #138496, #117a8b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.4);
    color: white;
}

.btn-show-purchase-details:focus {
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

/* User Guide Page Styling */
.guide-section .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
}

.guide-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.guide-section .card-header {
    border-bottom: none;
    padding: 1.5rem;
}

.guide-section .card-body {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.98) !important;
}

.guide-section .card-header h3 {
    font-weight: 700;
    margin: 0;
}

.guide-section .card-header i {
    font-size: 1.5rem;
}

/* FAQ Accordion */
.accordion-button {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(23, 162, 184, 0.3);
    color: #000000 !important;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: rgba(23, 162, 184, 0.9) !important;
    color: #ffffff !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
    border-color: #17a2b8;
}

.accordion-button::after {
    filter: none;
}

.accordion-body {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(23, 162, 184, 0.2);
    color: #000000;
}

/* Back to Top Button */
#backToTop {
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

/* Guide Section Links */
.guide-section a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.guide-section a:hover {
    color: #0b5ed7;
    text-decoration: underline;
}

/* Contact Support Section */
.contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-info .contact-item i {
    margin-right: 0.75rem;
    color: #17a2b8;
    width: 20px;
}

.contact-info .contact-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info .contact-item a:hover {
    color: #17a2b8;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #17a2b8;
    color: #ffffff;
    transform: translateY(-2px);
}

/* User Guide specific text colors */
.guide-section .text-white {
    color: #000000 !important;
}

.guide-section .text-white-50 {
    color: #495057 !important;
}

.guide-section .text-primary {
    color: #0d6efd !important;
}

.guide-section .text-success {
    color: #198754 !important;
}

.guide-section .text-warning {
    color: #ffc107 !important;
}

.guide-section .text-info {
    color: #0dcaf0 !important;
}

.guide-section .text-danger {
    color: #dc3545 !important;
}

.guide-section .text-secondary {
    color: #6c757d !important;
}

/* Card headers with better contrast */
.guide-section .card-header.bg-primary {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7) !important;
}

.guide-section .card-header.bg-success {
    background: linear-gradient(135deg, #198754, #157347) !important;
}

.guide-section .card-header.bg-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800) !important;
}

.guide-section .card-header.bg-info {
    background: linear-gradient(135deg, #0dcaf0, #0aa2c0) !important;
}

.guide-section .card-header.bg-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268) !important;
}

.guide-section .card-header.bg-danger {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
}

.guide-section .card-header.bg-dark {
    background: linear-gradient(135deg, #212529, #1a1d20) !important;
}

/* Responsive adjustments for user guide */
@media (max-width: 768px) {
    .guide-section .card-body {
        padding: 1.5rem;
    }
    
    .guide-section .card-header {
        padding: 1rem;
    }
    
    .guide-section .card-header h3 {
        font-size: 1.25rem;
    }
    
    .social-links {
        justify-content: center;
    }
}
