/* ========================================
   ABOUT SECTION STYLES - Seven Role Play
======================================== */

#about {
    padding: 6rem 0 8rem;
    background: linear-gradient(135deg, #0a0a0a 90%, #1a0d2e 100%, #0f0f23 100%);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    pointer-events: none;
    z-index: 1;
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Hero Section */
.about-hero {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(20px);
    border: 1px solid;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-badge.purple {
    background: linear-gradient(135deg, rgba(153, 18, 230, 0.3), rgba(168, 85, 247, 0.3));
    border-color: rgba(153, 18, 230, 0.6);
    color: #9912E6;
    box-shadow: 0 15px 40px rgba(153, 18, 230, 0.4);
}

.about-badge.purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.about-badge:hover::before {
    left: 100%;
}

.about-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 60px rgba(153, 18, 230, 0.6);
}

.about-title {
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 900;
    background: linear-gradient(135deg, #9912E6, #ffffff, #9912E6, #9912E6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-family: 'Tajawal', sans-serif !important;
    animation: gradientFlow 4s ease-in-out infinite;
    position: relative;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.title-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(153, 18, 230, 0.3), transparent);
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.about-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-family: 'Tajawal', sans-serif !important;
    line-height: 1.7;
}

/* Server Logo Section */
.server-logo-section {
    text-align: center;
    margin-bottom: 6rem;
}

.logo-container {
    display: inline-block;
    position: relative;
}

.main-logo {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.logo-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid rgba(153, 18, 230, 0.5);
    box-shadow: 
        0 0 50px rgba(153, 18, 230, 0.5),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    animation: logoFloat 6s ease-in-out infinite;
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 80px rgba(153, 18, 230, 0.8),
        inset 0 0 80px rgba(255, 255, 255, 0.2);
    border-color: rgba(153, 18, 230, 1);
}

.logo-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(153, 18, 230, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: glowExpand 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes glowExpand {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.logo-info h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif !important;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(153, 18, 230, 0.25), rgba(168, 85, 247, 0.25));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(153, 18, 230, 0.5);
    color: #9912E6;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 15px 40px rgba(153, 18, 230, 0.3);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9912E6, #9912E6, #9912E6, #9912E6);
    background-size: 300% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.about-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 40px 80px rgba(153, 18, 230, 0.4);
    border-color: rgba(153, 18, 230, 0.5);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.card-header i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9912E6;
}

.card-header.purple {
    color: #9912E6;
}

.card-header.purple i {
    background: rgba(153, 18, 230, 0.2);
    color: #9912E6;
}

.card-header.green i {
    background: rgba(0, 255, 136, 0.2);
    color: #9912E6;
}

.card-content h3 {
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-family: 'Tajawal', sans-serif !important;
}

.card-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-family: 'Tajawal', sans-serif !important;
}

.stats-mini span i {
    font-size: 1.1rem;
}

.vision-list {
    list-style: none;
    padding: 0;
}

.vision-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-family: 'Tajawal', sans-serif !important;
}

.vision-list li i {
    color: #9912E6;
    font-size: 1.2rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

/* Branches Grid - Fixed & Perfect */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.branch-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1.8rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    /* NO FIXED HEIGHT */
}

.branch-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #9912E6, #9912E6, #9912E6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.branch-item:hover::before {
    transform: scaleX(1);
}

.branch-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(153, 18, 230, 0.35);
    border-color: rgba(153, 18, 230, 0.4);
    background: rgba(153, 18, 230, 0.12);
}

.branch-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.branch-item:hover .branch-icon {
    transform: scale(1.1) rotate(5deg);
}

.branch-icon.discord {
    background: linear-gradient(135deg, #7289da, #5865f2);
    color: #fff;
    box-shadow: 0 12px 30px rgba(114, 137, 218, 0.4);
}

.branch-icon.support {
    background: linear-gradient(135deg, #9912E6, #ff8e8e);
    color: #fff;
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.4);
}

.branch-icon.factions {
    background: linear-gradient(135deg, #9912E6, #00cc6a);
    color: #000;
    box-shadow: 0 12px 30px rgba(0, 255, 136, 0.4);
    font-weight: 700;
}

.branch-info {
    flex: 1;
}

.branch-info h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    font-weight: 800;
    font-family: 'Tajawal', sans-serif !important;
    line-height: 1.3;
}

.branch-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-family: 'Tajawal', sans-serif !important;
    line-height: 1.5;
}

.branch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif !important;
    border: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Discord Button */
