/* Forum Page Specific Styles */

.forum-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease;
}

.forum-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.forum-header h2 {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.forum-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Sidebar Enhancements */
.comparison-widget {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 30px;
}

.comparison-widget h3 {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin: 0 20px 15px;
    letter-spacing: 0.5px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.ranking-item:hover {
    background: rgba(255, 215, 0, 0.05);
}

.ranking-item.winner {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.rank {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: var(--background-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.ranking-item.winner .rank {
    animation: pulse 2s infinite;
}

.casino-name {
    flex: 1;
    font-weight: 600;
}

.score {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Comparison Table Section */
.comparison-table-section {
    margin-bottom: 60px;
}

.comparison-table-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.table-container {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    overflow-x: auto;
    animation: fadeInUp 0.8s ease;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 10;
}

.casino-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.casino-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.casino-header span {
    font-size: 16px;
    font-weight: 700;
}

.winner-column {
    background: rgba(255, 215, 0, 0.1) !important;
    position: relative;
}

.winner-badge {
    background: var(--gradient-primary);
    color: var(--background-dark);
    padding: 4px 8px;
    border-radius: var(--border-radius);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    animation: glow 2s infinite;
}

.feature-name {
    font-weight: 600;
    color: var(--text-primary);
    text-align: left !important;
    min-width: 150px;
}

.winner-cell {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.winner-cell .value {
    display: inline-block;
    margin-right: 10px;
}

.winner-icon {
    font-size: 16px;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

.comparison-table td {
    color: var(--text-secondary);
    transition: var(--transition);
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Advantages Section */
.advantages-section {
    margin-bottom: 60px;
}

.advantages-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }
.advantage-card:nth-child(4) { animation-delay: 0.4s; }
.advantage-card:nth-child(5) { animation-delay: 0.5s; }
.advantage-card:nth-child(6) { animation-delay: 0.6s; }

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.advantage-card:hover::before {
    left: 100%;
}

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

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--background-dark);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.advantage-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.advantage-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.advantage-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.advantage-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    max-width: fit-content;
}

.comparison {
    color: var(--text-muted);
    font-size: 11px;
    font-style: italic;
}

/* Reviews Section */
.reviews-section {
    margin-bottom: 60px;
}

.reviews-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    position: relative;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }

.review-card.jackpot108 {
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.review-card.competitor {
    border-left: 4px solid var(--error-color);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.casino-badge {
    padding: 6px 12px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.jackpot108-badge {
    background: var(--gradient-primary);
    color: var(--background-dark);
}

.competitor-badge {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating i {
    color: var(--primary-color);
    font-size: 14px;
}

.rating i.far {
    color: var(--text-muted);
}

.rating span {
    margin-left: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.review-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviewer-info strong {
    color: var(--text-primary);
    font-weight: 600;
}

.reviewer-info span {
    color: var(--text-muted);
    font-size: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Statistics Section */
.statistics-section {
    margin-bottom: 60px;
}

.statistics-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card.winner {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    position: relative;
}

.stat-card.winner::after {
    content: '👑';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 30px;
    animation: bounce 2s infinite;
}

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

.stat-casino {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.stat-card.winner .stat-casino {
    color: var(--primary-color);
}

.stat-metrics {
    display: grid;
    gap: 15px;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
}

.metric-label {
    color: var(--text-secondary);
    font-size: 13px;
}

.metric-value {
    font-weight: 700;
    font-size: 14px;
}

.metric-value.success {
    color: var(--success-color);
}

.metric-value.warning {
    color: var(--warning-color);
}

.metric-value.error {
    color: var(--error-color);
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 60px;
}

.benefits-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

.benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 215, 0, 0.05), transparent 30%);
    animation: rotate 6s linear infinite;
}

.benefit-card > * {
    position: relative;
    z-index: 2;
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--background-dark);
    margin: 0 auto 20px;
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.benefit-card ul {
    list-style: none;
    text-align: left;
}

.benefit-card li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.benefit-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* Final CTA Section */
.final-cta {
    margin-bottom: 60px;
}

.cta-container {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

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

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--background-dark);
}

.cta-content p {
    font-size: 18px;
    color: var(--background-dark);
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--background-dark);
    font-weight: 600;
}

.highlight i {
    font-size: 18px;
    color: var(--background-dark);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-actions .btn {
    background: var(--background-dark);
    color: var(--primary-color);
    border: none;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 700;
}

.cta-actions .btn:hover {
    background: var(--surface-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .advantages-grid,
    .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .forum-header h1 {
        font-size: 32px;
    }
    
    .forum-header h2 {
        font-size: 20px;
    }
    
    .table-container {
        padding: 20px 15px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
        font-size: 13px;
    }
    
    .casino-header {
        min-width: 100px;
    }
    
    .casino-header img {
        width: 30px;
        height: 30px;
    }
    
    .casino-header span {
        font-size: 14px;
    }
    
    .advantages-grid,
    .reviews-grid,
    .stats-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-highlights {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .advantages-section h2,
    .reviews-section h2,
    .statistics-section h2,
    .benefits-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .forum-header h1 {
        font-size: 26px;
    }
    
    .forum-header h2 {
        font-size: 18px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .feature-name {
        min-width: 120px;
    }
    
    .casino-header {
        min-width: 80px;
    }
    
    .casino-header span {
        font-size: 12px;
    }
    
    .advantage-card,
    .review-card,
    .stat-card,
    .benefit-card {
        padding: 20px;
    }
    
    .cta-container {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .advantages-section h2,
    .reviews-section h2,
    .statistics-section h2,
    .benefits-section h2 {
        font-size: 24px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* Animation Keyframes */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}