/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    background-color: #eceff1;
    color: #333;
    line-height: 1.7;
}

/* Sticky Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-right: 2rem;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.menu li a:hover {
    color: #00e5ff;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.menu li a[aria-current="page"] {
    color: #00e5ff;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 32px;
    height: 4px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Main Content */
main {
    max-width: 1280px;
    padding: 2.5rem;
    margin: 0 auto;
    padding-top: 90px;
    text-align: center;
    background: linear-gradient(180deg, rgba(106, 27, 154, 0.05), #eceff1);
}

h1 {
    color: #6a1b9a;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    color: #6a1b9a;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

p {
    margin-bottom: 1.5rem;
    color: #444;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
}

/* Intro Text */
.intro-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    color: #555;
}

/* Page Icon */
.page-icon {
    width: 100px;
    height: auto;
    margin: 1.5rem auto;
    animation: pulse 2s infinite ease-in-out;
}

/* Notification */
.notification {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 1.2rem;
    border-radius: 10px;
    margin: 1.5rem auto;
    max-width: 700px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.notification.success {
    border-left: 4px solid #2e7d32;
}

.notification.error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.notification[aria-live="polite"] {
    border-left: 4px solid #2e7d32;
}

/* Buttons */
button, .btn, .cta-button {
    background: linear-gradient(135deg, #00e5ff, #00b0ff);
    color: #1a237e;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

button:hover, .btn:hover, .cta-button:hover {
    background: linear-gradient(135deg, #4dd0e1, #0288d1);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
}

button:active, .btn:active, .cta-button:active {
    transform: translateY(0);
}

button:focus, .btn:focus, .cta-button:focus {
    outline: 3px solid #ec407a;
    outline-offset: 2px;
}

.cta-button {
    background: linear-gradient(135deg, #ff4081, #f50057);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

.cta-button:hover {
    background: linear-gradient(135deg, #f06292, #d81b60);
}

.btn.delete {
    background: linear-gradient(135deg, #ef5350, #d32f2f);
    color: #fff;
}

.btn.delete:hover {
    background: linear-gradient(135deg, #e57373, #ef5350);
}

.btn.active {
    background: linear-gradient(135deg, #00e5ff, #0288d1);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    color: #fff;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

footer p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #00e5ff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Form Card */
.form-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2.5rem;
    margin: 2.5rem auto;
    max-width: 800px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.form-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
}

/* Filter Card */
.filter-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.filter-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
}

.filter-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.filter-form .form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.filter-form .form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-form .form-group input:focus {
    border-color: #6a1b9a;
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.2);
    outline: none;
}

/* Log Card */
.log-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    animation: fadeIn 0.5s ease-in-out;
}

.log-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
}

/* Form Styling */
.form-legend {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #6a1b9a;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6a1b9a;
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group .error {
    color: #c62828;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hidden {
    display: none;
}

/* Upgrade Notice */
.upgrade-notice {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.upgrade-notice p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Subscription Container */
.subscription-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.subscription-container::after {
    content: '';
    flex: auto;
    min-width: 0; /* Fallback for older browsers */
}

/* Subscription Card */
.subscription {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
    min-height: 400px; /* Ensure minimum height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subscription::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
    transition: background 0.3s ease;
}

.subscription.current::before {
    background: linear-gradient(135deg, #00e5ff, #0288d1);
}

.subscription:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.subscription h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #6a1b9a;
    margin-bottom: 1rem;
}

.subscription ul {
    list-style: disc;
    padding-left: 1.8rem;
    color: #444;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.subscription li {
    margin-bottom: 0.8rem;
}

.subscription p {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.current-plan-text {
    font-weight: 600;
    color: #0288d1;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.subscription a.cta-button,
.subscription p.current-plan-text {
    margin-top: auto;
}

/* Plan Badges */
.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    z-index: 1;
}

.plan-badge.free {
    background: #4caf50;
}

.plan-badge.singer {
    background: #0288d1;
}

.plan-badge.dj {
    background: #d81b60;
}

/* Current Plan Indicator */
.current-plan {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 10px;
    margin: 1.5rem auto;
    max-width: 700px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.current-plan strong {
    color: #6a1b9a;
    font-weight: 600;
}

/* Upgrade Button */
.upgrade-button {
    text-align: center;
    margin: 2rem 0;
}

/* Song List */
.song-list {
    max-width: 800px;
    margin: 2rem auto;
}

.share-link {
    margin-bottom: 1.5rem;
}

/* Table Styling */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 2.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #e0e0e0;
    font-family: 'Inter', sans-serif;
}

table th {
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    color: #fff;
    font-weight: 600;
}

table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

table tbody tr:hover {
    background: rgba(106, 27, 154, 0.05);
}

/* Filter Card */
.filter-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.filter-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
}

.filter-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.filter-form .form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.filter-form .form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-form .form-group input:focus {
    border-color: #6a1b9a;
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.2);
    outline: none;
}

/* Log Card */
.log-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    animation: fadeIn 0.5s ease-in-out;
}

.log-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.pagination .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.pagination .btn.active {
    background: linear-gradient(135deg, #00e5ff, #0288d1);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hidden {
    display: none;
}

/* Upgrade Notice */
.upgrade-notice {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.upgrade-notice p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Subscription Container */
.subscription-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.subscription-container::after {
    content: '';
    flex: auto;
    min-width: 0; /* Fallback for older browsers */
}

/* Subscription Card */
.subscription {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
    min-height: 400px; /* Ensure minimum height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subscription::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
    transition: background 0.3s ease;
}

.subscription.current::before {
    background: linear-gradient(135deg, #00e5ff, #0288d1);
}

.subscription:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.subscription h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #6a1b9a;
    margin-bottom: 1rem;
}

.subscription ul {
    list-style: disc;
    padding-left: 1.8rem;
    color: #444;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.subscription li {
    margin-bottom: 0.8rem;
}

.subscription p {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.current-plan-text {
    font-weight: 600;
    color: #0288d1;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.subscription a.cta-button,
.subscription p.current-plan-text {
    margin-top: auto;
}

/* Plan Badges */
.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    z-index: 1;
}

.plan-badge.free {
    background: #4caf50;
}

.plan-badge.singer {
    background: #0288d1;
}

.plan-badge.dj {
    background: #d81b60;
}

/* Current Plan Indicator */
.current-plan {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 10px;
    margin: 1.5rem auto;
    max-width: 700px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.current-plan strong {
    color: #6a1b9a;
    font-weight: 600;
}

/* Upgrade Button */
.upgrade-button {
    text-align: center;
    margin: 2rem 0;
}

/* Song List */
.song-list {
    max-width: 800px;
    margin: 2rem auto;
}

.share-link {
    margin-bottom: 1.5rem;
}

/* Table Styling */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 2.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #e0e0e0;
    font-family: 'Inter', sans-serif;
}

table th {
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    color: #fff;
    font-weight: 600;
}

table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

table tbody tr:hover {
    background: rgba(106, 27, 154, 0.05);
}

/* Filter Card */
.filter-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.filter-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
}

.filter-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.filter-form .form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.filter-form .form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-form .form-group input:focus {
    border-color: #6a1b9a;
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.2);
    outline: none;
}

/* Log Card */
.log-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    animation: fadeIn 0.5s ease-in-out;
}

.log-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.pagination .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.pagination .btn.active {
    background: linear-gradient(135deg, #00e5ff, #0288d1);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hidden {
    display: none;
}

/* Upgrade Notice */
.upgrade-notice {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.upgrade-notice p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Subscription Container */
.subscription-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.subscription-container::after {
    content: '';
    flex: auto;
    min-width: 0; /* Fallback for older browsers */
}

/* Subscription Card */
.subscription {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
    min-height: 400px; /* Ensure minimum height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subscription::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
    transition: background 0.3s ease;
}

.subscription.current::before {
    background: linear-gradient(135deg, #00e5ff, #0288d1);
}

.subscription:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.subscription h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #6a1b9a;
    margin-bottom: 1rem;
}

.subscription ul {
    list-style: disc;
    padding-left: 1.8rem;
    color: #444;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.subscription li {
    margin-bottom: 0.8rem;
}

.subscription p {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.current-plan-text {
    font-weight: 600;
    color: #0288d1;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.subscription a.cta-button,
.subscription p.current-plan-text {
    margin-top: auto;
}

/* Plan Badges */
.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    z-index: 1;
}

.plan-badge.free {
    background: #4caf50;
}

.plan-badge.singer {
    background: #0288d1;
}

.plan-badge.dj {
    background: #d81b60;
}

/* Current Plan Indicator */
.current-plan {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 10px;
    margin: 1.5rem auto;
    max-width: 700px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.current-plan strong {
    color: #6a1b9a;
    font-weight: 600;
}

/* Upgrade Button */
.upgrade-button {
    text-align: center;
    margin: 2rem 0;
}

/* Song List */
.song-list {
    max-width: 800px;
    margin: 2rem auto;
}

.share-link {
    margin-bottom: 1.5rem;
}

/* Table Styling */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 2.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #e0e0e0;
    font-family: 'Inter', sans-serif;
}

table th {
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    color: #fff;
    font-weight: 600;
}

table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

table tbody tr:hover {
    background: rgba(106, 27, 154, 0.05);
}

/* Filter Card */
.filter-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.filter-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
}

.filter-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.filter-form .form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.filter-form .form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-form .form-group input:focus {
    border-color: #6a1b9a;
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.2);
    outline: none;
}

/* Log Card */
.log-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    animation: fadeIn 0.5s ease-in-out;
}

.log-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.pagination .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.pagination .btn.active {
    background: linear-gradient(135deg, #00e5ff, #0288d1);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hidden {
    display: none;
}

/* Upgrade Notice */
.upgrade-notice {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.upgrade-notice p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Subscription Container */
.subscription-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.subscription-container::after {
    content: '';
    flex: auto;
    min-width: 0; /* Fallback for older browsers */
}

/* Subscription Card */
.subscription {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
    min-height: 400px; /* Ensure minimum height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subscription::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
    transition: background 0.3s ease;
}

.subscription.current::before {
    background: linear-gradient(135deg, #00e5ff, #0288d1);
}

.subscription:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.subscription h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #6a1b9a;
    margin-bottom: 1rem;
}

.subscription ul {
    list-style: disc;
    padding-left: 1.8rem;
    color: #444;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.subscription li {
    margin-bottom: 0.8rem;
}

.subscription p {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.current-plan-text {
    font-weight: 600;
    color: #0288d1;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.subscription a.cta-button,
.subscription p.current-plan-text {
    margin-top: auto;
}

/* Plan Badges */
.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    z-index: 1;
}

.plan-badge.free {
    background: #4caf50;
}

.plan-badge.singer {
    background: #0288d1;
}

.plan-badge.dj {
    background: #d81b60;
}

/* Current Plan Indicator */
.current-plan {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 10px;
    margin: 1.5rem auto;
    max-width: 700px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.current-plan strong {
    color: #6a1b9a;
    font-weight: 600;
}

/* Upgrade Button */
.upgrade-button {
    text-align: center;
    margin: 2rem 0;
}

/* Song List */
.song-list {
    max-width: 800px;
    margin: 2rem auto;
}

.share-link {
    margin-bottom: 1.5rem;
}

/* Table Styling */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 2.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #e0e0e0;
    font-family: 'Inter', sans-serif;
}

table th {
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    color: #fff;
    font-weight: 600;
}

table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

table tbody tr:hover {
    background: rgba(106, 27, 154, 0.05);
}

/* Filter Card */
.filter-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.filter-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
}

.filter-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.filter-form .form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.filter-form .form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-form .form-group input:focus {
    border-color: #6a1b9a;
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.2);
    outline: none;
}

/* Log Card */
.log-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    animation: fadeIn 0.5s ease-in-out;
}

.log-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.pagination .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.pagination .btn.active {
    background: linear-gradient(135deg, #00e5ff, #0288d1);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hidden {
    display: none;
}

/* Upgrade Notice */
.upgrade-notice {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.upgrade-notice p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Subscription Container */
.subscription-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.subscription-container::after {
    content: '';
    flex: auto;
    min-width: 0; /* Fallback for older browsers */
}

/* Subscription Card */
.subscription {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
    min-height: 400px; /* Ensure minimum height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subscription::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
    transition: background 0.3s ease;
}

.subscription.current::before {
    background: linear-gradient(135deg, #00e5ff, #0288d1);
}

.subscription:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.subscription h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #6a1b9a;
    margin-bottom: 1rem;
}

.subscription ul {
    list-style: disc;
    padding-left: 1.8rem;
    color: #444;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.subscription li {
    margin-bottom: 0.8rem;
}

.subscription p {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.current-plan-text {
    font-weight: 600;
    color: #0288d1;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.subscription a.cta-button,
.subscription p.current-plan-text {
    margin-top: auto;
}

/* Plan Badges */
.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    z-index: 1;
}

.plan-badge.free {
    background: #4caf50;
}

.plan-badge.singer {
    background: #0288d1;
}

.plan-badge.dj {
    background: #d81b60;
}

/* Current Plan Indicator */
.current-plan {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 10px;
    margin: 1.5rem auto;
    max-width: 700px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.current-plan strong {
    color: #6a1b9a;
    font-weight: 600;
}

/* Upgrade Button */
.upgrade-button {
    text-align: center;
    margin: 2rem 0;
}

/* Song List */
.song-list {
    max-width: 800px;
    margin: 2rem auto;
}

.share-link {
    margin-bottom: 1.5rem;
}

/* Table Styling */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 2.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #e0e0e0;
    font-family: 'Inter', sans-serif;
}

table th {
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    color: #fff;
    font-weight: 600;
}

table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

table tbody tr:hover {
    background: rgba(106, 27, 154, 0.05);
}

/* Filter Card */
.filter-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.filter-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a1b9a, #ec407a);
    z-index: -1;
    border-radius: 18px;
}

.filter-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.filter-form .form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.filter-form .form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-form .form-group input:focus {
    border-color: #6a1b9a;
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.2);
    outline: none;
}

/* Log Card */
.log-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    animation: fadeIn 0.5s ease-in-out;
}

.log-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    /*background: linear-gradient(*/

}





        /* Light, page-specific helpers that reuse your palette */
        .featured {
            position: relative;
            background: #fff;
            border-radius: 16px;
            border: 2px solid transparent;
            background-clip: padding-box;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            padding: 2rem;
            margin: 2rem auto;
            max-width: 1200px;
            text-align: left;
        }
        .featured::before {
            content:'';
            position:absolute; inset:-2px;
            background: linear-gradient(135deg, #6a1b9a, #ec407a);
            z-index:-1; border-radius:18px;
        }
        .featured-grid {
            display:grid; gap:1.5rem;
            grid-template-columns: 1.5fr 1fr;
        }
        @media (max-width: 900px){ .featured-grid{ grid-template-columns:1fr; } }
        .featured h3 { color:#6a1b9a; margin:0 0 .5rem; }
        .badge-list { display:flex; flex-wrap:wrap; gap:.5rem; margin:.5rem 0 1rem; }
        .badge {
            display:inline-block; padding:.25rem .6rem; border-radius:999px;
            background: linear-gradient(135deg, #00e5ff, #0288d1); color:#fff; font-weight:600; font-size:.9rem;
        }
        .tiny { font-size:.95rem; color:#555; }
        .featured figure { margin:0; }
        .featured figure img { width:100%; height:auto; border-radius:12px; display:block; }
        .chips { display:flex; gap:.5rem; flex-wrap:wrap; margin-top: .5rem; }
        .chip {
            background:#fff3b0; border:1px solid #b88a00; color:#7a5d00;
            padding:.2rem .5rem; border-radius:999px; font-size:.85rem;
        }
        .split-cta { display:flex; gap:1rem; flex-wrap:wrap; margin-top:1rem; }
        .note { background:#e8f5e9; color:#2e7d32; padding:.75rem 1rem; border-radius:10px; display:inline-block; }
        .box h2 + p.intro-text { margin-top:-.5rem; }
        .carousel-images { display:flex; gap:1rem; overflow-x:auto; padding: .5rem 0; }
        .dj-card { min-width: 180px; background:#fff; border-radius:12px; box-shadow:0 6px 14px rgba(0,0,0,.1); overflow:hidden; }
        .dj-card img { width:100%; height:auto; display:block; }
        .dj-name { padding:.75rem 1rem; font-weight:600; }

        /* ===== Responsive Nav (mobile) ===== */
        @media (max-width: 900px) {
          .hamburger {
            display: flex; /* show hamburger on small screens */
          }

          /* turn the menu into a hidden off-canvas panel by default */
          .menu {
            position: fixed;
            top: 64px;              /* sits below the sticky nav */
            right: 0;
            left: 0;
            background: linear-gradient(180deg, rgba(106, 27, 154, 0.95), rgba(236, 64, 122, 0.95));
            flex-direction: column;
            padding: 1rem 1.25rem;
            gap: 0.25rem;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.25s ease;
            box-shadow: 0 8px 20px rgba(0,0,0,0.25);
          }

          /* show the panel when .open is applied */
          .menu.open {
            max-height: 80vh; /* enough space to scroll */
          }

          .menu li {
            margin: 0.125rem 0;
          }

          .menu li a {
            display: block;
            padding: 0.75rem 0.5rem;
            font-size: 1.05rem;
          }

          /* make main start a bit lower on mobile to avoid overlap */
          main {
            padding-top: 110px;
          }

          /* optional: animate hamburger into an "X" */
          .hamburger.active span:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
          }
          .hamburger.active span:nth-child(2) {
            opacity: 0;
          }
          .hamburger.active span:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
          }
        }




