:root {
    --bg-color: #0b0b0b;
    --text-white: #ffffff;
    --color-teal: #00e5ff;
    /* Adjustable based on look */
    --color-orange: #ff9100;
    --color-purple: #d500f9;
    --color-red: #ff3d00;
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: rgba(11, 11, 11, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Nav is absolutely centered to the screen, ignoring side element widths */
nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /* Ensure it doesn't overlap if screen gets tight before breakpoint */
    white-space: nowrap;
}

/* Prevent shrinking */
.logo-container,
.header-right {
    flex-shrink: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    height: 80px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

/* 
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
*/

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--color-teal);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.85rem;
    font-weight: 700;
}

.lang-btn {
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-weight: 700;
    color: #888;
    transition: color 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--color-teal);
}


.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    color: #ccc;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--text-white);
}

/* Brand Hover Colors */
.socials a:hover .fa-facebook-f {
    color: #1877F2;
}

.socials a:hover .fa-instagram {
    color: #E1306C;
}

.socials a:hover .fa-paypal {
    background: -webkit-linear-gradient(120deg, #003087 50%, #009cde 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.socials a:hover .fa-strava {
    color: #fe6e00;
}

.socials a:hover .fa-youtube {
    color: #FF0000;
}

/* YouTube White Triangle Fix */
/* Creates a small white rectangle behind the icon to fill the transparent center */
.socials a .fa-youtube {
    position: relative;
    z-index: 1;
}

.socials a:hover .fa-youtube::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: white;
    z-index: -1;
}

.socials a:hover .fa-whatsapp {
    color: #25D366;
}

.socials a:hover .fa-discord {
    color: #5865F2;
}

/* Hero Section */
.hero {
    min-height: 140vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-align: center;
    padding: 0 20px;
    padding-top: 40px;
    /* Offset for header */
    position: relative;
    overflow: hidden;
}

/* Update hero-bg to hold the video and overlay */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Style the video element itself */
.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
    /* Smooth fade overlap */
}

.video-visible {
    opacity: 1;
    z-index: 1;
}

.video-hidden {
    opacity: 0;
    z-index: 0;
}

/* Optional Dark Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 8rem;
    /* Large size */
    line-height: 0.85;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    align-items: center;
    /* Fix 2: Center the title text blocks */
    opacity: 0.6;
    /* Fix 1: Transparency */
    /* Fix 1: Transparency */
    margin-top: -300px;
    /* Fix 1: Raised up significantly */
}

.main-title span {
    display: block;
}

.line-inclusive {
    color: var(--text-white);
}

.line-also {
    color: var(--color-teal);
}

.line-means {
    color: var(--color-purple);
}

.line-free {
    color: var(--color-orange);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #ff5252;
    /* Slightly brighter red for button */
    color: var(--text-white);
    border: 2px solid #ff5252;
}

.btn-primary:hover {
    background-color: transparent;
    color: #ff5252;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--bg-color);
}

.btn-donate {
    background-color: #0070BA;
    /* PayPal Blue */
    color: var(--text-white);
    border: 2px solid #0070BA;
    font-size: 1.1rem;
    padding: 15px 40px;
}

.btn-donate:hover {
    background-color: #005ea6;
    border-color: #005ea6;
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 112, 186, 0.4);
}


/* Content Sections */
.content-section {
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    /* Large padding for visual separation */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-dark {
    background-color: #111;
}

.section-light {
    background-color: #0b0b0b;
    position: relative;
    overflow: hidden;
}

#mission {
    padding: 100px 20px;
    min-height: 120vh;
    /* Extra tall to show more of the photo */
    display: flex;
    align-items: center;
    justify-content: center;
}

#mission::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/images/mission_bg.jpg');
    background-size: cover;
    background-position: center bottom;
    /* Aligns the tribe to the bottom */
    opacity: 0.7;
    z-index: 0;
}

#mission .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

#mission h2,
#mission p {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.5);
}

.section-highlight {
    background-color: #220000;
    /* Subtle red tint for volunteer */
}

