/* Page Background - Chaos Style (Prydwen) */
      body {
        min-height: 100vh;
        position: relative;
      }

      /* Ensure content stays above background */
      .content-container, header, nav, .navbar, .intro-container, section, footer {
        position: relative;
        z-index: 2;
      }

      .page-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1000px; /* Fixed height fade area */
        z-index: 1;
        pointer-events: none;
        overflow: hidden;
      }

      .bg-image {
        position: absolute;
        top: 0;
        left: calc(50vw + 80px); /* Cen* Center from content container middle */
        transform: translateX(-50%); /* Center the image on that point */
        width: 100vw; /* Full viewport width */
        height: 100%;
        background-image: url('https://ik.imagekit.io/frnrxcqkq/images/haikyu-flyhigh-thumb.jpg?tr=w-1920,q-85');
        background-size: cover;
        background-position: center top;
        opacity: 0.08; /* Very subtle transparency */
        filter: saturate(0); /* Keep it grayscale */
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
        mix-blend-mode: luminosity;
      }

      /* Intro Discord Button Style */
      .intro-discord-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background-color: #7a5af8a1; /* Updated color */
        color: white;
        padding: 12px 28px;
        border-radius: 2px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.05rem;
        transition: all 0.2s ease;
        box-shadow: 0 4px 10px rgba(122, 90, 248, 0.3);
      }

      .intro-discord-btn:hover {
        background: linear-gradient(135deg, #4752c4 0%, #5b6eae 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(88, 101, 242, 0.5);
        color: white;
      }

      .intro-discord-btn i {
        font-size: 1.3rem;
      }

      /* Desktop Layout - Content with fixed left margin and responsive right margin */
      /* Mobile responsive fixes for Haikyu index */
      @media (max-width: 1080px) {
        .bg-image {
          left: 50%;
        }
      }

      @media (max-width: 768px) {
        .Intro {
          text-align: center !important;
          padding: 0 10px !important;
        }

        .Intro h1 {
          font-size: 1.5rem !important;
        }
      }

      @media (max-width: 480px) {
        .Intro h1 {
          font-size: 1.3rem !important;
        }
      }

/* Patch Modal Styles */
.patch-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.patch-modal-content {
    background: linear-gradient(135deg, #1A1A1D 0%, #2A2A2D 100%);
    margin: 5% auto;
    padding: 0;
    border: 2px solid #7a5af8a1;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.patch-modal-header {
    background: linear-gradient(135deg, #7a5af8a1, #5a3fb8);
    color: white;
    padding: 20px;
    border-radius: 13px 13px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.patch-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.patch-modal-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.patch-modal-close:hover {
    transform: scale(1.2);
    color: #ff6b6b;
}

.patch-modal-body {
    padding: 25px;
    color: #e6e6e6;
    line-height: 1.6;
}

.patch-note {
    margin-bottom: 30px;
}

.patch-note h3 {
    color: #7a5af8a1;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.patch-date {
    color: #a28089;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.patch-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #7a5af8a1;
}

.patch-content p {
    margin: 10px 0;
}

.patch-content h4 {
    color: #7a5af8a1;
    margin: 20px 0 10px 0;
}

.patch-content h5 {
    color: #e6e6e6;
    margin: 15px 0 10px 0;
}

.patch-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.patch-content li {
    margin: 5px 0;
}

.patch-separator {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #7a5af8a1, transparent);
    margin: 30px 0;
}

/* Enhanced Patch Preview Styles */
.patch-summary {
    margin: 15px 0;
}

.patch-item {
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #7a5af8a1;
    transition: all 0.3s ease;
}

.patch-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.patch-text strong {
    color: #7a5af8a1;
    display: block;
    margin-bottom: 5px;
}

.patch-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #e6e6e6;
    line-height: 1.4;
}

.cta-button {
    background: linear-gradient(135deg, #7a5af8a1, #5a3fb8);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 15px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(122, 90, 248, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .patch-modal-content {
        margin: 2% auto;
        width: 95%;
        max-height: 90vh;
    }

    .patch-modal-header {
        padding: 15px;
    }

    .patch-modal-header h2 {
        font-size: 1.3rem;
    }

    .patch-modal-body {
        padding: 15px;
    }

    .patch-note h3 {
        font-size: 1.1rem;
    }

    .patch-item {
        text-align: center;
    }
}


