/* common.css - Premium Blue & Purple Theme - NAMESPACED */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #7c3aed;
    --secondary-dark: #6d28d9;
    --accent: #8b5cf6;
    --light: #f8fafc;
    --dark: #0f172a;
    --success: #10b981;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    --gradient-animated: linear-gradient(-45deg, #2563eb, #7c3aed, #8b5cf6, #3b82f6);
    --shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    --shadow-lg: 0 20px 60px rgba(37, 99, 235, 0.2);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 8px;
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    overflow-x: hidden;
    background: var(--light);
    padding-top: 70px;
}

/* ========== NAVBAR STYLES - PREMIUM BLUE THEME ========== */
.kf-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.kf-navbar.kf-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.2);
}

.kf-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
}

/* ========== BRAND SECTION - CONSISTENT SIZING ========== */
.kf-nav-brand {
    display: flex;
    align-items: center;
    min-width: 220px; /* Prevent layout shift */
}

.kf-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    gap: 1rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.kf-brand-link:hover {
    transform: translateY(-2px);
}

/* Logo container - CONSISTENT SIZE FOR ALL STATES */
.kf-logo-container {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: none;
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* REMOVED gradient background on hover */
.kf-brand-link:hover .kf-logo-container {
    transform: scale(1.1);
}

.kf-brand-logo {
    width: 90%;
    height: auto;
    transition: var(--transition);
    filter: none;
}

.kf-brand-link:hover .kf-brand-logo {
    transform: scale(1.1);
}

.kf-brand-text-container {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    line-height: 1;
    min-height: 24px; /* Prevent height changes */
}

.kf-brand-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    transition: var(--transition);
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== ADMIN LOGO STYLES - FIXED ========== */
/* Remove all special sizing - keep it same as public logo */
.kf-admin-logo {
    background: transparent !important;
    border: 2px solid transparent !important;
    width: 55px !important;  /* Match public logo size */
    height: 55px !important; /* Match public logo size */
    transform: scale(1) !important; /* Remove scaling */
}

.kf-admin-logo::before {
    display: none !important;
}

.kf-admin-logo .kf-brand-logo {
    width: 90% !important;     /* Match public logo */
    height: auto !important;
    filter: brightness(1.2) !important;
    transform: scale(1.1) !important;
}

/* Admin logo hover effect - consistent with public */
.kf-brand-link:hover .kf-admin-logo {
    transform: scale(1.1) !important; /* Same as public logo */
    background: transparent !important;
}

.kf-brand-link:hover .kf-admin-logo .kf-brand-logo {
    transform: scale(1.2) !important; /* Same as public logo */
}

/* Admin brand badge - only visual difference */
.kf-brand-admin-badge {
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    background: var(--gradient-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    vertical-align: middle;
    animation: gradientShift 3s ease infinite;
    align-self: center; /* Align properly */
}

/* Admin brand link hover */
.kf-brand-link:hover .kf-brand-admin-badge {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* ========== NAVIGATION MENU - RIGHT SIDE ========== */
.kf-nav-menu {
    display: flex;
    align-items: center;
}

.kf-nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    align-items: center;
    height: 100%;
}

.kf-nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.kf-nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    padding: 1rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    font-size: 0.95rem;
    height: 100%;
    justify-content: center;
    white-space: nowrap;
}

.kf-nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient);
    border-radius: 50%;
    transition: var(--transition);
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
}

.kf-nav-link:hover::before {
    width: 60px;
    height: 60px;
    opacity: 0.1;
    animation: gradientShift 2s ease infinite;
}

.kf-nav-text {
    transition: var(--transition);
    position: relative;
    z-index: 2;
    color: inherit;
}

