body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
}

.watermark {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 10;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slide-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.slides-wrapper {
    display: flex;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.slide {
    min-width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 60px;
    position: relative;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 60px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.slide-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 80px;
}

.slide-content.reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
    font-size: 2.5rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    padding: 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-image img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    object-fit: contain;
}

.page-number {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.navigation-hint {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.demo-buttons {
    position: absolute;
    bottom: 30px;
    left: 40px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    z-index: 5;
}

.demo-button {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.demo-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.demo-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    max-width: 300px;
    white-space: normal;
    text-align: center;
}

.demo-button:hover .demo-tooltip {
    opacity: 1;
    visibility: visible;
}

.autoplay-indicator {
    position: fixed;
    top: 30px;
    right: 40px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    z-index: 10;
    transition: all 0.3s ease;
    cursor: pointer;
}

.autoplay-indicator:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.autoplay-indicator.playing {
    color: #4ade80;
}

.autoplay-indicator.paused {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
    .slide {
        padding: 40px 30px;
    }

    .slide-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .slide-content {
        flex-direction: column !important;
        gap: 40px;
    }

    .content-text {
        font-size: 1.1rem;
        padding: 30px;
    }

    .demo-buttons {
        left: 30px;
        bottom: 20px;
    }

    .demo-button {
        font-size: 1rem;
        padding: 10px 16px;
    }
}