.branch-btn.discord-btn {
    background: linear-gradient(135deg, #7289da, #5865f2);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(114, 137, 218, 0.4);
}

.branch-btn.discord-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(114, 137, 218, 0.6);
}

/* Support Button */
.branch-btn.support-btn {
    background: linear-gradient(135deg, #9912E6, #ff8e8e);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.branch-btn.support-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.6);
}

/* Factions Button */
.branch-btn.factions-btn {
    background: linear-gradient(135deg, #9912E6, #00cc6a);
    color: #000 !important;
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
    font-weight: 800;
}

.branch-btn.factions-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 255, 136, 0.6);
}

/* Button Shine */
.branch-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.4s;
}

.branch-btn:hover::before {
    left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .branch-item {
        flex-direction: column;
        text-align: center;
        padding: 1.8rem;
        gap: 1.2rem;
    }
    
    .branch-info h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .branch-item {
        padding: 1.5rem;
    }
    
    .branch-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
}

/* Features Showcase */
.features-showcase {
    text-align: center;
    margin-bottom: 6rem;
}

.features-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 4rem;
    font-weight: 800;
    font-family: 'Tajawal', sans-serif !important;
    position: relative;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #9912E6, #9912E6);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #9912E6, transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(153, 18, 230, 0.4);
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: all 0.4s ease;
}

.feature-icon.advanced {
    background: linear-gradient(135deg, rgba(153, 18, 230, 0.3), rgba(168, 85, 247, 0.3));
    color: #9912E6;
    box-shadow: 0 15px 40px rgba(153, 18, 230, 0.4);
}

.feature-icon.community {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), rgba(0, 204, 106, 0.3));
    color: #9912E6;
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.4);
}

.feature-icon.secure {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.3), rgba(255, 142, 142, 0.3));
    color: #9912E6;
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.feature-icon.support {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 216, 0, 0.3));
    color: #ffc107;
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.4);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 20px 50px rgba(153, 18, 230, 0.6);
}

.feature-item h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif !important;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-family: 'Tajawal', sans-serif !important;
}

/* CTA Section */
.about-cta {
    text-align: center;
    padding: 5rem 3rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(153, 18, 230, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-cta > * {
    position: relative;
    z-index: 1;
}

.about-cta h3 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-family: 'Tajawal', sans-serif !important;
}

.about-cta p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-family: 'Tajawal', sans-serif !important;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    background: linear-gradient(135deg, #9912E6, #a855f7);
    color: #000 !important;
    padding: 1.5rem 4rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 20px 50px rgba(153, 18, 230, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Tajawal', sans-serif !important;
    position: relative;
    overflow: hidden;
}

.discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 30px 70px rgba(153, 18, 230, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    #about {
        padding: 4rem 0 6rem;
    }
    
    .about-hero {
        margin-bottom: 3rem;
    }
    
    .about-title {
        font-size: 2.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-card {
        padding: 2.5rem 2rem;
    }
    
    .logo-img {
        width: 160px;
        height: 160px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 2.5rem 1.5rem;
    }
    
    .about-cta {
        padding: 4rem 2rem;
    }
    
    .about-cta h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 2.3rem;
    }
    
    .logo-img {
        width: 140px;
        height: 140px;
    }
    
    .about-card {
        padding: 2rem 1.5rem;
    }
    
    .branch-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stats-mini {
        flex-direction: column;
        gap: 1rem;
    }
    
    .discord-btn {
        padding: 1.2rem 3rem;
        font-size: 1.1rem;
    }
}

/* Performance optimizations */
.about-card,
.feature-item,
.about-cta {
    will-change: transform;
}

.logo-img,
.discord-btn {
    will-change: transform, box-shadow;
}

    /* Branch Badges - Corner Style */
.branch-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(15px);
    border: 1px solid;
    animation: badgePulse 2s infinite;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.branch-item.discord .branch-badge {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.9), rgba(88, 101, 242, 0.9));
    color: #fff;
    border-color: rgba(114, 137, 218, 0.8);
    box-shadow: 0 8px 25px rgba(114, 137, 218, 0.4);
}

.branch-item.support .branch-badge {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(255, 142, 142, 0.9));
    color: #fff;
    border-color: rgba(255, 107, 107, 0.8);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.branch-item.factions .branch-badge {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.9), rgba(0, 204, 106, 0.9));
    color: #000;
    border-color: rgba(0, 255, 136, 0.8);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
    font-weight: 900;
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1) rotate(-2deg);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    50% { 
        transform: scale(1.08) rotate(1deg);
        box-shadow: 0 12px 35px rgba(153, 18, 230, 0.5);
    }
}

