:root {
    /* Refined modern color palette */
    --primary-color: #000000;
    --accent-color: #8B2635;
    /* Kept from original burgundy but used more sparingly */
    --text-color: #1a1a1a;
    --text-muted: #666666;
    --bg-color: #ffffff;
    --bg-alt: #f8f8f8;
    --white: #ffffff;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-section: 80px;

    /* CMS Modern Design System */
    --cms-sidebar-width: 280px;
    --cms-bg: #f0f2f5;
    --cms-glass: rgba(255, 255, 255, 0.7);
    --cms-glass-border: rgba(255, 255, 255, 0.4);
    --cms-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --cms-accent: #8b2635;
    --cms-accent-light: rgba(139, 38, 53, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.btn {
    display: inline-block;
    padding: 14px 34px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 1px solid transparent;
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    /* Reduced padding for solid header */
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: var(--white) !important;
    /* Force white */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--primary-color) !important;
    /* Force black */
    transition: color 0.3s ease;
}

.header.scrolled .logo {
    color: var(--primary-color);
}

.nav {
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    position: relative;
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color) !important;
    /* Force dark */
    opacity: 0.8;
    padding: 5px 0;
    transition: opacity 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-link:hover {
    opacity: 1;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header.scrolled .nav-link {
    color: var(--primary-color);
    opacity: 0.7;
}

.header.scrolled .nav-link::after {
    background-color: var(--primary-color);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    opacity: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 15px;
}

.header.scrolled .admin-actions {
    border-color: rgba(0, 0, 0, 0.1);
}

.btn-icon {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-actions-wrapper {
    display: none;
    /* Hide cloned actions on desktop */
}

.header.scrolled .btn-icon {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.05);
}

.btn-icon:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header.scrolled .btn-icon:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-booking-header {
    padding: 10px 25px;
    font-size: 0.8rem;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transition: all 0.3s ease;
}

.header.scrolled .btn-booking-header {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-booking-header:hover {
    background-color: #333;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 1.5px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.header.scrolled .nav-toggle span {
    background-color: var(--primary-color);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Hero background fallback - will be covered by slider */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 20%;
    z-index: 0;
}


/* Fallback for single image without slider div */
.hero-bg>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}


.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-shadow: 0 4px 50px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 12px;
    margin-bottom: 50px;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 0.7rem;
    letter-spacing: 4px;
    opacity: 0.5;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

/* Sections */
.section {
    padding: var(--spacing-section) 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: -1px;
    color: var(--primary-color);
}

/* Members */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.member-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Subtle shadow initially */
    height: 100%;
}

.member-card:hover {
    transform: translateY(-10px);
    /* Lift effect */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    /* Stronger shadow on hover */
}

.member-image {
    aspect-ratio: 3 / 4;
    height: auto;
    /* Removed fixed height 400px for better responsiveness and CLS */
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    border-bottom: 3px solid var(--accent-color);
    background-color: #000;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.member-card:hover .member-image img {
    transform: scale(1.05);
}

.member-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.member-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 2.0s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
    object-fit: cover;
    z-index: 0;
}

.member-slide.active {
    opacity: 1 !important;
    transform: translateX(0);
    z-index: 2;
}

.member-slide.exit-left {
    opacity: 1; /* Keep opacity to avoid white-out */
    transform: translateX(-100%);
    z-index: 1;
}

.member-slide.exit-right {
    opacity: 1;
    transform: translateX(100%);
    z-index: 1;
}

.member-slide.enter-left {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 0;
}

/* Since member-image has fixed height 500px, absolute works fine. 
   But the first slide or a placeholder needs to define 'relation' if we want it to flow? 
   No, parent .member-image has 500px height. 
   Wait, if all are absolute, we need to ensure they align. 
*/
/* Member Slide Hover Effect */
.member-card:hover .member-slide {
    transform: scale(1.05);
}

.member-slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.member-slide-nav svg {
    width: 16px;
    height: 16px;
}

.member-slide-nav.prev {
    left: 10px;
}

.member-slide-nav.next {
    right: 10px;
}

.member-card:hover .member-slide-nav {
    opacity: 1;
}

.member-slide-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.member-info {
    text-align: center;
    /* Centered looks better in cards */
    padding: 25px;
}

.member-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 400;
}

