/*
Theme Name: SerialIrany Pro
Theme URI: https://serialirany.com/
Author: تیم فنی سریال ایرانی
Author URI: https://serialirany.com/
Description: قالب مدرن، فوق‌العاده سریع و اختصاصی برای وب‌سایت پخش و دانلود فیلم و سریال - دیزاین شیشه‌ای نئومورفیک و استریمینگ اختصاصی GII.
Version: 1.6.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: serialirany
*/

:root {
    --si-app-bg: #0f131f;
    --si-sidebar-bg: rgba(22, 27, 44, 0.75);
    --si-glass-card: rgba(255, 255, 255, 0.05);
    --si-glass-border: rgba(255, 255, 255, 0.08);
    --si-primary: #3b82f6;
    --si-primary-hover: #2563eb;
    --si-accent: #e50914;
    --si-accent-gold: #f59e0b;
    --si-text-bright: #ffffff;
    --si-text-sub: #94a3b8;
    --si-text-dim: #64748b;
    --si-radius: 16px;
    --si-font: "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Tahoma, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
    font-family: var(--si-font);
}

body.si-app-body {
    background-color: var(--si-app-bg);
    color: var(--si-text-bright);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Background Ambient Orbs */
.si-ambient-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.si-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
}
.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3b82f6, #1d4ed8);
    top: -100px;
    right: 20%;
}
.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #6366f1, #4338ca);
    bottom: -150px;
    left: 10%;
}
.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #ec4899, #be185d);
    top: 40%;
    right: 5%;
    opacity: 0.12;
}

/* App Wrapper */
.si-app-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: calc(100vh - 40px);
    max-width: 1540px;
    margin: 20px auto;
    padding: 0 20px;
    gap: 24px;
}

/* Glass Sidebar */
.si-glass-sidebar {
    width: 260px;
    min-width: 260px;
    background: var(--si-sidebar-bg);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 24px;
    border: 1px solid var(--si-glass-border);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
}

.si-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 14px;
}
.si-app-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}
.si-app-logo:hover {
    transform: scale(1.04);
}
.si-logo-img {
    max-width: 155px;
    max-height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}
.si-logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 12px #3b82f6;
}

.si-sidebar-section {
    margin-bottom: 16px;
}
.si-section-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--si-text-dim);
    margin-bottom: 6px;
    padding: 0 8px;
    letter-spacing: 0.5px;
}
.si-sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.si-sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--si-text-sub);
    transition: all 0.25s ease;
}
.si-sidebar-menu li a i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.si-sidebar-menu li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(-3px);
}
.si-sidebar-menu li.active a {
    color: #fff;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(37, 99, 235, 0.95));
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.si-sidebar-footer {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.si-user-profile-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}
.si-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 20px;
}
.si-user-meta {
    display: flex;
    flex-direction: column;
}
.si-user-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.si-user-role {
    font-size: 11px;
    color: var(--si-text-sub);
}
.si-logout-btn {
    color: var(--si-text-dim);
    font-size: 16px;
    padding: 6px;
    border-radius: 8px;
}
.si-logout-btn:hover {
    color: #ef4444;
}

/* Main Panel */
.si-main-content-panel {
    flex: 1;
    min-width: 0;
    background: rgba(20, 25, 41, 0.6);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 24px;
    border: 1px solid var(--si-glass-border);
    padding: 24px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

/* Top Navbar */
.si-top-glass-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
    gap: 20px;
}
.si-mobile-logo {
    display: none;
    align-items: center;
}
.si-mobile-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}
.si-top-search-wrap {
    flex: 1;
    max-width: 480px;
}
.si-search-glass-form {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 10px 18px;
    transition: all 0.25s ease;
}
.si-search-glass-form:focus-within {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}
.si-search-icon {
    color: var(--si-text-sub);
    font-size: 14px;
}
.si-search-glass-form input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13.5px;
}
.si-search-glass-form input::placeholder {
    color: var(--si-text-dim);
}

.si-top-nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.si-greeting-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--si-text-sub);
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.si-greeting-pill i {
    color: #fbbf24;
}
.si-profile-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
}
.si-chip-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}
.si-chip-name {
    font-size: 13px;
    font-weight: 600;
}

