/* Joy88 Casino Forum/About Page Styles */
@import url('index.css'); /* Import base styles */

/* Forum-specific styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 50%);
    animation: rotate 25s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content 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;
}

.hero-content h2 {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-content p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 15px 25px;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--neon-glow);
}

.badge i {
    font-size: 20px;
    color: var(--primary-color);
}

/* Comparison Table */
.comparison {
    padding: 80px 0;
    background: var(--darker-bg);
}

.comparison h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.comparison-table {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: var(--gradient-primary);
    padding: 20px;
    font-weight: 700;
    font-size: 18px;
}

.casino-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.casino-col img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
}

.casino-col.joy88 {
    color: white;
}

.casino-col.competitor {
    color: rgba(255, 255, 255, 0.8);
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.table-row:hover {
    background: rgba(255, 107, 53, 0.05);
}

.table-row:last-child {
    border-bottom: none;
}

.feature {
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.value {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.joy88-value {
    background: var(--gradient-success);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: winner-glow 2s ease-in-out infinite;
}

.value i.fas.fa-check-circle {
    color: var(--success-color);
}

.value i.fas.fa-times-circle {
    color: var(--danger-color);
}

/* Our Values */
.our-values {
    padding: 80px 0;
    background: var(--dark-bg);
}

.our-values h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.value-icon {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.value-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.value-card p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.value-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Why Choose Joy88 */
.why-choose {
    padding: 80px 0;
    background: var(--darker-bg);
}

.why-choose h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.reason-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reason-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.reason-number {
    position: absolute;
    top: -10px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.reason-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.reason-card p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.reason-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.reason-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 107, 53, 0.1);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-color);
}

/* Certifications */
.certifications {
    padding: 80px 0;
    background: var(--dark-bg);
}

.certifications h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cert-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cert-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.cert-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.cert-card p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

/* Community */
.community {
    padding: 80px 0;
    background: var(--darker-bg);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.community-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 15px;
}

.community-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.community-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 5px;
}

.btn-join {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-join:hover {
    transform: scale(1.05);
    box-shadow: var(--neon-glow);
}

.community-visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-cta.primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-cta.primary:hover {
    background: transparent;
    color: white;
    transform: scale(1.05);
}

.btn-cta.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-cta.secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .community-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .community-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .section h2 {
        font-size: 28px;
    }
    
    .reason-card,
    .value-card,
    .cert-card {
        padding: 20px;
    }
    
    .reason-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .community-visual img {
        height: 250px;
    }
}

/* Special animations for forum page */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-card,
.reason-card,
.cert-card {
    animation: fadeInUp 0.6s ease;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }

.reason-card:nth-child(1) { animation-delay: 0.1s; }
.reason-card:nth-child(2) { animation-delay: 0.2s; }
.reason-card:nth-child(3) { animation-delay: 0.3s; }
.reason-card:nth-child(4) { animation-delay: 0.4s; }

/* Comparison table animation */
.table-row {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
