.explore-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.tool-card {
    background: white;
    border-radius: var(--radius-card);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid #eee;
    overflow: hidden;
    position: relative; /* חשוב עבור השכבת נעילה */
}

.tool-title {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* שכבת נעילה יוקרתית */
.tool-lock-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-card);
    transition: 0.3s;
}
.tool-lock-overlay i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 10px;
}
.tool-lock-overlay h3 {
    margin: 0 0 10px 0;
    color: var(--primary);
    font-size: 1.5rem;
}
.tool-lock-overlay p {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 0;
    max-width: 80%;
}

/* מטרונום */
.metronome-ui {
    background: var(--bg-body);
    border-radius: 20px;
    padding: 20px;
}
.tempo-display {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 15px;
    font-family: monospace;
}
.tempo-slider {
    width: 100%;
    margin-bottom: 20px;
    accent-color: var(--accent);
}
.metronome-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.tempo-btn {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    width: 45px; height: 45px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.tempo-btn:hover {
    background: var(--primary);
    color: white;
}
.play-btn {
    background: var(--accent);
    border: none;
    color: white;
    border-radius: 50%;
    width: 70px; height: 70px;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(242, 166, 90, 0.4);
    display: flex; align-items: center; justify-content: center;
}
.play-btn:hover { transform: scale(1.1); }
.play-btn.active-play {
    background: #e74c3c;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* טיונר */
.tuner-ui {
    background: var(--bg-body);
    border-radius: 20px;
    padding: 20px;
}
.note-display {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--primary);
    font-family: monospace;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.tune-indicator-wrapper {
    margin-bottom: 20px;
}
.tune-indicator-bar {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    position: relative;
    margin-bottom: 10px;
}
.tune-indicator-bar::after {
    content: '';
    position: absolute;
    width: 2px; height: 20px;
    background: #2ecc71;
    left: 50%; top: -5px;
    z-index: 1;
}
.tune-indicator-needle {
    position: absolute;
    width: 14px; height: 14px;
    background: #888;
    border-radius: 50%;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    transition: left 0.1s ease, background 0.2s;
    z-index: 2;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.tune-status {
    font-weight: bold;
    color: #888;
}

/* סרטונים */
.explore-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.explore-video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
}
.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}
.video-container iframe {
    width: 100%;
    height: 100%;
}
.video-desc {
    padding: 15px;
    font-weight: bold;
    color: var(--primary);
    font-size: 1.05rem;
    text-align: right;
}