* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #000000;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: pan-y;
}

.fa-solid, .fa-regular, .fa-brands {
    display: inline-block;
    min-width: 1em;
    min-height: 1em;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }

@media (min-width: 769px) {
    .btn-premium.w-full {
        width: auto;
        min-width: 280px;
        margin: 0 auto;
        display: flex;
    }
    
    .video-card .btn-premium.mt-4 {
        margin-top: 2rem !important;
    }
}

#space-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.space-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 769px) {
    #space-canvas {
        display: block;
    }
}

@media (max-width: 768px) {
    #space-canvas {
        display: none;
    }
    
    .space-overlay {
        display: none;
    }
    
    body {
        overscroll-behavior-y: contain;
    }
}

.main-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.glass-card {
    background: rgba(10, 10, 15, 0.2);
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 3rem;
    max-width: 900px;
    width: 100%;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .glass-card {
        background: rgba(10, 10, 15, 0.75);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}

.glass-card .grid {
    place-items: center;
}

.glass-card .grid button {
    width: 100%;
    max-width: 500px;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.tiktok-icon {
    font-size: 2.5rem;
    color: #ffffff !important;
    position: relative;
    display: inline-block;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.3),
        0 0 15px rgba(255, 255, 255, 0.15);
    animation: glitch-flash-icon 8s ease-in-out infinite;
}

@media (max-width: 768px) {
    .tiktok-icon {
        animation: none;
        text-shadow: none;
    }
}

/* Animación glitch específica para el icono (más alocado) */
@keyframes glitch-flash-icon {
    0%, 100% {
        text-shadow: 
            0 0 8px rgba(255, 255, 255, 0.3),
            0 0 15px rgba(255, 255, 255, 0.15);
        transform: translate(0, 0);
    }
    14%, 16% {
        text-shadow: 
            -3px 0 5px rgba(0, 255, 249, 0.9),
            3px 0 5px rgba(255, 0, 222, 0.9),
            0 0 18px rgba(255, 255, 255, 0.35);
        transform: translate(3px, 0);
    }
    15% {
        text-shadow: 
            3px 0 5px rgba(0, 255, 249, 0.9),
            -3px 0 5px rgba(255, 0, 222, 0.9),
            0 0 18px rgba(255, 255, 255, 0.35);
        transform: translate(-3px, 0);
    }
    49%, 51% {
        text-shadow: 
            -4px 0 6px rgba(0, 255, 249, 1),
            4px 0 6px rgba(255, 0, 222, 1),
            0 0 20px rgba(255, 255, 255, 0.4);
        transform: translate(4px, -1px);
    }
    50% {
        text-shadow: 
            4px 0 6px rgba(0, 255, 249, 1),
            -4px 0 6px rgba(255, 0, 222, 1),
            0 0 20px rgba(255, 255, 255, 0.4);
        transform: translate(-4px, 1px);
    }
    84%, 86% {
        text-shadow: 
            -3px 0 5px rgba(0, 255, 249, 0.85),
            3px 0 5px rgba(255, 0, 222, 0.85),
            0 0 18px rgba(255, 255, 255, 0.35);
        transform: translate(2px, 0);
    }
    85% {
        text-shadow: 
            3px 0 5px rgba(0, 255, 249, 0.85),
            -3px 0 5px rgba(255, 0, 222, 0.85),
            0 0 18px rgba(255, 255, 255, 0.35);
        transform: translate(-2px, 0);
    }
}

/* Eliminar el efecto glitch con pseudo-elementos del icono */
.glitch-icon::before,
.glitch-icon::after {
    display: none;
}

@keyframes tiktok-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 242, 234, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(255, 0, 80, 0.4));
    }
}

.brand-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 0;
    position: relative;
}

/* Efecto Glitch Premium */
.glitch-title {
    position: relative;
    animation: glitch-flash 8s ease-in-out infinite;
}