.member-info .role {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.member-info .bio {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.8;
    opacity: 0.7;
}

/* Gig Archive - Premium Design */
.gig-archive-wrapper {
    margin-top: 100px;
}

.archive-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}

.archive-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 8px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.8;
    color: var(--primary-color);
}

.archive-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(139, 38, 53, 0.2), transparent);
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.archive-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 25px 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.archive-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.archive-item:hover {
    transform: translateX(15px);
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(139, 38, 53, 0.1);
}

.archive-item:hover::before {
    transform: scaleY(1);
}

.archive-date-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    line-height: 1;
}

.archive-day {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--primary-color);
}

.archive-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-top: 5px;
}

.archive-year {
    font-size: 0.65rem;
    opacity: 0.4;
    margin-top: 2px;
}

.archive-content-col h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.archive-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Responsive Archive */

/* Responsive Archive */
@media (max-width: 768px) {
    .archive-item {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }
    
    .archive-item:hover {
        transform: translateY(-5px);
    }
    
    .archive-item::before {
        width: 100%;
        height: 3px;
        top: auto;
        bottom: 0;
        transform: scaleX(0);
    }
    
    .archive-item:hover::before {
        transform: scaleX(1);
    }
    
    .archive-arrow {
        display: none;
    }

    .archive-header {
        gap: 15px;
    }
    
    .archive-header h3 {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.gig-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.gig-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(139, 38, 53, 0.15);
}

.gig-card-media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f8f8f8;
}

.gig-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.gig-card:hover .gig-card-media img {
    transform: scale(1.1);
}

.gig-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    position: relative;
}

.gig-card-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(139, 38, 53, 0.3), transparent);
    opacity: 0.5;
}

.placeholder-venue {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 1;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.gig-card-date-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.gig-card-info {
    padding: 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gig-card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.gig-card-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
    opacity: 0.8;
}

.gig-card-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.gig-card-footer svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s ease;
}

.gig-card:hover .gig-card-footer svg {
    transform: translateX(10px);
}

/* Music */
.audio-player-wrapper {
    margin: 0 auto;
}

.audio-placeholder {
    padding: 60px;
    background-color: var(--bg-alt);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 1px solid #eee;
    transition: all 0.4s ease;
}

