/* Playground mockup enhancements */
.mockup-screen {
    animation: floatScreen 6s ease-in-out infinite;
    transform-style: preserve-3d;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(99, 102, 241, 0.15);
}

@keyframes floatScreen {
    0% { transform: translateY(0) translateZ(0); }
    50% { transform: translateY(-8px) translateZ(5px); }
    100% { transform: translateY(0) translateZ(0); }
}

/* Example content styling */
.example-content {
    margin-top: 15px;
    animation: fadeInUp 0.7s ease-out forwards;
    opacity: 1;
}

/* Video container styling */
.video-container {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    padding-bottom: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-container iframe {
    border-radius: 8px;
    display: block;
    transition: all 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.example-sentence {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #7d3bed;
    animation: pulseGlow 3s infinite;
}

.example-sentence .en {
    font-size: 15px;
    color: white;
    font-weight: 500;
    margin-bottom: 5px;
    display: inline-block;
}

.example-sentence .cs {
    font-size: 14px;
    color: #94A3B8;
    font-style: italic;
}

.answer-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.option {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    color: #e2e8f0;
}

.option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.option.correct {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.exercise-hint {
    background: rgba(99, 102, 241, 0.05);
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hint-icon {
    font-size: 18px;
}

.hint-text {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.5;
}

/* Mockup particles styling */
.mockup-particle {
    position: absolute;
    background-color: rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 5px rgba(99, 102, 241, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

@keyframes pulseGlow {
    0% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.6); }
    100% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.3); }
}

/* Coming soon badge enhancements */
.coming-soon-badge {
    background: linear-gradient(135deg, #7d3bed, #8f57f1);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.coming-soon-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.3), rgba(255,255,255,0));
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

@keyframes shine {
    0% { left: -100%; opacity: 0.7; }
    100% { left: 100%; opacity: 0.7; }
}

/* Generate button animation */
.generate-button {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out forwards;
}

.generate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.generate-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s;
}

.generate-button:hover::after {
    animation: buttonShine 1.5s ease-in-out;
}

@keyframes buttonShine {
    0% { opacity: 0; transform: translateX(-50%) rotate(45deg); }
    30% { opacity: 0.5; }
    100% { opacity: 0; transform: translateX(100%) rotate(45deg); }
}