@media (max-width: 768px) {
    .glitch-title {
        animation: none;
    }
    
    .glitch-title::before,
    .glitch-title::after {
        display: none;
    }
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-title::before {
    background: linear-gradient(135deg, #00fff9 0%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch-before 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    z-index: -1;
}

.glitch-title::after {
    background: linear-gradient(135deg, #ff00de 0%, #ff0080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch-after 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    z-index: -2;
}

@keyframes glitch-flash {
    0%, 100% {
        text-shadow: 
            0 0 8px rgba(255, 255, 255, 0.3),
            0 0 15px rgba(255, 255, 255, 0.15);
    }
    14%, 16% {
        text-shadow: 
            -1px 0 2px rgba(0, 255, 249, 0.4),
            1px 0 2px rgba(255, 0, 222, 0.4),
            0 0 10px rgba(255, 255, 255, 0.2);
        transform: translate(0.5px, 0);
    }
    15% {
        text-shadow: 
            1px 0 2px rgba(0, 255, 249, 0.4),
            -1px 0 2px rgba(255, 0, 222, 0.4),
            0 0 10px rgba(255, 255, 255, 0.2);
        transform: translate(-0.5px, 0);
    }
    49%, 51% {
        text-shadow: 
            -1px 0 2px rgba(0, 255, 249, 0.5),
            1px 0 2px rgba(255, 0, 222, 0.5),
            0 0 12px rgba(255, 255, 255, 0.25);
        transform: translate(1px, 0);
    }
    50% {
        text-shadow: 
            1px 0 2px rgba(0, 255, 249, 0.5),
            -1px 0 2px rgba(255, 0, 222, 0.5),
            0 0 12px rgba(255, 255, 255, 0.25);
        transform: translate(-1px, 0);
    }
    84%, 86% {
        text-shadow: 
            -1px 0 2px rgba(0, 255, 249, 0.4),
            1px 0 2px rgba(255, 0, 222, 0.4),
            0 0 10px rgba(255, 255, 255, 0.2);
        transform: translate(0.5px, 0);
    }
    85% {
        text-shadow: 
            1px 0 2px rgba(0, 255, 249, 0.4),
            -1px 0 2px rgba(255, 0, 222, 0.4),
            0 0 10px rgba(255, 255, 255, 0.2);
        transform: translate(-0.5px, 0);
    }
}

@keyframes glitch-before {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    14% {
        transform: translate(0, 0);
        opacity: 0;
    }
    15% {
        transform: translate(-5px, 0);
        opacity: 0.8;
    }
    16% {
        transform: translate(0, 0);
        opacity: 0;
    }
    49% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        transform: translate(-7px, -2px);
        opacity: 0.9;
    }
    51% {
        transform: translate(0, 0);
        opacity: 0;
    }
    84% {
        transform: translate(0, 0);
        opacity: 0;
    }
    85% {
        transform: translate(-4px, 1px);
        opacity: 0.7;
    }
    86% {
        transform: translate(0, 0);
        opacity: 0;
    }
}

@keyframes glitch-after {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    14% {
        transform: translate(0, 0);
        opacity: 0;
    }
    15% {
        transform: translate(5px, 0);
        opacity: 0.8;
    }
    16% {
        transform: translate(0, 0);
        opacity: 0;
    }
    49% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        transform: translate(7px, 2px);
        opacity: 0.9;
    }
    51% {
        transform: translate(0, 0);
        opacity: 0;
    }
    84% {
        transform: translate(0, 0);
        opacity: 0;
    }
    85% {
        transform: translate(4px, -1px);
        opacity: 0.7;
    }
    86% {
        transform: translate(0, 0);
        opacity: 0;
    }
}

.brand-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
}

.premium-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-family: 'JetBrains Mono', monospace;
}

.premium-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
}

.premium-input:focus {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

#poda {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.white,
.border,
.darkBorderBg,
.glow {
    max-height: 70px;
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
    z-index: -1;
    border-radius: 12px;
    filter: blur(3px);
}

.input {
    background-color: #010201;
    border: none;
    width: 100%;
    height: 56px;
    border-radius: 10px;
    color: white;
    padding-left: 59px;
    padding-right: 110px;
    font-size: 16px;
}

.input::placeholder {
    color: #c0b9c0;
}

.input:focus {
    outline: none;
}

#main:focus-within > #input-mask {
    display: none;
}