/* Spotlight Hero Card & Slider */
.si-hero-slider-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 34px;
}
.si-hero-slider {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}
.si-spotlight-card {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 22px;
    overflow: hidden;
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    margin-bottom: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}
.si-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.03);
    z-index: 1;
}
.si-hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    z-index: 2;
}
.si-hero-slide .si-spotlight-bottom-content {
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.15s, opacity 0.5s ease 0.15s;
}
.si-hero-slide.active .si-spotlight-bottom-content {
    transform: translateY(0);
    opacity: 1;
}

/* Slider Navigation Arrows */
.si-hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    font-size: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.si-hero-nav-arrow:hover {
    background: rgba(59, 130, 246, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.08);
}
.si-hero-prev {
    right: 18px;
}
.si-hero-next {
    left: 18px;
}

/* Slider Pagination Dots */
.si-hero-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    background: rgba(10, 14, 26, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.si-hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.si-hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}
.si-hero-dot.active {
    width: 26px;
    background: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

.si-spotlight-glass-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 18, 32, 0.2) 0%, rgba(14, 18, 32, 0.85) 75%, rgba(14, 18, 32, 0.95) 100%),
                linear-gradient(90deg, rgba(14, 18, 32, 0.6) 0%, rgba(14, 18, 32, 0.1) 100%);
    padding: 24px 30px 48px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.si-spotlight-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 5;
}
.si-spotlight-top-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.si-glass-chip {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.si-glass-chip.latest-chip {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.8), rgba(220, 38, 38, 0.9));
    border-color: rgba(252, 165, 165, 0.4);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.45);
}
.si-glass-chip.episode-chip {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.75), rgba(37, 99, 235, 0.85));
    border-color: rgba(147, 197, 253, 0.4);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.4);
}
.si-glass-chip.gold {
    background: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.4);
}
.si-title-ep-tag {
    color: #60a5fa;
    font-weight: 700;
}

.si-spotlight-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    max-width: 650px;
    padding-bottom: 22px;
}
.si-spotlight-title {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}
.si-spotlight-subtitle {
    font-size: 14.5px;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.si-spotlight-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.si-spotlight-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
    transition: all 0.25s ease;
}
.si-spotlight-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.65);
}
.si-spotlight-play-btn .play-icon {
    width: 22px;
    height: 22px;
    background: #fff;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    padding-right: 1px;
}
.si-spotlight-fav-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.25s ease;
    cursor: pointer;
}
.si-spotlight-fav-btn:hover,
.si-spotlight-fav-btn.active {
    background: rgba(239, 68, 68, 0.85);
    color: #fff;
    transform: translateY(-2px);
}

/* Shelf Group & Rows */
.si-shelf-group {
    margin-bottom: 34px;
}
.si-shelf-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.si-shelf-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.si-shelf-seeall {
    font-size: 13px;
    font-weight: 600;
    color: var(--si-text-sub);
}
.si-shelf-seeall:hover {
    color: #3b82f6;
}

/* CARDS GRID */
.si-glass-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
}

/* Reference Card */
.si-ref-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.si-ref-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.55);
}
.si-ref-card-media {
    display: block;
    position: relative;
    aspect-ratio: 2 / 2.9;
    overflow: hidden;
}
.si-ref-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.si-ref-card:hover .si-ref-card-media img {
    transform: scale(1.08);
}
.si-ref-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 30px;
}

.si-ref-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 40%, rgba(10, 13, 22, 0.88) 85%, rgba(10, 13, 22, 0.98) 100%);
    pointer-events: none;
}

/* Heart Button (Absolute on card, above link, high z-index) */
.si-ref-heart-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}
.si-ref-heart-btn:hover,
.si-ref-heart-btn.active {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.6);
}

.si-ref-card-info-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 4;
    text-align: center;
}
.si-ref-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.si-ref-card-genre {
    font-size: 11px;
    color: #94a3b8;
    display: block;
}