.audio-placeholder:hover {
    background-color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.audio-placeholder .placeholder-icon {
    color: var(--text-muted);
    opacity: 0.4;
}

.audio-placeholder p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.track {
    background: transparent;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.track:first-child {
    border-top: 1px solid #eee;
}

.track-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.track-info .track-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.track-info .track-num {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    letter-spacing: 2px;
}

audio {
    width: 100%;
    height: 35px;
    filter: grayscale(1) opacity(0.7);
}

.video-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
}

.video-item {
    position: relative;
    width: 100%;
    overflow: visible;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-container-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

.video-item img,
.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
    transition: transform 0.6s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.video-overlay.permanent {
    opacity: 1;
}

.video-item:hover img {
    transform: scale(1.05);
}

.play-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
}

.play-icon svg {
    width: 32px;
    height: 32px;
}

.video-item:hover .play-icon {
    transform: scale(1);
}

.video-label-under {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 1px;
}

/* Video Slider Navigation */
.video-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    /* Adjusted due to caption below */
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.video-slider-nav svg {
    width: 20px;
    height: 20px;
}

.video-slider-nav:hover {
    background: var(--accent-color);
}

.video-slider-nav.prev {
    left: -60px;
}

.video-slider-nav.next {
    right: -60px;
}

.video-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.video-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-dot.active {
    background: #333;
}

@media (max-width: 1200px) {
    .video-slider-nav.prev {
        left: 10px;
    }

    .video-slider-nav.next {
        right: 10px;
    }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #eee;
    transition: all 0.5s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Our Sound */
/* Our Sound */
.our-sound {
    background: radial-gradient(circle at center, #3a3a3a 0%, #1f1f1f 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

/* Abstract background element */
.our-sound::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(100px);
    pointer-events: none;
    animation: pulseGlow 10s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }

    100% {
        transform: translate(50px, 50px) scale(1.2);
        opacity: 0.2;
    }
}

.sound-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.our-sound .section-title {
    color: var(--white);
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sound-text .highlight {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 40px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.sound-text p:not(.highlight) {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

@media (max-width: 768px) {
    .sound-content {
        padding: 40px 20px;
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
    }

    .sound-text .highlight {
        font-size: 2rem;
    }

    .our-sound::before {
        width: 400px;
        height: 400px;
        opacity: 0.2;
    }
}

/* Booking */
.booking {
    padding: 120px 0;
    background-color: var(--white);
}

.booking .section-title {
    margin-bottom: 80px;
}

.booking-form {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border: 1px solid #eee;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.03);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    color: var(--text-color);
}

.booking-form .form-group:nth-child(n+3),
.booking-form button {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 5px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #eee;
    color: var(--text-color);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: none;
}

.booking-form .btn-primary {
    padding: 20px 40px;
    font-size: 1.1rem;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .booking {
        padding: 80px 0;
    }

    .booking-form {
        grid-template-columns: 1fr;
        padding: 50px 30px;
    }

    .direct-contact {
        margin-bottom: 20px;
    }

    .contact-methods {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }
}

/* Direct Contact Styles */
.direct-contact {
    margin-bottom: 25px;
    text-align: center;
}

.contact-divider {
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.contact-divider span {
    position: relative;
    background: var(--bg-color);
    padding: 0 20px;
    z-index: 2;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    border: 1px solid #eee;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-text {
    font-weight: 500;
    color: var(--text-color);
}

/* Footer */
.footer {
    background: var(--burgundy-dark);
    padding: 40px 0;
    text-align: center;
    color: var(--cream-light);
}

.socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socials a {
    color: var(--cream-light);
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.socials a:hover {
    color: var(--cream);
}

/* Login Page */
.login-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.login-container {
    background-color: var(--card-bg);
    padding: 40px;
    border: 3px solid var(--burgundy);
    width: 90%;
    max-width: 400px;
    border-radius: 0;
    box-shadow: 0 8px 30px rgba(122, 30, 30, 0.2);
}

.login-container h2 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--burgundy);
    font-size: 2.5rem;
    font-family: var(--font-display);
    letter-spacing: 3px;
}

/* Login Modal and Management Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    /* Enable scrolling for modal container */
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    /* Reduced top margin to fit better */
    padding: 60px;
    border: none;
    width: 90%;
    max-width: 450px;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ccc;
    font-size: 24px;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal h2 {
    margin-bottom: 40px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -1px;
    color: var(--primary-color);
}

.modal .form-group {
    text-align: left;
    margin-bottom: 25px;
}

.modal .btn-primary {
    margin-top: 20px;
    width: 100%;
    padding: 16px;
}

.error-message {
    color: var(--burgundy-dark);
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}

/* New Post Container */
.new-post-container {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 0;
    margin-bottom: 40px;
    border: 3px solid var(--burgundy);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.new-post-container h3 {
    margin-bottom: 20px;
    color: var(--burgundy);
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 2px;
}

/* User Management */
.user-list-container {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 0;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.user-table th,
.user-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid var(--cream-dark);
}

.user-table th {
    color: var(--burgundy);
    text-transform: uppercase;
    font-size: 1rem;
    font-family: var(--font-display);
    letter-spacing: 2px;
}

.user-table tr:last-child td {
    border-bottom: none;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.8rem;
    margin-right: 5px;
}

.btn-danger {
    background-color: transparent;
    border-color: var(--burgundy-dark);
    color: var(--burgundy-dark);
}

.btn-danger:hover {
    background-color: var(--burgundy-dark);
    color: var(--cream-light);
}

/* CMS Tabs */
.cms-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cms-tab {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid var(--cream-dark);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cms-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cms-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cms-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.cms-tab-content.active {
    display: block;
}

.cms-divider {
    border: 0;
    height: 1px;
    background-color: #eee;
    margin: 60px 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Compact Manage Cards */
.manage-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.manage-item-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.manage-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.manage-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.manage-item-content {
    padding: 20px;
    flex-grow: 1;
}

.manage-item-content h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.manage-item-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.manage-item-actions {
    background: #fafafa;
    border-top: 1px solid #eee;
    padding: 12px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.manage-header h2 {
    font-size: 2rem;
    margin-bottom: 0;
    color: var(--text-color);
}

.manage-item-date {
    color: var(--burgundy);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.manage-item-file {
    color: var(--burgundy);
    font-size: 0.9rem;
    font-weight: 600;
}

.manage-item-actions {
    padding: 15px 20px;
    background: var(--cream-light);
    display: flex;
    gap: 10px;
    border-top: 2px solid var(--cream-dark);
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-actions .btn-booking-header {
        display: none;
    }

    /* Ensure actions container is flexible */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
        /* Add spacing between icons and toggle */
        z-index: 1002;
        /* Ensure header actions start on top */
        position: relative;
        margin-left: auto;
        /* Push to right just in case */
        justify-content: flex-end;
        z-index: 2000;
        /* Force above nav (1001) */
    }

    /* When menu is open, make icons dark (on white menu bg) */
    .header.menu-open .admin-actions .btn-icon {
        color: var(--primary-color);
        background: rgba(0, 0, 0, 0.05);
    }

    /* Ensure icons are sized correctly for mobile header */
    .admin-actions .btn-icon {
        width: 40px;
        height: 40px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        /* Narrower width */
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1001;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .nav-list a {
        color: var(--text-color);
        font-size: 1.1rem;
        font-family: var(--font-heading);
    }

    /* Cloned Mobile Actions */
    .mobile-actions-wrapper {
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1002;
        /* Position fixed to ensure it stays visible over menu */
        position: relative;
    }

    .nav-toggle span {
        width: 30px;
        height: 2px;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .header.scrolled .nav-toggle span {
        background-color: var(--primary-color);
    }

    /* When menu is active, ensure toggle is visible */
    .nav-toggle.active span {
        background-color: var(--primary-color);
    }

    /* Burger to X Animation (3 lines) */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Fix Cloned Icons in Mobile Menu */
    .mobile-actions-wrapper .admin-actions {
        display: flex !important;
        /* Force show cloned actions */
        flex-direction: row;
        gap: 20px;
        border: none;
        padding: 0;
    }

    /* Ensure icons are black in the white mobile menu */
    .mobile-actions-wrapper .btn-icon {
        color: var(--primary-color);
        background: rgba(0, 0, 0, 0.05);
        /* Slight background for visibility */
        width: 45px;
        height: 45px;
    }

    .mobile-actions-wrapper .btn-icon:hover {
        background: var(--primary-color);
        color: var(--white);
    }

    .hero {
        height: 70vh;
        /* Reduced height on mobile */
        min-height: 500px;
    }

    .hero-title {
        font-size: 3.5rem;
        /* Further reduced from 4rem */
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 6px;
        margin-bottom: 30px;
    }

    .btn-booking-hero {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator .line {
        height: 30px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 25px;
    }
}


/* Reveal on Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.manage-items-grid .manage-item-card:nth-child(2),
.news-grid .news-item:nth-child(2),
.members-grid .member-card:nth-child(2) {
    transition-delay: 0.1s;
}

.manage-items-grid .manage-item-card:nth-child(3),
.news-grid .news-item:nth-child(3),
.members-grid .member-card:nth-child(3) {
    transition-delay: 0.2s;
}

/* Custom Audio Player */
.custom-audio-player {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-alt);
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    width: 100%;
    border: 1px solid #eee;
}

.player-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.player-btn:hover {
    transform: scale(1.1);
    background: #333;
}

.player-progress-container {
    flex-grow: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.player-progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.1s linear;
}

.player-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    width: 40px;
    text-align: right;
    font-weight: 500;
}

/* Parallax Hero */
.hero-bg {
    transform: translateZ(-1px) scale(2);
    z-index: -1;
    height: 120%;
    /* Taller for parallax room */
}

/* --- HERO SLIDER --- */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Above fallback bg */
}

/* Wrapper for each slide */
.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: #111;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.slider-item.active {
    opacity: 1;
    z-index: 1;
}

.slider-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Main Sharp Image */
.slider-main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show full image */
    z-index: 1;
    filter: brightness(0.65);
    /* Darken to make text pop */
}

@media (max-width: 992px) {
    .slider-main-img {
        object-fit: cover;
        object-position: center;
    }
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
    pointer-events: none;
    transform: translateY(-50%);
}

.slider-arrow {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.slider-arrow:hover {
    background: white;
    color: black;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.slider-arrow svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5px;
}

@media (max-width: 768px) {
    .slider-controls {
        padding: 0 15px;
    }

    .slider-arrow {
        width: 45px;
        height: 45px;
    }

    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* Modal Existing Images */
.existing-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.existing-image-item {
    position: relative;
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.existing-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-remove-image {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
}

.btn-remove-image:hover {
    background: var(--accent-color);
}

/* --- MODERN CMS REDESIGN --- */

.cms-body {
    background-color: var(--cms-bg);
    min-height: 100vh;
}

.cms-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.cms-sidebar {
    width: var(--cms-sidebar-width);
    background: var(--white);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 30px 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cms-logo {
    padding: 0 30px 40px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cms-nav {
    flex: 1;
    padding: 0 15px;
}

.cms-tab {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    border: none;
    background: transparent;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 5px;
    text-align: left;
}

.cms-tab svg {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.cms-tab:hover {
    background: var(--cms-bg);
    color: var(--primary-color);
}

.cms-tab.active {
    background: var(--cms-accent);
    color: var(--white);
    box-shadow: 0 8px 15px rgba(139, 38, 53, 0.2);
}

.cms-tab.active svg {
    opacity: 1;
}

/* Main Content Area */
.cms-main {
    flex: 1;
    margin-left: var(--cms-sidebar-width);
    padding: 40px 60px;
}

.cms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cms-header-title h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.cms-header-title p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Tab Content Visibility */
.cms-tab-content {
    display: none;
    animation: fadeInSlide 0.5s ease-out;
}

.cms-tab-content.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Manage Sections */
.manage-section {
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--cms-shadow);
    border: 1px solid var(--cms-glass-border);
}

.manage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.manage-header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-color);
}

/* Modern Item Cards */
.manage-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Removed duplicate .manage-item-card definition */

.manage-item-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.manage-item-content {
    padding: 20px;
    flex: 1;
}

.manage-item-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.manage-item-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.manage-item-actions {
    padding: 15px 20px;
    background: #fafafa;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.75rem;
    border-radius: 8px;
}

/* Modals */
.modal {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--cms-glass-border);
}

.modal-content h2 {
    font-family: var(--font-heading);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

#loginModal {
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: 24px;
    overflow-y: auto;
}

#loginModal .modal-content {
    width: min(100%, 420px);
    max-height: calc(100dvh - 48px);
    margin: auto;
    overflow-y: auto;
    border-radius: 8px;
}

@media (max-width: 480px) {
    #loginModal {
        padding: 16px;
    }

    #loginModal .modal-content {
        max-height: calc(100dvh - 32px);
        padding: 34px 24px 28px;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fdfdfd;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cms-accent);
    box-shadow: 0 0 0 4px var(--cms-accent-light);
}

.sound-manage-card {
    padding: 30px;
    background: var(--bg-alt);
    border-radius: 16px;
    text-align: center;
}

.sound-manage-card p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* Mobile Responsiveness for CMS */
.cms-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.cms-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Burger to X Animation */
.cms-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.cms-toggle.active span:nth-child(2) {
    opacity: 0;
}

.cms-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay for mobile menu background clicks */
.cms-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 990;
    /* Just below sidebar */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cms-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .cms-sidebar {
        width: 280px;
        left: auto;
        right: -280px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cms-sidebar.active {
        right: 0;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.1);
    }

    .cms-main {
        margin-left: 0;
        padding: 30px 20px;
    }

    .cms-toggle {
        display: flex;
    }

    .cms-header {
        gap: 20px;
        justify-content: space-between;
        align-items: center;
    }
}


@media (max-width: 576px) {
    .cms-main {
        padding: 80px 15px 30px;
    }

    .cms-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 15px 20px;
        z-index: 1001;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        margin-bottom: 0;
    }

    .cms-header-title h1 {
        font-size: 1.5rem;
    }

    .cms-header-title p {
        display: none;
    }

    .manage-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .manage-header h2 {
        font-size: 1.25rem;
    }

    .manage-header .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}

/* --- Updated Gig Cards & Modal --- */
.news-grid {
    display: grid;
    /* Use auto-fill to allow them to specific size, not stretch too wide */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}

.news-item.card-style {
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 0.85;
    /* Taller */
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Stronger shadow */
    border-radius: 12px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-item.card-style:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
    /* Highlight border on hover */
}

.news-card-img {
    height: 60%;
    /* Take up more space for image */
    width: 100%;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--accent-color);
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-card-img img {
    transform: scale(1.1);
}

.news-card-img.placeholder {
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: auto;
    /* Push to bottom */
    cursor: pointer;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    align-self: flex-start;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.85);
    /* Lighter background */
    backdrop-filter: blur(15px);
    /* Stronger blur for glass feel */
}

.modal-content.gig-modal-content {
    background-color: #fff;
    margin: 40px auto;
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    position: relative;
    max-height: calc(100vh - 80px);
    /* Fit within viewport */
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #000;
}

.gig-modal-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.gig-modal-date {
    display: block;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.gig-modal-header h2 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin: 0;
}

.gig-modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* --- Gig Media Slider --- */
.gig-media-slider-container {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.gig-media-slider {
    width: 100%;
    min-height: 300px;
    display: flex;
    /* or block, managed by JS */
    align-items: center;
    justify-content: center;
}

.gig-slide-item {
    width: 100%;
    height: auto;
    display: none;
    /* JS toggles this */
}

.gig-slide-item.active {
    display: block;
}

.gig-detail-img.slider-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Don't crop in slider */
    background: #000;
    cursor: zoom-in;
}

.gig-slide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    /* Fixed height rows, slightly smaller than gallery to fit modal */
    gap: 10px;
    width: 100%;
    height: auto;
    padding: 10px 10px 50px 10px;
    /* Padding for dots */
    box-sizing: border-box;
}

.gig-slide-grid .gig-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Back to Cover for Gallery Look */
    background: transparent;
    border-radius: 4px;
    cursor: zoom-in;
    transition: transform 0.3s;
}

.gig-slide-grid .gig-detail-img:hover {
    transform: scale(1.02);
}

/* Immersive Slide for Mobile (Blurred BG + Sharp FG) */
.gig-slide-immersive {
    width: 100%;
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.gig-immersive-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.6);
    opacity: 0.8;
}