/* تأكد من position relative للـ branch-item */
.branch-item {
    position: relative; /* مهم جداً */
    /* باقي الستايل السابق */
}



/* CTA Wrapper with Video */
.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
}

.about-cta {
    /* نفس الستايل السابق + هذه الإضافات */
    order: 1;
}

.teaser-video {
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 13, 46, 0.9), rgba(15, 15, 35, 0.9));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(153, 18, 230, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.video-container:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(153, 18, 230, 0.8);
    box-shadow: 0 35px 80px rgba(153, 18, 230, 0.4);
}

.teaser-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.teaser-video-player:hover {
    transform: scale(1.05);
}

.video-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-overlay:hover {
    opacity: 0;
}

.video-overlay i {
    font-size: 4rem;
    color: #9912E6;
    text-shadow: 0 0 20px rgba(153, 18, 230, 0.8);
    transition: all 0.3s ease;
}

.video-overlay i:hover {
    transform: scale(1.2);
    color: #fff;
}

.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.95), rgba(255, 142, 142, 0.95));
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    animation: firePulse 2s infinite;
}

@keyframes firePulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4); }
    50% { box-shadow: 0 12px 35px rgba(255, 107, 107, 0.7); }
}

/* Auto-play on hover */
.video-container:hover .teaser-video-player {
    animation: playPulse 0.6s ease-in-out;
}

@keyframes playPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1.05); }
}


/* Responsive CTA + Video */
@media (max-width: 1024px) {
    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .video-container {
        height: 220px;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .video-container {
        height: 200px;
    }
    
    .about-cta {
        padding: 3rem 2rem;
    }
}

@media (max-width: 480px) {
    .video-container {
        height: 180px;
    }
}




/* Server Chat Section */
.server-chat-section {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.server-chat-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9912E6, #9912E6, #9912E6, #9912E6);
    background-size: 300% 100%;
    animation: shimmer 3s linear infinite;
}

/* Server Logo Header */
.server-logo-chat {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(153, 18, 230, 0.15);
    border-radius: 20px;
    border: 1px solid rgba(153, 18, 230, 0.3);
}

.chat-server-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(153, 18, 230, 0.4);
}

.logo-status {
    width: 12px;
    height: 12px;
    background: #9912E6;
    border-radius: 50%;
    border: 2px solid #0f0f23;
    animation: statusPulse 2s infinite;
}

.logo-status.online {
    background: #9912E6;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.8);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.server-name {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #9912E6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Arial Black', Arial, sans-serif;
}

/* Chat Container */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-message {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chat-message:hover {
    background: rgba(153, 18, 230, 0.12);
    border-color: rgba(153, 18, 230, 0.3);
    transform: translateX(8px);
}

.message-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.message-avatar i {
    font-size: 1.6rem;
}

.discord-invite .message-avatar {
    background: linear-gradient(135deg, #9912E6, #9912E6);
    color: #000;
}

.support-invite .message-avatar {
    background: linear-gradient(135deg, #9912E6, #9912E6);
    color: #000;
}

.factions-invite .message-avatar {
    background: linear-gradient(135deg, #9912E6, #9912E6);
    color: #000;
    font-weight: 700;
}

.message-content {
    flex: 1;
    min-width: 0;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.message-author {
    font-weight: 700;
    color: #9912E6;
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif !important;
}

.message-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.message-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: 'Tajawal', sans-serif !important;
}

.message-text .highlight {
    color: #9912E6;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(153, 18, 230, 0.5);
}

.chat-invite-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.6rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif !important;
    border: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.chat-invite-btn.discord {
    background: linear-gradient(135deg, #9912E6, #9912E6);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(153, 18, 230, 0.2);
}

.chat-invite-btn.support {
    background: linear-gradient(135deg, #9912E6, #9912E6);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(153, 18, 230, 0.2);
}

.chat-invite-btn.factions {
    background: linear-gradient(135deg, #9912E6, #9912E6);
    color: #000 !important;
    box-shadow: 0 6px 20px rgba(153, 18, 230, 0.2);
    font-weight: 800;
}

.chat-invite-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(153, 18, 230, 0.6);
}

/* Chat Shine Effect */
.chat-invite-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.4s;
}

.chat-invite-btn:hover::before {
    left: 100%;
}

/* Responsive Chat */
@media (max-width: 768px) {
    .server-chat-section {
        padding: 2rem;
    }
    
    .server-logo-chat {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .chat-message {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .message-header {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .chat-server-logo {
        width: 40px;
        height: 40px;
    }
    
    .message-avatar {
        width: 45px;
        height: 45px;
    }
}