.si-ref-hover-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(14, 18, 32, 0.45) 0%, rgba(0, 0, 0, 0.65) 100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}
.si-ref-hover-play i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    background-image: url('https://serialirany.com/wp-content/uploads/2024/01/fav-icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 34px 34px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(245, 158, 11, 0.35);
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.si-ref-hover-play i:before {
    display: none !important;
    content: '' !important;
}
.si-ref-card:hover .si-ref-hover-play {
    opacity: 1;
}
.si-ref-card:hover .si-ref-hover-play i {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 22px rgba(245, 158, 11, 0.55);
}

/* Season Selector */
.si-season-select {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid var(--si-glass-border);
    padding: 7px 14px;
    border-radius: 12px;
    outline: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

/* Modern Pagination */
.pagination {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    list-style: none;
    padding: 0;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--si-glass-border);
    color: var(--si-text-sub);
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Toast Notification */
.si-toast-msg {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 23, 42, 0.95);
    color: #fff;
    padding: 12px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    font-size: 13.5px;
    font-weight: 600;
    z-index: 99999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.si-toast-msg.show {
    opacity: 1;
    transform: translateY(0);
}

/* Comments Section */
.si-comments-area {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 28px 32px;
    margin-top: 36px;
    backdrop-filter: blur(16px);
}
.si-comments-header {
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.si-comments-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.si-comments-count {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 700;
}

.si-comments-list {
    list-style: none;
    padding: 0;
    margin: 0 0 34px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.si-comment-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 18px 20px;
    transition: all 0.2s ease;
}
.si-comment-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
}
.si-comment-item .children {
    list-style: none;
    padding-right: 28px;
    margin-top: 14px;
    border-right: 2px solid rgba(59, 130, 246, 0.3);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.si-comment-body {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.si-comment-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: #1e293b;
}
.si-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.si-comment-content-wrap {
    flex: 1;
}
.si-comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.si-comment-author {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.si-comment-date {
    font-size: 12px;
    color: var(--si-text-dim);
}
.si-comment-reply a {
    font-size: 12px;
    color: #60a5fa;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.1);
}
.si-comment-reply a:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #fff;
}
.si-comment-text {
    font-size: 13.5px;
    color: var(--si-text-sub);
    line-height: 1.8;
}

.si-comment-form-glass {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.comment-reply-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-reply-title small a {
    font-size: 12px;
    color: #ef4444;
    font-weight: normal;
    margin-right: 12px;
}

.si-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.si-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.si-form-group.full-width {
    grid-column: 1 / -1;
}
.si-form-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--si-text-sub);
}
.si-form-group .required {
    color: #ef4444;
}
.si-form-group input,
.si-form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 13.5px;
    outline: none;
    transition: all 0.25s ease;
}
.si-form-group textarea {
    resize: vertical;
    min-height: 110px;
}
.si-form-group input:focus,
.si-form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}
.si-form-group input::placeholder,
.si-form-group textarea::placeholder {
    color: var(--si-text-dim);
}

.form-submit {
    margin-top: 8px;
}
.si-comment-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
    transition: all 0.25s ease;
}
.si-comment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.6);
}

/* Footer */
.si-glass-footer {
    text-align: center;
    padding: 24px 0 16px 0;
    color: var(--si-text-dim);
    font-size: 12.5px;
    position: relative;
    z-index: 1;
}