.kf-nav-underline {
    height: 3px;
    width: 0;
    background: var(--gradient);
    transition: var(--transition);
    margin-top: 4px;
    border-radius: 2px;
    position: relative;
    z-index: 2;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

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

.kf-nav-link:hover,
.kf-nav-link.kf-active {
    color: var(--primary);
    transform: translateY(-2px);
}

.kf-nav-link:hover .kf-nav-text {
    transform: scale(1.05);
}

/* ========== DONATE BUTTON ========== */
.kf-donate-btn {
    background: var(--gradient-secondary);
    color: white !important;
    padding: 0.7rem 1.8rem !important;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    transition: var(--transition);
    font-weight: 700 !important;
    border: none;
    height: auto;
    white-space: nowrap;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.kf-donate-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    background: var(--gradient-secondary);
    color: white !important;
    animation: gradientShift 1.5s ease infinite;
}

.kf-donate-btn .kf-nav-underline {
    display: none;
}

.kf-donate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.kf-donate-btn:hover::before {
    left: 100%;
}

/* ========== LOGOUT BUTTON ========== */
.kf-logout-btn {
    background: var(--gradient-secondary) !important;
    color: white !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: var(--border-radius);
    margin-left: 0.5rem;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.kf-logout-btn:hover {
    background: var(--gradient-secondary) !important;
    transform: translateY(-2px);
    animation: gradientShift 1.5s ease infinite;
}

/* ========== MOBILE TOGGLE ========== */
.kf-nav-toggle {
    display: none;
    background: var(--gradient);
    border: none;
    cursor: pointer;
    padding: 0.6rem;
    border-radius: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-left: 1rem;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.kf-nav-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    animation: gradientShift 1.5s ease infinite;
}

.kf-hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    margin: 2.5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.kf-mobile-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
}

/* ========== ANIMATIONS ========== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes purpleGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(124, 58, 237, 0.8), 0 0 40px rgba(139, 92, 246, 0.6);
    }
}

@keyframes bluePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
    body {
        padding-top: 70px;
    }

    .kf-nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        transition: var(--transition);
        z-index: 1001;
        border-left: 1px solid rgba(37, 99, 235, 0.1);
    }

    .kf-nav-menu.kf-active {
        right: 0;
    }

    .kf-nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
        align-items: stretch;
    }

    .kf-nav-item {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(37, 99, 235, 0.05);
        height: auto;
        display: block;
    }

    .kf-nav-link {
        padding: 1.25rem 0;
        width: 100%;
        justify-content: flex-start;
        font-size: 1.1rem;
        height: auto;
    }

    .kf-nav-link::before {
        display: none;
    }

    .kf-donate-btn {
        justify-content: center;
        padding: 1rem 2rem !important;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .kf-logout-btn {
        margin-left: 0;
        margin-top: 0.5rem;
        justify-content: center;
    }

    .kf-nav-toggle {
        display: flex;
        z-index: 1002;
    }

    .kf-nav-toggle.kf-active .kf-hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

    .kf-nav-toggle.kf-active .kf-hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .kf-mobile-backdrop.kf-active {
        display: block;
    }
}

@media (max-width: 768px) {
    .kf-nav-container {
        padding: 0 1.5rem;
    }

    .kf-brand-main {
        font-size: 1.3rem;
    }

    /* Consistent mobile logo size */
    .kf-logo-container {
        width: 45px;
        height: 45px;
    }

    .kf-admin-logo {
        width: 45px !important;
        height: 45px !important;
    }

    .kf-admin-logo .kf-brand-logo {
        width: 90% !important;
    }
}

@media (max-width: 576px) {
    .kf-nav-container {
        padding: 0 1rem;
    }

    /* Keep brand text visible */
    .kf-brand-main {
        font-size: 1.1rem;
    }

    .kf-admin-logo {
        width: 40px !important;
        height: 40px !important;
    }

    .kf-brand-admin-badge {
        font-size: 0.55rem;
        padding: 1px 4px;
        margin-left: 4px;
    }

    .kf-brand-text-container {
        gap: 0.3rem;
    }
}

@media (max-width: 480px) {
    .kf-nav-container {
        padding: 0 0.75rem;
    }

    .kf-brand-link {
        gap: 0.5rem;
    }

    .kf-brand-main {
        font-size: 1rem;
        white-space: normal;
        line-height: 1.1;
    }

    .kf-brand-text-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
    }

    .kf-brand-admin-badge {
        margin-left: 0;
        align-self: flex-start;
    }

    /* Consistent small logo size */
    .kf-logo-container {
        width: 40px;
        height: 40px;
    }

    .kf-admin-logo {
        width: 40px !important;
        height: 40px !important;
    }

    .kf-nav-menu {
        width: 280px;
        padding: 4rem 1.5rem 2rem;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .kf-brand-main {
        font-size: 0.9rem;
    }

    .kf-brand-text-container {
        min-width: 120px;
    }

    .kf-brand-link {
        gap: 0.4rem;
    }
}

/* ========== FOOTER STYLES - UNAFFECTED BY AUTH ========== */
.kf-footer {
    background: var(--dark) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

/* Ensure footer is not affected by admin styles */
.kf-footer * {
    background: transparent !important;
}

.kf-footer .kf-admin-logo,
.kf-footer .kf-brand-admin-badge {
    display: none !important;
}

.kf-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    animation: gradientShift 3s ease-in-out infinite;
    background-size: 200% 200%;
}

.kf-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.kf-footer-top {
    padding: 2.5rem 0 1rem;
}