.gig-immersive-fg {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 2;
    cursor: zoom-in;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .gig-media-slider-container.mobile-slider {
        margin-left: -20px;
        /* Bleed to modal edges */
        margin-right: -20px;
        width: calc(100% + 40px);
        border-radius: 0;
    }

    .gig-media-slider {
        min-height: 500px;
    }

    .gig-slide-immersive {
        height: 500px;
    }

    /* Minimalist Arrows for Mobile Slider */
    .mobile-slider .gig-slider-nav {
        background: transparent;
        color: rgba(255, 255, 255, 0.8);
        padding: 10px;
        font-size: 20px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .mobile-slider .gig-slider-nav:hover {
        background: transparent;
        color: #fff;
    }

    .gig-slide-grid {
        grid-template-rows: repeat(2, 180px);
    }

    .gig-modal-media {
        padding: 0;
        /* Remove padding for immersive slider */
    }

    .gig-video-section h3 {
        padding: 0 20px;
    }
}

/* Immersive Video Stage */
.gig-video-immersive-stage {
    width: 100%;
    height: 500px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .gig-video-immersive-stage {
        height: 350px;
        /* Balanced height for mobile videos */
    }

    .video-slider.mobile-slider .gig-media-slider {
        min-height: 350px;
    }
}

.gig-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gig-slider-nav svg {
    width: 24px;
    height: 24px;
}

.gig-slider-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gig-slider-nav.prev {
    left: 0;
}

.gig-slider-nav.next {
    right: 0;
}

.gig-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.slider-dot.active {
    background: white;
}

.gig-video-section h3 {
    margin-bottom: 15px;
}

.gig-video-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.gig-video-wrapper iframe,
.gig-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Crucial for portrait videos */
    border: none;
}

