/* =========================================
   1. VARIABLES & THEME SETUP
   ========================================= */
:root {
    /* --- STRICT COLOR PALETTE --- */
    
    /* 1. Navy Blue (Primary Brand) */
    --primary-color: #002855; 
    --primary-gradient: linear-gradient(135deg, #002855 0%, #001a38 100%);
    
    /* 2. Cyan Blue (Accent) */
    --accent-cyan: #78D1E1; 
    --accent-cyan-hover: #5bbcd0;
    --accent-gradient: linear-gradient(135deg, #78D1E1 0%, #4db8cc 100%);
    
    /* 3. Black & White */
    --black: #000000;
    --soft-black: #1a1a1a;
    --white: #ffffff;
    
    /* Backgrounds */
    --body-bg: #ffffff; 
    --card-bg: #ffffff;
    --navbar-bg: rgba(255, 255, 255, 0.98); 
    --section-gray: #f4f8fb; 
    --input-bg: #ffffff;
    
    /* Text */
    --text-color: #1a1a1a; 
    --heading-color: #002855; 
    --border-color: #e2e8f0;
    
    /* Functional */
    --danger-color: #ef4444; 
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --success-color: #10b981;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 40, 85, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 40, 85, 0.1), 0 2px 4px -1px rgba(0, 40, 85, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 40, 85, 0.1), 0 4px 6px -2px rgba(0, 40, 85, 0.05);

    /* Fonts */
    --font-heading: 'Montserrat', 'Helvetica', sans-serif;
    --font-body: 'Poppins', 'Helvetica', sans-serif;
}

/* =========================================
   2. GLOBAL STYLES
   ========================================= */
* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    margin: 0;
    background-color: var(--body-bg);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased; 
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: inline-block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section { padding: 60px 0; }

.section-gray {
    background-color: var(--section-gray);
    transition: background-color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4 {
    margin-top: 0;
    line-height: 1.3;
    font-family: var(--font-heading);
    color: var(--heading-color);
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--black);
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-cyan));
    border-radius: 2px;
}

.text-center { text-align: center; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 
    0% { transform: scale(1); box-shadow: 0 4px 10px rgba(0,0,0,0.2); } 
    50% { transform: scale(1.03); box-shadow: 0 6px 15px rgba(120, 209, 225, 0.4); } 
    100% { transform: scale(1); box-shadow: 0 4px 10px rgba(0,0,0,0.2); } 
}
@keyframes float { 
    0% { transform: translateY(0px); } 
    50% { transform: translateY(-10px); } 
    100% { transform: translateY(0px); } 
}

.hidden-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   3. NAVIGATION
   ========================================= */
.navbar {
    background-color: var(--navbar-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.nav-brand {
    font-family: var(--font-heading);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-club-logo { 
    height: 55px; 
    width: auto; 
    object-fit: contain;
    transition: height 0.3s ease; 
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.nav-right-cluster {
    display: flex;
    align-items: center;
    gap: 25px; 
}

.nav-uni-logo { 
    height: 55px; 
    width: auto; 
    object-fit: contain;
    transition: height 0.3s ease; 
    border-left: 1px solid #ddd; 
    padding-left: 20px;
}

.mobile-uni-logo { display: none; }

.navbar.scrolled .nav-club-logo, 
.navbar.scrolled .nav-uni-logo { height: 45px; }

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: rgba(120, 209, 225, 0.15); 
}

#menu-icon {
    font-size: 1.8rem;
    color: var(--black);
    cursor: pointer;
    display: none;
}

/* =========================================
   4. BUTTONS
   ========================================= */
.btn-primary {
    background: var(--primary-gradient);
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 40, 85, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 40, 85, 0.4);
    background: var(--black);
}
.btn-primary::after { display: none; }

/* Large Button (Solid) */
.btn-primary-large {
    background: var(--primary-gradient);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 40, 85, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(120, 209, 225, 0.5); 
}

/* Outline Button (Transparent) for 'Listen Now' */
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 40, 85, 0.2);
}

.pulse { animation: pulse 3s infinite; }

/* =========================================
   5. SECTIONS & CONTENT
   ========================================= */
