* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #fff;
    overflow-x: hidden;
}

.iframesPantallas {
    transform-origin: 0% 0%;
}

.vert {
    width: 1080px;
    height: 1920px;
}

.hori {
    width: 1920px;
    height: 1080px;
}

.menu-bar {
    background-color: #ffbb0d;
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.menu-bar a {
    display: inline-block;
    margin: 0 15px;
    padding: 10px 20px;
    background-color: #333;
    color: #ffbb0d;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.menu-bar a:hover {
    background-color: #ffbb0d;
    color: #333;
    transform: scale(1.05);
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.section {
    margin: 30px 0;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffbb0d;
    border-bottom: 2px solid #ffbb0d;
    padding-bottom: 10px;
}

.section-info {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 15px;
    line-height: 1.6;
}

.section-info strong {
    color: #ffbb0d;
}

.carousel-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.carousel-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding: 15px;
}

.carousel-wrapper::-webkit-scrollbar {
    height: 8px;
}

.carousel-wrapper::-webkit-scrollbar-track {
    background: #333;
    border-radius: 10px;
}

.carousel-wrapper::-webkit-scrollbar-thumb {
    background: #ffbb0d;
    border-radius: 10px;
}

.carousel-wrapper::-webkit-scrollbar-thumb:hover {
    background: #ffcc33;
}

.carousel-item {
    flex: 0 0 auto;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    position: relative;
}

.carousel-item iframe {
    border: none;
    display: block;
    transform-origin: top left;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.carousel-item.vertical {
    width: 270px;
    height: 480px;
}

.carousel-item.vertical iframe {
    width: 1080px;
    height: 1920px;
    transform: scale(0.25);
}

.carousel-item.horizontal {
    width: 480px;
    height: 270px;
}

.carousel-item.horizontal iframe {
    width: 1920px;
    height: 1080px;
    transform: scale(0.25);
}

/* Responsive breakpoints */
@media (max-width: 1440px) {
    .carousel-item.vertical {
        width: 270px;
        height: 480px;
    }

    .carousel-item.vertical iframe {
        width: 1080px;
        height: 1920px;
        transform: scale(0.25);
    }

    .carousel-item.horizontal {
        width: 480px;
        height: 270px;
    }

    .carousel-item.horizontal iframe {
        width: 1920px;
        height: 1080px;
        transform: scale(0.25);
    }
}

@media (max-width: 1024px) {
    .carousel-item.vertical {
        width: 216px;
        height: 384px;
    }

    .carousel-item.vertical iframe {
        width: 1080px;
        height: 1920px;
        transform: scale(0.2);
    }

    .carousel-item.horizontal {
        width: 384px;
        height: 216px;
    }

    .carousel-item.horizontal iframe {
        width: 1920px;
        height: 1080px;
        transform: scale(0.2);
    }

    .section {
        padding: 15px;
        margin: 20px 0;
    }

    .section-title {
        font-size: 18px;
    }

    .section-info {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .carousel-item.vertical {
        width: 162px;
        height: 288px;
    }

    .carousel-item.vertical iframe {
        width: 1080px;
        height: 1920px;
        transform: scale(0.15);
    }

    .carousel-item.horizontal {
        width: 288px;
        height: 162px;
    }

    .carousel-item.horizontal iframe {
        width: 1920px;
        height: 1080px;
        transform: scale(0.15);
    }
}

@media (max-width: 480px) {
    .carousel-item.vertical {
        width: 135px;
        height: 240px;
    }

    .carousel-item.vertical iframe {
        width: 1080px;
        height: 1920px;
        transform: scale(0.125);
    }

    .carousel-item.horizontal {
        width: 240px;
        height: 135px;
    }

    .carousel-item.horizontal iframe {
        width: 1920px;
        height: 1080px;
        transform: scale(0.125);
    }

    .menu-bar a {
        display: block;
        margin: 5px 0;
    }

    .container {
        padding: 10px;
    }
}

.carousel-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.carousel-nav button {
    background-color: rgba(255, 187, 13, 0.8);
    border: none;
    color: #333;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.carousel-nav button:hover {
    background-color: #ffbb0d;
    transform: scale(1.1);
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #888;
    font-style: italic;
}
