/* Add styles here */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: white;
}

.video-container {
    width: 90%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.screen {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    border-radius: 15px;
    padding: 40px;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.screen::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.content {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #e67e22;
    text-shadow: 2px 2px 10px rgba(230, 126, 34, 0.5);
    animation: fadeInDown 0.8s ease-out;
}

h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #3498db;
    animation: fadeInLeft 0.8s ease-out;
}

.text-content {
    font-size: 1.3em;
    line-height: 1.8;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out;
}

.fretboard {
    position: relative;
    margin: 30px auto;
    animation: slideInUp 1s ease-out;
}

.string-line {
    height: 3px;
    background: #ecf0f1;
    margin: 15px 0;
    position: relative;
    border-radius: 2px;
}

.fret {
    position: absolute;
    width: 2px;
    height: 100%;
    background: #95a5a6;
    top: 0;
}

.finger {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #e74c3c;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.8);
    animation: fingerPop 0.5s ease-out;
}

@keyframes fingerPop {
    0% { transform: translateY(-50%) scale(0); }
    50% { transform: translateY(-50%) scale(1.2); }
    100% { transform: translateY(-50%) scale(1); }
}

.note-display {
    background: rgba(52, 152, 219, 0.3);
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    font-size: 1.5em;
    text-align: center;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(52, 152, 219, 0.5); }
    50% { box-shadow: 0 0 30px rgba(52, 152, 219, 0.8); }
}

.highlight {
    color: #f39c12;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

.list-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    margin: 10px 0;
    border-left: 4px solid #e67e22;
    border-radius: 5px;
    animation: slideInLeft 0.5s ease-out;
    animation-fill-mode: both;
}

.suspense-text {
    font-size: 1.5em;
    color: #e74c3c;
    text-align: center;
    margin-top: 20px;
    animation: blink 1s ease-in-out infinite;
    font-weight: bold;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

button {
    padding: 15px 30px;
    font-size: 1.1em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn-primary {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.6);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e67e22, #f39c12);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.8);
}

.segment-counter {
    text-align: center;
    font-size: 1.1em;
    color: #95a5a6;
    margin-bottom: 15px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

.scale-diagram {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    flex-wrap: wrap;
}

.scale-note {
    text-align: center;
    margin: 10px;
    animation: scaleNotePop 0.5s ease-out;
    animation-fill-mode: both;
}

.scale-note-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: bold;
    margin: 0 auto 10px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.5);
}

@keyframes scaleNotePop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Add media queries for responsiveness */
@media (max-width: 768px) {
    .video-container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    .text-content {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .video-container {
        padding: 15px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.3em;
    }

    .text-content {
        font-size: 1em;
    }

    .controls {
        flex-direction: column;
    }

    button {
        width: 100%;
        margin-bottom: 10px;
    }
}
