@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slide {
    width: 100%;
    height: 100vh;
    display: none; /* Initially hidden, JS will manage visibility */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(100%); /* Start off-screen to the right for new slides */
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    background-size: cover;
    background-position: center;
    overflow-y: auto; /* Allow scrolling for content that overflows */
}

.slide.active {
    display: flex;
    opacity: 1;
    transform: translateX(0); /* Slide in from the right */
    z-index: 10;
}

.slide.prev-active {
    /* For the slide that is moving out */
    transform: translateX(-100%); /* Slide out to the left */
    opacity: 0;
    z-index: 5;
}

.slide-content {
    background-color: rgba(17, 24, 39, 0.8); /* Slightly transparent dark background (bg-gray-900 equivalent with alpha) */
    backdrop-filter: blur(8px); /* Frosted glass effect */
    padding: 2rem; /* p-8 */
    border-radius: 0.75rem; /* rounded-xl */
    max-width: 900px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(55, 65, 81, 0.5); /* border-gray-700 with alpha */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

/* Custom list styling to ensure visibility and alignment */
.slide-content ul, .slide-content ol {
    text-align: left;
    margin-left: 1.5rem; /* ml-6 */
    margin-top: 1rem; /* mt-4 */
}

.slide-content li {
    margin-bottom: 0.75rem; /* mb-3 */
    padding-left: 0.5rem; /* pl-2 for better alignment with bullet/number */
    line-height: 1.8;
}

.slide-content ul li {
    list-style-type: disc;
}

.slide-content ol li {
    list-style-type: decimal;
}

.slide-content h1 {
    font-size: 2.25rem; /* text-4xl */
    line-height: 2.5rem;
}
.slide-content h2 {
    font-size: 1.875rem; /* text-3xl */
    line-height: 2.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slide-content {
        padding: 1.5rem; /* p-6 */
        max-width: 95%;
    }
    .slide-content h1 {
        font-size: 1.875rem; /* text-3xl */
    }
    .slide-content h2 {
        font-size: 1.5rem; /* text-2xl */
    }
    .slide-content p, .slide-content li {
        font-size: 0.95rem; /* Slightly larger for mobile readability */
    }
    #navigation-controls {
        bottom: 10px;
        right: 10px;
    }
    #navigation-controls button {
        padding: 0.5rem 0.75rem; /* py-2 px-3 */
    }
}

/* Styling for specific elements if needed */
.slide-content strong.text-blue-300 {
    color: #93c5fd; /* Tailwind blue-300 */
}

.slide-content span.text-green-400 {
    color: #4ade80; /* Tailwind green-400 */
}

/* Ensure full height for html and body for the slide container */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