#input-mask {
    pointer-events: none;
    width: 100px;
    height: 20px;
    position: absolute;
    background: linear-gradient(90deg, transparent, black);
    top: 18px;
    left: 70px;
    display: none;
}

#pink-mask {
    pointer-events: none;
    width: 30px;
    height: 20px;
    position: absolute;
    background: #cf30aa;
    top: 10px;
    left: 5px;
    filter: blur(20px);
    opacity: 0.8;
    transition: all 2s;
}

#main:hover > #pink-mask {
    opacity: 0;
}

.white {
    max-height: 63px;
    border-radius: 10px;
    filter: blur(2px);
}

.white::before {
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(83deg);
    position: absolute;
    width: 600px;
    height: 600px;
    background-repeat: no-repeat;
    background-position: 0 0;
    filter: brightness(1.4);
    background-image: conic-gradient(
        rgba(0, 0, 0, 0) 0%,
        #a099d8,
        rgba(0, 0, 0, 0) 8%,
        rgba(0, 0, 0, 0) 50%,
        #dfa2da,
        rgba(0, 0, 0, 0) 58%
    );
    transition: all 2s;
}

.border {
    max-height: 59px;
    border-radius: 11px;
    filter: blur(0.5px);
}

.border::before {
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(70deg);
    position: absolute;
    width: 600px;
    height: 600px;
    filter: brightness(1.3);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: conic-gradient(
        #1c191c,
        #402fb5 5%,
        #1c191c 14%,
        #1c191c 50%,
        #cf30aa 60%,
        #1c191c 64%
    );
    transition: all 2s;
}

.darkBorderBg {
    max-height: 65px;
}

.darkBorderBg::before {
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(82deg);
    position: absolute;
    width: 600px;
    height: 600px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: conic-gradient(
        rgba(0, 0, 0, 0),
        #18116a,
        rgba(0, 0, 0, 0) 10%,
        rgba(0, 0, 0, 0) 50%,
        #6e1b60,
        rgba(0, 0, 0, 0) 60%
    );
    transition: all 2s;
}

#poda:hover > .darkBorderBg::before {
    transform: translate(-50%, -50%) rotate(-98deg);
}

#poda:hover > .glow::before {
    transform: translate(-50%, -50%) rotate(-120deg);
}

#poda:hover > .white::before {
    transform: translate(-50%, -50%) rotate(-97deg);
}

#poda:hover > .border::before {
    transform: translate(-50%, -50%) rotate(-110deg);
}

#poda:focus-within > .darkBorderBg::before {
    transform: translate(-50%, -50%) rotate(442deg);
    transition: all 4s;
}

#poda:focus-within > .glow::before {
    transform: translate(-50%, -50%) rotate(420deg);
    transition: all 4s;
}

#poda:focus-within > .white::before {
    transform: translate(-50%, -50%) rotate(443deg);
    transition: all 4s;
}

#poda:focus-within > .border::before {
    transform: translate(-50%, -50%) rotate(430deg);
    transition: all 4s;
}

.glow {
    overflow: hidden;
    filter: blur(30px);
    opacity: 0.4;
    max-height: 130px;
}

.glow:before {
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(60deg);
    position: absolute;
    width: 999px;
    height: 999px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: conic-gradient(
        #000,
        #402fb5 5%,
        #000 38%,
        #000 50%,
        #cf30aa 60%,
        #000 87%
    );
    transition: all 2s;
}

/* Botones del input animado  */
#paste-icon,
#clear-icon {
    position: absolute;
    top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    max-height: 40px;
    max-width: 38px;
    height: 100%;
    width: 100%;
    isolation: isolate;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(180deg, #161329, black, #1d1b4b);
    border: 1px solid transparent;
}

#paste-icon {
    right: 8px;
}

#clear-icon {
    right: 52px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