/* Media Slideshow Styles */
#media {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
}

/* Media Slideshow Styles */
/* Media Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: none;
    /* Remove resizing constraint */
    width: 100%;
    /* Full Width */
    height: 100vh;
    /* Use full viewport height for immersiveness */
    margin: 30px 0 0 0;
    /* Remove auto horizontal margin */
    overflow: hidden;
    border-radius: 0;
    /* Remove rounded corners for full bleed */
    box-shadow: none;
    /* Remove shadow as it spans full width */
    background-color: #000;
    /* Black background for letterboxing */
}

.gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 0;
    /* Container handles radius */
    box-shadow: none;
    border: none;
    pointer-events: none;
    /* Prevent interaction with hidden slides */
}

.gallery-item.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Back to cover to fill the section as requested */
    object-position: center;
    /* Center the image */
    display: block;
}

/* Remove hover effects for slideshow as it moves automatically */
.gallery-item:hover {
    border-color: transparent;
    box-shadow: none;
}

.gallery-item:hover img {
    transform: none;
}

.container h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--color-teal);
}

.container p {
    font-size: 1.1rem;
    color: #ddd;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Playlist Section Styles */
.playlist-category-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-teal);
    margin-top: 40px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.playlist-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.playlist-item {
    margin-bottom: 0;
    width: 150px;
}

.playlist-container {
    display: inline-block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.playlist-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.3);
    /* Teal glow */
}

.playlist-thumb {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
}

.playlist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.playlist-container:hover .playlist-overlay {
    opacity: 1;
}

.playlist-overlay i {
    font-size: 4rem;
    color: #1db954;
    /* Spotify Green */
    margin-bottom: 10px;
}

.playlist-overlay span {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.playlist-info {
    margin-top: 15px;
    text-align: center;
}

.playlist-title {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 5px;
}

.ride-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 5px;
}

.playlist-author {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 5px;
    font-weight: 500;
}

.playlist-description {
    font-size: 1rem;
    color: #bbb;
    font-style: italic;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--color-teal);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    /* Slight transparent white */
    border: 1px solid #333;
    border-radius: 5px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-form button {
    width: 100%;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Authentication Page Styles */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
}

.auth-card {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.auth-card h2 {
    font-family: var(--font-heading);
    color: var(--color-teal);
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.auth-footer {
    margin-top: 20px;
    color: #ccc;
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--color-teal);
    text-decoration: none;
    font-weight: bold;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Admin Dashboard Styles */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background-color: #111;
    color: white;
    display: flex;
    flex-direction: column;
}

.admin-logo {
    text-align: center;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    /* Calculated to align with admin-header border:
       Content Padding: 30px
       Header height: ~32px (2rem)
       Header padding bottom: 20px
       Total header border Y pos relative to content: ~82px
       
       Sidebar logo: 70px height + 30px padding = 100px.
       Still might be slightly off, but closer. 
    */
}

.admin-logo-img {
    max-width: 70px;
    height: auto;
    border-radius: 4px;
    /* Optional: adds subtle curve */
}

.admin-logo .logo-circles {
    display: flex;
    gap: 4px;
}

.admin-logo .circle {
    width: 10px;
    height: 10px;
    border-width: 2px;
}

.admin-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    text-align: center;
    line-height: 1.2;
}

.admin-nav {
    list-style: none;
    padding: 20px 0;
}

.admin-nav li a {
    display: block;
    padding: 15px 25px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.admin-nav li a:hover,
.admin-nav li a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-teal);
    border-left: 4px solid var(--color-teal);
}

.admin-nav li a i {
    width: 25px;
}

.admin-content {
    flex: 1;
    background-color: #1a1a1a;
    padding: 30px;
}

.admin-header {
    /* Reset global header styles */
    position: static;
    background-color: transparent;
    width: auto;
    padding: 0 0 20px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
}

.admin-header h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    /* Reduced from 3rem */
    color: white;
}

