/* 
 * Revue Dama Ninao - Custom Stylesheet
 * Design professionnel et créatif
 */

/* Variables */
:root {
    --primary-color: #ffb800;
    --primary-light: #ffd966;
    --primary-dark: #cc9300;
    --warning-color: #8a00d0;
    --warning-light: #b34dff;
    --warning-dark: #6600a3;
    --text-color: #232323;
    --text-light: #6c757d;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base */
body {
    font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #232323;
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    transition: var(--transition-base);
}

p {
    line-height: 1.8;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Color Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.text-warning-custom {
    color: var(--warning-color) !important;
}

.bg-warning-custom {
    background-color: var(--warning-color) !important;
}

/* Navbar */
.navbar {
    background-color: #000 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition-base);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    transition: var(--transition-base);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand .gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--warning-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand img {
    transition: var(--transition-base);
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.navbar-brand:hover img {
    filter: drop-shadow(0 2px 8px rgba(255, 184, 0, 0.5));
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: var(--transition-base);
    font-size: 1.05rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.navbar-dark .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--warning-color));
    transition: var(--transition-base);
}

.navbar-dark .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-dark .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Buttons */
.btn {
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-warning {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

.btn-dark {
    background: linear-gradient(135deg, #1a1a1a, #000);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Cards */
.card {
    transition: var(--transition-smooth);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Quick Links Cards */
.quick-link-card {
    position: relative;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--warning-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.quick-link-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.quick-link-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(255, 184, 0, 0.15);
    transform: translateY(-8px);
}

.quick-link-card:hover::before {
    transform: scaleX(1);
}

.quick-link-card:hover::after {
    width: 300px;
    height: 300px;
}

.quick-link-card .icon-wrapper {
    transition: var(--transition-base);
}

.quick-link-card:hover .icon-wrapper {
    transform: scale(1.15) rotate(-5deg);
}

.quick-link-card i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--warning-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 1rem;
    transition: var(--transition-base);
}

.quick-link-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Footer */
footer {
    background-color: #000;
    color: rgba(255, 255, 255, 0.8);
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-color);
}

/* Admin Dashboard */
.admin-shell {
    background: linear-gradient(180deg, #faf8ff 0%, #f4f5fb 100%);
}

.admin-side-column {
    position: relative;
    z-index: 4;
}

.admin-side-nav {
    position: sticky;
    top: 90px;
    min-height: calc(100vh - 105px);
    margin: 1rem;
    padding: 1.1rem 0.9rem;
    border-radius: 20px;
    background:
        radial-gradient(circle at top left, rgba(255, 184, 0, 0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(138, 0, 208, 0.2), transparent 36%),
        linear-gradient(165deg, #101014 0%, #1e022d 100%);
    box-shadow: 0 20px 56px rgba(12, 3, 20, 0.38);
    overflow: hidden;
}

.admin-side-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.7rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

.admin-side-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.95), rgba(255, 205, 70, 0.95));
    color: #141414;
    font-size: 1rem;
}

.admin-side-brand small {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.admin-side-brand strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
}

.admin-side-section-title {
    margin: 0.2rem 0 0.7rem;
    padding: 0 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.admin-side-menu .nav-item + .nav-item {
    margin-top: 0.35rem;
}

.admin-side-menu .nav-link,
.admin-side-footer-link .nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.62rem 0.7rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid transparent;
    transition: var(--transition-base);
    font-size: 0.92rem;
}

.admin-side-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    flex: 0 0 28px;
}

.admin-side-menu .nav-link:hover,
.admin-side-menu .nav-link.active,
.admin-side-footer-link .nav-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(90deg, rgba(255, 184, 0, 0.16), rgba(138, 0, 208, 0.2));
}

.admin-side-menu .nav-link.active {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.admin-side-menu .nav-link:hover .admin-side-icon,
.admin-side-menu .nav-link.active .admin-side-icon,
.admin-side-footer-link .nav-link:hover .admin-side-icon {
    background: rgba(255, 255, 255, 0.2);
}

.admin-side-footer-link {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.admin-side-footer-link .nav-link {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
}

/* Hero Section Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.section-content {
    animation: fadeIn 1s ease-out;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Background Overlays */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    pointer-events: none;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--warning-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    }
    50% {
        box-shadow: 0 6px 24px rgba(220, 53, 69, 0.6);
    }
}

/* Badge Styles */
.badge-custom {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* Article Cards */
.article-card {
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.article-card .badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
}

/* Issues Archive Page */
.issues-hero {
    background:
        radial-gradient(circle at top left, rgba(255, 184, 0, 0.22), transparent 34%),
        radial-gradient(circle at bottom right, rgba(138, 0, 208, 0.18), transparent 32%),
        linear-gradient(135deg, #0b0b0f 0%, #170022 54%, #231232 100%);
}

.issues-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.8;
}

.issues-hero-orb-left {
    width: 220px;
    height: 220px;
    left: -40px;
    top: 30px;
    background: rgba(255, 184, 0, 0.16);
}

.issues-hero-orb-right {
    width: 180px;
    height: 180px;
    right: 4%;
    bottom: 16%;
    background: rgba(138, 0, 208, 0.18);
}

.issues-hero-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.7rem 1rem;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
}

.issues-hero-copy {
    max-width: 50rem;
    opacity: 0.9;
}

.issues-stat-card {
    height: 100%;
    padding: 1.15rem 1.2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.issues-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.45rem;
}

.issues-stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.76);
}