.kf-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kf-footer-section {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.kf-footer-section:nth-child(1) { animation-delay: 0.1s; }
.kf-footer-section:nth-child(2) { animation-delay: 0.2s; }
.kf-footer-section:nth-child(3) { animation-delay: 0.3s; }
.kf-footer-section:nth-child(4) { animation-delay: 0.4s; }

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

/* FIXED: Footer heading text now visible (changed from gradient text to solid white) */
.kf-footer-section h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: white; /* Changed from gradient text to solid white */
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.kf-footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: var(--transition);
    border-radius: 2px;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.kf-footer-section:hover h3::after {
    width: 100%;
}

.kf-footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
    transition: var(--transition);
    display: inline-block;
}

.kf-footer-section:hover h4 {
    transform: translateX(10px);
}

.kf-footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
    transition: var(--transition);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.kf-footer-section:hover h4::after {
    width: 100%;
}

.kf-footer-about p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
    transition: var(--transition);
}

.kf-footer-section:hover .kf-footer-about p {
    opacity: 1;
    transform: translateX(5px);
}

.kf-social-links {
    display: flex;
    gap: 0.75rem;
}

.kf-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.kf-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: var(--transition);
    z-index: 1;
    background-size: 200% 200%;
}

.kf-social-link:hover::before {
    left: 0;
    animation: gradientShift 2s ease infinite;
}

.kf-social-link i {
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.kf-social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    border-color: transparent;
}

.kf-social-link:hover i {
    transform: scale(1.2);
    color: white;
}

.kf-footer-links {
    list-style: none;
    padding: 0;
}

.kf-footer-links li {
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.kf-footer-links li:hover {
    transform: translateX(8px);
}

.kf-footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    position: relative;
    overflow: hidden;
}

.kf-footer-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
    background-size: 200% 200%;
}

.kf-footer-link:hover::after {
    width: 100%;
}

.kf-footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.kf-footer-link i {
    width: 18px;
    text-align: center;
    color: var(--primary-light);
    transition: var(--transition);
}

.kf-footer-link:hover i {
    color: var(--accent);
    transform: scale(1.2);
}

.kf-email-link:hover::after {
    width: 100%;
}

.kf-newsletter-section {
    margin-top: 1.5rem;
    animation: bluePulse 3s infinite;
}

.kf-newsletter-form {
    margin-top: 0.75rem;
}

.kf-input-group {
    display: flex;
    margin-bottom: 0.5rem;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transition: var(--transition);
    border: 2px solid transparent;
    background: rgba(37, 99, 235, 0.05);
}

.kf-input-group:focus-within {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
    animation: purpleGlow 2s infinite;
}

.kf-form-control {
    flex: 1;
    padding: 0.8rem 1.25rem;
    border: none;
    background: transparent;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}

.kf-form-control:focus {
    outline: none;
    background: rgba(37, 99, 235, 0.1);
}

.kf-form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.kf-btn-subscribe {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.kf-btn-subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.kf-btn-subscribe:hover::before {
    left: 100%;
}

.kf-btn-subscribe:hover {
    background: var(--gradient);
    transform: scale(1.05);
    animation: gradientShift 1.5s ease infinite;
}

.kf-btn-subscribe:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.kf-btn-subscribe:disabled:hover {
    transform: none !important;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.kf-form-message {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    text-align: center;
    transition: var(--transition);
}

.kf-form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.kf-form-message.error {
    background: rgba(220, 38, 38, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.kf-input-group:has(.kf-form-control:invalid:not(:focus):not(:placeholder-shown)) {
    border-color: var(--secondary);
}

.kf-form-control:invalid:not(:focus):not(:placeholder-shown) {
    border-right: 3px solid var(--secondary);
}

.kf-footer-bottom {
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    padding: 1.5rem 0;
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kf-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.kf-footer-legal {
    display: flex;
    gap: 1.5rem;
}

.kf-legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 0.4rem 0;
    display: inline-block;
}

.kf-legal-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
    background-size: 200% 200%;
}

.kf-legal-link:hover::after {
    width: 100%;
}

.kf-legal-link:hover {
    color: white;
    transform: translateY(-2px);
}

.kf-newsletter-note {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ========== RESPONSIVE FOOTER ========== */
@media (max-width: 768px) {
    .kf-footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .kf-footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .kf-footer-section {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .kf-footer-section h4 {
        display: block;
    }
}

/* ========== ADMIN NAVIGATION STYLES ========== */
.kf-logout-btn {
    background: var(--gradient-secondary) !important;
    color: white !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: var(--border-radius);
    margin-left: 0.5rem;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.kf-logout-btn:hover {
    background: var(--gradient-secondary) !important;
    transform: translateY(-2px);
    animation: gradientShift 1.5s ease infinite;
}

/* Mobile responsive adjustments for admin nav */
@media (max-width: 992px) {
    .kf-logout-btn {
        margin-left: 0;
        margin-top: 0.5rem;
        justify-content: center;
    }
}