/* Hero (UPDATED PADDING) */
.hero {
    text-align: center;
    padding: 80px 20px 30px 20px;
    background: linear-gradient(180deg, rgba(120, 209, 225, 0.1) 0%, rgba(255,255,255,0) 100%);
    border-radius: 0 0 40px 40px;
}

.hero-logo {
    max-width: 300px;
    height: auto;
    border-radius: 20px; 
    margin-bottom: 25px;
    display: block; 
    margin-left: auto;
    margin-right: auto;
    border: none; 
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1), 
        0 15px 35px -10px rgba(0, 40, 85, 0.2), 
        0 25px 70px -15px rgba(120, 209, 225, 0.6);
    animation: float 6s ease-in-out infinite;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #444;
    max-width: 700px;
    margin: 15px auto 35px;
}

/* HERO BUTTONS CONTAINER */
.hero-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
    flex-wrap: wrap; 
    margin-top: 35px;
    width: 100%;
}

/* Cards */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-cyan);
}

/* Mission List */
.mission-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 850px;
}

.mission-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px 25px;
    background-color: var(--card-bg);
    border-radius: 12px;
    border-left: 5px solid var(--accent-cyan);
    box-shadow: var(--shadow-sm);
}

.mission-item i {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(120, 209, 225, 0.2);
    padding: 10px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.mission-item:hover i { transform: scale(1.15); background: var(--black); color: var(--accent-cyan); }
.mission-item span { font-size: 1.05rem; font-weight: 500; color: var(--black); }

/* How It Works */
.how-it-works-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.step { text-align: center; padding: 30px 25px; }
.step i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
    background: -webkit-linear-gradient(#002855, #78D1E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--black); }

/* TEAM SECTION ROW STYLES */
.team-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.team-card { text-align: center; padding: 30px 20px; }

/* Ensure width consistency in the flex row */
.team-row .team-card {
    flex: 0 1 250px;
    width: 250px;
    max-width: 300px;
}

.team-card-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    margin: 0 auto 15px auto;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--accent-cyan);
    transition: transform 0.4s;
}
.team-card:hover .team-card-img { transform: scale(1.1); box-shadow: 0 0 0 3px var(--primary-color); }
.team-card h4 { margin-bottom: 5px; color: var(--black); font-size: 1.1rem; }
.team-card p { font-size: 0.9rem; color: var(--primary-color); font-weight: 600; margin-bottom: 5px; }
.team-email {
    font-size: 0.85rem;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-top: 5px;
    opacity: 0.9;
    word-break: break-all;
}
.team-email:hover { color: var(--primary-color); text-decoration: underline; }

/* =========================================
   6. FORMS & INPUTS
   ========================================= */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: fadeIn 0.7s ease-out forwards;
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; color: var(--heading-color); }

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    background-color: var(--input-bg);
    color: var(--text-color);
    transition: all 0.2s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 4px rgba(120, 209, 225, 0.2);
    outline: none;
}

/* Split Row */
.form-row.split-row { display: flex; gap: 15px; }
.title-group { flex: 0 0 110px; }
.name-group { flex: 1; }

.input-group { display: flex; align-items: center; }
.input-prefix {
    padding: 12px 16px;
    background-color: #f1f5f9;
    border: 2px solid #ccc;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-weight: 600;
    color: var(--primary-color);
}
.input-group input { border-radius: 0 8px 8px 0; }

.user-type-select { display: flex; gap: 10px; margin-top: 5px; }
.user-type-select input[type="radio"] { display: none; }
.user-type-select label {
    flex: 1; text-align: center; padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.9rem;
    transition: all 0.2s;
    color: #444;
}
.user-type-select input:checked + label {
    background: var(--primary-gradient); border-color: transparent; color: #fff;
}
.user-type-select label:hover { border-color: var(--primary-color); color: var(--primary-color); }

.disclaimer-box {
    background-color: rgba(120, 209, 225, 0.1); 
    border: 1px solid var(--accent-cyan);
    color: var(--primary-color);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Password Eye */
.password-wrapper { position: relative; display: flex; align-items: center; }
.password-wrapper input { padding-right: 40px; }
#togglePasswordIcon {
    position: absolute; right: 15px; cursor: pointer;
    color: #888; font-size: 1.3rem; transition: color 0.3s ease;
}
#togglePasswordIcon:hover { color: var(--black); }