.issues-feature-card {
    padding: 1.75rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.issues-feature-kicker {
    color: var(--primary-light);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.issues-feature-count {
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.82rem;
    white-space: nowrap;
}

.issues-feature-summary {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.issues-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.82rem;
}

.issues-archive-shell {
    background: linear-gradient(180deg, #fff 0%, #f6f4fb 100%);
}

.issues-section-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warning-color);
}

.issues-page-indicator {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: var(--text-light);
    font-size: 0.92rem;
}

.issue-archive-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(35, 35, 35, 0.08);
    transition: var(--transition-smooth);
}

.issue-archive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(35, 35, 35, 0.14);
}

.issue-archive-media {
    position: relative;
}

.issue-archive-image,
.issue-archive-placeholder {
    width: 100%;
    display: block;
}

.issue-archive-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.issue-archive-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.issue-badge-pill {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
}

.issue-badge-articles {
    background: rgba(255, 255, 255, 0.92);
    color: #161616;
}

.issue-archive-body {
    padding: 1.5rem;
}

.issue-archive-title {
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: #171717;
}

.issue-archive-text {
    margin-bottom: 1.25rem;
}

.issue-archive-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.issue-archive-cta {
    padding: 0.7rem 1.15rem;
}

.issues-pagination-wrap nav {
    display: flex;
    justify-content: center;
}

.issues-pagination-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(26, 10, 41, 0.08);
}

.issues-pagination-summary {
    color: var(--text-light);
    font-size: 0.95rem;
}

.issues-pagination-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.issues-page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.issues-page-number,
.issues-page-ellipsis,
.issues-page-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 3rem;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(23, 23, 23, 0.08);
    color: #1f1f1f;
    font-weight: 700;
    transition: var(--transition-base);
}

.issues-page-number:hover,
.issues-page-arrow:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--warning-color), #b252ff);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(138, 0, 208, 0.22);
}

.issues-page-number.is-current {
    background: linear-gradient(135deg, var(--primary-color), #ffd15a);
    color: #161616;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(255, 184, 0, 0.22);
}

.issues-page-arrow {
    min-width: 9.5rem;
    text-decoration: none;
}

.issues-page-arrow.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    box-shadow: none;
}

.issues-page-ellipsis {
    border-style: dashed;
    color: var(--text-light);
}