/* Modal */
.si-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.si-modal.active {
    display: flex;
}
.si-modal-content {
    background: #161b2c;
    border: 1px solid var(--si-glass-border);
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.si-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}
.si-modal-close {
    background: none;
    border: none;
    color: var(--si-text-sub);
    font-size: 20px;
    cursor: pointer;
}
.si-modal-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .si-glass-sidebar {
        width: 80px;
        min-width: 80px;
        padding: 20px 10px;
    }
    .si-app-logo strong,
    .si-logo-sub,
    .si-section-label,
    .si-sidebar-menu li a span,
    .si-user-meta {
        display: none;
    }
    .si-sidebar-menu li a {
        justify-content: center;
        padding: 12px;
    }
    .si-glass-cards-row {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 768px) {
    .si-app-wrapper {
        flex-direction: column;
        margin: 10px 0;
        padding: 0 10px;
    }
    .si-glass-sidebar {
        display: none;
    }
    .si-mobile-logo {
        display: inline-flex;
    }
    .si-top-search-wrap {
        display: none;
    }
    .si-greeting-pill {
        display: none;
    }
    .si-top-glass-nav {
        margin-bottom: 18px;
    }
    .si-main-content-panel {
        padding: 16px;
        border-radius: 18px;
    }
    .si-spotlight-card,
    .si-hero-slider {
        height: 340px;
    }
    .si-spotlight-glass-overlay {
        padding: 16px 16px 36px 16px;
    }
    .si-spotlight-bottom-content {
        padding-bottom: 12px;
    }
    .si-spotlight-title {
        font-size: 20px;
    }
    .si-hero-nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    .si-hero-prev {
        right: 10px;
    }
    .si-hero-next {
        left: 10px;
    }
    .si-glass-cards-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .si-form-row {
        grid-template-columns: 1fr;
    }
    .si-comments-area {
        padding: 18px;
    }
}

/* Mobile PWA Fixed Bottom Navigation */
.si-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.45);
    z-index: 999;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.si-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--si-text-sub);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.25s ease;
    padding: 6px 12px;
    border-radius: 12px;
    position: relative;
}
.si-bottom-nav-icon {
    font-size: 18px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.si-bottom-nav-item:hover,
.si-bottom-nav-item.active {
    color: #60a5fa;
}
.si-bottom-nav-item.active .si-bottom-nav-icon {
    transform: translateY(-2px);
    color: #3b82f6;
}
.si-bottom-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 16px;
    height: 3px;
    border-radius: 2px;
    background: #3b82f6;
    box-shadow: 0 0 8px #3b82f6;
}

@media (max-width: 768px) {
    .si-mobile-bottom-nav {
        display: flex;
    }
    body.si-app-body {
        padding-bottom: 74px;
    }
    .si-glass-footer {
        padding-bottom: 30px;
    }
}

/* Fullscreen Search Modal (Mobile & PWA Popup) */
.si-fullscreen-search-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.si-fullscreen-search-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}
.si-search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 26, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
.si-search-modal-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 580px;
    background: rgba(22, 28, 48, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    padding: 24px 22px;
    margin-top: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.si-fullscreen-search-modal.active .si-search-modal-inner {
    transform: translateY(0);
}
.si-search-modal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.si-search-modal-brand {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.si-search-modal-brand i {
    color: #3b82f6;
}
.si-search-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--si-text-sub);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}
.si-search-modal-close:hover {
    background: rgba(239, 68, 68, 0.85);
    color: #fff;
    transform: rotate(90deg);
}

.si-search-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 16px;
    padding: 6px 14px 6px 6px;
    transition: all 0.25s ease;
}
.si-search-input-box:focus-within {
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
}
.si-search-input-box > i {
    color: var(--si-text-sub);
    font-size: 18px;
    margin-left: 10px;
}
.si-search-input-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    font-weight: 500;
}
.si-search-input-box input::placeholder {
    color: var(--si-text-dim);
    font-size: 13.5px;
}
.si-search-submit-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    transition: all 0.2s ease;
}
.si-search-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.6);
}

.si-search-suggestions {
    margin-top: 22px;
}
.si-sug-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--si-text-sub);
    margin-bottom: 12px;
}
.si-sug-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.si-sug-tags a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    color: var(--si-text-sub);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.si-sug-tags a:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    color: #fff;
    transform: translateY(-2px);
}
.si-sug-tags a i {
    color: #60a5fa;
    font-size: 12px;
}

@media (max-width: 768px) {
    .si-search-modal-inner {
        margin-top: 20px;
        padding: 20px 16px;
        border-radius: 20px;
    }
    .si-fullscreen-search-modal {
        padding: 12px;
    }
    .si-search-input-box {
        padding: 5px 12px 5px 5px;
    }
    .si-search-submit-btn {
        padding: 9px 16px;
        font-size: 13px;
    }
}
