body.modal-open,
html.modal-open {
    overflow: hidden; /* Sayfanın kaydırılmasını engeller */
    height: 100%; /* Sayfanın yüksekliğini sabitler */
}

.player-container {
    position: relative;
    width: 90%;
    max-width: 400px;
    padding: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .player-container:hover {
        transform: translateY(-5px);
    }

.album-art {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px -10px var(--primary-glow);
}

    .album-art img {
        width: 60%;
        opacity: 0.8;
    }

.brand-name {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.track-info {
    text-align: center;
    margin-bottom: 2rem;
}

.track-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-author {
    color: var(--text-dim);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn:hover {
        color: var(--primary);
        transform: scale(1.1);
    }

.play-pause-btn {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    box-shadow: 0 8px 20px var(--primary-glow);
}

    .play-pause-btn:hover {
        background: #4f46e5;
        color: white;
        box-shadow: 0 12px 25px var(--primary-glow);
    }

    .play-pause-btn svg {
        width: 30px;
        height: 30px;
    }

.progress-container {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    margin-bottom: 0.75rem;
    z-index: 100000;
}

.progress-current {
    position: absolute;
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

.close-player {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .close-player:hover {
        color: var(--text-main);
        transform: scale(1.1) rotate(90deg);
    }

    .close-player svg {
        width: 20px;
        height: 20px;
    }

.player-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    .player-wrapper.hidden {
        opacity: 0;
        transform: scale(0.95);
        pointer-events: none;
        visibility: hidden;
    }

/* Catalog Styles */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
}

.training-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

    .training-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.card-content p {
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.view-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

    .view-link:hover {
        color: #a855f7;
    }

.card-play-btn {
    width: 100%;
    background: var(--primary);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .card-play-btn:hover {
        background: #4f46e5;
        box-shadow: 0 10px 20px var(--primary-glow);
    }

    .card-play-btn svg {
        width: 20px;
        height: 20px;
    }

.launch-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

    .launch-btn:hover {
        background: var(--primary);
        border-color: var(--primary);
        transform: translateY(-3px);
        box-shadow: 0 15px 35px var(--primary-glow);
    }

    .launch-btn svg {
        width: 24px;
        height: 24px;
    }

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.playing .album-art {
    animation: pulse 4s infinite ease-in-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding: 2rem 1rem;
    }

    header {
        margin-bottom: 2.5rem;
    }

        header h1 {
            font-size: 2rem;
        }

        header p {
            font-size: 1rem;
        }

    .training-grid {
        gap: 1.5rem;
    }

    .training-card {
        padding: 1.5rem;
    }

    .player-container {
        padding: 1.5rem;
    }

    .play-pause-btn {
        width: 60px;
        height: 60px;
    }

    .track-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.75rem;
    }

    .training-grid {
        grid-template-columns: 1fr;
    }
}

.whatsapp-button-class {
    z-index: 9999; /* Bu değeri kontrol edin ve gerekirse daha düşük bir değer verin */
}

.menu-class {
    z-index: 9999; /* Bu değeri kontrol edin ve gerekirse daha düşük bir değer verin */
}