/* Issue Detail Page */
.issue-detail-hero {
    background:
        radial-gradient(circle at top left, rgba(255, 184, 0, 0.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(138, 0, 208, 0.18), transparent 34%),
        linear-gradient(135deg, #100b17 0%, #190226 60%, #241432 100%);
}

.issue-detail-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.75;
}

.issue-detail-hero-orb-left {
    width: 220px;
    height: 220px;
    top: -30px;
    left: -40px;
    background: rgba(255, 184, 0, 0.14);
}

.issue-detail-hero-orb-right {
    width: 180px;
    height: 180px;
    right: 4%;
    bottom: 8%;
    background: rgba(138, 0, 208, 0.18);
}

.issue-detail-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5);
    --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0;
}

.issue-detail-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
}

.issue-detail-copy {
    max-width: 46rem;
    opacity: 0.92;
}

.issue-detail-panel {
    padding: 1.25rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.07));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
}

.issue-detail-cover-wrap {
    border-radius: 18px;
    overflow: hidden;
}

.issue-detail-cover {
    width: 100%;
    height: 420px;
    display: block;
}

.issue-detail-panel-body {
    color: #fff;
}

.issue-detail-content {
    background: linear-gradient(180deg, #fff 0%, #f7f5fb 100%);
}

.issue-article-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 48px rgba(26, 10, 41, 0.08);
    transition: var(--transition-smooth);
}

.issue-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(26, 10, 41, 0.12);
}

.issue-article-order {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255,184,0,0.95), rgba(255,209,90,0.95));
    color: #161616;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.issue-article-body {
    padding: 1.5rem 1.6rem;
}

.issue-article-title {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #171717;
}

.issue-article-meta {
    display: grid;
    gap: 0.6rem;
}

.issue-article-meta-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: var(--text-light);
    font-size: 0.95rem;
}

.issue-article-meta-item i {
    margin-top: 0.1rem;
    color: var(--warning-color);
}

.issue-article-abstract {
    color: #414141;
    line-height: 1.85;
}

.issue-article-pdf {
    border-width: 1px;
}

.issue-empty-state {
    border: none;
    border-radius: 18px;
    padding: 1rem 1.2rem;
    box-shadow: var(--shadow-sm);
}

/* Article Detail Page */
.article-detail-hero {
    background:
        radial-gradient(circle at top left, rgba(255, 184, 0, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(138, 0, 208, 0.18), transparent 34%),
        linear-gradient(135deg, #0f0a16 0%, #180124 58%, #241533 100%);
}

.article-detail-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.75;
}

.article-detail-hero-orb-left {
    width: 220px;
    height: 220px;
    left: -50px;
    top: 10px;
    background: rgba(255, 184, 0, 0.12);
}

.article-detail-hero-orb-right {
    width: 180px;
    height: 180px;
    right: 5%;
    bottom: 10%;
    background: rgba(138, 0, 208, 0.18);
}

.article-detail-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5);
    --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0;
}

.article-detail-breadcrumb a {
    color: rgba(255, 255, 255, 0.84);
}

.article-detail-panel {
    padding: 1.4rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.07));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
}

.article-detail-content {
    background: linear-gradient(180deg, #fff 0%, #f7f5fb 100%);
}

.article-info-card,
.article-abstract-card,
.article-side-card {
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(26, 10, 41, 0.08);
}

.article-info-card,
.article-abstract-card {
    padding: 1.6rem;
}

.article-side-card {
    overflow: hidden;
}

.article-side-card-body {
    padding: 1.5rem;
}

.article-author-card {
    height: 100%;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdf7 0%, #faf6ff 100%);
    border: 1px solid rgba(23, 23, 23, 0.06);
}

.article-author-name {
    display: block;
    margin-bottom: 0.6rem;
    color: #181818;
}

.article-author-meta {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    color: var(--text-light);
    font-size: 0.92rem;
}

.article-author-meta i {
    color: var(--warning-color);
    margin-top: 0.1rem;
}

.article-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.article-meta-box {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid rgba(23, 23, 23, 0.06);
    color: #262626;
}

.article-meta-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.article-meta-link {
    color: var(--warning-color);
    font-weight: 700;
}

.article-keyword-pill {
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
}

.article-abstract-text {
    color: #383838;
    line-height: 1.95;
    font-size: 1.03rem;
}

.article-side-cover {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.article-citation-card {
    background: linear-gradient(180deg, #fff 0%, #faf4ff 100%);
}

.article-citation-text {
    color: #454545;
    line-height: 1.85;
}

.article-article-download {
    border-width: 1px;
}

/* Admin Dashboard Redesign */
.admin-dashboard-page {
    padding-bottom: 0.25rem;
}

.admin-dashboard-page .card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

.admin-dashboard-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(255, 184, 0, 0.2), transparent 34%),
        radial-gradient(circle at bottom right, rgba(138, 0, 208, 0.18), transparent 36%),
        linear-gradient(135deg, #09090f 0%, #160023 58%, #231732 100%);
    box-shadow: 0 24px 60px rgba(10, 0, 24, 0.35);
}

.admin-dashboard-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.65;
}

.admin-dashboard-hero-orb-left {
    width: 220px;
    height: 220px;
    top: -80px;
    left: -60px;
    background: rgba(255, 184, 0, 0.24);
}

.admin-dashboard-hero-orb-right {
    width: 180px;
    height: 180px;
    right: 2%;
    bottom: -30px;
    background: rgba(138, 0, 208, 0.3);
}

.admin-dashboard-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-dashboard-chip {
    min-width: 200px;
    border-radius: 16px;
    padding: 0.8rem 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.84);
}