/* =========================================
   7. ADMIN PANEL (THEMED)
   ========================================= */
.admin-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; flex-wrap: wrap; gap: 15px;
}
.admin-header h2 { margin-bottom: 0; border: none; font-size: 2rem; color: var(--black); }
.admin-header-buttons { display: flex; gap: 10px; }

.section-title {
    font-size: 1.5rem; color: var(--primary-color); margin-top: 40px; margin-bottom: 20px;
    border-bottom: 2px solid #ccc; padding-bottom: 10px;
}
.status-title { font-size: 1.1rem; color: var(--text-color); margin-bottom: 10px; font-weight: 600; }
.empty-state { font-style: italic; color: #888; margin-bottom: 20px; }

.admin-card { border-left: 5px solid var(--accent-cyan); margin-bottom: 15px; }
.admin-card.confirmed { border-left-color: var(--success-color); }
.admin-card.rejected { border-left-color: #555; background-color: #f9f9f9; }
.admin-card.rejected p { color: #777; }
.admin-card p { margin: 4px 0; font-size: 0.95rem; }

.user-type-badge {
    background-color: var(--accent-cyan); color: var(--primary-color);
    padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; text-transform: uppercase; font-weight: 700;
}

.admin-actions-wrapper {
    display: flex; gap: 20px; flex-wrap: wrap; width: 100%; margin-top: 15px;
}
.admin-form { flex: 2; min-width: 250px; display: flex; gap: 10px; align-items: flex-end; }
.admin-form .form-group { margin-bottom: 0; flex: 1; }
.admin-form button[type="submit"] { padding: 14px 40px !important; font-size: 1.1rem; font-weight: 700; }

.admin-form-reject { flex: 0.8; min-width: 200px; display: flex; flex-direction: column; gap: 10px; }
.admin-form-reject .form-group { margin-bottom: 0; }
.admin-form-reject input { padding: 8px; font-size: 0.9rem; }

.btn-reject {
    background: var(--danger-gradient); color: #fff;
    padding: 8px 15px; border-radius: 6px; border: none; cursor: pointer;
    font-weight: 600; font-size: 0.95rem; width: auto;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: transform 0.2s;
}
.btn-reject:hover { background-color: #b02a37; transform: translateY(-2px); }

.btn-logout {
    background-color: #444; color: #fff; padding: 8px 16px;
    border-radius: 50px; text-decoration: none; font-weight: 600;
    transition: 0.3s; font-size: 0.9rem;
}
.btn-logout:hover { background-color: #000; }

.admin-header-row { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; }
.admin-tools { display: flex; gap: 8px; }

/* Content Management */
.content-management-wrapper {
    background-color: var(--section-gray); padding: 30px; 
    border-radius: 12px; margin-top: 40px; border: 1px solid var(--border-color);
}
.manage-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.manage-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; }
.manage-grid-small { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; margin-bottom: 20px; }
.manage-card img { width: 100%; height: 150px; object-fit: contain; background: #eee; border-radius: 6px; }

.btn-edit-icon {
    background-color: var(--accent-cyan); color: var(--primary-color); text-decoration: none;
    padding: 6px 10px; border-radius: 6px; font-size: 0.9rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; transition: transform 0.2s;
}
.btn-edit-icon:hover { background-color: var(--accent-cyan-hover); transform: translateY(-1px); }

.btn-delete-icon { 
    background: var(--danger-gradient); color: white; border: none; 
    padding: 6px 10px; border-radius: 6px; cursor: pointer; 
    display: flex; align-items: center; gap: 5px; font-size: 0.9rem; font-weight: 600; 
}
.btn-delete-block { 
    width: 100%; background: var(--danger-gradient); color: white; border: none; 
    padding: 8px; border-radius: 6px; cursor: pointer; margin-top: 5px; font-weight: 600; 
}
.btn-delete-icon:hover, .btn-delete-block:hover { transform: translateY(-1px); }

/* =========================================
   8. GALLERY, MEDIA, NEWS
   ========================================= */
.media-grid, .gallery-grid, .news-container, .audio-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 25px;
    max-height: 600px; 
    overflow-y: auto;
    padding: 10px;
}

.media-grid::-webkit-scrollbar, .gallery-grid::-webkit-scrollbar, 
.news-list::-webkit-scrollbar, .audio-grid::-webkit-scrollbar { width: 8px; }
.media-grid::-webkit-scrollbar-thumb, .gallery-grid::-webkit-scrollbar-thumb,
.news-list::-webkit-scrollbar-thumb, .audio-grid::-webkit-scrollbar-thumb {
    background-color: #ccc; border-radius: 4px;
}

/* Audio Card */
.audio-card {
    background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; 
    padding: 25px; display: flex; align-items: center; gap: 20px;
    box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; overflow: hidden;
    width: 100%;
}
.audio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent-cyan); }
.audio-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--primary-gradient); }
.audio-icon {
    font-size: 3rem; color: var(--primary-color); background-color: rgba(120, 209, 225, 0.2);
    width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0;
}
.audio-content { flex-grow: 1; min-width: 0; }
.audio-content h3 { font-size: 1.1rem; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--black); }
audio.w-100 { height: 40px; width: 100%; border-radius: 20px; outline: none; }

