/* Oga Pro Premium Styling - (Portal, Release Card, etc. - UNCHANGED FROM PREVIOUS) */
.oga-portal {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding: 50px 30px;
    background-color: #0b0b0b;
    font-family: 'Inter', sans-serif;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Release Card - (UNCHANGED FROM PREVIOUS) */
.oga-release {
    background: #121212;
    border: 1px solid #282828;
    border-radius: 18px;
    padding: 25px;
    width: calc(25% - 28px);
    color: #e0e0e0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.oga-release:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

/* Thumbnail - (UNCHANGED FROM PREVIOUS) */
.oga-release img {
    width: 100%;
    height: 200px;
    border-radius: 14px;
    margin-bottom: 18px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Title - (UNCHANGED FROM PREVIOUS) */
.oga-release h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    line-height: 1.4;
}

/* General button style (UNCHANGED) */
.oga-release .oga-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0; /* Adjust margin for overall button group */
    padding: 9px 18px;
    font-size: 14.5px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Primary button style (UNCHANGED) */
.oga-release .oga-button.primary {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #ffffff;
}

.oga-release .oga-button.primary:hover {
    background: linear-gradient(135deg, #9333ea, #db2777);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Secondary button style (e.g., for "More Info" or "Preview") (UNCHANGED) */
.oga-release .oga-button.secondary {
    background-color: #2c2c2c;
    color: #c0c0c0;
}

.oga-release .oga-button.secondary:hover {
    background-color: #3a3a3a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}


/* NEW: Download Button Style */
.oga-release .oga-button.download {
    background-color: #1f1f1f; /* Darker, subtle background */
    color: #909090; /* Softer white text */
    border: 1px solid #3a3a3a; /* A subtle border for definition */
    font-size: 14px; /* Slightly smaller font than primary/secondary */
    padding: 8px 16px; /* Slightly less padding to differentiate */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Lighter shadow */
}

.oga-release .oga-button.download:hover {
    background-color: #2a2a2a; /* Slightly lighter on hover */
    color: #ffffff; /* White text on hover for better visibility */
    border-color: #555; /* Border lightens on hover */
    transform: translateY(-1px); /* Very subtle lift */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Slightly more prominent shadow */
}

/* Receipt Area - (UNCHANGED) */
.oga-receipt {
    background-color: #1a1a1a;
    color: #d0d0d0;
    padding: 30px;
    border-radius: 18px;
    margin: 50px auto;
    border: 1px solid #333333;
    max-width: 950px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.oga-receipt h3 {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #444;
    padding-bottom: 12px;
    margin-bottom: 20px;
    color: #ffffff;
}

.oga-receipt ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oga-receipt ul li {
    padding: 14px 0;
    border-bottom: 1px dashed #3a3a3a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.oga-receipt ul li:last-child {
    border-bottom: none;
}

/* Pagination - (UNCHANGED) */
.oga-pagination {
    text-align: center;
    margin-top: 40px;
}

.oga-pagination .oga-page-link {
    margin: 0 8px;
    padding: 9px 16px;
    font-size: 15px;
    color: #e0e0e0;
    background: #222;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: 1px solid #333;
    display: inline-block;
}

.oga-pagination .oga-page-link.active {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #ffffff;
    font-weight: bold;
    border-color: #a855f7;
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.3);
}

.oga-pagination .oga-page-link:hover:not(.active) {
    background-color: #3a3a3a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Audio Preview Button - (UNCHANGED) */
.oga-audio-preview-btn {
    background-color: #2c2c2c;
    color: #ffffff;
    border: none;
    padding: 11px 22px;
    border-radius: 35px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease-in-out;
    order: -1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.oga-audio-preview-btn:hover {
    background-color: #00b88d;
    color: #0a0a0a;
    transform: scale(1.03);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.oga-audio-preview-btn::before {
    content: '▶️';
    font-size: 17px;
}

.oga-audio-preview-btn.playing {
    background-color: #e63946;
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(230, 57, 70, 0.4);
}

.oga-audio-preview-btn.playing::before {
    content: '⏸️';
}

/* Wrapper for buttons - (UNCHANGED) */
.oga-release-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

/* REMOVED: Old .oga-release-buttons a style (moved to .oga-button.download) */

/* Responsive Layout - (UNCHANGED) */
@media screen and (max-width: 1280px) {
    .oga-release {
        width: calc(33.33% - 28px);
    }
}

@media screen and (max-width: 1024px) {
    .oga-release {
        width: calc(50% - 28px);
    }
}

@media screen and (max-width: 768px) {
    .oga-portal {
        padding: 40px 20px;
    }
    .oga-receipt {
        margin: 30px auto;
        padding: 25px;
    }
}

@media screen and (max-width: 600px) {
    .oga-portal {
        flex-direction: column;
        padding: 30px 15px;
        gap: 20px;
    }

    .oga-release {
        width: 100%;
        padding: 20px;
    }

    .oga-release img {
        height: 180px;
    }

    .oga-audio-preview-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }

    .oga-release-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .oga-release .oga-button {
        width: 100%;
        text-align: center;
    }

    .oga-receipt {
        margin: 20px auto;
        padding: 20px;
    }
}


/* --- Audio Player Styling --- */
.oga-audio-player-container {
    background-color: #1a1a1a; /* Dark background for the player */
    border: 1px solid #2f2f2f;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px; /* Space above player */
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    overflow: hidden; /* Ensure content doesn't spill */
}

/* Hide the native audio element */
.oga-audio-element {
    display: none;
}

.oga-audio-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.oga-audio-play-pause {
    /* Inherits .oga-button.secondary styles */
    /* Adjust specific styles for play/pause button */
    padding: 10px 20px; /* Slightly more padding */
    font-size: 15px;
    border-radius: 25px; /* More pill-shaped */
    min-width: 120px; /* Ensure consistent width */
    justify-content: center; /* Center content within button */
}

.oga-audio-play-pause .icon {
    font-size: 1.2em; /* Slightly larger icon */
    margin-right: 5px; /* Space between icon and text */
}

/* Play state */
.oga-audio-play-pause.playing .icon {
    content: "⏸"; /* Will be set by JS */
}

.oga-audio-play-pause.playing {
    background-color: #e63946; /* Red for playing */
    color: #ffffff;
    border-color: #e63946;
}

.oga-audio-play-pause.playing:hover {
    background-color: #c9303c; /* Darker red on hover */
    border-color: #c9303c;
}


.oga-audio-progress-bar-wrapper {
    flex-grow: 1; /* Takes up available space */
    height: 8px; /* Height of the progress bar */
    background-color: #333333; /* Background of the bar */
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden; /* Important for the fill */
    position: relative;
}

.oga-audio-progress-bar {
    height: 100%;
    width: 0%; /* Will be controlled by JS */
    background: linear-gradient(90deg, #a855f7, #ec4899); /* Premium gradient fill */
    border-radius: 4px;
    transition: width 0.1s linear; /* Smooth fill */
    position: absolute;
    top: 0;
    left: 0;
}

.oga-audio-time {
    font-size: 13px;
    color: #b0b0b0; /* Muted time display */
    min-width: 80px; /* Prevent jumping */
    text-align: right;
}

/* Media Queries for Audio Player (adjust as needed) */
@media screen and (max-width: 600px) {
    .oga-audio-controls {
        flex-direction: column; /* Stack controls vertically */
        align-items: stretch; /* Stretch buttons to full width */
    }
    .oga-audio-play-pause {
        width: 100%;
    }
    .oga-audio-time {
        text-align: center;
        margin-top: -5px; /* Adjust spacing */
    }
}

/* --- Download Buttons (already defined in previous response, ensuring they use .oga-button.download) --- */
/* Your .oga-release-buttons and .oga-button.download styles from previous response */
.oga-release-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.oga-release .oga-button.download {
    background-color: #1f1f1f;
    color: #909090;
    border: 1px solid #3a3a3a;
    font-size: 14px;
    padding: 8px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    /* Ensure it fills the width if needed for layout consistency */
    width: 100%; /* Important for download buttons to stack nicely */
    box-sizing: border-box; /* Include padding/border in width */
}

.oga-release .oga-button.download:hover {
    background-color: #2a2a2a;
    color: #ffffff;
    border-color: #555;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}