.admin-dashboard-chip span {
    display: block;
    font-size: 0.77rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-dashboard-chip strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1rem;
    text-transform: capitalize;
}

.admin-kpi-card {
    position: relative;
    height: 100%;
    border-radius: 20px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(10px);
}

.admin-kpi-icon {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.95);
}

.admin-kpi-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(255, 255, 255, 0.7);
}

.admin-kpi-value {
    font-size: 1.85rem;
    line-height: 1.2;
    font-weight: 800;
    margin: 0.25rem 0;
}

.admin-kpi-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
}

.admin-kpi-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
}

.admin-kpi-link:hover {
    color: #fff;
}

.admin-kpi-issues {
    box-shadow: inset 0 0 0 1px rgba(255, 184, 0, 0.2);
}

.admin-kpi-articles {
    box-shadow: inset 0 0 0 1px rgba(179, 77, 255, 0.2);
}

.admin-kpi-published {
    box-shadow: inset 0 0 0 1px rgba(25, 135, 84, 0.28);
}

.admin-kpi-draft {
    box-shadow: inset 0 0 0 1px rgba(173, 181, 189, 0.24);
}

.admin-panel {
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(12, 11, 19, 0.09);
    border: 1px solid rgba(22, 22, 22, 0.06);
    overflow: hidden;
}

.admin-panel-header {
    padding: 0.95rem 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, #101012, #240337);
}

.admin-panel-header-soft {
    background: linear-gradient(135deg, #3e1a00, #8a00d0);
}

.admin-panel-header-dark {
    background: linear-gradient(135deg, #131313, #323232);
}

.admin-panel-header-success {
    background: linear-gradient(135deg, #105934, #16784a);
}

.admin-panel-body {
    padding: 1.1rem 1.2rem;
}

.admin-quick-action {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(19, 19, 19, 0.11);
    color: #1f1f1f;
    background: linear-gradient(180deg, #fffdf6 0%, #f8f2ff 100%);
    transition: var(--transition-base);
}

.admin-quick-action i {
    color: var(--warning-color);
    font-size: 1.02rem;
}

.admin-quick-action:hover {
    transform: translateY(-2px);
    border-color: rgba(138, 0, 208, 0.28);
    box-shadow: var(--shadow-sm);
}

.admin-activity-table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
    border-bottom-width: 1px;
}

.admin-activity-table td {
    vertical-align: middle;
}

.admin-activity-link {
    color: #1f1f1f;
    font-weight: 600;
}

.admin-activity-link:hover {
    color: var(--warning-color);
}

.admin-meta-list {
    list-style: none;
    padding: 0;
}

.admin-meta-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed rgba(23, 23, 23, 0.12);
}

.admin-meta-list li:last-child {
    border-bottom: none;
}

.admin-meta-list span {
    color: #6b6b6b;
}

.admin-meta-list strong {
    text-align: right;
    color: #191919;
}

@media (max-width: 991.98px) {
    .admin-dashboard-hero {
        padding: 1.2rem;
    }

    .admin-dashboard-chip {
        width: 100%;
    }

    .admin-side-nav {
        position: static;
        min-height: auto;
        margin: 0.8rem 0.4rem 0;
    }

    .admin-side-column {
        margin-bottom: 0.6rem;
    }
}

/* Image Hover Effects */
img {
    transition: var(--transition-base);
}

img:hover {
    transform: scale(1.05);
}

/* Footer Styles */
.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

footer .btn-outline-light:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--warning-color));
    border-color: transparent;
    transform: scale(1.1);
}