#clear-icon.show {
    opacity: 1;
    pointer-events: auto;
}

#paste-icon svg,
#clear-icon svg {
    width: 27px;
    height: 27px;
}

#paste-icon button,
#clear-icon button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none !important;
    transform: none !important;
}

#paste-icon button i,
#clear-icon button i {
    font-size: 18px;
    color: #d6d6e6;
    transition: none !important;
    transform: none !important;
    display: inline-block;
    position: relative;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

#paste-icon button:hover,
#paste-icon button:active,
#paste-icon button:focus,
#clear-icon button:hover,
#clear-icon button:active,
#clear-icon button:focus {
    transform: none !important;
}

#paste-icon button:hover i,
#paste-icon button:active i,
#paste-icon button:focus i,
#clear-icon button:hover i,
#clear-icon button:active i,
#clear-icon button:focus i {
    transform: none !important;
    color: #d6d6e6 !important;
    top: 0 !important;
    position: relative !important;
}

.paste-border,
.clear-border {
    height: 42px;
    width: 40px;
    position: absolute;
    overflow: hidden;
    top: 7px;
    border-radius: 10px;
}

.paste-border {
    right: 7px;
}

.clear-border {
    right: 51px;
    opacity: 0;
    transition: opacity 0.3s;
}

.clear-border.show {
    opacity: 1;
}

.paste-border::before,
.clear-border::before {
    content: "";
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    position: absolute;
    width: 600px;
    height: 600px;
    background-repeat: no-repeat;
    background-position: 0 0;
    filter: brightness(1.35);
    background-image: conic-gradient(
        rgba(0, 0, 0, 0),
        #3d3a4f,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0) 50%,
        #3d3a4f,
        rgba(0, 0, 0, 0) 100%
    );
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    100% {
        transform: translate(-50%, -50%) rotate(450deg);
    }
}

#main {
    position: relative;
    width: 100%;
}

#main::after {
    content: "";
    position: absolute;
    right: 100px;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, #010201);
    pointer-events: none;
}

#search-icon {
    position: absolute;
    left: 20px;
    top: 15px;
    pointer-events: none;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Alinear label con input en desktop */
@media (min-width: 769px) {
    .form-label {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Botón de pegar URL */
#paste-url-btn {
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

#paste-url-btn:hover {
    color: rgba(139, 92, 246, 1);
    transform: translateY(-50%) scale(1.1);
}

#paste-url-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Botón de limpiar URL */
#clear-url-btn {
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

#clear-url-btn:hover {
    color: #dc2626;
}

#clear-url-btn:active {
    transform: translateY(-50%) scale(0.9);
}

.btn-premium {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-premium:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.2) 0%,
        rgba(5, 150, 105, 0.15) 100%
    );
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

.btn-completed {
    background: linear-gradient(
        135deg,
        rgba(34, 197, 94, 0.3) 0%,
        rgba(22, 163, 74, 0.2) 100%
    );
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.4);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.btn-completed:hover {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
    transform: none;
}

.btn-premium:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

.btn-premium:disabled:hover {
    transform: none;
    box-shadow: none;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.2) 0%,
        rgba(5, 150, 105, 0.15) 100%
    );
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: manipulation;
}