.admin-user-info span {
    color: var(--color-teal);
    font-weight: bold;
    font-size: 0.9rem;
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.widget {
    background-color: #222;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.widget h3 {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 10px;
}

.widget-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    /* Reduced from 3rem */
    color: var(--color-teal);
}

.admin-section {
    background-color: #222;
    padding: 25px;
    border-radius: 8px;
}

.admin-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Message List Styles */
.message-card {
    background: #1a1a1a;
    border-left: 4px solid var(--color-teal);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #aaa;
}

.message-sender {
    color: white;
    font-weight: bold;
}

.message-content {
    color: #ddd;
    line-height: 1.4;
}

.message-footer {
    margin-top: 10px;
    text-align: right;
}

.reply-btn {
    background: transparent;
    border: 1px solid var(--color-teal);
    color: var(--color-teal);
    padding: 5px 15px;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
}

.reply-btn:hover {
    background: var(--color-teal);
    color: #000;
}

/* Events Section Styles */
.events-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
    align-items: stretch;
}

.event-card {
    background-color: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    flex: 1 1 350px;
    /* Flexible width with base 350px */
    max-width: 450px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid #333;
    /* Kept the border as it looks good */
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 229, 255, 0.15);
    /* Teal shadow */
    border-color: var(--color-teal);
}

.event-image-container {
    position: relative;
    width: 100%;
}

.event-image {
    width: 100%;
    height: auto;
    /* Revert to auto for full image */
    display: block;
    transition: transform 0.5s;
}

.event-card:hover .event-image {
    transform: scale(1.02);
}

.event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--color-teal);
    color: #000;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-family: var(--font-heading);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
}

.event-date .time {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.event-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-content h3 {
    font-family: var(--font-heading);
    color: var(--color-teal);
    font-size: 2rem;
    /* Restore larger title */
    margin-bottom: 15px;
    text-transform: uppercase;
}

.event-description {
    color: #ddd;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
}

.event-details {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    /* Removed flex-direction column to let them sit side-by-side if space permits */
}

.detail-item {
    color: var(--color-orange);
    /* Highlight in Orange */
    font-weight: bold;
    font-size: 0.85rem;
    /* Way smaller */
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.detail-item i {
    color: var(--color-orange);
    width: 20px;
    text-align: center;
}

.event-btn {
    display: inline-block;
    width: auto;
    /* Revert full width */
    background-color: transparent;
    border: 2px solid var(--color-teal);
    color: var(--color-teal);
    padding: 10px 30px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
    margin-top: auto;
}

.event-btn:hover {
    background-color: var(--color-teal);
    color: #000;
}

/* Mobile Navigation & Responsive Styles */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: all 0.3s;
}

/* Upload & Select Styles (Admin) */
.drop-zone {
    border: 2px dashed #444;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #888;
    cursor: pointer;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--color-purple);
    background-color: #2a2a2a;
    color: var(--color-white);
}

.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.upload-preview-item {
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1;
}

.upload-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-preview-item.selected {
    border-color: var(--color-green);
    box-shadow: 0 0 10px rgba(0, 255, 170, 0.4);
}

.upload-preview-item .check-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--color-green);
    color: #000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s;
}

.upload-preview-item.selected .check-icon {
    opacity: 1;
}

