/* Boss Schedule Section - Full Styles from WebMuIntrol */
.boss-schedule-section {
    padding: 100px 0;
    background-image: url('../images/backgruond.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.boss-schedule-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.Events-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.Events-head {
    margin-bottom: 40px;
    text-align: center;
}

.section-title {
    color: #d4af37;
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    margin-bottom: 20px;
}

/* Events Navigation List */
.Events-nav-list {
    margin-bottom: 40px;
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Boss Navigation Buttons (Prev/Next) */
.boss-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.boss-nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.boss-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.boss-nav-prev {
    left: -70px;
}

.boss-nav-next {
    right: -70px;
}

/* Hover Image Effect for Navigation Buttons */
.boss-nav-btn .img-normal,
.boss-nav-btn .img-hover {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.boss-nav-btn .img-normal {
    position: relative;
    display: block;
}

.boss-nav-btn .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.boss-nav-btn:hover .img-normal {
    opacity: 0;
    visibility: hidden;
}

.boss-nav-btn:hover .img-hover {
    opacity: 1;
    visibility: visible;
}

/* Events Nav List Slider (Boss Menu) */
.Events-nav-list-slider {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    overflow-x: auto;
    overflow-y: hidden;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.Events-nav-list-slider::-webkit-scrollbar {
    display: none;
}

.Events-nav-list-slider-item {
    flex: 0 0 auto;
}

/* Events Nav Items (Boss Icons) */
.Events-nav-item {
    display: block;
    position: relative;
    width: 120px;
    height: 140px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.Events-nav-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease-out;
}

/* Hover Image Effect for Boss Icons */
.Events-nav-item .img-normal {
    position: relative;
    display: block;
}

.Events-nav-item .img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
}

.Events-nav-item:hover .img-hover,
.Events-nav-item.active .img-hover {
    opacity: 1;
    visibility: visible;
}

.Events-nav-item:hover,
.Events-nav-item.active {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Boss Nav Items (Same as Events Nav Items) */
.Boss-nav-item {
    display: block;
    position: relative;
    width: 120px;
    height: 140px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.Boss-nav-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease-out;
}

.Boss-nav-item .img-normal {
    position: relative;
    display: block;
}

.Boss-nav-item .img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
}

.Boss-nav-item:hover .img-hover,
.Boss-nav-item.active .img-hover {
    opacity: 1;
    visibility: visible;
}

.Boss-nav-item:hover,
.Boss-nav-item.active {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Boss Menu Text */
.Boss-nav-item .menu-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    pointer-events: none;
    z-index: 10;
    line-height: 1.2;
    max-width: 80%;
    word-wrap: break-word;
}

/* Boss Countdown Styling */
.boss-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(76, 0, 130, 0.9), rgba(0, 0, 139, 0.9));
    border: 1px solid #ffd700;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.boss-countdown i {
    color: #ffd700;
    font-size: 18px;
}

.boss-countdown .countdown-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.boss-countdown .countdown-timer {
    color: #ffd700;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Events Slider (Boss Info Container) */
.Events-slider {
    min-height: 400px;
    position: relative;
}

/* Events Item Animation */
.Events-item {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.Events-item:first-child {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Boss Info Card */
.boss-info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 15px 20px;
    max-width: 1000px;
    max-height: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(39, 2, 2, 0.6), 0 8px 32px rgba(61, 2, 2, 0.4);
    border-radius: 10px 10px 10px 10px;
}

.boss-title {
    color: #d4af37;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.boss-time-info,
.boss-location-info,
.boss-rewards-info,
.boss-countdown-info {
    margin: 8px 0;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-left: 4px solid #d4af37;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.time-label,
.location-label,
.rewards-label,
.countdown-label {
    color: #6eadfc;
    font-size: 0.75rem;
    margin-bottom: 5px;
    font-weight: 500;
    word-wrap: break-word;
    text-align: center;
}

.time-value {
    color: #ff00cc;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 0, 204, 0.6);
    word-wrap: break-word;
    text-align: center;
}

.location-value {
    color: #00ff60;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 96, 0.6);
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.rewards-value {
    color: #ffd700;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.countdown {
    color: #ff0000;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    font-family: 'Courier New', monospace;
    word-wrap: break-word;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .boss-info-card {
        padding: 12px 18px;
        max-width: 900px;
    }
    .boss-title {
        font-size: 1.3rem;
    }
    .time-value {
        font-size: 1.0rem;
    }
    .countdown {
        font-size: 1.1rem !important;
    }
    .Events-nav-list {
        max-width: 95%;
        margin-bottom: 35px;
    }
    .boss-nav-btn {
        width: 50px;
        height: 50px;
    }
    .boss-nav-prev {
        left: -60px;
    }
    .boss-nav-next {
        right: -60px;
    }
}

@media (max-width: 1024px) {
    .Events-nav-item {
        width: 100px;
        height: 120px;
    }
}

@media (max-width: 992px) {
    .boss-info-card {
        padding: 10px 15px;
        max-width: 800px;
    }
    .boss-title {
        font-size: 1.2rem;
    }
    .time-label,
    .location-label,
    .rewards-label,
    .countdown-label {
        font-size: 0.7rem;
    }
    .time-value {
        font-size: 0.9rem !important;
    }
    .location-value {
        font-size: 0.8rem;
    }
    .rewards-value {
        font-size: 0.75rem;
    }
    .countdown {
        font-size: 1.0rem !important;
    }
    .Events-nav-list {
        max-width: 90%;
        margin-bottom: 30px;
    }
    .boss-nav-btn {
        width: 45px;
        height: 45px;
    }
    .boss-nav-prev {
        left: -50px;
    }
    .boss-nav-next {
        right: -50px;
    }
}

@media (max-width: 768px) {
    .boss-info-card {
        padding: 8px 12px;
        max-width: 95%;
    }
    .boss-title {
        font-size: 1.1rem;
    }
    .time-label,
    .location-label,
    .rewards-label,
    .countdown-label {
        font-size: 0.65rem;
    }
    .time-value {
        font-size: 0.85rem !important;
    }
    .location-value {
        font-size: 0.75rem;
    }
    .rewards-value {
        font-size: 0.7rem;
    }
    .countdown {
        font-size: 0.95rem !important;
    }
    .Events-nav-list {
        max-width: 85%;
        margin-bottom: 25px;
    }
    .boss-nav-btn {
        width: 40px;
        height: 40px;
    }
    .boss-nav-prev {
        left: -45px;
    }
    .boss-nav-next {
        right: -45px;
    }
    .Events-nav-list-slider {
        gap: 10px;
        padding: 15px;
    }
    .Events-nav-item {
        width: 80px;
        height: 100px;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .boss-nav-btn {
        width: 35px;
        height: 35px;
    }
    .boss-nav-prev {
        left: -40px;
    }
    .boss-nav-next {
        right: -40px;
    }
    .boss-info-card {
        padding: 6px 10px;
        max-width: 95%;
    }
    .boss-title {
        font-size: 1.0rem;
        margin-bottom: 8px;
    }
    .boss-time-info,
    .boss-location-info,
    .boss-rewards-info,
    .boss-countdown-info {
        margin: 6px 0;
        padding: 6px 8px;
    }
    .time-label,
    .location-label,
    .rewards-label,
    .countdown-label {
        font-size: 0.6rem;
        margin-bottom: 4px;
    }
    .time-value {
        font-size: 0.8rem !important;
    }
    .location-value {
        font-size: 0.7rem;
    }
    .rewards-value {
        font-size: 0.65rem;
    }
    .countdown {
        font-size: 0.9rem !important;
    }
    .Events-nav-list {
        max-width: 80%;
        margin-bottom: 20px;
    }
}