.download-btn:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    /* CRITICAL: Desactivar TODAS las animaciones y transiciones en móvil */
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    
    /* EXCEPCIONES: Animaciones de loaders */
    
    /* Loader de DESCARGA (letras "Descargando...") */
    #loading-download .loader {
        animation: loader-rotate 2s linear infinite !important;
    }
    
    #loading-download .loader-letter {
        animation: loader-letter-anim 2s infinite !important;
    }
    
    /* Loader de ANÁLISIS (barra con SVG) */
    #loading-analysis .bar {
        animation: analysis-bar ease-in-out 3s infinite alternate-reverse !important;
    }
    
    #loading-analysis .svgIcon {
        animation: analysis-search ease-in-out 3s infinite alternate-reverse !important;
    }
    
    /* Barra de progreso */
    .progress-bar::after {
        animation: shimmer 2s infinite !important;
    }
    
    /* Spinner del botón "Procesando..." */
    .fa-spin {
        animation: fa-spin 1s infinite linear !important;
    }
    
    @keyframes fa-spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    .download-btn {
        margin-top: 8rem;
    }
    
    .download-card-container .btn-premium {
        margin-top: 0;
    }
    
    /* CRITICAL: Desactivar completamente el input animado en móvil */
    .white,
    .border,
    .darkBorderBg,
    .glow {
        display: none !important;
    }
    
    .white::before,
    .border::before,
    .darkBorderBg::before,
    .glow::before {
        display: none !important;
    }
    
    /* Input simple con borde estático */
    #poda {
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
    }
    
    /* Desactivar rotate-border-glow (20-25% GPU) */
    .video-card::before {
        animation: none;
        opacity: 0.5;
    }
    
    /* Desactivar rotate en botones paste/clear (25-30% GPU) */
    .paste-border::before,
    .clear-border::before {
        animation: none;
        transform: translate(-50%, -50%) rotate(90deg);
    }
}

.video-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    pointer-events: none;
}

.video-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(
        var(--angle),
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 60%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rotate-border-glow 3s linear infinite;
    pointer-events: none;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotate-border-glow {
    0% {
        --angle: 0deg;
    }
    100% {
        --angle: 360deg;
    }
}

.video-card.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.video-card > div:first-child {
    align-items: center;
}

.video-cover {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    margin: 0 auto;
}

.video-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.25rem;
}

@media (min-width: 769px) {
    .video-title {
        text-align: center;
    }
    
    .video-meta {
        text-align: center;
    }
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quality-option {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quality-option:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.quality-option.selected {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.quality-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.quality-details {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
}

.progress-wrapper {
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-wrapper.show {
    opacity: 1;
    transform: translateY(0);
}

.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 10px;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
}

@media (min-width: 769px) {
    .progress-bar::after {
        animation: shimmer 2s infinite;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.notification {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid;
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: currentColor;
}

@media (min-width: 769px) {
    .notification::before {
        animation: notificationPulse 2s infinite;
    }
}

@keyframes notificationPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #fca5a5;
}

.notification-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #6ee7b7;
}

.loader-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    font-family: "Inter", sans-serif;
    font-size: 0.95em;
    font-weight: 300;
    color: white;
    border-radius: 50%;
    background-color: transparent;
    user-select: none;
    margin: 0 auto;
}

.loader-wrapper .loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: transparent;
    z-index: 0;
}

/* Solo animar loader cuando esté visible */
#loading-download:not(.hidden) .loader-wrapper .loader,
#loading-analysis:not(.hidden) .loader-wrapper .loader {
    animation: loader-rotate 2s linear infinite;
}

@keyframes loader-rotate {
    0% {
        transform: rotate(90deg);
        box-shadow:
            0 10px 20px 0 #fff inset,
            0 20px 30px 0 #ad5fff inset,
            0 60px 60px 0 #471eec inset;
    }
    50% {
        transform: rotate(270deg);
        box-shadow:
            0 10px 20px 0 #fff inset,
            0 20px 10px 0 #d60a47 inset,
            0 40px 60px 0 #311e80 inset;
    }
    100% {
        transform: rotate(450deg);
        box-shadow:
            0 10px 20px 0 #fff inset,
            0 20px 30px 0 #ad5fff inset,
            0 60px 60px 0 #471eec inset;
    }
}

.loader-letter {
    display: inline-block;
    opacity: 0.4;
    transform: translateY(0);
    z-index: 1;
    border-radius: 50ch;
    border: none;
}

/* Solo animar letras cuando el loader esté visible */
#loading-download:not(.hidden) .loader-letter,
#loading-analysis:not(.hidden) .loader-letter {
    animation: loader-letter-anim 2s infinite;
}