@media (max-width: 1400px) {
    header {
        padding: 15px 20px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        /* Above mobile menu */
    }

    /* Mobile Nav */
    nav {
        position: fixed;
        top: 0;
        left: auto;
        /* Reset desktop centering */
        transform: none;
        /* Reset desktop centering */
        right: -100%;
        /* Hidden by default */
        width: 100%;
        height: 100vh;
        background-color: rgba(11, 11, 11, 0.98);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    nav a {
        font-size: 1.5rem;
    }

    .socials {
        display: none;
    }

    /* Hero Adjustments */
    .hero {
        padding-top: 100px;
        align-items: flex-start;
    }

    .main-title {
        font-size: 3.5rem;
        line-height: 0.9;
        margin-bottom: 20px;
        margin-top: 0;
        /* Reset negative margin from desktop so it's visible */
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Section Adjustments */
    .content-section {
        padding: 60px 20px;
    }

    .container h2 {
        font-size: 2.2rem;
    }

    /* Events */
    .event-card {
        flex-direction: column;
    }

    .event-image-container {
        pointer-events: none;
        /* simple fix to prevent image issues if any */
    }

    .event-details {
        flex-direction: column;
        gap: 10px;
    }

    /* Playlist */
    .playlist-thumb {
        width: 100%;
        height: auto;
        max-width: 300px;
    }

    .playlist-title {
        font-size: 1.8rem;
    }

    /* Admin Sidebar (if accessible on mobile) */
    .admin-container {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
    }

    .admin-nav {
        display: flex;
        overflow-x: auto;
        padding: 10px;
    }

    .admin-nav li a {
        padding: 10px 15px;
        white-space: nowrap;
    }
}

/* Hamburger Animation when Active */
.hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Admin Analytics & Tables */
.chart-container {
    height: 300px;
    margin-top: 20px;
    padding: 20px;
    background: #151515;
    border-radius: 8px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.bar-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding-bottom: 30px;
    /* Space for labels */
}

.bar {
    width: 8%;
    background: linear-gradient(to top, var(--color-teal), #00b8d4);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 0.5s ease;
    min-height: 5px;
    /* Ensure visible even if 0 */
}

.bar:hover {
    opacity: 0.8;
}

.bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: #ccc;
    font-size: 0.85rem;
}

.bar span {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s;
}

.bar:hover span {
    opacity: 1;
}

/* Subscription Table */
.table-responsive {
    overflow-x: auto;
}

.subscription-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    color: #ddd;
}

.subscription-table th,
.subscription-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

small {
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
}

.subscription-table th {
    background-color: #111;
    color: var(--color-teal);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.subscription-table tr:hover {
    background-color: #222;
}

/* Badges & Status */
.badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.badge.premium {
    background-color: rgba(213, 0, 249, 0.2);
    color: var(--color-purple);
    border: 1px solid var(--color-purple);
}

.badge.standard {
    background-color: rgba(0, 229, 255, 0.2);
    color: var(--color-teal);
    border: 1px solid var(--color-teal);
}

.status {
    font-weight: bold;
}

.status.active {
    color: #00e676;
    /* Green */
}

.status.warning {
    color: #ff9100;
    /* Orange */
}

.status.inactive {
    color: #ff3d00;
    /* Red */
}

/* Volunteer Section Styles */
.volunteer-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.volunteer-card {
    display: flex;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
}

.volunteer-card:hover {
    transform: translateY(-5px);
}

.volunteer-image {
    flex: 0 0 350px;
    position: relative;
    overflow: hidden;
}

.volunteer-image img,
.volunteer-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.volunteer-card:hover .volunteer-image img {
    transform: scale(1.05);
}

.volunteer-info {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.volunteer-info h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.volunteer-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.v-badge {
    background-color: var(--color-teal);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.volunteer-bio p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.volunteer-socials {
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.social-link i {
    font-size: 1.5rem;
    color: var(--color-purple);
}

.social-link:hover {
    color: var(--color-purple);
}

@media (max-width: 900px) {
    .volunteer-card {
        flex-direction: column;
    }

    .volunteer-image {
        flex: auto;
        height: 400px;
    }

    .volunteer-info {
        padding: 30px;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoom 0.6s;
    border-radius: 4px;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--color-purple);
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-link-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--color-purple);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Anton', sans-serif;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.lightbox-link-btn:hover {
    background-color: #732d91;
}

@media (max-width: 768px) {
    .lightbox-content {
        width: 100%;
    }
}

.admin-event-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Admin Carousel Grid */
.carousel-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.carousel-grid-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #2a2a2a;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.carousel-grid-item:hover {
    transform: scale(1.02);
}

.carousel-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-grid-item .delete-x {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 61, 0, 0.85);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.carousel-grid-item:hover .delete-x {
    opacity: 1;
}

.carousel-grid-item .delete-x:hover {
    background-color: #ff3d00;
    transform: scale(1.1);
}