/* --- PiManga Modern Premium Footer Styles --- */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #0b0c13 0%, #06070a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px 0;
    margin-top: 60px;
    overflow: hidden;
    color: #94a3b8;
    box-sizing: border-box;
}

.footer-ambient-glow {
    position: absolute;
    top: 0;
    left: 20%;
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(187, 134, 252, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-top-divider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(187, 134, 252, 0.6) 35%, rgba(236, 72, 153, 0.6) 65%, transparent 100%);
    box-shadow: 0 0 12px rgba(187, 134, 252, 0.35);
    z-index: 1;
}

.footer-container {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    z-index: 2;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 45px;
}

/* Left Col: Brand */
.footer-brand-section {
    display: flex;
    flex-direction: column;
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-brand-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 40%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-brand-title:hover {
    opacity: 0.9;
}

.footer-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #d8b4fe;
    background: rgba(187, 134, 252, 0.1);
    border: 1px solid rgba(187, 134, 252, 0.22);
    padding: 4px 11px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.footer-brand-tag i {
    font-size: 10px;
    color: #ec4899;
}

.footer-description {
    font-size: 14.5px;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0 0 20px 0;
    max-width: 580px;
}

/* Volunteer Card */
.footer-volunteer-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid #ec4899;
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 25px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: 580px;
    box-sizing: border-box;
}

.footer-volunteer-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(236, 72, 153, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ec4899;
    font-size: 14px;
    flex-shrink: 0;
}

.footer-volunteer-message {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.5;
    font-weight: 400;
}

/* Social Buttons */
.footer-socials-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-socials-heading {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
}

.footer-socials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.footer-social-btn:hover {
    color: #ffffff;
    background: var(--brand-glow, rgba(187, 134, 252, 0.2));
    border-color: var(--brand-color, #bb86fc);
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 20px -4px var(--brand-glow, rgba(187, 134, 252, 0.3));
}

/* Right Col: Kurumsal */
.footer-nav-section {
    display: flex;
    flex-direction: column;
}

.footer-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-heading-indicator {
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, #bb86fc 0%, #ec4899 100%);
}

.footer-heading-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.2px;
}

.footer-nav-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-nav-card:hover {
    background: rgba(187, 134, 252, 0.06);
    border-color: rgba(187, 134, 252, 0.35);
    transform: translateX(4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.footer-nav-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(187, 134, 252, 0.08);
    border: 1px solid rgba(187, 134, 252, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bb86fc;
    font-size: 16px;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-nav-card:hover .footer-nav-card-icon {
    background: rgba(187, 134, 252, 0.18);
    color: #d8b4fe;
}

.footer-nav-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-nav-card-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #f1f5f9;
    transition: color 0.2s ease;
}

.footer-nav-card:hover .footer-nav-card-title {
    color: #bb86fc;
}

.footer-nav-card-desc {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-nav-card-arrow {
    color: #475569;
    font-size: 12px;
    transition: transform 0.25s ease, color 0.2s ease;
    flex-shrink: 0;
}

.footer-nav-card:hover .footer-nav-card-arrow {
    transform: translateX(4px);
    color: #bb86fc;
}

/* Bottom Row */
.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copyright-text {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.footer-copyright-brand {
    color: #cbd5e1;
    font-weight: 600;
}

/* Live Users Widget */
.pimanga-live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 16px;
    border-radius: 30px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #94a3b8;
    font-size: 13px;
    user-select: none;
}

.pimanga-pulse-dot-wrap {
    position: relative;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pimanga-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #10b981;
    animation: pimangaRingPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}

.pimanga-pulse-core {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

@keyframes pimangaRingPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(2.2);
        opacity: 0;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.pimanga-live-status-details {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pimanga-live-count {
    color: #ffffff;
    font-weight: 700;
}

.pimanga-live-breakdown {
    color: #64748b;
    font-size: 11.5px;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 35px;
    }
    .footer-brand-section,
    .footer-description,
    .footer-volunteer-box {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 25px 0 !important;
        margin-top: 35px;
    }
    .footer-container {
        padding: 0 16px !important;
    }
    .footer-main-grid {
        gap: 30px;
        margin-bottom: 30px;
    }
    .footer-bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    .pimanga-live-status-pill {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 20px 0 !important;
        margin-top: 25px;
    }
    .footer-container {
        padding: 0 12px !important;
    }
    .footer-brand-title {
        font-size: 22px;
    }
    .footer-brand-tag {
        font-size: 10.5px;
        padding: 3px 9px;
    }
    .footer-description {
        font-size: 13.5px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    .footer-volunteer-box {
        padding: 10px 12px;
        gap: 10px;
        margin-bottom: 20px;
    }
    .footer-volunteer-icon-wrap {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .footer-volunteer-message {
        font-size: 12.5px;
        line-height: 1.45;
    }
    .footer-social-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 10px;
    }
    .footer-nav-card {
        padding: 12px 14px;
        gap: 12px;
    }
    .footer-nav-card-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .footer-nav-card-title {
        font-size: 13.5px;
    }
    .footer-nav-card-desc {
        font-size: 11px;
    }
    .footer-bottom-row {
        gap: 14px;
        padding-top: 20px;
    }
    .footer-copyright-text {
        font-size: 12.5px;
    }
    .pimanga-live-status-pill {
        padding: 8px 12px;
        font-size: 12px;
    }
    .pimanga-live-status-details {
        font-size: 12px;
        justify-content: center;
    }
    .pimanga-live-breakdown {
        font-size: 11px;
    }
}

/* --- NOTIFICATIONS POPUP MODAL STYLES --- */
@keyframes pncNotifModalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes pncNotifOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
#notificationsModal.pnc-notif-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(6, 8, 14, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: pncNotifOverlayIn 0.2s ease-out;
}
#notificationsModal .pnc-notif-modal-dialog {
    background: linear-gradient(180deg, #161826 0%, #11121c 100%);
    border: 1px solid #1f2334;
    border-radius: 16px;
    width: 92%;
    max-width: 520px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 25px 60px -10px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.06), 0 0 35px rgba(124,58,237,0.15);
    overflow: hidden;
    animation: pncNotifModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
#notificationsModal .pnc-notif-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #1f2334;
    background: rgba(13, 15, 23, 0.6);
}
#notificationsModal .pnc-notif-modal-title {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
#notificationsModal .pnc-notif-modal-title i {
    color: #a78bfa;
    font-size: 17px;
}
#notificationsModal .pnc-notif-modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
#notificationsModal .pnc-notif-clear-btn {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
#notificationsModal .pnc-notif-clear-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}
#notificationsModal .pnc-notif-clear-btn:active {
    transform: translateY(0);
}
#notificationsModal .pnc-notif-clear-btn i {
    font-size: 11px;
}
#notificationsModal .pnc-notif-modal-close {
    background: #1c2030;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