/* News List */
.news-list { list-style: none; padding: 0; margin: 0 auto; max-width: 850px; max-height: 600px; overflow-y: auto; padding: 10px; }
.news-list-item {
    display: flex; align-items: flex-start; gap: 20px;
    margin-bottom: 20px; padding: 25px; background-color: var(--card-bg); border-radius: 12px;
    border-left: 5px solid var(--accent-cyan);
    box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-list-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-icon-wrapper { flex-shrink: 0; }
.news-icon-wrapper i { font-size: 2rem; color: var(--primary-color); background: rgba(120, 209, 225, 0.2); padding: 12px; border-radius: 50%; transition: transform 0.3s ease; display: block; }
.news-list-item:hover .news-icon-wrapper i { transform: rotate(15deg) scale(1.1); background: var(--accent-cyan); color: #fff; }
.news-content { flex-grow: 1; }
.news-content h4 { margin: 0 0 8px 0; color: var(--black); font-size: 1.2rem; }
.news-content p { margin: 0; color: #444; font-size: 1rem; white-space: pre-wrap; }
.news-content small { display: block; margin-top: 10px; color: #888; font-size: 0.85rem; font-weight: 500; }

/* Video Card */
.media-card h3 { font-size: 1.2rem; color: var(--black); margin-bottom: 10px; font-weight: 600; }
video.w-100 { 
    width: 100%; 
    height: 220px; 
    border-radius: 12px; 
    box-shadow: var(--shadow-md); 
    background: #000;
    object-fit: contain;
}

/* Gallery Images */
.gallery-item {
    background-color: var(--section-gray);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%; 
    height: 250px; 
    object-fit: contain; 
    object-position: center;
    cursor: pointer; 
    transition: transform 0.3s ease;
    display: block;
    background-color: rgba(0,0,0,0.03); 
}
.gallery-item img:hover { transform: scale(1.03); }

/* Modal */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: rgba(0,0,0,0.95); align-items: center; justify-content: center; animation: fadeIn 0.3s ease; }

.modal-content { 
    margin: auto; 
    display: block; 
    max-width: 90vw; 
    max-height: 90vh; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
    border-radius: 4px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); 
    animation: zoomIn 0.4s ease; 
}

.close { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 2001; background: rgba(0,0,0,0.5); width: 50px; height: 50px; text-align: center; line-height: 50px; border-radius: 50%; transition: 0.3s; }
.close:hover { background: var(--accent-cyan); color: #000; }
@keyframes zoomIn { from {transform:scale(0.9); opacity: 0;} to {transform:scale(1); opacity: 1;} }

/* =========================================
   9. MODAL & SUCCESS
   ========================================= */
.success-wrapper { display: flex; justify-content: center; align-items: center; min-height: 60vh; }
.success-card { max-width: 600px; width: 100%; text-align: center; padding: 50px 30px; }
.success-icon-container i { font-size: 5rem; color: var(--accent-cyan); animation: pulse 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.info-text { color: var(--text-color); margin-bottom: 30px; font-size: 0.95rem; background-color: var(--section-gray); padding: 15px; border-radius: 8px; display: inline-block; }

.whatsapp-box { background-color: #dcf8c6; border: 2px solid #25d366; padding: 20px; border-radius: 8px; margin-bottom: 30px; animation: fadeIn 0.5s ease; }
.whatsapp-box h4 { color: #075e54; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.whatsapp-box textarea { width: 100%; padding: 10px; border: 1px solid #25d366; border-radius: 5px; font-family: monospace; font-size: 0.95rem; resize: none; margin-bottom: 10px; background: #fff; }
.btn-copy { background-color: #128c7e; color: white; border: none; padding: 8px 20px; border-radius: 50px; font-weight: 600; cursor: pointer; }
.btn-copy:hover { background-color: #075e54; }

/* =========================================
   10. FOOTER & TOGGLE
   ========================================= */
.footer { 
    text-align: center; 
    padding: 30px 0; 
    background-color: var(--primary-color); 
    color: #cbd5e1; 
    margin-top: 60px; 
    font-size: 0.85rem; 
}
.developer-credit { font-size: 0.85rem; color: #a0aec0; margin-top: 8px; margin-bottom: 15px; letter-spacing: 0.5px; }
.developer-credit strong { color: #fff; font-weight: 600; }
.developer-credit a:hover { color: var(--accent-cyan) !important; }

.footer-socials { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.social-icon { font-size: 1.5rem; color: #a0aec0; transition: color 0.3s ease, transform 0.3s ease; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.05); }
.social-icon:hover { color: var(--accent-cyan); transform: translateY(-3px); background-color: rgba(255, 255, 255, 0.1); }

.theme-toggle-li { padding: 0 10px; display: flex; align-items: center; }
#theme-icon { font-size: 1.5rem; cursor: pointer; color: var(--heading-color); transition: all 0.3s ease; }
#theme-icon:hover { color: var(--primary-color); transform: rotate(15deg) scale(1.1); }

/* =========================================
   11. DARK MODE OVERRIDES (EYE COMFORT - Deep Navy)
   ========================================= */
html.dark-theme {
    /* Backgrounds: Deep Slate/Navy (Not Pure Black) */
    --body-bg: #020617; /* Very Deep Navy/Slate */
    --card-bg: #0f172a; /* Slate 900 */
    --navbar-bg: #020617;
    --section-gray: #0b1121; 
    --mgmt-bg: #1e293b;
    
    /* Text: Soft White/Gray (Reduced Contrast) */
    --text-color: #cbd5e1; 
    --heading-color: #f1f5f9; 
    --border-color: #1e293b; 
    --input-bg: #1e293b;
    
    /* Functional Overrides */
    --primary-color: #78D1E1; 
    --primary-gradient: linear-gradient(135deg, #004488 0%, #002855 100%);
    --black: #ffffff; 
}

/* Footer in Dark Mode */
html.dark-theme .footer {
    background-color: #000a12; /* Deep Dark Navy */
    border-top: 1px solid #1e293b;
}

/* Specific Dark Mode Tweaks */
html.dark-theme .brand-text { color: #f8fafc; }
html.dark-theme .hero .subtitle { color: #cbd5e1; } /* Fix: Hero Subtitle */
html.dark-theme .btn-primary { color: #fff !important; }
html.dark-theme .btn-outline { color: #fff; border-color: #fff; }
html.dark-theme .btn-outline:hover { background: #fff; color: var(--black); }
html.dark-theme .mission-item i { background: rgba(120, 209, 225, 0.1); color: #78D1E1; }
html.dark-theme .mission-item span { color: #f1f5f9; }
html.dark-theme .input-prefix { background-color: #111; border-color: #334155; color: #78D1E1; }
html.dark-theme .disclaimer-box { background-color: rgba(15, 23, 42, 0.8); border-color: #334155; color: #78D1E1; }
html.dark-theme .team-card-img { border-color: #0f172a; }
html.dark-theme .team-card h4 { color: #f1f5f9; }
html.dark-theme .admin-card.rejected { background-color: #1e293b; }
html.dark-theme .admin-card.rejected p { color: #94a3b8; } /* Fix: Rejected Text */
html.dark-theme .audio-icon { background-color: rgba(120, 209, 225, 0.1); color: #fff; }
html.dark-theme .audio-content h3 { color: #f1f5f9; }
html.dark-theme .info-text { background-color: #0f172a; }
html.dark-theme .developer-credit { color: #64748b; }
html.dark-theme .developer-credit strong { color: #cbd5e1; }
html.dark-theme .social-icon:hover { color: #78D1E1; background-color: rgba(255, 255, 255, 0.05); }
html.dark-theme audio.w-100 { background-color: #0f172a; border-color: #334155; }
html.dark-theme #theme-icon { color: #f1f5f9; }
html.dark-theme #togglePasswordIcon { color: #64748b; }
html.dark-theme #togglePasswordIcon:hover { color: #78D1E1; }
html.dark-theme .news-icon-wrapper i { background-color: rgba(120, 209, 225, 0.1); color: #78D1E1; }
html.dark-theme .step h3 { color: #f1f5f9; }
html.dark-theme .form-group label { color: #f1f5f9; }
html.dark-theme .news-content p { color: #cbd5e1; } /* Fix: News Text */

/* FIX: RADIO BUTTON LABELS (Faculty/Student) in Dark Mode */
html.dark-theme .user-type-select label { 
    color: #fff; /* Force White */
    border-color: #64748b; /* Visible Border */
    background-color: transparent;
}
html.dark-theme .user-type-select input:checked + label {
    color: #fff;
    background: var(--primary-gradient);
    border-color: transparent;
}

/* Dark Mode Inputs */
html.dark-theme .form-group input, 
html.dark-theme .form-group select, 
html.dark-theme .form-group textarea {
    background-color: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

/* Text Highlight in Dark Mode */
html.dark-theme .text-highlight { 
    background: rgba(120, 209, 225, 0.1); 
    color: #78D1E1; 
    border-color: rgba(120, 209, 225, 0.2); 
}

/* Reduced Glow for Eye Comfort */
html.dark-theme .hero-logo { 
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 10px 25px -10px rgba(0, 0, 0, 0.5); 
}

html.dark-theme .music-player-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-color: rgba(255, 255, 255, 0.1);
}
html.dark-theme .gallery-item { background-color: #0f172a; border-color: #334155; }
html.dark-theme .gallery-item img { background-color: rgba(255,255,255,0.05); }
html.dark-theme .manage-card img { background: #0f172a; }
html.dark-theme .news-content h4 { color: #f1f5f9; }

/* =========================================
   12. MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .hero { padding: 50px 20px; }
    #menu-icon { display: block; }
    
    /* Hide desktop nav cluster */
    .nav-right-cluster { display: none; width: 100%; }
    
    /* MOBILE NAV UNI LOGO */
    .mobile-uni-logo {
        display: block; /* Show only on mobile */
        margin-left: auto; /* Push to right, near menu icon */
        margin-right: 5px;
    }
    .mobile-uni-logo img {
        height: 35px; /* Slightly smaller for mobile */
        width: auto;
    }

    /* Force Brand Text to show */
    .brand-text {
        display: block !important;
        font-size: 1.1rem; /* Adjust size to fit */
    }
    .nav-club-logo {
        height: 40px;
    }

    .navbar .container { position: relative; }
    
    .nav-links {
        position: absolute; top: 80px; left: 0; width: 100%; 
        background-color: var(--card-bg); flex-direction: column; 
        padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
        display: none; border-bottom: 1px solid var(--border-color);
    }
    .nav-links.active { display: flex; }
    .nav-links a { width: 100%; display: block; text-align: center; padding: 15px; border-bottom: 1px solid var(--border-color); }
    .nav-uni-logo { display: none; } /* Hide desktop uni logo inside menu */
    .nav-right-cluster:has(.nav-links.active) { display: block; }
    
    .nav-right-cluster { width: 100%; }
    .nav-links { width: 100%; left: 0; right: 0; }

    .admin-actions-wrapper { flex-direction: column; }
    .admin-form { flex-direction: column; align-items: stretch; gap: 15px; }
    .theme-toggle-li { margin-top: 15px; justify-content: center; }
    .form-row.split-row { flex-direction: column; gap: 15px; }
}

@media (max-width: 400px) {
    /* Tweaks for very small screens */
    .brand-text { 
        font-size: 0.9rem; /* Smaller but visible */
        display: block !important;
    }
    .nav-club-logo { height: 35px; }
    .mobile-uni-logo img { height: 30px; }
    
    .hero-buttons-container { flex-direction: column; gap: 15px; }
    .hero-buttons-container .btn-primary-large { width: 100%; justify-content: center; }
}

/* =========================================
   13. ATTRACTIVE MUSIC PLAYER (Midnight Premium)
   ========================================= */
.music-player-card {
    position: relative;
    /* Deep Navy Gradient for Premium Look */
    background: linear-gradient(135deg, #002855 0%, #00152e 100%);
    border: 1px solid rgba(120, 209, 225, 0.3); /* Subtle Cyan Border */
    padding: 12px 20px;
    border-radius: 60px; /* Modern Capsule Shape */
    display: inline-flex;
    align-items: center;
    gap: 15px;
    /* Deep Shadow to make it float */
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    margin: 10px auto 25px auto;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 95%;
    width: 450px;
    justify-content: space-between;
}

.music-player-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 40, 85, 0.4);
    border-color: var(--accent-cyan);
}

/* 1. The Disk (Vinyl Look) */
.disk-wrapper {
    position: relative;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
}

.disk-art {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff; /* White Ring pops on dark bg */
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    animation: spin 4s linear infinite;
    animation-play-state: paused;
}

/* 2. Text Details */
.track-details {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    overflow: hidden;
    padding-right: 10px;
}

.track-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff; /* Bright White Text */
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.artist-name {
    font-size: 0.75rem;
    color: var(--accent-cyan); /* Glowing Cyan Text */
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* 3. Animated Sound Waves */
.music-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 30px;
    margin-right: 10px;
}

.music-waves span {
    display: block;
    width: 4px;
    height: 5px; 
    background: var(--accent-cyan); /* Cyan Waves */
    border-radius: 2px;
    animation: none;
    box-shadow: 0 0 8px rgba(120, 209, 225, 0.6); /* Neon Glow */
}

@keyframes wave {
    0% { height: 5px; opacity: 0.5; }
    50% { height: 25px; opacity: 1; }
    100% { height: 5px; opacity: 0.5; }
}

.music-waves.playing span {
    animation: wave 1s ease-in-out infinite;
}

.music-waves.playing span:nth-child(1) { animation-delay: 0.0s; }
.music-waves.playing span:nth-child(2) { animation-delay: 0.2s; }
.music-waves.playing span:nth-child(3) { animation-delay: 0.4s; }
.music-waves.playing span:nth-child(4) { animation-delay: 0.6s; }
.music-waves.playing span:nth-child(5) { animation-delay: 0.8s; }

/* 4. Play Button (High Contrast) */
.play-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #ffffff; /* Stark White Button */
    color: var(--primary-color); /* Navy Icon */
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--accent-cyan); /* Turns Cyan on Hover */
    color: #ffffff;
    box-shadow: 0 0 20px rgba(120, 209, 225, 0.8); /* Stronger Glow */
}

.play-btn:active { transform: scale(0.95); }

/* =========================================
   14. TEXT HIGHLIGHTS (Navy & Cyan)
   ========================================= */
.text-highlight {
    color: var(--primary-color); /* Navy Text */
    font-weight: 700;
    margin-top: 15px;
    font-size: 1rem;
    background: rgba(120, 209, 225, 0.15); /* Light Cyan BG */
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid rgba(120, 209, 225, 0.3);
}

/* =========================================
   15. CINEMATIC PRELOADER
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #020617; /* Deepest Cinematic Navy */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
}

.mic-icon-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
}

.mic-icon-wrapper i {
    font-size: 4rem;
    color: var(--accent-cyan);
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(120, 209, 225, 0.6));
    animation: mic-float 2s ease-in-out infinite;
}

/* Sound Waves */
.sound-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
    opacity: 0;
    z-index: 1;
    animation: wave-pulse 2s infinite cubic-bezier(0, 0.2, 0.8, 1);
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }

.loader-text {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 1rem;
    text-transform: uppercase;
    animation: text-blink 1.5s infinite;
}

/* Animations */
@keyframes mic-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes wave-pulse {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
        border-width: 3px;
    }
    100% {
        width: 180px;
        height: 180px;
        opacity: 0;
        border-width: 0px;
    }
}

@keyframes text-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
/* =========================================
   16. FIXED ADMIN DASHBOARD (Clean & Spaced)
   ========================================= */

/* --- TABS --- */
.tab-container {
    display: flex;
    gap: 15px;
    margin-bottom: 35px; /* More space below tabs */
    background: var(--card-bg);
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover { background-color: rgba(120, 209, 225, 0.1); color: var(--primary-color); }
.tab-btn.active { background: var(--primary-gradient); color: #fff; box-shadow: 0 4px 12px rgba(0, 40, 85, 0.2); }

/* --- SECTION HEADERS --- */
.dashboard-section-title {
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-top: 40px; /* Space above new sections */
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- ADMIN CARDS --- */
.admin-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px; /* Proper internal padding */
    margin-bottom: 25px; /* Space between cards */
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.admin-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Colored Left Border based on status */
.admin-card.pending { border-left: 5px solid #f59e0b; }
.admin-card.confirmed { border-left: 5px solid #10b981; }
.admin-card.rejected { border-left: 5px solid #ef4444; opacity: 0.85; }

/* Card Layout */
.card-content { flex: 1; min-width: 300px; }
.card-actions { flex: 0 0 280px; display: flex; flex-direction: column; gap: 10px; justify-content: center; border-left: 1px solid var(--border-color); padding-left: 20px; }

@media (max-width: 768px) {
    .admin-card { flex-direction: column; }
    .card-actions { width: 100%; border-left: none; border-top: 1px solid var(--border-color); padding-left: 0; padding-top: 20px; }
}

/* Typography inside cards */
.admin-card h4 { margin: 0 0 5px 0; font-size: 1.2rem; color: var(--heading-color); }
.admin-card p { margin: 3px 0; font-size: 0.95rem; color: var(--text-color); }
.meta-info { font-size: 0.85rem; color: #64748b; margin-top: 8px; display: block; }

/* Badges */
.badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; vertical-align: middle; margin-left: 8px; }
.badge-pending { background: #fffbeb; color: #b45309; border: 1px solid #fcd34d; }
.badge-confirmed { background: #ecfdf5; color: #047857; border: 1px solid #6ee7b7; }
.badge-rejected { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }

/* --- FORMS & INPUTS --- */
.action-box { background: rgba(0,0,0,0.02); padding: 15px; border-radius: 8px; border: 1px solid var(--border-color); }
.admin-input { width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #cbd5e1; border-radius: 6px; background: var(--input-bg); color: var(--text-color); }
.row-inputs { display: flex; gap: 10px; margin-bottom: 10px; }

/* --- RECRUITMENT TOGGLE --- */
.status-widget {
    background: var(--section-gray);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- DARK MODE FIXES --- */
html.dark-theme .tab-container { background: #0f172a; border-color: #334155; }
html.dark-theme .tab-btn { color: #94a3b8; }
html.dark-theme .tab-btn.active { color: #fff; }
html.dark-theme .admin-card { background: #0f172a; border-color: #334155; }
html.dark-theme .action-box { background: rgba(255,255,255,0.05); border-color: #334155; }
html.dark-theme .admin-input { background: #020617; border-color: #475569; color: #f1f5f9; }
html.dark-theme .badge-pending { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border-color: #b45309; }
html.dark-theme .badge-confirmed { background: rgba(16, 185, 129, 0.2); color: #34d399; border-color: #065f46; }
html.dark-theme .badge-rejected { background: rgba(239, 68, 68, 0.2); color: #f87171; border-color: #991b1b; }
html.dark-theme .card-actions { border-color: #334155; }
html.dark-theme .meta-info { color: #94a3b8; }