.loader-letter:nth-child(1) {
    animation-delay: 0s;
}
.loader-letter:nth-child(2) {
    animation-delay: 0.1s;
}
.loader-letter:nth-child(3) {
    animation-delay: 0.2s;
}
.loader-letter:nth-child(4) {
    animation-delay: 0.3s;
}
.loader-letter:nth-child(5) {
    animation-delay: 0.4s;
}
.loader-letter:nth-child(6) {
    animation-delay: 0.5s;
}
.loader-letter:nth-child(7) {
    animation-delay: 0.6s;
}
.loader-letter:nth-child(8) {
    animation-delay: 0.7s;
}
.loader-letter:nth-child(9) {
    animation-delay: 0.8s;
}
.loader-letter:nth-child(10) {
    animation-delay: 0.9s;
}
.loader-letter:nth-child(11) {
    animation-delay: 1s;
}

@keyframes loader-letter-anim {
    0%,
    100% {
        opacity: 0.4;
        transform: translateY(0);
    }
    20% {
        opacity: 1;
        transform: scale(1.15);
    }
    40% {
        opacity: 0.7;
        transform: translateY(0);
    }
}

#loading-analysis {
    display: flex;
    align-items: center;
    justify-content: center;
}

#loading-analysis .loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transform: scale(0.7);
}

#loading-analysis .loaderMiniContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 130px;
    height: fit-content;
}

#loading-analysis .barContainer {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    background-position: left;
}

#loading-analysis .bar {
    width: 100%;
    height: 8px;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.3)
    );
    background-size: 200% 100%;
    border-radius: 10px;
}

/* Solo animar cuando el loader esté visible */
#loading-analysis:not(.hidden) .bar {
    animation: analysis-bar ease-in-out 3s infinite alternate-reverse;
}

@keyframes analysis-bar {
    0% {
        background-position: left;
    }
    100% {
        background-position: right;
    }
}

#loading-analysis .bar2 {
    width: 50%;
}

#loading-analysis .svgIcon {
    position: absolute;
    left: -25px;
    margin-top: 18px;
    z-index: 2;
    width: 70%;
}

/* Solo animar cuando el loader esté visible */
#loading-analysis:not(.hidden) .svgIcon {
    animation: analysis-search ease-in-out 3s infinite alternate-reverse;
}

@keyframes analysis-search {
    0% {
        transform: translateX(0%) rotate(70deg);
    }
    100% {
        transform: translateX(100px) rotate(10deg);
    }
}

#loading-analysis .svgIcon circle {
    stroke: rgba(255, 255, 255, 0.8);
    fill: rgba(255, 255, 255, 0.1);
}

#loading-analysis .svgIcon line {
    stroke: rgba(255, 255, 255, 0.8);
}

#loading-analysis .loader-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.feature-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

