/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0f0f23;
    color: #ffffff;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header */
.kiosk-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 40px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(90deg, #00dbde, #fc00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.datetime {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.9rem;
    opacity: 0.9;
}

#current-date {
    font-weight: 300;
}

#current-time {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00dbde;
}

/* Main Content */
.slideshow-container {
    position: absolute;
    top: 60px;
    bottom: 60px;
    left: 0;
    right: 0;
    overflow: hidden;
}

#slide-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
}

.slide img,
.slide video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slide-content {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.no-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 20px;
    color: #666;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 100;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #00dbde;
    transform: scale(1.2);
}

/* Progress Bar */
.progress-container {
    position: absolute;
    bottom: 80px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00dbde, #fc00ff);
    transition: width 0.1s linear;
}

/* Footer */
.kiosk-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: rgba(15, 15, 35, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.ticker-container {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-content {
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    font-size: 1.1rem;
    color: #00dbde;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .kiosk-header,
    .kiosk-footer {
        padding: 0 15px;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .progress-container {
        left: 10%;
        right: 10%;
    }
}

/* QR Code Overlay */
.qr-overlay {
    position: fixed;
    top: 100px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    text-align: center;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.qr-overlay h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.qr-overlay img {
    width: 150px;
    height: 150px;
}

.close-qr {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.2rem;
}