/* ========== MULTIPLAYER PAGE STYLES ========== */

.multiplayer-page {
    min-height: 100vh;
    background: var(--primary-bg);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* CRITICAL: Ensure all main content is visible */

.multiplayer-page * {
    visibility: visible !important;
}

.multiplayer-page section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* ========== HERO SECTION ========== */

.multiplayer-hero {
    min-height: 60vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 69, 0, 0.05) 50%, rgba(0, 0, 0, 0.8) 100%);
    position: relative;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.glow-box {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.team-stats {
    display: flex !important;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
    visibility: visible !important;
    opacity: 1 !important;
}

.team-stats .stat {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    visibility: visible !important;
    opacity: 1 !important;
}

.team-stats .stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
}

.team-stats .stat i {
    font-size: 2rem;
    color: var(--accent-orange);
    visibility: visible !important;
    opacity: 1 !important;
}

.team-stats .stat span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    visibility: visible !important;
    opacity: 1 !important;
}

.multiplayer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/Teams/Multiplayer.png') center/cover;
    opacity: 0.1;
    z-index: -1;
}


/* ========== COMING SOON SECTION ========== */

.coming-soon-section {
    padding: 80px 20px;
    text-align: center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.coming-soon-content {
    max-width: 1000px;
    margin: 0 auto;
}


/* ========== LOADING ANIMATION ========== */

.loading-animation {
    margin-bottom: 60px;
}

.loading-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 4px;
    width: 0%;
    animation: loadingProgress 3s ease-in-out infinite;
    position: relative;
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loadingShine 2s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}

@keyframes loadingShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.loading-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.loading-dots {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s ease;
    position: relative;
}

.loading-dots::after {
    content: '...';
    animation: loadingDots 2s infinite;
}

@keyframes loadingDots {
    0%,
    20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%,
    100% {
        content: '...';
    }
}

.loading-dots:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots:nth-child(2) {
    animation-delay: 0.5s;
}

.loading-dots:nth-child(3) {
    animation-delay: 1s;
}

.loading-dots:nth-child(4) {
    animation-delay: 1.5s;
}


/* ========== COMING SOON INFO ========== */

.coming-soon-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 40px;
}

.info-card {
    background: linear-gradient(145deg, rgba(17, 17, 17, 0.8), rgba(25, 25, 25, 0.9));
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 107, 53, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: rotate 4s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.2);
}

.info-card i {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    display: block;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}


/* ========== BACK TO TEAMS SECTION ========== */

.back-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.back-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.back-button:hover {
    background: rgba(255, 107, 53, 1);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.back-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.back-button:hover i {
    transform: translateX(-3px);
}

.back-button span {
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* ========== FOOTER VISIBILITY ========== */

.footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1;
}


/* ========== SCROLL REVEAL ========== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ========== RESPONSIVE DESIGN ========== */


/* Tablet Styles */

@media (min-width: 769px) and (max-width: 1024px) {
    .multiplayer-hero {
        padding: 70px 30px 50px;
        min-height: 55vh;
    }
    .hero-content h1 {
        font-size: 3rem !important;
    }
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
    .team-stats {
        gap: 30px;
    }
    .team-stats .stat {
        padding: 18px;
    }
    .coming-soon-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .info-card {
        padding: 1.5rem;
    }
    .info-card i {
        font-size: 2.5rem;
    }
    .info-card h3 {
        font-size: 1.3rem;
    }
    .info-card p {
        font-size: 1rem;
    }
    .back-section {
        padding: 50px 30px;
    }
    .back-button {
        padding: 14px 22px;
        font-size: 0.95rem;
    }
}


/* Mobile Styles */

@media (max-width: 768px) {
    /* Back section mobile */
    .back-section {
        padding: 40px 15px;
    }
    .back-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .back-button span {
        display: inline;
    }
    .back-button i {
        font-size: 1rem;
    }
    /* Hero section mobile */
    .multiplayer-hero {
        padding: 60px 15px 30px;
        min-height: 50vh;
    }
    .hero-content h1 {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
    }
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 20px;
    }
    .team-stats {
        gap: 15px;
        margin-top: 20px;
    }
    .team-stats .stat {
        padding: 15px;
        gap: 8px;
    }
    .team-stats .stat i {
        font-size: 1.5rem;
    }
    .team-stats .stat span {
        font-size: 0.9rem;
    }
    /* Coming soon section mobile */
    .coming-soon-section {
        padding: 60px 15px;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .section-header p {
        font-size: 1rem;
    }
    .loading-text {
        flex-direction: column;
        gap: 15px;
    }
    .loading-dots {
        font-size: 0.9rem;
    }
    .coming-soon-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 30px;
    }
    .info-card {
        padding: 1.5rem;
    }
    .info-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    .info-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .info-card p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Back section small mobile */
    .back-section {
        padding: 30px 10px;
    }
    .back-button {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    .back-button i {
        font-size: 0.9rem;
    }
    /* Hero section small mobile */
    .multiplayer-hero {
        padding: 50px 10px 20px;
        min-height: 40vh;
    }
    .hero-content h1 {
        font-size: 2rem !important;
        margin-bottom: 0.8rem;
    }
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 15px;
    }
    .team-stats {
        flex-direction: column;
        gap: 12px;
        margin-top: 15px;
    }
    .team-stats .stat {
        padding: 12px;
        gap: 6px;
    }
    .team-stats .stat i {
        font-size: 1.3rem;
    }
    .team-stats .stat span {
        font-size: 0.8rem;
    }
    /* Coming soon section small mobile */
    .coming-soon-section {
        padding: 50px 10px;
    }
    .section-header {
        margin-bottom: 30px;
    }
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .section-header p {
        font-size: 0.9rem;
    }
    .loading-bar {
        height: 6px;
        margin-bottom: 20px;
    }
    .loading-text {
        gap: 10px;
    }
    .loading-dots {
        font-size: 0.8rem;
    }
    .coming-soon-info {
        gap: 1rem;
        margin-top: 25px;
    }
    .info-card {
        padding: 1.2rem;
    }
    .info-card i {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    .info-card h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    .info-card p {
        font-size: 0.9rem;
    }
}


/* Landscape Mobile Styles */

@media (max-width: 768px) and (orientation: landscape) {
    .multiplayer-hero {
        min-height: 30vh;
        padding: 40px 15px 20px;
    }
    .hero-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem;
    }
    .hero-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 10px;
    }
    .team-stats {
        gap: 10px;
        margin-top: 10px;
    }
    .team-stats .stat {
        padding: 8px;
        gap: 4px;
    }
    .team-stats .stat i {
        font-size: 1.1rem;
    }
    .team-stats .stat span {
        font-size: 0.7rem;
    }
    .coming-soon-section {
        padding: 40px 15px;
    }
    .section-header {
        margin-bottom: 25px;
    }
    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }

    .section-header p {
        font-size: 0.8rem;
    }
    .loading-text {
        flex-direction: row;
        justify-content: space-around;
        gap: 10px;
    }
    .loading-dots {
        font-size: 0.7rem;
    }
    .coming-soon-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 20px;
    }
    .info-card {
        padding: 1rem;
    }
    .info-card i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .info-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .info-card p {
        font-size: 0.8rem;
    }
    .back-section {
        padding: 25px 15px;
    }
    .back-button {
        padding: 8px 14px;
        font-size: 0.7rem;
    }
    .back-button i {
        font-size: 0.8rem;
    }
}