@media (min-width: 769px) {
    .feature-indicator {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .main-container {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 1.5rem;
    }
    
    .glass-card {
        padding: 1.5rem 1rem;
        border-radius: 20px;
        max-width: 100%;
        background: rgba(10, 10, 15, 0.9);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .glass-card .grid button {
        max-width: 100%;
    }
    
    .tiktok-icon {
        font-size: 1.75rem;
    }
    
    .title-container {
        gap: 0.75rem;
    }
    
    .brand-title {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.65rem;
    }
    
    .premium-input {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
        border-radius: 10px;
    }
    
    .btn-premium {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
        border-radius: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .video-card {
        padding: 1.25rem;
        border-radius: 14px;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .video-cover {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .video-title {
        font-size: 1rem;
        text-align: center;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .video-meta {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .quality-option {
        padding: 1.25rem 0.75rem;
        border-radius: 10px;
        min-height: 120px;
    }
    
    .quality-label {
        font-size: 0.85rem;
    }
    
    .quality-details {
        font-size: 0.7rem;
        line-height: 1.4;
    }
    
    .form-label {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .notification {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 1.25rem 0.875rem;
    }
    
    .brand-title {
        font-size: 1.5rem;
    }
    
    .brand-subtitle {
        font-size: 0.65rem;
    }
    
    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
    }
    
    .quality-option {
        padding: 1rem 0.5rem;
        border-radius: 10px;
        min-height: 110px;
    }
    
    .quality-label {
        font-size: 0.8rem;
    }
    
    .quality-details {
        font-size: 0.65rem;
        line-height: 1.3;
    }
    
    .feature-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.75rem;
    }
}

/* Smooth Scrolling Global */
html {
    scroll-behavior: smooth;
}

body::-webkit-scrollbar {
    width: 6px;
}

body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (hover: none) {
    .btn-premium:active {
        transform: scale(0.95);
    }
    
    .quality-option:active {
        transform: scale(0.97);
        background: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 768px) {
    .glass-card {
        animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación pulse-glow solo en desktop para evitar sobrecalentamiento */
@media (min-width: 769px) {
    .quality-option.selected {
        animation: pulse-glow 2s infinite;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

.btn-premium,
.quality-option,
.video-card,
.progress-wrapper,
.notification {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (min-width: 769px) {
    .btn-premium:hover,
    .quality-option:hover,
    .video-card:hover {
        will-change: transform;
    }

    .btn-premium:not(:hover),
    .quality-option:not(:hover),
    .video-card:not(:hover) {
        will-change: auto;
    }
}

@media (max-width: 768px) {
    body {
        overscroll-behavior-y: contain;
    }
}

@media (min-width: 769px) {
    body.animations-paused *,
    body.animations-paused *::before,
    body.animations-paused *::after {
        animation-play-state: paused !important;
        transition: none !important;
    }
    
    body.animations-paused .card-3d {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .card-3d-face {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .progress-bar::after {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .loader {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .loader-letter {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .notification::before {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .feature-indicator {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .quality-option.selected {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .paste-border::before,
    body.animations-paused .clear-border::before {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .tiktok-icon {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .glitch-title {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .glitch-title::before,
    body.animations-paused .glitch-title::after {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .video-card::before {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .bar {
        animation-play-state: paused !important;
    }
    
    body.animations-paused .svgIcon {
        animation-play-state: paused !important;
    }
}

@keyframes autoRun3d {
    from {
        transform: perspective(800px) rotateY(-360deg);
    }
    to {
        transform: perspective(800px) rotateY(0deg);
    }
}

@keyframes animateBrightness {
    10% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(0.1);
    }
    90% {
        filter: brightness(1);
    }
}

.download-container {
    height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#download-ready {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
    display: none;
    margin-top: 1.5rem;
    width: 100%;
}

#download-ready.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    display: block;
}

.download-card-container {
    margin: 1rem auto 0;
    text-align: center;
}

.mobile-video-info {
    display: none;
}

.card-3d {
    position: relative;
    width: 400px;
    height: 200px;
    margin: 0 auto 1rem;
    transform-style: preserve-3d;
    transform: perspective(800px);
}

@media (min-width: 769px) {
    .card-3d {
        animation: autoRun3d 20s linear infinite;
    }
    
    #download-ready.show .card-3d {
        will-change: transform;
    }
    
    #download-ready:not(.show) .card-3d {
        will-change: auto;
    }
}

.card-3d-face {
    position: absolute;
    width: 80px;
    height: 112px;
    background-color: rgb(30, 30, 30);
    border: solid 2px rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    transition-duration: 200ms;
    overflow: hidden;
}

@media (min-width: 769px) {
    .card-3d-face {
        animation: animateBrightness 20s linear infinite;
    }
}

.card-3d:hover {
    animation-play-state: paused !important;
}

.card-3d:hover .card-3d-face {
    animation-play-state: paused !important;
}

@media (max-width: 768px) {
    .card-3d:hover,
    .card-3d:active,
    .card-3d:focus {
        animation-play-state: running !important;
    }
    
    .card-3d:hover .card-3d-face,
    .card-3d:active .card-3d-face,
    .card-3d:focus .card-3d-face {
        animation-play-state: running !important;
    }
}

.card-3d-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.card-3d-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
    padding: 0.4rem 0.3rem;
    font-size: 0.5rem;
    color: white;
    text-align: center;
    line-height: 1.1;
    font-weight: 700;
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-3d-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #010201;
    padding: 0.3rem 0.2rem;
    font-size: 0.45rem;
    color: white;
    text-align: center;
    line-height: 1.2;
    font-weight: 600;
    z-index: 1;
}

.card-3d-face:nth-child(1) {
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(150px);
    animation-delay: -0s;
}

.card-3d-face:nth-child(2) {
    transform: translate(-50%, -50%) rotateY(36deg) translateZ(150px);
    animation-delay: -2s;
}

.card-3d-face:nth-child(3) {
    transform: translate(-50%, -50%) rotateY(72deg) translateZ(150px);
    animation-delay: -4s;
}

.card-3d-face:nth-child(4) {
    transform: translate(-50%, -50%) rotateY(108deg) translateZ(150px);
    animation-delay: -6s;
}

.card-3d-face:nth-child(5) {
    transform: translate(-50%, -50%) rotateY(144deg) translateZ(150px);
    animation-delay: -8s;
}

.card-3d-face:nth-child(6) {
    transform: translate(-50%, -50%) rotateY(180deg) translateZ(150px);
    animation-delay: -10s;
}

.card-3d-face:nth-child(7) {
    transform: translate(-50%, -50%) rotateY(216deg) translateZ(150px);
    animation-delay: -12s;
}

.card-3d-face:nth-child(8) {
    transform: translate(-50%, -50%) rotateY(252deg) translateZ(150px);
    animation-delay: -14s;
}

.card-3d-face:nth-child(9) {
    transform: translate(-50%, -50%) rotateY(288deg) translateZ(150px);
    animation-delay: -16s;
}

.card-3d-face:nth-child(10) {
    transform: translate(-50%, -50%) rotateY(324deg) translateZ(150px);
    animation-delay: -18s;
}

.download-info-text {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.download-info-text p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .card-3d {
        display: none;
    }
    
    .mobile-video-info {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }
    
    .mobile-info-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .mobile-info-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        font-size: 1.1rem;
        color: #10b981;
        flex-shrink: 0;
    }
    
    .mobile-info-content {
        flex: 1;
    }
    
    .mobile-info-label {
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.25rem;
        font-weight: 600;
    }
    
    .mobile-info-value {
        font-size: 0.9rem;
        color: #ffffff;
        font-weight: 500;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .card-3d-face {
        width: 60px;
        height: 84px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
        touch-action: none;
    }
    
    .card-3d-thumbnail {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
        touch-action: none;
        -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -o-user-drag: none;
    }
    
    .card-3d-face:nth-child(1) {
        transform: translate(-50%, -50%) rotateY(0deg) translateZ(100px);
    }
    
    .card-3d-face:nth-child(2) {
        transform: translate(-50%, -50%) rotateY(36deg) translateZ(100px);
    }
    
    .card-3d-face:nth-child(3) {
        transform: translate(-50%, -50%) rotateY(72deg) translateZ(100px);
    }
    
    .card-3d-face:nth-child(4) {
        transform: translate(-50%, -50%) rotateY(108deg) translateZ(100px);
    }
    
    .card-3d-face:nth-child(5) {
        transform: translate(-50%, -50%) rotateY(144deg) translateZ(100px);
    }
    
    .card-3d-face:nth-child(6) {
        transform: translate(-50%, -50%) rotateY(180deg) translateZ(100px);
    }
    
    .card-3d-face:nth-child(7) {
        transform: translate(-50%, -50%) rotateY(216deg) translateZ(100px);
    }
    
    .card-3d-face:nth-child(8) {
        transform: translate(-50%, -50%) rotateY(252deg) translateZ(100px);
    }
    
    .card-3d-face:nth-child(9) {
        transform: translate(-50%, -50%) rotateY(288deg) translateZ(100px);
    }
    
    .card-3d-face:nth-child(10) {
        transform: translate(-50%, -50%) rotateY(324deg) translateZ(100px);
    }
}