/* Gallery */
.gallery-frame {
    aspect-ratio: 4 / 5;
    background: #111;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.45));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-card:hover .gallery-frame {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-card:hover .gallery-image {
    transform: scale(1.06);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Enhanced Shadows */
.shadow-glow {
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.3), 0 0 40px rgba(138, 0, 208, 0.2);
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient Border */
.gradient-border {
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--warning-color));
    border-radius: inherit;
    z-index: -1;
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        height: 36px !important;
    }

    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }

    .navbar-dark .nav-link {
        padding: 0.7rem 0.9rem !important;
        border-radius: 8px;
        font-size: 0.98rem;
    }

    .navbar-dark .nav-link::after {
        display: none;
    }

    .navbar-dark .nav-link:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .parallax-section {
        background-attachment: scroll;
    }

    .hero-section {
        min-height: 220px !important;
    }

    .sticky-top {
        position: static !important;
        top: auto !important;
    }

    .issues-feature-card {
        padding: 1.35rem;
    }

    .issue-archive-card:hover {
        transform: none;
    }

    .issue-article-card {
        grid-template-columns: 1fr;
    }

    .issue-article-order {
        min-height: 70px;
    }

    .issue-article-card:hover {
        transform: none;
    }

    .issues-pagination-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .issues-pagination-summary {
        text-align: center;
    }

    .issues-pagination-controls {
        justify-content: center;
    }

    .breadcrumb {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 0.86rem;
        padding-bottom: 0.25rem;
    }

    .breadcrumb-item {
        white-space: nowrap;
    }

    #scrollTopBtn {
        width: 44px !important;
        height: 44px !important;
        right: 16px !important;
        bottom: 16px !important;
    }

    .issue-cover-image,
    .issue-cover-placeholder {
        height: 280px !important;
    }

    footer .row.g-4 > [class*='col-'] {
        text-align: center;
    }

    footer .d-flex.gap-3 {
        justify-content: center;
        flex-wrap: wrap;
    }

    .card:hover,
    .article-card:hover,
    .quick-link-card:hover {
        transform: none;
    }

    .gallery-card:hover .gallery-frame {
        transform: none;
    }

    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
    }
    
    .btn-lg {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .quick-link-card {
        padding: 1.5rem 1rem;
    }
    
    .hero-title {
        font-size: 3rem !important;
    }
    
    .display-1 {
        font-size: 3.5rem !important;
    }
    
    .display-2 {
        font-size: 2.5rem !important;
    }

    .issues-hero .display-3 {
        font-size: 2.5rem !important;
    }

    .issues-stat-value {
        font-size: 1.7rem;
    }

    .issues-feature-count,
    .issues-page-indicator {
        font-size: 0.8rem;
    }

    .issue-archive-body {
        padding: 1.2rem;
    }

    .issue-archive-title {
        font-size: 1.2rem;
    }

    .issue-detail-cover {
        height: 320px;
    }

    .issue-article-body {
        padding: 1.2rem;
    }

    .issue-article-title {
        font-size: 1.15rem;
    }

    .issues-page-arrow {
        min-width: 8rem;
        padding: 0.7rem 0.9rem;
    }

    .issues-page-number,
    .issues-page-ellipsis,
    .issues-page-arrow {
        min-height: 2.75rem;
    }
    
    .floating-shape {
        display: none;
    }
}
