* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    min-height: 100vh;
    /* Add min-width for very narrow screens */
    min-width: 300px;
    /* Ensure no horizontal overflow */
    overflow-x: hidden;
    padding-bottom: 80px; /* Space for the fixed footer */
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.desktop-video {
    display: block;
}

.mobile-video {
    display: none;
}

@media (max-width: 768px) {
    .desktop-video {
        display: none;
    }
    .mobile-video {
        display: block;
    }
    body {
        background-color: #f0efe1; /* Reverted to original mobile body bg */
    }
    /* Hide the desktop/main banner on mobile */
    .desktop-banner-container {
        display: none;
    }
    /* Show the mobile banner container on mobile */
    .mobile-banner-container {
        display: flex;
    }
    /* Specific mobile banner container styles - Updated for smaller size */
     .mobile-banner-container {
        width: 250px; /* Changed from 320px */
        height: 250px; /* Changed from 50px - Square format */
        margin: 0 auto 20px; /* Adjusted margin */
        overflow: visible; /* Changed from hidden to allow scaling */
        border: 1px dashed #64748b; /* Ensure border is visible */
        background-color: #f0efe1; /* Ensure background is visible */
    }
     .mobile-banner-container iframe {
        width: 100% !important; /* Force iframe width to fit container */
        height: 100% !important; /* Force iframe height to fit container */
        max-width: 250px; /* Match new container width */
        max-height: 250px; /* Match new container height */
        border: none; /* Remove default iframe border */
        /* Optional: Scale down if the ad content is too large */
        transform: scale(0.9); /* Slightly scale down */
        transform-origin: top center; /* Scale from the top center */
    }

    /* --- Mobile Styling Adjustments (from previous solution) --- */
    .container {
        padding: 10px; /* Reduce container padding */
    }

    .logo-container {
         margin: 10px 0 20px 0; /* Reduce top margin */
         width: 100%; /* Full width */
         max-width: 300px; /* Limit max width */
         margin-inline: auto; /* Center the container initially */
         /* NEW: Align content to the right */
         margin-left: auto; 
         margin-right: 0; 
         align-self: flex-end; /* Align container to the end (right) of its flex parent */
    }

    .logo {
        width: 100px; /* Fixed size */
        height: 100px; /* Fixed size */
    }

    .logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .content {
        padding: 10px; /* Reduce padding */
        max-width: 100%; /* Remove max-width constraint */
        margin: 0 auto 30px; /* Adjust bottom margin */
        width: 100%; /* Ensure full width usage */
        display: flex;
        flex-direction: column;
        /* NEW: Align items to the right (end) */
        align-items: flex-end; 
    }

    .dropdown-container {
         /* NEW: Align dropdown container to the right */
         margin-left: auto; 
         margin-right: 0; 
         align-self: flex-end; /* Align container to the end (right) */
         max-width: 300px; /* Keep max-width for content */
         width: auto; /* Allow width to shrink to content */
    }

    .dropdown-btn {
        width: 100%; /* Button takes full width of its container */
        max-width: 300px; /* Button respects max-width */
        padding: 8px 16px;
        margin: 5px 0;
        background: transparent;
        color: #212121;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-weight: normal;
    }

    .dropdown-btn:hover {
        background-color: #e2e2e2;
        text-decoration: underline;
    }

    .dropdown-content {
         /* NEW: Adjust dropdown menu position to align with right-aligned button */
         left: auto; 
         right: 0; 
    }

    .dropdown-item {
        padding: 8px 16px;
        color: #212121;
        cursor: pointer;
        font-size: 1rem;
        text-align: center;
        width: 100%;
        border: 1px solid #ccc;
        border-top: none;
    }

    .dropdown-item:hover {
        background: #e2e2e2;
        text-decoration: underline;
    }

    .download-btn {
        font-family: inherit;
        font-size: 1rem; /* Match footer link font size */
        background: transparent; /* Remove background */
        color: #212121; /* Match footer link text color */
        fill: #212121; /* Match footer link text color for icon */
        padding: 8px 16px; /* Match footer link padding */
        margin: 10px 0 0 0; /* Adjust margin - remove auto horizontal */
        cursor: pointer;
        border: 1px solid #ccc; /* Add a subtle border */
        border-radius: 4px; /* Add slight rounding */
        font-weight: normal; /* Reset font weight */
        text-decoration: none; /* Remove any underline */
        display: flex; /* Use flex for layout */
        align-items: center; /* Center items vertically */
        justify-content: center; /* Center items horizontally within button */
        width: 100%; /* Full width of its container */
        max-width: 300px; /* Match dropdown width */
        text-align: center; /* Center text */
        /* NEW: Align download button container to the right */
        align-self: flex-end; 
    }

    .download-btn span {
        display: block;
        margin-left: 0.5em; /* Add space between icon and text */
        transition: all 0.3s ease-in-out;
    }

    .download-btn svg {
        display: block;
        transform-origin: center center;
        transition: transform 0.3s ease-in-out;
    }

    .download-btn:hover {
        background: #e2e2e2; /* Match footer link hover background */
        text-decoration: underline; /* Match footer link hover effect */
    }

    .download-btn:hover .svg-wrapper {
        transform: scale(1.1); /* Slightly scale icon on hover */
        transition: 0.3s linear;
    }

    .download-btn:hover svg {
        transform: translateX(0.5em) scale(1.05); /* Move and scale icon on hover */
        fill: #212121; /* Keep color consistent on hover */
    }

    .download-btn:hover span {
        opacity: 1; /* Keep text visible on hover */
        transition: 0.3s linear;
    }

    .download-btn:active {
        transform: scale(0.98); /* Slight press effect */
    }

    .footer .more-link {
         padding: 8px 16px;
         font-size: 1rem;
    }

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
	left: 20px;
}

.logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.desktop-banner-container {
    width: 468px;
    height: 60px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #64748b;
    background-color: #f0efe1;
    overflow: hidden;
    position: relative;
}

/* Mobile Banner Container Styles - Updated for smaller size */
.mobile-banner-container {
    width: 250px; /* Changed from 320px */
    height: 50px; /* Changed from 50px - Square format */
    margin: 0 auto 20px; /* Adjusted margin */
    display: none; /* Hidden by default, shown on mobile */
    align-items: center;
    justify-content: center;
    border: 1px dashed #64748b;
    background-color: #f0efe1;
    overflow: visible; /* Changed from hidden */
    position: relative;
}

.content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: 0 auto 40px;
    padding: 30px;
}

.dropdown-container {
    position: relative;
    max-width: 300px;
    width: 100%;
    margin: 0 auto 20px;
	left: 5px;
}

.dropdown-btn {
    width: 100%;
    padding: 12px 15px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e293b;
    border-radius: 4px;
    overflow: hidden;
    z-index: 10;
    margin-top: 2px;
    display: none;
}

.dropdown-content.show {
    display: block;
}

.dropdown-item {
    padding: 10px 15px;
    color: #e2e8f0;
    cursor: pointer;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: #334155;
}

.download-btn {
    font-family: inherit;
    font-size: 20px;
    background: #212121;
    color: white;
    fill: rgb(155, 153, 153);
    padding: 0.5em 1em;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 8px;
    border-radius: 15px;
    font-weight: 1000;
    text-decoration: none;
    display: inline-flex;
    margin: 10px auto 0;
	right: 10px;
}

.download-btn span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
}

.download-btn svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

.download-btn:hover {
    background: #000;
}

.download-btn:hover .svg-wrapper {
    transform: scale(1.25);
    transition: 0.5s linear;
}

.download-btn:hover svg {
    transform: translateX(1.2em) scale(1.1);
    fill: #fff;
}

.download-btn:hover span {
    opacity: 0;
    transition: 0.5s linear;
}

.download-btn:active {
    transform: scale(0.95);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f0efe1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    height: 60px;
    border-top: 1px solid #ccc;
}

.footer .more-link {
    color: #212121;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    text-align: center;
    padding: 8px 16px;
    border-radius: 4px;
}

.footer .more-link:hover {
     text-decoration: underline;
     background-color: #e2e2e2;
}

@media (max-width: 768px) {
    /* Adjusted styles moved above for clarity and specificity */
}