.gig-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 30px;
    max-height: 420px;
    /* Show approx 2 rows */
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar styling for Webkit */
.gig-media-grid::-webkit-scrollbar {
    width: 6px;
}

.gig-media-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.gig-media-grid::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.gig-media-grid::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (max-width: 768px) {
    .gig-media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gig-detail-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
    cursor: pointer;
}

.gig-detail-img:hover {
    transform: scale(1.02);
}

.gig-video-container {
    margin-top: 30px;
}

.gig-detail-video {
    width: 100%;
    border-radius: 8px;
    background: #000;
    max-height: 500px;
}

/* --- Updated Gallery Slider --- */
.gallery-section-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    /* Fixed height rows for consistency */
    gap: 20px;
    min-height: 620px;
    /* 300*2 + 20 gap */
}

.gallery-item {
    width: 100%;
    height: 100%;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.gallery-nav-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav-btn svg {
    width: 22px;
    height: 22px;
}

.gallery-nav-btn:hover {
    background: var(--primary-color);
    color: white;
}

.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: transparent;
    color: var(--primary-color);
}

/* Mobile responsive for Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
        /* 3 rows on mobile */
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 250px);
    }
}

/* --- Music Player Polish - Slim Pill Design --- */
/* --- Music Player Polish - Final Robust Design --- */
.audio-player-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    gap: 12px;
}

