:root {
    --primary: #8b5cf6;
    --text-main: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: transparent;
    color: var(--text-main);
    overflow: hidden;
}

.player-container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.background {
    display: none;
}

.topic-badge, .topic-title {
    display: none !important;
}

.scene-container {
    background: transparent;
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: none;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.scene-text {
    font-size: 2.5rem;
    line-height: 1.4;
    color: var(--text-main);
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

.scene-text.fade-in {
    animation: textFadeIn 0.5s ease-out;
}

.scene-text.fade-out {
    animation: textFadeOut 0.3s ease-in forwards;
}

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

@keyframes textFadeOut {
    to { opacity: 0; transform: translateY(-20px) scale(1.05); }
}

@media (max-width: 768px) {
    .scene-container { padding: 1rem; min-height: 100px; }
    .scene-text { font-size: 1.8rem; }
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.play-btn {
    background: linear-gradient(135deg, var(--primary), #a855f7);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    white-space: nowrap;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: visible;
    max-width: 400px;
    cursor: pointer;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #a855f7);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.time {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    font-family: monospace;
}
