body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    color: black;
    height: 100%;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('logo.png');
    background-size: 50px 50px;
    background-repeat: repeat;
    background-position: 0 0;
    transform: rotate(45deg);
    transform-origin: center;
    z-index: 0;
    filter: drop-shadow(2px 4px 6px black);
    opacity: 0.05;
    pointer-events: none;
}


.content::-webkit-scrollbar {
    width: 8px;
}

.content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    margin: 24px 4px 4px 4px;
}

.content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 2px;
}

.content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.container {
    background: transparent;
    width: 100%;
    max-width: 100%;
    justify-self: center;
    max-width: 1000px;
    backdrop-filter: blur(24px);
    box-sizing: border-box;
}

.container h1 {
    text-align: center;
    color: #000091;
    margin-top: 0;
    margin-bottom: 20px;
}

#status {
    text-align: center;
    color: #000091;
    margin-top: 0;
    margin-bottom: 20px;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.video-skeleton.skeleton {
    background: linear-gradient(90deg, #d0d0d0 0%, #e8e8e8 25%, #f0f0f0 50%, #e8e8e8 75%, #d0d0d0 100%);
    background-size: 300% 100%;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: 300% 0;
    }

    100% {
        background-position: -300% 0;
    }
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.video-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: block;
}

#storeList li.store-skeleton {
    background: linear-gradient(90deg, #d0d0d0 0%, #e8e8e8 25%, #f0f0f0 50%, #e8e8e8 75%, #d0d0d0 100%) !important;
    background-size: 300% 100% !important;
    animation: shimmer 2s infinite linear !important;
    margin-bottom: 12px;
    padding: 15px 20px;
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: transparent !important;
    cursor: default !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: none !important;
    transition: none !important;
}

#storeList li.store-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    background-size: 300% 100%;
    animation: shimmer 2s infinite linear;
}

#storeList li.store-skeleton:hover {
    background: linear-gradient(90deg, #d0d0d0 0%, #e8e8e8 25%, #f0f0f0 50%, #e8e8e8 75%, #d0d0d0 100%) !important;
    transform: none !important;
    box-shadow: none !important;
    cursor: default !important;
}

#storeList {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    width: calc(100% - 50px);
    justify-self: center;
}

#storeList li {
    background: white;
    margin-bottom: 12px;
    padding: 15px 20px;
    display: flex;
    color: #000091;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #000091;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease forwards;
    cursor: pointer;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

#storeList li:hover {
    background: #000091;
    color: white;
}

#storeList li:nth-child(1) {
    animation-delay: 0.1s;
}

#storeList li:nth-child(2) {
    animation-delay: 0.2s;
}

#storeList li:nth-child(3) {
    animation-delay: 0.3s;
}

#storeList li:nth-child(4) {
    animation-delay: 0.4s;
}

#storeList li:nth-child(5) {
    animation-delay: 0.5s;
}

#storeList li:nth-child(6) {
    animation-delay: 0.6s;
}

#storeList li:nth-child(7) {
    animation-delay: 0.7s;
}

#storeList li:nth-child(8) {
    animation-delay: 0.8s;
}

#storeList li:nth-child(9) {
    animation-delay: 0.9s;
}

#storeList li:nth-child(10) {
    animation-delay: 1.0s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#storeList a {
    text-decoration: none;
    font-weight: 600;
}

#storeList li span.distance {
    color: #c00021;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#storeList li span.distance i {
    color: #c00021;
    font-size: 14px;
}

#storeList li span.store-info {
    color: #000091;
    font-size: 14px;
    line-height: 1.4;
}

#storeList li:hover span.distance {
    color: #ff6b6b;
}

#storeList li:hover span.distance i {
    color: #ff6b6b;
}

#storeList li:hover span.store-info {
    color: white;
}

.iframe-container {
    position: relative;
    width: calc(100% - 40px);
    margin: 20px 20px;
    outline: none;
    padding: 0;
    overflow: hidden;
    background: transparent;
    aspect-ratio: 1920/1080;
}


.iframe-container iframe,
.iframe-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
    outline: none;
}

.iframe-container video::-webkit-media-controls {
    display: none !important;
}

.iframe-container video::-webkit-media-controls-panel {
    display: none !important;
}

.iframe-container video::-webkit-media-controls-play-button {
    display: none !important;
}

.iframe-container video::-webkit-media-controls-timeline {
    display: none !important;
}

.iframe-container video::-webkit-media-controls-current-time-display {
    display: none !important;
}

.iframe-container video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

.iframe-container video::-webkit-media-controls-mute-button {
    display: none !important;
}

.iframe-container video::-webkit-media-controls-volume-slider {
    display: none !important;
}

.iframe-container video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

.iframe-container video {
    cursor: pointer;
}

.play-pause-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 80px;
    pointer-events: none;
    height: 80px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 30;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-pause-indicator i {
    color: white;
    pointer-events: none;
    font-size: 32px;
    margin-left: 4px; /* Slight adjustment for play icon centering */
}


@media (max-width: 768px) {


    .iframe-container {
        width: calc(100% - 30px);
        margin: 15px 15px;
    }
}

@media (min-width: 1024px) {


    .iframe-container {
        width: calc(100% - 50px);
        margin: 25px 25px;
        max-width: 100%;
    }
}