.track {
    background: #f5f5f5;
    /* Visible contrast against white bg */
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 25px 15px 85px;
    /* Left padding for play button */
    border-radius: 60px;
    /* Full pill */
    display: flex;
    align-items: center;
    position: relative;
    gap: 20px;
    transition: all 0.2s ease;
}

.track:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.01);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Play Button - Absolute Left, clearly visible */
.player-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
    border: 2px solid #fff;
    /* Ring effect */
}

.player-btn:hover {
    transform: translateY(-50%) scale(1.05);
    background: #a02d3d;
}

.player-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    margin-left: 3px;
}

/* Info Section (Title/Artist) */
.track-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 180px;
    max-width: 30%;
}

.track-info .track-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-info .track-num {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* Player Controls Container (Progress + Time) */
.custom-audio-player {
    display: flex;
    align-items: center;
    /* Vertically center the bar */
    flex-grow: 1;
    /* Take remaining space */
    gap: 15px;
    /* Reset margins/paddings */
    margin: 0;
    padding: 0;
    background: transparent;
}

/* Progress Rail */
.player-progress-container {
    flex-grow: 1;
    /* Stretch to fill space between Info and Time */
    height: 8px;
    /* Thicker for visibility */
    background: #dcdcdc;
    /* Visible rail color */
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.player-progress-bar {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s linear;
}

/* Time */
.player-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    min-width: 45px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Mobile Adjustments */
@media (max-width: 650px) {
    .track {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 20px 20px 80px;
        /* Keep space for button */
        border-radius: 20px;
        /* Less pill, more card-ish */
        gap: 15px;
    }

    .player-btn {
        left: 15px;
        top: 25px;
        /* Align with top section */
        transform: none;
    }

    .track-info {
        max-width: 100%;
        margin-bottom: 5px;
    }

    .custom-audio-player {
        width: 100%;
    }
}

/* Hide legacy handle */
.player-progress-bar::after {
    display: none;
}

.player-time {
    font-variant-numeric: tabular-nums;
    font-size: 0.8rem;
    color: #666;
    width: 40px;
    text-align: right;
}

/* --- Booking Form Modernization --- */
.booking-section {
    position: relative;
    /* Ensure background image or color is handled in .booking section rule if updated */
}

.booking-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 850px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.booking-form:hover {
    transform: translateY(-5px);
}

.form-group input,
.form-group textarea {
    background: #f0f2f5;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
    /* Focus ring */
    outline: none;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .booking-form {
        padding: 40px 20px;
        gap: 20px;
        border-radius: 12px;
    }

    .booking .section-title {
        margin-bottom: 40px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .form-group label {
        margin-bottom: 4px;
        font-size: 0.8rem;
    }

    .booking-form .btn-primary {
        padding: 15px 30px;
        font-size: 1rem;
        margin-top: 10px;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--white);
    color: var(--text-color);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--cms-accent);
    pointer-events: auto;
}

.toast.active {
    transform: translateX(0);
}

.toast.success {
    border-left-color: #4cd137;
}

.toast.error {
    border-left-color: #e84118;
}

.toast-icon {
    font-size: 1.2rem;
}

/* --- Global Loading Spinner --- */
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.toast-message {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Success Modal Styles */
#successModal .success-modal-content {
    text-align: center;
    padding: 3.5rem 2rem;
    max-width: 500px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.1);
    animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#successModal .success-icon {
    color: #4CAF50;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

#successModal h2 {
    font-family: inherit;
    font-weight: 800;
    font-size: 2.25rem;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #000;
}

#successModal p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Footer Legal Links */
.footer-legal {
    margin-bottom: 20px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-legal a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-legal .separator {
    margin: 0 10px;
    opacity: 0.5;
}

/* Ensure footer spacing accommodates new links */
.footer {
    padding: 60px 0;
    text-align: center;
    background-color: var(--bg-alt);
    border-top: 1px solid #eee;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
