/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Slider Hero Container */
.slider-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

/* Slides Container */
.slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease, visibility 1.5s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Slide Background with Ken Burns Effect */
.slide-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenBurns 20s ease-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.2) translate(-2%, -2%);
    }
}

.slide:nth-child(2) .slide-bg {
    animation-delay: 5s;
    animation-direction: alternate-reverse;
}

.slide:nth-child(3) .slide-bg {
    animation-delay: 10s;
}

.slide:nth-child(4) .slide-bg {
    animation-delay: 15s;
    animation-direction: alternate-reverse;
}

/* Slide Overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

/* Slide Content */
.slide-content {
    position: absolute;
    bottom: 120px;
    left: 80px;
    max-width: 600px;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease 0.5s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-category {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.6s both;
}

.slide-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.slide.active .title-line {
    animation: titleReveal 1s ease 0.7s both;
}

.slide.active .title-line:nth-child(2) {
    animation-delay: 0.9s;
}

@keyframes titleReveal {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease 1.1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.slider-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 80px;
    z-index: 100;
    animation: fadeInDown 1s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.slider-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-shape {
    width: 40px;
    height: 40px;
    position: relative;
    animation: rotateLogo 10s linear infinite;
}

@keyframes rotateLogo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.shape-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
}

/* Navigation */
.slider-nav {
    display: flex;
    gap: 40px;
}

.nav-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: #fff;
}

.nav-item:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sound-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sound-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.menu-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px auto;
    transition: all 0.3s ease;
}

.menu-btn:hover span {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

/* Hero Content Wrapper */
.hero-content-wrapper {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateY(-50%);
    z-index: 50;
}

/* Slide Number */
.slide-number {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 30px;
    font-family: 'Space Mono', monospace;
    animation: fadeIn 1s ease;
}

.current-slide {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-divider {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.total-slides {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* CTA Section */
.hero-cta-section {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.3s both;
}

.main-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: white;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: left 0.3s ease;
    z-index: -1;
}

.main-cta:hover {
    color: white;
}

.main-cta:hover::before {
    left: 0;
}

.main-cta:hover .cta-icon {
    transform: translateX(5px);
}

.cta-icon {
    transition: transform 0.3s ease;
}

.secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Slide Controls */
.slide-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Progress Bar */
.progress-container {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0;
    transition: width 0.1s linear;
}

.slide.active ~ .slide-controls .progress-bar {
    animation: progressFill 8s linear;
}

@keyframes progressFill {
    from { width: 0; }
    to { width: 100%; }
}

/* Navigation Arrows */
.slide-arrow {
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.slide-arrow:hover {
    transform: scale(1.1);
}

.slide-arrow:hover svg {
    color: #667eea;
}

.slide-arrow.prev {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.slide-arrow.next {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

/* Slide Indicators */
.slide-indicators {
    display: flex;
    gap: 15px;
}

.indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.indicator-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.indicator.active .indicator-fill {
    width: 100%;
    animation: indicatorFill 8s linear;
}

@keyframes indicatorFill {
    from { width: 0; }
    to { width: 100%; }
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Side Panel */
.side-panel {
    position: fixed;
    right: -300px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    transition: right 0.4s ease;
    z-index: 90;
}

.side-panel.open {
    right: 0;
}

.panel-toggle {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px 0 0 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.panel-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.side-panel.open .toggle-icon {
    transform: rotate(180deg);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.panel-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    right: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s ease-in-out infinite;
    z-index: 50;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    writing-mode: vertical-rl;
}

.scroll-icon {
    width: 20px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    position: relative;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 1.5s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; }

@keyframes floatParticle {
    0% {
        bottom: -10px;
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        bottom: 100%;
        opacity: 0;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Next Content Section */
.next-content {
    min-height: 100vh;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.content-inner {
    text-align: center;
}

.content-inner h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}

.content-inner p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .slider-header {
        padding: 30px 40px;
    }
    
    .slide-content,
    .hero-content-wrapper,
    .slide-arrow.prev {
        left: 40px;
    }
    
    .slide-arrow.next,
    .scroll-down {
        right: 40px;
    }
    
    .slide-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .slider-nav {
        display: none;
    }
    
    .slide-content {
        left: 20px;
        right: 20px;
        bottom: 100px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .hero-cta-section {
        flex-direction: column;
    }
    
    .main-cta,
    .secondary-cta {
        width: 100%;
        justify-content: center;
    }
    
    .slide-arrow.prev,
    .slide-arrow.next {
        display: none;
    }
    
    .side-panel {
        display: none;
    }
    
    .scroll-down {
        right: 20px;
        bottom: 20px;
    }
}