@media (min-width: 768px) {
    .logo-img {
        left: -154px !important;
        width: 312px !important;
        position: relative !important;
        top: -70px !important;
    }
}


@media (max-width: 768px) {
    .logo-img {
        left: -144px !important;
        position: relative !important;
        top: -67px !important;
        width: 282px !important;
        max-width: 2500px;
    }
}


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

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    background: transparent;
    position: relative;
    min-height: 100vh;
}


/* Background Slider */
.background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide[data-bg] {
    background-image: var(--bg-image);
}

.video-slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Main Container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* SVG Animation Container */
.animation-container {
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#Layer_1 {
    max-width: 350px;
    min-width: 250px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.3));
    z-index: 1;
}

/* Logo Section - Same position as SVG */
.logo-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

.logo-img {
    width: 200px;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Content Section */
.content-section {
    text-align: center;
    color: white;
    max-width: 800px;
    width: 100%;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
    letter-spacing: 1px;
    color: white;
}

.subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2s forwards;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2.5s forwards;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px 15px;
    min-width: 80px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 5px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Typed Text Container */
.typed-container {
    margin-top: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 3s forwards;
}

#typeJS {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    min-height: 30px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo-img {
        width: 220px;
        height: auto;
    }
    
    #Layer_1 {
        max-width: 280px;
        min-width: 200px;
    }
    
    .logo-img {
        left: -99px;
        position: relative;
        top: -48px;
        width: 199px;
    }
    
    .main-title {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .countdown-container {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .countdown-item {
        padding: 15px 10px;
        min-width: 70px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    #typeJS {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-item {
        padding: 12px 8px;
        min-width: 60px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
}

/* Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-background {
        background-image: url('../image/background.jpg');
        background-size: cover;
    }
    
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .countdown-item {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
    
    .main-title, .subtitle, #typeJS {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
