/* Visual Vietnamese Learning Styles */

.hero-section-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
}

.hero-section-small h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero-section-small p {
    font-size: 1.2em;
    opacity: 0.95;
}

/* Scene Selector */
.scene-selector-section {
    padding: 40px 20px;
    background: #f8f9fa;
}

.scene-selector-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.scene-tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scene-tab {
    background: white;
    border: 3px solid #ddd;
    border-radius: 15px;
    padding: 25px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}

.scene-tab i {
    font-size: 2.5em;
    color: #667eea;
    transition: transform 0.3s ease;
}

.scene-tab span {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.scene-tab:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.scene-tab:hover i {
    transform: scale(1.2);
}

.scene-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.scene-tab.active span {
    color: white;
}

.scene-tab.active i {
    color: white;
}

/* Scene Container */
.scene-container {
    padding: 60px 20px;
    background: #fff;
    min-height: 600px;
}

.scene-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.interactive-scene {
    display: none;
    animation: fadeIn 0.5s ease;
}

.interactive-scene.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.scene-background {
    background: linear-gradient(180deg, #e3f2fd 0%, #fff9e6 100%);
    border-radius: 20px;
    padding: 40px;
    min-height: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 3px solid #ddd;
}

.scene-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.scene-title h3 {
    margin: 0 0 10px 0;
    color: #667eea;
    font-size: 1.8em;
}

.scene-title p {
    margin: 0;
    color: #666;
    font-size: 1.1em;
}

/* Hotspots */
.hotspot {
    position: absolute;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.hotspot:hover {
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 10;
}

.hotspot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.item-visual {
    font-size: 3em;
    background: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 3px solid #667eea;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.hotspot:hover .item-visual {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border-color: #764ba2;
}

/* Info Card */
.info-card {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-width: 350px;
    width: 90%;
    z-index: 1000;
    animation: slideIn 0.4s ease;
    border: 3px solid #667eea;
}

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

.info-card.hidden {
    display: none;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f44336;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    color: white;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
    background: #d32f2f;
}

.info-content {
    text-align: center;
}

.item-icon {
    font-size: 4em;
    margin-bottom: 15px;
}

.info-content h3 {
    font-size: 2em;
    color: #667eea;
    margin: 10px 0;
}

.info-content #info-pronunciation {
    color: #666;
    font-style: italic;
    font-size: 1.2em;
    margin: 5px 0;
}

.info-content #info-english {
    color: #333;
    font-size: 1.1em;
    margin: 15px 0;
    font-weight: 500;
}

.play-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 1.1em;
    cursor: pointer;
    margin: 15px 0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.info-details {
    text-align: left;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.info-details p {
    margin: 10px 0;
    line-height: 1.6;
    color: #555;
}

.info-details strong {
    color: #333;
}

/* Progress Section */
.progress-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.progress-section h3 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: #333;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1.1em;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section-small h1 {
        font-size: 2em;
    }
    
    .scene-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .scene-tab {
        width: 100%;
        max-width: 300px;
    }
    
    .item-visual {
        font-size: 2.5em;
        width: 60px;
        height: 60px;
    }
    
    .hotspot-pulse {
        width: 60px;
        height: 60px;
    }
    
    .info-card {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
    
    .scene-background {
        padding: 20px;
        min-height: 400px;
    }
}
