/* Forum Page Specific Styles */

/* Forum Hero */
.forum-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(91, 33, 182, 0.9));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.forum-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
}

.forum-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.forum-hero h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light);
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.forum-hero p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Comparison Table */
.comparison-table {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(91, 33, 182, 0.9), rgba(16, 33, 62, 0.9));
}

.comparison-table h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

.table-wrapper {
    overflow-x: auto;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
}

.comparison {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

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

.comparison th {
    background: rgba(99, 102, 241, 0.2);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px 12px 0 0;
}

.comparison td {
    color: var(--text-light);
    opacity: 0.9;
}

.comparison th.winner,
.comparison td.winner {
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.3), rgba(6, 182, 212, 0.3));
    color: var(--success-color);
    font-weight: 700;
    position: relative;
    animation: winnerPulse 2s ease-in-out infinite;
}

.comparison th.winner::before {
    content: '👑';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
    animation: crownFloat 3s ease-in-out infinite;
}

.comparison tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Why Winner */
.why-winner {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(16, 33, 62, 0.9), rgba(30, 27, 75, 0.9));
}

.why-winner h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

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

.advantage-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: advantageSlide 0.8s ease-out;
}

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

.advantage-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    position: relative;
    z-index: 2;
    animation: iconSpin 4s linear infinite;
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
    position: relative;
    z-index: 2;
}

.advantage-card p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Exclusive Perks */
.exclusive-perks {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.9), rgba(91, 33, 182, 0.9));
}

.exclusive-perks h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

.perks-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.perk-item {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.perk-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px 0 0 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.perk-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.perk-item:hover::before {
    opacity: 1;
}

.perk-item i {
    font-size: 48px;
    color: var(--accent-color);
    min-width: 60px;
    text-align: center;
    animation: perkGlow 3s ease-in-out infinite alternate;
}

.perk-content h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.perk-content p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
}

/* Player Reviews */
.player-reviews {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(91, 33, 182, 0.9), rgba(30, 27, 75, 0.9));
}

.player-reviews h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

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

.review-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.review-card.pglucky88 {
    border: 2px solid var(--success-color);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}

.casino-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.review-card.pglucky88 .casino-name {
    color: var(--success-color);
}

.review-card:not(.pglucky88) .casino-name {
    color: var(--text-light);
    opacity: 0.7;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
}

.rating i {
    color: var(--accent-color);
    font-size: 16px;
}

.rating span {
    margin-left: 8px;
    font-weight: 600;
    color: white;
}

.review-card p {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.6;
}

.review-card cite {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(91, 33, 182, 0.9));
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

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

/* Animations */
@keyframes gridMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-10px); }
}

@keyframes winnerPulse {
    0%, 100% { background-size: 100% 100%; }
    50% { background-size: 105% 105%; }
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

@keyframes advantageSlide {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes iconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes perkGlow {
    0% { text-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
    100% { text-shadow: 0 0 20px rgba(245, 158, 11, 0.8); }
}

/* Responsive Design */
@media (max-width: 968px) {
    .table-wrapper {
        padding: 16px;
    }
    
    .comparison th,
    .comparison td {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .comparison th {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .forum-hero h1 {
        font-size: 32px;
    }
    
    .forum-hero h2 {
        font-size: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .perk-item {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .comparison th,
    .comparison td {
        padding: 8px 4px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .forum-hero {
        padding: 60px 0;
    }
    
    .advantage-card, .perk-item, .review-card {
        margin: 0 10px;
    }
    
    .table-wrapper {
        margin: 0 10px;
    }
    
    .perk-item i {
        font-size: 36px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
}