#notificationsModal .pnc-notif-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}
#notifications-list.pnc-notif-scroll-area {
    overflow-y: auto;
    flex: 1;
    max-height: calc(85vh - 65px);
    background: transparent;
    border-radius: 0 0 16px 16px;
}
#notifications-list.pnc-notif-scroll-area::-webkit-scrollbar {
    width: 5px;
}
#notifications-list.pnc-notif-scroll-area::-webkit-scrollbar-thumb {
    background: #252a3d;
    border-radius: 4px;
}
.pnc-notif-loading {
    padding: 45px 20px;
    text-align: center;
    color: #a78bfa;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.pnc-notif-loading i {
    font-size: 28px;
    color: #a78bfa;
}
.pnc-notif-empty {
    padding: 45px 20px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.pnc-notif-empty i {
    font-size: 34px;
    color: #2b3147;
}
.pnc-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(17, 18, 28, 0.4);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.pnc-notif-item:last-child {
    border-bottom: none;
}
.pnc-notif-item:hover {
    background: rgba(124, 58, 237, 0.08);
}
.pnc-notif-item:hover .pnc-notif-actor-name {
    color: #a78bfa;
}
.pnc-notif-avatar-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}
.pnc-notif-avatar-wrap img,
.pnc-notif-avatar-wrap .avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1f2334;
    display: block;
}
.pnc-notif-badge-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #ffffff;
    border: 2px solid #11121c;
}
.pnc-notif-badge-icon.like {
    background: #ef4444;
}
.pnc-notif-badge-icon.rt {
    background: #10b981;
}
.pnc-notif-badge-icon.follow {
    background: #3b82f6;
}
.pnc-notif-badge-icon.comment {
    background: #8b5cf6;
}
.pnc-notif-badge-icon.level {
    background: linear-gradient(135deg, #ffd700, #f59e0b);
}
.pnc-notif-content {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.45;
    flex: 1;
}
.pnc-notif-content b {
    color: #f1f5f9;
    font-weight: 600;
}
.pnc-notif-actor-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    margin-right: 4px;
    transition: color 0.2s ease;
}
.pnc-notif-time {
    color: #64748b;
    font-size: 11.5px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.pnc-notif-time i {
    font-size: 10px;
}
