﻿/* Feature Comparison Section */
.feature-comparison-section {
    background: rgba(15, 19, 35, 0.8) !important;
    backdrop-filter: blur(20px);
    padding: 4rem 0;
    color: white !important;
    overflow-x: hidden;
}

.comparison-table-wrapper {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    margin: 2rem auto;
    max-width: 900px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.comparison-table-main {
    margin: 0;
    color: white !important;
    min-width: 600px;
    white-space: nowrap;
}

.comparison-table-main td,
.comparison-table-main th {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    padding: 0.5rem 0.25rem;
    vertical-align: middle;
}

.plan-header {
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.plan-header.free {
    background: rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.plan-header.premium {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.highlight-row {
    background: rgba(102, 126, 234, 0.1) !important;
}

.cta-row td {
    padding: 1.5rem;
    background: rgba(15, 19, 35, 0.5) !important;
}

/* Button styles */
.btn-gradient {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(45deg, #5a6fd8, #6a5b96);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.pulse-effect {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); 
    }
    50% { 
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.6); 
    }
}

/* Enhanced Final Call to Action */
.final-cta-section {
    margin-top: 3rem;
}

.cta-background {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.pricing-highlight {
    margin: 2rem 0;
}

.price-text {
    font-size: 1.1rem;
    color: white !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: white !important;
    margin: 0 0.5rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.price-period {
    font-size: 1.2rem;
    color: white !important;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.mega-pulse {
    animation: mega-pulse-glow 3s ease-in-out infinite;
}

@keyframes mega-pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 50px rgba(102, 126, 234, 0.7);
        transform: scale(1.05);
    }
}

.guarantees {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white !important;
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Feature Tabs */
.feature-tabs .nav-link {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.feature-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.feature-tabs .nav-link.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
}

.feature-content {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white !important;
}

/* Tab Content Area Styles */
#featureTabContent {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

.premium-title {
    color: white !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.premium-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1rem;
}

#featureTabContent p {
    color: rgba(255, 255, 255, 0.9) !important;
}

#featureTabContent .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.game-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    color: white;
}

.game-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

}

}

}

}

.premium-unlock-banner {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

/* Online Services and Support Tab Styles */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.benefit-item h4 {
    color: white !important;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.benefit-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

}

/* Mobile-first responsive design for feature comparison */
.feature-comparison-section {
    overflow-x: hidden;
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    margin: 2rem auto;
    max-width: 900px;
}

.comparison-table-main {
    min-width: 600px;
    white-space: nowrap;
    margin: 0 auto;
}

/* Desktop styles - ensure proper centering */
@media (min-width: 768px) {
    .comparison-table-wrapper {
        display: block;
        margin: 2rem auto;
        padding: 0;
        max-width: 900px;
        overflow-x: visible;
    }
    
    .comparison-table-main {
        margin: 0 auto;
        width: 100%;
        max-width: 900px;
    }
    
    .mobile-comparison-cards {
        display: none !important;
    }
}

/* Mobile styles */
@media (max-width: 767.98px) {
    .comparison-table-wrapper {
        margin: 0 -20px;
        padding: 0 20px;
        border-radius: 0;
        max-width: none;
        overflow-x: auto;
    }
    
    .comparison-table-main {
        min-width: 500px;
        font-size: 0.875rem;
    }
    
    .comparison-table-main th,
    .comparison-table-main td {
        padding: 0.5rem 0.25rem;
        vertical-align: middle;
    }
    
    .plan-header {
        font-size: 0.875rem;
        padding: 0.25rem;
    }
    
    .plan-header small {
        font-size: 0.75rem;
    }
    
    .plan-header div {
        line-height: 1.2;
    }
    
    /* Make buttons smaller on mobile */
    .cta-row .btn {
        font-size: 0.75rem;
        padding: 0.375rem 0.5rem;
        white-space: nowrap;
    }
    
    /* Adjust icon sizes */
    .comparison-table-main .bi {
        font-size: 1rem;
    }
    
    /* Show mobile cards on small screens */
    .mobile-comparison-cards {
        display: block !important;
    }
    
    /* Hide table on mobile */
    .comparison-table-wrapper {
        display: none;
    }
    
    .d-md-none {
        display: block !important;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .comparison-table-main {
        min-width: 450px;
        font-size: 0.75rem;
    }
    
    .comparison-table-main th,
    .comparison-table-main td {
        padding: 0.375rem 0.125rem;
    }
    
    .plan-header {
        font-size: 0.75rem;
    }
    
    .plan-header small {
        font-size: 0.625rem;
    }
}

/* Additional mobile-friendly detailed features */
@media (max-width: 768px) {
    .feature-tabs .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .feature-tabs .nav-link i {
        display: none;
    }
    
    .detailed-features-section {
        margin-top: 2rem !important;
    }
}

/* Ensure smooth scrolling on mobile table */
.comparison-table-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 transparent;
}

.comparison-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.comparison-table-wrapper::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
}

.comparison-table-wrapper::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.comparison-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}