* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    forced-color-adjust: none;
    color-scheme: light;

    --bg-primary: #f8fafc;
    --bg-secondary: #e2e8f0;
    --bg-tertiary: #cbd5e1;
    --text-primary: #1e293b;
    --text-secondary: rgba(30, 41, 59, 0.8);
    --text-muted: rgba(30, 41, 59, 0.6);
    --accent: #1e40af;
    --accent-secondary: #0ea5e9;
    --border: rgba(59, 130, 246, 0.2);
    --shadow: rgba(59, 130, 246, 0.15);
    --glass-bg: rgba(248, 250, 252, 0.9);
    --card-bg: rgba(248, 250, 252, 0.8);
    --team: rgb(137, 103, 158);

    /* التصميم الخاص - Rose Mansion */
    --blood-red: #8B0000;
    --dark-red: #5C0000;
    --rose-red: #DC143C;
    --gold: #FFD700;
    --dark-gold: #B8860B;
    --shadow-red: rgba(139, 0, 0, 0.5);

    --header-bg: rgba(248, 250, 252, 0.95);
    --header-bg-scrolled: rgba(248, 250, 252, 0.98);
    --header-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
    --header-shadow-scrolled: 0 8px 32px rgba(59, 130, 246, 0.2);
}

img, svg, video, canvas {
  forced-color-adjust: none;
}

.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: rgba(241, 245, 249, 0.9);
    --text-muted: rgba(241, 245, 249, 0.7);
    --accent: #3b82f6;
    --accent-secondary: #06b6d4;
    --border: rgba(59, 130, 246, 0.3);
    --shadow: rgba(59, 130, 246, 0.25);
    --glass-bg: rgba(15, 23, 42, 0.95);
    --card-bg: rgba(30, 41, 59, 0.8);

    --header-bg: rgba(15, 23, 42, 0.95);
    --header-bg-scrolled: rgba(15, 23, 42, 0.98);
    --header-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
    --header-shadow-scrolled: 0 8px 32px rgba(59, 130, 246, 0.2);
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    min-height: 100vh;
    direction: rtl;
    color: var(--text-primary);
}

html, body {
  background-color: var(--bg-primary) !important;
  forced-color-adjust: none;
}

.dark-mode {
  background-color: var(--bg-primary) !important;
}

/* Header & Navigation */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary), #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--shadow);
}

.search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--glass-bg);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--shadow);
    background: var(--glass-bg);
}

.search-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, var(--accent), #1d4ed8);
    border: none;
    padding: 0.7rem;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px var(--shadow);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 15px;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
}

.search-suggestion {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(59,130,246,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
}

.search-suggestion:hover {
    background: rgba(59,130,246,0.1);
    transform: translateX(5px);
}

.suggestion-icon {
    color: var(--accent);
    width: 20px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.7rem 1.6vw;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    transition: left 0.3s ease;
    z-index: -1;
}

#home{
    color: white;
    transform: translateY(-2px);
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    transition: none !important;
}

#home::before{
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    transition: none !important;
}

#rc {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    margin-right: 5px;
}

#ds {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    left: 0;
}

.main-content {
    margin-top: 120px;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding: 3rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(59,130,246,0.08) 0%, transparent 70%);
    z-index: -1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--bg-primary), var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px var(--shadow);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* ====== التصميم الخاص لـ Rose Mansion ====== */
.daily-comic.special-rose-mansion {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.05) 0%, 
        rgba(92, 0, 0, 0.1) 50%, 
        rgba(139, 0, 0, 0.05) 100%);
    border: 3px solid var(--gold);
    box-shadow: 
        0 0 100px rgba(139, 0, 0, 0.3),
        inset 0 0 100px rgba(139, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.dark-mode .daily-comic.special-rose-mansion {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.2) 0%, 
        rgba(92, 0, 0, 0.3) 50%, 
        rgba(139, 0, 0, 0.2) 100%);
}

/* إطار ذهبي منقوش */
.special-rose-mansion::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--dark-gold);
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}



@keyframes float {
    0%, 100% { transform: translateX(50%) translateY(0px); }
    50% { transform: translateX(50%) translateY(-10px); }
}

/* ورود متساقطة */
.rose-petals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.rose-petal {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, var(--rose-red), var(--blood-red));
    border-radius: 50% 0;
    opacity: 0.6;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-50px) rotateZ(0deg);
        opacity: 0;
    }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% {
        transform: translateY(800px) rotateZ(360deg);
        opacity: 0;
    }
}

/* شموع دموية */
.candle-left, .candle-right {
    position: absolute;
    font-size: 2.5rem;
    z-index: 4;
    animation: flicker 2s ease-in-out infinite;
}

.candle-left {
    top: 30px;
    left: 30px;
}

.candle-right {
    top: 30px;
    right: 30px;
    animation-delay: 1s;
}

@keyframes flicker {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 20px var(--rose-red)); }
    50% { opacity: 0.7; filter: drop-shadow(0 0 10px var(--rose-red)); }
}

/* محتوى التصميم الخاص */
.special-rose-mansion .daily-comic-content {
    position: relative;
    z-index: 2;
}

.special-rose-mansion .section-title {
    background: linear-gradient(135deg, var(--blood-red), var(--rose-red), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--shadow-red);
}

.special-rose-mansion .daily-comic-image {
    box-shadow: 
        0 20px 60px rgba(139, 0, 0, 0.5),
        inset 0 0 50px rgba(139, 0, 0, 0.2);
    animation: pulse-glow 3s ease-in-out infinite;
    border: 3px solid var(--gold);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 20px 60px rgba(139, 0, 0, 0.5),
            inset 0 0 50px rgba(139, 0, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 20px 80px rgba(220, 20, 60, 0.7),
            inset 0 0 70px rgba(139, 0, 0, 0.3);
    }
}

.special-rose-mansion .daily-comic-info h3 {
    background: linear-gradient(135deg, var(--blood-red), var(--rose-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
}

.special-rose-mansion .genre {
    color: var(--gold);
    font-weight: 700;
}

.special-rose-mansion .description {
    background: rgba(139, 0, 0, 0.1);
    border: 2px solid var(--blood-red);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: inset 0 0 30px rgba(139, 0, 0, 0.1);
}

.dark-mode .special-rose-mansion .description {
    background: rgba(139, 0, 0, 0.2);
}

/* إحصائيات دموية */
.special-rose-mansion .daily-comic-stats .stat {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.2), rgba(92, 0, 0, 0.3));
    border: 2px solid var(--blood-red);
    border-radius: 15px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.special-rose-mansion .daily-comic-stats .stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(220, 20, 60, 0.1), transparent);
    animation: rotate-stat 6s linear infinite;
}

@keyframes rotate-stat {
    100% { transform: rotate(360deg); }
}

.special-rose-mansion .stat-number {
    position: relative;
    background: linear-gradient(135deg, var(--rose-red), var(--blood-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
}

.special-rose-mansion .stat-label {
    position: relative;
    color: var(--gold);
    font-weight: 600;
}

/* زر القراءة الملكي */
.special-rose-mansion .read-btn {
    background: linear-gradient(135deg, var(--blood-red), var(--dark-red), var(--blood-red));
    background-size: 200% 200%;
    border: 3px solid var(--gold);
    color: white !important;
    box-shadow: 
        0 10px 30px rgba(139, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.special-rose-mansion .read-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    border-radius: 50%;
}

.special-rose-mansion .read-btn:hover::before {
    width: 400px;
    height: 400px;
}

.special-rose-mansion .read-btn:hover {
    background-position: 100% 50%;
    box-shadow: 
        0 15px 50px rgba(220, 20, 60, 0.7),
        inset 0 0 30px rgba(255, 215, 0, 0.2);
    transform: scale(1.05) translateY(-2px);
}

/* ====== نهاية التصميم الخاص ====== */

/* Daily Comic Section */
.daily-comic {
    margin-bottom: 4rem;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 2rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px var(--shadow);
}

.daily-comic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(59,130,246,0.05), transparent);
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--bg-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.daily-comic-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
}

.daily-comic-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(30,64,175,0.15);
    transition: transform 0.3s ease;
}

.daily-comic-image:hover {
    transform: scale(1.05);
}

.daily-comic-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.daily-comic-info .genre {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.daily-comic-info .description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.daily-comic-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Top 10 Section */
.top10-section {
    margin-bottom: 4rem;
    position: relative;
}

.top10-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.top10-scroll {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    overflow-x: auto;
}

.top10-scroll > * {
    user-select: none;
    cursor: pointer;
    flex-shrink: 0;
}

.top10-item {
    width: 280px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.top10-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.top10-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 2px 2px 0 var(--accent-secondary), -2px -2px 0 var(--accent-secondary),
                 2px -2px 0 var(--accent-secondary), -2px 2px 0 var(--accent-secondary);
    z-index: 5;
    opacity: 0.9;
}
.top10-number.special-rose{
    color: var(--dark-red);
    text-shadow: 2px 2px 0 var(--blood-red), -2px -2px 0 var(--blood-red),
                 2px -2px 0 var(--blood-red), -2px 2px 0 var(--blood-red);
}
.top10-number.special-detective{
    color: #2E86AB;
    text-shadow: 2px 2px 0 #FFD60A, -2px -2px 0 #FFD60A,
                 2px -2px 0 #FFD60A, -2px 2px 0 #FFD60A;
}
.top10-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border);
    position: relative;
    box-shadow: 0 10px 25px var(--shadow);
    height: 100%;
}

.top10-image {
    width: 100%;
    height: 350px;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.top10-item:hover .top10-image {
    transform: scale(1.1);
}

.top10-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.top10-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.top10-genre {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.top10-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 0 2rem;
}

.control-btn {
    background: rgba(30, 64, 175, 0.1);
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    width: 60px;
    height: 60px;
}

.control-btn:hover {
    background: var(--accent);
    color: var(--text-primary);
    transform: scale(1.1);
    box-shadow: 0 10px 25px var(--shadow);
}

.scroll-indicator {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

.categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    color: var(--text-secondary);
    padding: 1rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    transition: left 0.3s ease;
    z-index: -1;
}

.category-btn:hover,
.category-btn.active {
    color: #ffffff;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow);
}

.category-btn:hover::before,
.category-btn.active::before {
    left: 0;
}

.manhwa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.manhwa-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px var(--shadow);
    cursor: pointer;
    border: 1px solid var(--border);
    position: relative;
}

.manhwa-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(30, 64, 175, 0.05),
        rgba(14, 165, 233, 0.05)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.manhwa-card:hover::before {
    opacity: 1;
}

.manhwa-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px var(--shadow);
    border-color: var(--accent);
}

.manhwa-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.manhwa-card:hover .manhwa-image {
    transform: scale(1.15);
}

.manhwa-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.manhwa-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.manhwa-genre {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.manhwa-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--accent-secondary);
}

.rating-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.manhwa-status {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent));
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.2);
}

.read-btn {
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow);
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 15px 30px var(--shadow);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 20px 40px var(--shadow);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.9);
    z-index: 2000;
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, var(--card-bg), var(--card-bg-secondary));
    backdrop-filter: blur(25px);
    border-radius: 25px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    height: 90vh;
    overflow-y: auto;
    text-align: center;
    border: 2px solid var(--border);
    box-shadow: 0 25px 50px var(--shadow);
    color: var(--text-primary);
}

.close-modal {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.footer {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    color: var(--text-secondary);
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 5rem;
    border-top: 1px solid var(--border);
}

.loading {
    text-align: center;
    color: var(--text-primary);
    font-size: 1.3rem;
    margin: 3rem 0;
}

.spinner {
    border: 4px solid rgba(30, 64, 175, 0.2);
    border-radius: 50%;
    border-top: 4px solid var(--accent);
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .header {
        padding-bottom: 5px;
    }
    .main-content, body {
        overflow-x: hidden;
    }
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        height: 10%;
        padding-top: 0;
    }
    .daily-comic {
        width: 100lvw;
        transform: translateX(7.8%);
    }
    .categories {
        width: 120lvw;
        transform: scale(0.90) translateX(75px);
    }
    .search-container {
        max-width: 100%;
        margin: 0;
    }
    .header {
        padding-top: 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .daily-comic-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .top10-section {
        width: 100%;
    }
    .top10-container {
        padding: 1rem;
        transform: scale(0.8) translateX(100px) !important;
        width: 128lvw !important;
    }
    .top10-scroll {
        padding: 1rem;
        width: 100% !important;
    }
    .top10-item {
        min-width: 250px;
    }
    .top10-controls {
        justify-content: center;
    }
    .control-btn {
        display: none;
    }
    .top10-number {
        font-size: 6rem;
        top: -15px;
        right: -5px;
    }
    .manhwa-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    .floating-btn {
        bottom: 20px;
        left: 20px;
        width: 60px;
        height: 60px;
    }
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    .main-content {
        padding-bottom: 0 !important;
        overflow: hidden;
    }
}

.read-btn{
    color: #ffffff;
}

.manhwa-grid > div{
    color: var(--text-primary) !important;
}

.divider{
    transform: translateY(-120px);
    position: relative;
}

.nav-container > .logo {
    cursor: pointer;
}

.fa-star-half-alt {
    transform: scaleX(-1);
}

.header{
    transition: all 1.2s ease;
}

.hidden {
    top: -50vh;
}

@media (max-width: 766px) {
    .hero-section {
        transition: all 0.1s ease;
        margin-top: 30%;
    }
}

img {
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    pointer-events: none;
}

@media (max-width: 768px) {
    .header, .search-suggestions, .daily-comic, .top10-card, .manhwa-card {
        backdrop-filter: blur(10px) !important;
    }
}

.manhwa-card, .top10-item {
    will-change: transform;
    backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}
/* ====== التصميم الخاص المحسّن لـ Rose Mansion ====== */
.daily-comic.special-rose-mansion {
    background: linear-gradient(135deg, 
        rgba(20, 0, 0, 0.98) 0%, 
        rgba(40, 0, 10, 0.98) 50%, 
        rgba(20, 0, 0, 0.98) 100%);
    border: 3px solid #8B0000;
    box-shadow: 
        0 0 100px rgba(139, 0, 0, 0.8),
        0 0 150px rgba(139, 0, 0, 0.5),
        inset 0 0 150px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: hidden;
}

.dark-mode .daily-comic.special-rose-mansion {
    background: linear-gradient(135deg, 
        rgba(10, 0, 0, 0.98) 0%, 
        rgba(30, 0, 5, 0.98) 50%, 
        rgba(10, 0, 0, 0.98) 100%);
}

/* إطار متحرك مخيف */
.special-rose-mansion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid;
    border-image: linear-gradient(
        45deg,
        #8B0000 0%,
        #DC143C 25%,
        #8B0000 50%,
        #5C0000 75%,
        #8B0000 100%
    ) 1;
    border-radius: 25px;
    pointer-events: none;
    animation: borderPulse 3s ease-in-out infinite;
    z-index: 3;
}

@keyframes borderPulse {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 15px #8B0000);
    }
    50% {
        filter: brightness(1.8) drop-shadow(0 0 40px #DC143C);
    }
}

/* شبكة عنكبوت */
.spider-web {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.08;
    background-image: 
        radial-gradient(circle at 20% 20%, transparent 0%, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%),
        radial-gradient(circle at 80% 30%, transparent 0%, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%),
        radial-gradient(circle at 50% 70%, transparent 0%, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%);
}

/* قطرات دم متساقطة */
.blood-drips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.blood-drip {
    position: absolute;
    top: -30px;
    width: 8px;
    height: 30px;
    background: linear-gradient(180deg, 
        #DC143C 0%, 
        #8B0000 50%, 
        rgba(139, 0, 0, 0) 100%);
    border-radius: 0 0 50% 50%;
    animation: bloodDrip 8s ease-in infinite;
    opacity: 0.7;
}

@keyframes bloodDrip {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(500px);
        opacity: 0;
    }
}

/* ضباب رعب */
.horror-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, 
        rgba(139, 0, 0, 0.3) 0%, 
        rgba(92, 0, 0, 0.15) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: 2;
    animation: fogMove 10s ease-in-out infinite;
}

@keyframes fogMove {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0);
    }
    50% {
        opacity: 0.6;
        transform: translateX(20px);
    }
}

/* شموع مخيفة */
.candle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
}

.candle-flame {
    position: absolute;
    font-size: 2.5rem;
    filter: drop-shadow(0 0 20px #DC143C) drop-shadow(0 0 40px #8B0000);
    animation: flickerHorror 2s ease-in-out infinite;
}

.candle-flame.left {
    top: 30px;
    left: 30px;
}

.candle-flame.right {
    top: 30px;
    right: 30px;
    animation-delay: 1s;
}

@keyframes flickerHorror {
    0%, 100% { 
        opacity: 1; 
        filter: drop-shadow(0 0 20px #DC143C) drop-shadow(0 0 40px #8B0000);
        transform: scale(1);
    }
    25% { 
        opacity: 0.6; 
        filter: drop-shadow(0 0 10px #8B0000);
        transform: scale(0.95);
    }
    50% { 
        opacity: 0.8; 
        filter: drop-shadow(0 0 30px #DC143C);
        transform: scale(1.05);
    }
    75% { 
        opacity: 0.5; 
        filter: drop-shadow(0 0 8px #8B0000);
        transform: scale(0.92);
    }
}

/* محتوى التصميم الخاص */
.special-rose-mansion .daily-comic-content {
    position: relative;
    z-index: 4;
}

.special-rose-mansion .section-title {
    background: linear-gradient(135deg, #DC143C, #8B0000, #DC143C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.8));
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(220, 20, 60, 1));
    }
}

.special-rose-mansion .daily-comic-image {
    box-shadow: 
        0 20px 80px rgba(139, 0, 0, 0.9),
        0 0 100px rgba(220, 20, 60, 0.6),
        inset 0 0 80px rgba(0, 0, 0, 0.5);
    border: 4px solid #8B0000;
    animation: imageHorrorPulse 4s ease-in-out infinite;
}

@keyframes imageHorrorPulse {
    0%, 100% {
        box-shadow: 
            0 20px 80px rgba(139, 0, 0, 0.9),
            0 0 100px rgba(220, 20, 60, 0.6),
            inset 0 0 80px rgba(0, 0, 0, 0.5);
        filter: brightness(1) contrast(1.1);
    }
    50% {
        box-shadow: 
            0 20px 120px rgba(220, 20, 60, 1),
            0 0 150px rgba(220, 20, 60, 0.9),
            inset 0 0 100px rgba(139, 0, 0, 0.7);
        filter: brightness(1.15) contrast(1.2);
    }
}

.special-rose-mansion .daily-comic-info h3 {
    background: linear-gradient(135deg, #DC143C, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 20px rgba(220, 20, 60, 0.8));
    text-shadow: none;
}

.special-rose-mansion .genre {
    color: #DC143C;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.8);
}

.special-rose-mansion .description {
    background: rgba(139, 0, 0, 0.2);
    border: 2px solid #8B0000;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 
        inset 0 0 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(139, 0, 0, 0.3);
    color: #ffebee;
    line-height: 1.8;
}

.dark-mode .special-rose-mansion .description {
    background: rgba(139, 0, 0, 0.3);
    color: #ffcdd2;
}

/* إحصائيات دموية */
.special-rose-mansion .daily-comic-stats {
    gap: 1.5rem;
}

.special-rose-mansion .daily-comic-stats .stat {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.3), 
        rgba(92, 0, 0, 0.4));
    border: 2px solid #8B0000;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(139, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.6);
}

.special-rose-mansion .daily-comic-stats .stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        transparent, 
        rgba(220, 20, 60, 0.2), 
        transparent 30%
    );
    animation: rotateStat 8s linear infinite;
}

@keyframes rotateStat {
    100% { 
        transform: rotate(360deg); 
    }
}

.special-rose-mansion .stat-number {
    position: relative;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    font-weight: 800;
    filter: drop-shadow(0 2px 10px rgba(220, 20, 60, 0.6));
}

.special-rose-mansion .stat-label {
    position: relative;
    color: #DC143C;
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

/* زر القراءة المخيف */
.special-rose-mansion .read-btn {
    background: linear-gradient(135deg, 
        #8B0000 0%, 
        #DC143C 50%, 
        #8B0000 100%);
    background-size: 200% 200%;
    border: 3px solid #DC143C;
    color: #ffffff !important;
    box-shadow: 
        0 15px 50px rgba(139, 0, 0, 0.8),
        0 0 60px rgba(220, 20, 60, 0.6),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.special-rose-mansion .read-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, 
        rgba(220, 20, 60, 0.5), 
        transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
}

.special-rose-mansion .read-btn::after {
    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.8s ease;
}

.special-rose-mansion .read-btn:hover::before {
    width: 500px;
    height: 500px;
}

.special-rose-mansion .read-btn:hover::after {
    left: 100%;
}

.special-rose-mansion .read-btn:hover {
    background-position: 100% 50%;
    box-shadow: 
        0 20px 70px rgba(220, 20, 60, 1),
        0 0 100px rgba(220, 20, 60, 0.9),
        inset 0 0 50px rgba(139, 0, 0, 0.6);
    transform: scale(1.05) translateY(-3px);
    border-color: #FF1744;
    animation: btnHorrorShake 0.3s ease;
}

@keyframes btnHorrorShake {
    0%, 100% { transform: scale(1.05) translateY(-3px) rotate(0deg); }
    25% { transform: scale(1.05) translateY(-3px) rotate(-2deg); }
    75% { transform: scale(1.05) translateY(-3px) rotate(2deg); }
}

/* استجابة للهاتف */
@media (max-width: 768px) {
    .special-rose-mansion {
        padding: 1.5rem;
    }
    
    .candle-flame {
        font-size: 2rem;
    }
    
    .candle-flame.left {
        top: 15px;
        left: 15px;
    }
    
    .candle-flame.right {
        top: 15px;
        right: 15px;
    }
    
    .blood-drip {
        width: 6px;
        height: 20px;
    }
    
    .special-rose-mansion .daily-comic-info h3 {
        font-size: 1.8rem;
    }
    
    .special-rose-mansion .stat-number {
        font-size: 1.8rem;
    }
    
    .special-rose-mansion .read-btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
    
    .special-rose-mansion .daily-comic-stats {
        gap: 1rem;
    }
    
    .horror-fog {
        height: 150px;
    }
}

/* ====== التصميم الخاص المحسّن لـ Rose Mansion ====== */
.daily-comic.special-rose-mansion {
    background: linear-gradient(135deg, 
        rgba(20, 0, 0, 0.98) 0%, 
        rgba(40, 0, 10, 0.98) 50%, 
        rgba(20, 0, 0, 0.98) 100%);
    border: 3px solid #8B0000;
    box-shadow: 
        0 0 100px rgba(139, 0, 0, 0.8),
        0 0 150px rgba(139, 0, 0, 0.5),
        inset 0 0 150px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: hidden;
}

.dark-mode .daily-comic.special-rose-mansion {
    background: linear-gradient(135deg, 
        rgba(10, 0, 0, 0.98) 0%, 
        rgba(30, 0, 5, 0.98) 50%, 
        rgba(10, 0, 0, 0.98) 100%);
}

/* إطار متحرك مخيف */
.special-rose-mansion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid;
    border-image: linear-gradient(
        45deg,
        #8B0000 0%,
        #DC143C 25%,
        #8B0000 50%,
        #5C0000 75%,
        #8B0000 100%
    ) 1;
    border-radius: 25px;
    pointer-events: none;
    animation: borderPulse 3s ease-in-out infinite;
    z-index: 3;
}

@keyframes borderPulse {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 15px #8B0000);
    }
    50% {
        filter: brightness(1.8) drop-shadow(0 0 40px #DC143C);
    }
}

/* ورود متساقطة مخيفة */
.falling-roses {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.rose {
    position: absolute;
    top: -50px;
    font-size: 2rem;
    opacity: 0;
    animation: roseFall linear infinite;
    filter: drop-shadow(0 0 8px rgba(139, 0, 0, 0.8));
}

@keyframes roseFall {
    0% {
        transform: translateY(-50px) rotateZ(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.8;
        transform: translateY(400px) rotateZ(180deg) scale(1);
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(900px) rotateZ(360deg) scale(0.6);
        opacity: 0;
    }
}

/* شبكة عنكبوت */
.spider-web {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.08;
    background-image: 
        radial-gradient(circle at 20% 20%, transparent 0%, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%),
        radial-gradient(circle at 80% 30%, transparent 0%, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%),
        radial-gradient(circle at 50% 70%, transparent 0%, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%);
}

/* قطرات دم متساقطة */
.blood-drips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.blood-drip {
    position: absolute;
    top: -30px;
    width: 8px;
    height: 30px;
    background: linear-gradient(180deg, 
        #DC143C 0%, 
        #8B0000 50%, 
        rgba(139, 0, 0, 0) 100%);
    border-radius: 0 0 50% 50%;
    animation: bloodDrip 8s ease-in infinite;
    opacity: 0.7;
}

@keyframes bloodDrip {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(500px);
        opacity: 0;
    }
}

/* ضباب رعب */
.horror-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, 
        rgba(139, 0, 0, 0.3) 0%, 
        rgba(92, 0, 0, 0.15) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: 2;
    animation: fogMove 10s ease-in-out infinite;
}

@keyframes fogMove {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0);
    }
    50% {
        opacity: 0.6;
        transform: translateX(20px);
    }
}

/* شموع مخيفة */
.candle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
}

.candle-flame {
    position: absolute;
    font-size: 2.5rem;
    filter: drop-shadow(0 0 20px #DC143C) drop-shadow(0 0 40px #8B0000);
    animation: flickerHorror 2s ease-in-out infinite;
}

.candle-flame.left {
    top: 30px;
    left: 30px;
}

.candle-flame.right {
    top: 30px;
    right: 30px;
    animation-delay: 1s;
}

@keyframes flickerHorror {
    0%, 100% { 
        opacity: 1; 
        filter: drop-shadow(0 0 20px #DC143C) drop-shadow(0 0 40px #8B0000);
        transform: scale(1);
    }
    25% { 
        opacity: 0.6; 
        filter: drop-shadow(0 0 10px #8B0000);
        transform: scale(0.95);
    }
    50% { 
        opacity: 0.8; 
        filter: drop-shadow(0 0 30px #DC143C);
        transform: scale(1.05);
    }
    75% { 
        opacity: 0.5; 
        filter: drop-shadow(0 0 8px #8B0000);
        transform: scale(0.92);
    }
}

/* محتوى التصميم الخاص */
.special-rose-mansion .daily-comic-content {
    position: relative;
    z-index: 4;
}

.special-rose-mansion .section-title {
    background: linear-gradient(135deg, #DC143C, #8B0000, #DC143C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.8));
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(220, 20, 60, 1));
    }
}

.special-rose-mansion .daily-comic-image {
    box-shadow: 
        0 20px 80px rgba(139, 0, 0, 0.9),
        0 0 100px rgba(220, 20, 60, 0.6),
        inset 0 0 80px rgba(0, 0, 0, 0.5);
    border: 4px solid #8B0000;
    animation: imageHorrorPulse 4s ease-in-out infinite;
}

@keyframes imageHorrorPulse {
    0%, 100% {
        box-shadow: 
            0 20px 80px rgba(139, 0, 0, 0.9),
            0 0 100px rgba(220, 20, 60, 0.6),
            inset 0 0 80px rgba(0, 0, 0, 0.5);
        filter: brightness(1) contrast(1.1);
    }
    50% {
        box-shadow: 
            0 20px 120px rgba(220, 20, 60, 1),
            0 0 150px rgba(220, 20, 60, 0.9),
            inset 0 0 100px rgba(139, 0, 0, 0.7);
        filter: brightness(1.15) contrast(1.2);
    }
}

.special-rose-mansion .daily-comic-info h3 {
    background: linear-gradient(135deg, #DC143C, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 20px rgba(220, 20, 60, 0.8));
    text-shadow: none;
}

.special-rose-mansion .genre {
    color: #DC143C;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.8);
}

.special-rose-mansion .description {
    background: rgba(139, 0, 0, 0.2);
    border: 2px solid #8B0000;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 
        inset 0 0 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(139, 0, 0, 0.3);
    color: #ffebee;
    line-height: 1.8;
}

.dark-mode .special-rose-mansion .description {
    background: rgba(139, 0, 0, 0.3);
    color: #ffcdd2;
}

/* إحصائيات دموية */
.special-rose-mansion .daily-comic-stats {
    gap: 1.5rem;
}

.special-rose-mansion .daily-comic-stats .stat {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.3), 
        rgba(92, 0, 0, 0.4));
    border: 2px solid #8B0000;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(139, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.6);
}

.special-rose-mansion .daily-comic-stats .stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        transparent, 
        rgba(220, 20, 60, 0.2), 
        transparent 30%
    );
    animation: rotateStat 8s linear infinite;
}

@keyframes rotateStat {
    100% { 
        transform: rotate(360deg); 
    }
}

.special-rose-mansion .stat-number {
    position: relative;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    font-weight: 800;
    filter: drop-shadow(0 2px 10px rgba(220, 20, 60, 0.6));
}

.special-rose-mansion .stat-label {
    position: relative;
    color: #DC143C;
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

/* زر القراءة المخيف */
.special-rose-mansion .read-btn {
    background: linear-gradient(135deg, 
        #8B0000 0%, 
        #DC143C 50%, 
        #8B0000 100%);
    background-size: 200% 200%;
    border: 3px solid #DC143C;
    color: #ffffff !important;
    box-shadow: 
        0 15px 50px rgba(139, 0, 0, 0.8),
        0 0 60px rgba(220, 20, 60, 0.6),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.special-rose-mansion .read-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, 
        rgba(220, 20, 60, 0.5), 
        transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
}

.special-rose-mansion .read-btn::after {
    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.8s ease;
}

.special-rose-mansion .read-btn:hover::before {
    width: 500px;
    height: 500px;
}

.special-rose-mansion .read-btn:hover::after {
    left: 100%;
}

.special-rose-mansion .read-btn:hover {
    background-position: 100% 50%;
    box-shadow: 
        0 20px 70px rgba(220, 20, 60, 1),
        0 0 100px rgba(220, 20, 60, 0.9),
        inset 0 0 50px rgba(139, 0, 0, 0.6);
    transform: scale(1.05) translateY(-3px);
    border-color: #FF1744;
    animation: btnHorrorShake 0.3s ease;
}

@keyframes btnHorrorShake {
    0%, 100% { transform: scale(1.05) translateY(-3px) rotate(0deg); }
    25% { transform: scale(1.05) translateY(-3px) rotate(-1deg); }
    75% { transform: scale(1.05) translateY(-3px) rotate(1deg); }
}

/* استجابة للهاتف */
@media (max-width: 768px) {
    .special-rose-mansion {
        padding: 1.5rem;
    }
    
    .candle-flame {
        font-size: 2rem;
    }
    
    .candle-flame.left {
        top: 15px;
        left: 15px;
    }
    
    .candle-flame.right {
        top: 15px;
        right: 15px;
    }
    
    .blood-drip {
        width: 6px;
        height: 20px;
    }
    
    .rose {
        font-size: 1.5rem;
    }
    
    .special-rose-mansion .daily-comic-info h3 {
        font-size: 1.8rem;
    }
    
    .special-rose-mansion .stat-number {
        font-size: 1.8rem;
    }
    
    .special-rose-mansion .read-btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
    
    .special-rose-mansion .daily-comic-stats {
        gap: 1rem;
    }
    
    .horror-fog {
        height: 150px;
    }
}

/* ====== التصميم الخاص المحسّن لـ Rose Mansion ====== */
.daily-comic.special-rose-mansion {
    background: linear-gradient(135deg, 
        rgba(20, 0, 0, 0.98) 0%, 
        rgba(40, 0, 10, 0.98) 50%, 
        rgba(20, 0, 0, 0.98) 100%);
    border: 3px solid #8B0000;
    box-shadow: 
        0 0 100px rgba(139, 0, 0, 0.8),
        0 0 150px rgba(139, 0, 0, 0.5),
        inset 0 0 150px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: hidden;
}

.dark-mode .daily-comic.special-rose-mansion {
    background: linear-gradient(135deg, 
        rgba(10, 0, 0, 0.98) 0%, 
        rgba(30, 0, 5, 0.98) 50%, 
        rgba(10, 0, 0, 0.98) 100%);
}

/* إطار متحرك مخيف */
.special-rose-mansion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid;
    border-image: linear-gradient(
        45deg,
        #8B0000 0%,
        #DC143C 25%,
        #8B0000 50%,
        #5C0000 75%,
        #8B0000 100%
    ) 1;
    border-radius: 25px;
    pointer-events: none;
    animation: borderPulse 3s ease-in-out infinite;
    z-index: 3;
}

@keyframes borderPulse {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 15px #8B0000);
    }
    50% {
        filter: brightness(1.8) drop-shadow(0 0 40px #DC143C);
    }
}

/* ورود متساقطة SVG */
.falling-roses {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.rose {
    position: absolute;
    top: -80px;
    width: 50px;
    height: 50px;
    opacity: 0;
    animation: roseFall linear infinite;
    filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.8));
}

.rose svg {
    width: 100%;
    height: 100%;
}

@keyframes roseFall {
    0% {
        transform: translateY(-80px) rotateZ(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.85;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(900px) rotateZ(720deg);
        opacity: 0;
    }
}

/* شبكة عنكبوت */
.spider-web {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.08;
    background-image: 
        radial-gradient(circle at 20% 20%, transparent 0%, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%),
        radial-gradient(circle at 80% 30%, transparent 0%, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%),
        radial-gradient(circle at 50% 70%, transparent 0%, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%);
}

/* قطرات دم متساقطة */
.blood-drips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.blood-drip {
    position: absolute;
    top: -30px;
    width: 8px;
    height: 30px;
    background: linear-gradient(180deg, 
        #DC143C 0%, 
        #8B0000 50%, 
        rgba(139, 0, 0, 0) 100%);
    border-radius: 0 0 50% 50%;
    animation: bloodDrip 8s ease-in infinite;
    opacity: 0.7;
}

@keyframes bloodDrip {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(500px);
        opacity: 0;
    }
}

/* ضباب رعب */
.horror-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, 
        rgba(139, 0, 0, 0.3) 0%, 
        rgba(92, 0, 0, 0.15) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: 2;
    animation: fogMove 10s ease-in-out infinite;
}

@keyframes fogMove {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0);
    }
    50% {
        opacity: 0.6;
        transform: translateX(20px);
    }
}

/* شموع مخيفة */
.candle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
}

.candle-flame {
    position: absolute;
    font-size: 2.5rem;
    filter: drop-shadow(0 0 20px #DC143C) drop-shadow(0 0 40px #8B0000);
    animation: flickerHorror 2s ease-in-out infinite;
}

.candle-flame.left {
    top: 30px;
    left: 30px;
}

.candle-flame.right {
    top: 30px;
    right: 30px;
    animation-delay: 1s;
}

@keyframes flickerHorror {
    0%, 100% { 
        opacity: 1; 
        filter: drop-shadow(0 0 20px #DC143C) drop-shadow(0 0 40px #8B0000);
        transform: scale(1);
    }
    25% { 
        opacity: 0.6; 
        filter: drop-shadow(0 0 10px #8B0000);
        transform: scale(0.95);
    }
    50% { 
        opacity: 0.8; 
        filter: drop-shadow(0 0 30px #DC143C);
        transform: scale(1.05);
    }
    75% { 
        opacity: 0.5; 
        filter: drop-shadow(0 0 8px #8B0000);
        transform: scale(0.92);
    }
}

/* محتوى التصميم الخاص */
.special-rose-mansion .daily-comic-content {
    position: relative;
    z-index: 4;
}

.special-rose-mansion .section-title {
    background: linear-gradient(135deg, #DC143C, #8B0000, #DC143C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.8));
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(220, 20, 60, 1));
    }
}

.special-rose-mansion .daily-comic-image {
    box-shadow: 
        0 20px 80px rgba(139, 0, 0, 0.9),
        0 0 100px rgba(220, 20, 60, 0.6),
        inset 0 0 80px rgba(0, 0, 0, 0.5);
    border: 4px solid #8B0000;
    animation: imageHorrorPulse 4s ease-in-out infinite;
}

@keyframes imageHorrorPulse {
    0%, 100% {
        box-shadow: 
            0 20px 80px rgba(139, 0, 0, 0.9),
            0 0 100px rgba(220, 20, 60, 0.6),
            inset 0 0 80px rgba(0, 0, 0, 0.5);
        filter: brightness(1) contrast(1.1);
    }
    50% {
        box-shadow: 
            0 20px 120px rgba(220, 20, 60, 1),
            0 0 150px rgba(220, 20, 60, 0.9),
            inset 0 0 100px rgba(139, 0, 0, 0.7);
        filter: brightness(1.15) contrast(1.2);
    }
}

.special-rose-mansion .daily-comic-info h3 {
    background: linear-gradient(135deg, #DC143C, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 20px rgba(220, 20, 60, 0.8));
    text-shadow: none;
}

.special-rose-mansion .genre {
    color: #DC143C;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.8);
}

.special-rose-mansion .description {
    background: rgba(139, 0, 0, 0.2);
    border: 2px solid #8B0000;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 
        inset 0 0 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(139, 0, 0, 0.3);
    color: #ffebee;
    line-height: 1.8;
}

.dark-mode .special-rose-mansion .description {
    background: rgba(139, 0, 0, 0.3);
    color: #ffcdd2;
}

/* إحصائيات دموية */
.special-rose-mansion .daily-comic-stats {
    gap: 1.5rem;
}

.special-rose-mansion .daily-comic-stats .stat {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.3), 
        rgba(92, 0, 0, 0.4));
    border: 2px solid #8B0000;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(139, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.6);
}

.special-rose-mansion .daily-comic-stats .stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        transparent, 
        rgba(220, 20, 60, 0.2), 
        transparent 30%
    );
    animation: rotateStat 8s linear infinite;
}

@keyframes rotateStat {
    100% { 
        transform: rotate(360deg); 
    }
}

.special-rose-mansion .stat-number {
    position: relative;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    font-weight: 800;
    filter: drop-shadow(0 2px 10px rgba(220, 20, 60, 0.6));
}

.special-rose-mansion .stat-label {
    position: relative;
    color: #DC143C;
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

/* زر القراءة المخيف */
.special-rose-mansion .read-btn {
    background: linear-gradient(135deg, 
        #8B0000 0%, 
        #DC143C 50%, 
        #8B0000 100%);
    background-size: 200% 200%;
    border: 3px solid #DC143C;
    color: #ffffff !important;
    box-shadow: 
        0 15px 50px rgba(139, 0, 0, 0.8),
        0 0 60px rgba(220, 20, 60, 0.6),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.special-rose-mansion .read-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, 
        rgba(220, 20, 60, 0.5), 
        transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
}

.special-rose-mansion .read-btn::after {
    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.8s ease;
}

.special-rose-mansion .read-btn:hover::before {
    width: 500px;
    height: 500px;
}

.special-rose-mansion .read-btn:hover::after {
    left: 100%;
}

.special-rose-mansion .read-btn:hover {
    background-position: 100% 50%;
    box-shadow: 
        0 20px 70px rgba(220, 20, 60, 1),
        0 0 100px rgba(220, 20, 60, 0.9),
        inset 0 0 50px rgba(139, 0, 0, 0.6);
    transform: scale(1.05) translateY(-3px);
    border-color: #FF1744;
    animation: btnHorrorShake 0.3s ease;
}

@keyframes btnHorrorShake {
    0%, 100% { transform: scale(1.05) translateY(-3px) rotate(0deg); }
    25% { transform: scale(1.05) translateY(-3px) rotate(-1deg); }
    75% { transform: scale(1.05) translateY(-3px) rotate(1deg); }
}

/* استجابة للهاتف */
@media (max-width: 768px) {
    .special-rose-mansion {
        padding: 1.5rem;
    }
    
    .candle-flame {
        font-size: 2rem;
    }
    
    .candle-flame.left {
        top: 15px;
        left: 15px;
    }
    
    .candle-flame.right {
        top: 15px;
        right: 15px;
    }
    
    .blood-drip {
        width: 6px;
        height: 20px;
    }
    
    .rose {
        width: 35px;
        height: 35px;
    }
    
    .special-rose-mansion .daily-comic-info h3 {
        font-size: 1.8rem;
    }
    
    .special-rose-mansion .stat-number {
        font-size: 1.8rem;
    }
    
    .special-rose-mansion .read-btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
    
    .special-rose-mansion .daily-comic-stats {
        gap: 1rem;
    }
    
    .horror-fog {
        height: 150px;
    }
}

/* ====== نهاية التصميم الخاص ====== */
/* ====== التصميم الخاص الأسطوري لـ Rose Mansion ====== */
.daily-comic.special-rose-mansion {
    background: linear-gradient(135deg, 
        rgba(10, 0, 0, 0.98) 0%, 
        rgba(30, 0, 5, 0.98) 50%, 
        rgba(10, 0, 0, 0.98) 100%);
    border: 3px solid #8B0000;
    box-shadow: 
        0 0 120px rgba(139, 0, 0, 0.9),
        0 0 200px rgba(139, 0, 0, 0.6),
        inset 0 0 200px rgba(0, 0, 0, 0.95);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.dark-mode .daily-comic.special-rose-mansion {
    background: linear-gradient(135deg, 
        rgba(5, 0, 0, 0.99) 0%, 
        rgba(20, 0, 3, 0.99) 50%, 
        rgba(5, 0, 0, 0.99) 100%);
}

/* خلفية رعب أسطورية */
.horror-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* أشجار مخيفة */
.dark-trees {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tree {
    position: absolute;
    bottom: 0;
    height: 40%;
    opacity: 0.6;
    animation: treesSway 8s ease-in-out infinite;
}

.tree-1 {
    left: 5%;
    width: 15%;
    animation-delay: 0s;
}

.tree-2 {
    right: 10%;
    width: 12%;
    animation-delay: 1.5s;
}

.tree-3 {
    left: 25%;
    width: 10%;
    animation-delay: 3s;
}

@keyframes treesSway {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

/* قمر دموي */
.moon {
    position: absolute;
    top: 5%;
    right: 10%;
    width: 100px;
    height: 100px;
    animation: moonPulse 6s ease-in-out infinite;
    filter: drop-shadow(0 0 50px rgba(139, 0, 0, 0.8));
}

@keyframes moonPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* القصر المسكون */
.mansion-silhouette {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    opacity: 0.4;
    animation: mansionAppear 10s ease-in-out infinite;
}

@keyframes mansionAppear {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

/* خفافيش طائرة */
.flying-bats {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bat {
    position: absolute;
    width: 50px;
    opacity: 0.6;
    animation: batFly 15s linear infinite;
}

.bat-1 {
    top: 10%;
    animation-delay: 0s;
}

.bat-2 {
    top: 20%;
    animation-delay: 5s;
}

.bat-3 {
    top: 15%;
    animation-delay: 10s;
}

@keyframes batFly {
    0% {
        left: -10%;
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-20px) scale(1.1);
    }
    50% {
        transform: translateY(0) scale(1);
    }
    75% {
        transform: translateY(20px) scale(0.9);
    }
    100% {
        left: 110%;
        transform: translateY(0) scale(1);
    }
}

/* عنوان خاص مميز */
.special-title-container {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
}

.special-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #DC143C, #FF1744, #DC143C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 50px rgba(220, 20, 60, 1);
    filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.9));
    animation: titleHorrorGlow 3s ease-in-out infinite;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.title-icon {
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
    font-size: 2.5rem;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.special-subtitle {
    font-size: 1.3rem;
    color: #DC143C;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.8);
    animation: subtitleFlicker 4s ease-in-out infinite;
}

@keyframes titleHorrorGlow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.9));
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(255, 23, 68, 1));
    }
}

@keyframes subtitleFlicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* إطار متحرك مخيف */
.special-rose-mansion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid;
    border-image: linear-gradient(
        45deg,
        #8B0000 0%,
        #DC143C 25%,
        #FF1744 50%,
        #DC143C 75%,
        #8B0000 100%
    ) 1;
    border-radius: 25px;
    pointer-events: none;
    animation: borderPulse 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes borderPulse {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 15px #8B0000);
    }
    50% {
        filter: brightness(2) drop-shadow(0 0 50px #FF1744);
    }
}

/* ورود متساقطة SVG */
.falling-roses {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.rose {
    position: absolute;
    top: -80px;
    width: 50px;
    height: 50px;
    opacity: 0;
    animation: roseFall linear infinite;
    filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.8));
}

.rose svg {
    width: 100%;
    height: 100%;
}

@keyframes roseFall {
    0% {
        transform: translateY(-80px) rotateZ(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.85;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(900px) rotateZ(720deg);
        opacity: 0;
    }
}

/* قطرات دم متساقطة */
.blood-drips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.blood-drip {
    position: absolute;
    top: -30px;
    width: 8px;
    height: 30px;
    background: linear-gradient(180deg, 
        #DC143C 0%, 
        #8B0000 50%, 
        rgba(139, 0, 0, 0) 100%);
    border-radius: 0 0 50% 50%;
    animation: bloodDrip 8s ease-in infinite;
    opacity: 0.7;
}

@keyframes bloodDrip {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(600px);
        opacity: 0;
    }
}

/* ضباب رعب */
.horror-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(0deg, 
        rgba(139, 0, 0, 0.4) 0%, 
        rgba(92, 0, 0, 0.2) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: 2;
    animation: fogMove 10s ease-in-out infinite;
}

@keyframes fogMove {
    0%, 100% {
        opacity: 0.4;
        transform: translateX(0);
    }
    50% {
        opacity: 0.7;
        transform: translateX(30px);
    }
}

/* شموع مخيفة */
.candle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 4;
}

.candle-flame {
    position: absolute;
    font-size: 3rem;
    filter: drop-shadow(0 0 25px #DC143C) drop-shadow(0 0 50px #8B0000);
    animation: flickerHorror 2s ease-in-out infinite;
}

.candle-flame.left {
    top: 30px;
    left: 30px;
}

.candle-flame.right {
    top: 30px;
    right: 30px;
    animation-delay: 1s;
}

@keyframes flickerHorror {
    0%, 100% { 
        opacity: 1; 
        filter: drop-shadow(0 0 25px #DC143C) drop-shadow(0 0 50px #8B0000);
        transform: scale(1);
    }
    25% { 
        opacity: 0.6; 
        filter: drop-shadow(0 0 10px #8B0000);
        transform: scale(0.95);
    }
    50% { 
        opacity: 0.9; 
        filter: drop-shadow(0 0 40px #DC143C);
        transform: scale(1.08);
    }
    75% { 
        opacity: 0.5; 
        filter: drop-shadow(0 0 8px #8B0000);
        transform: scale(0.92);
    }
}

/* محتوى التصميم الخاص */
.special-rose-mansion .daily-comic-content {
    position: relative;
    z-index: 5;
}

.special-rose-mansion .section-title {
    background: linear-gradient(135deg, #DC143C, #FF1744, #DC143C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(220, 20, 60, 1));
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 40px rgba(220, 20, 60, 1));
    }
    50% {
        filter: drop-shadow(0 0 70px rgba(255, 23, 68, 1));
    }
}

.special-rose-mansion .daily-comic-image {
    box-shadow: 
        0 25px 100px rgba(139, 0, 0, 1),
        0 0 120px rgba(220, 20, 60, 0.8),
        inset 0 0 100px rgba(0, 0, 0, 0.7);
    border: 5px solid #8B0000;
    animation: imageHorrorPulse 4s ease-in-out infinite;
    position: relative;
    z-index: 5;
}

@keyframes imageHorrorPulse {
    0%, 100% {
        box-shadow: 
            0 25px 100px rgba(139, 0, 0, 1),
            0 0 120px rgba(220, 20, 60, 0.8),
            inset 0 0 100px rgba(0, 0, 0, 0.7);
        filter: brightness(1) contrast(1.15);
    }
    50% {
        box-shadow: 
            0 30px 140px rgba(220, 20, 60, 1),
            0 0 180px rgba(255, 23, 68, 1),
            inset 0 0 120px rgba(139, 0, 0, 0.8);
        filter: brightness(1.2) contrast(1.25);
    }
}

.special-rose-mansion .daily-comic-info {
    position: relative;
    z-index: 5;
}

.special-rose-mansion .daily-comic-info h3 {
    background: linear-gradient(135deg, #DC143C, #FF1744);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    filter: drop-shadow(0 3px 25px rgba(220, 20, 60, 1));
    text-shadow: none;
    animation: titleShake 5s ease-in-out infinite;
}

@keyframes titleShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
}

.special-rose-mansion .genre {
    color: #FF1744;
    font-weight: 700;
    text-shadow: 0 0 25px rgba(255, 23, 68, 1);
    font-size: 1.2rem;
}

.special-rose-mansion .description {
    background: rgba(139, 0, 0, 0.25);
    border: 3px solid #8B0000;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 
        inset 0 0 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(139, 0, 0, 0.5);
    color: #ffebee;
    line-height: 1.9;
    font-size: 1.05rem;
}

.dark-mode .special-rose-mansion .description {
    background: rgba(139, 0, 0, 0.35);
    color: #ffcdd2;
}

/* إحصائيات دموية */
.special-rose-mansion .daily-comic-stats {
    gap: 1.5rem;
}

.special-rose-mansion .daily-comic-stats .stat {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.35), 
        rgba(92, 0, 0, 0.45));
    border: 3px solid #8B0000;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(139, 0, 0, 0.7),
        inset 0 0 50px rgba(0, 0, 0, 0.7);
}

.special-rose-mansion .daily-comic-stats .stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        transparent, 
        rgba(220, 20, 60, 0.25), 
        transparent 30%
    );
    animation: rotateStat 8s linear infinite;
}

@keyframes rotateStat {
    100% { 
        transform: rotate(360deg); 
    }
}

.special-rose-mansion .stat-number {
    position: relative;
    background: linear-gradient(135deg, #DC143C, #FF1744);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    font-weight: 800;
    filter: drop-shadow(0 2px 15px rgba(220, 20, 60, 0.8));
}

.special-rose-mansion .stat-label {
    position: relative;
    color: #DC143C;
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.7);
}

/* زر القراءة المخيف */
.special-rose-mansion .read-btn {
    background: linear-gradient(135deg, 
        #8B0000 0%, 
        #DC143C 50%, 
        #8B0000 100%);
    background-size: 200% 200%;
    border: 3px solid #DC143C;
    color: #ffffff !important;
    box-shadow: 
        0 15px 60px rgba(139, 0, 0, 0.9),
        0 0 80px rgba(220, 20, 60, 0.8),
        inset 0 0 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.special-rose-mansion .read-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, 
        rgba(220, 20, 60, 0.6), 
        transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
}

.special-rose-mansion .read-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.25), 
        transparent);
    transition: left 0.8s ease;
}

.special-rose-mansion .read-btn:hover::before {
    width: 500px;
    height: 500px;
}

.special-rose-mansion .read-btn:hover::after {
    left: 100%;
}

.special-rose-mansion .read-btn:hover {
    background-position: 100% 50%;
    box-shadow: 
        0 20px 80px rgba(220, 20, 60, 1),
        0 0 120px rgba(255, 23, 68, 1),
        inset 0 0 60px rgba(139, 0, 0, 0.7);
    transform: scale(1.05) translateY(-3px);
    border-color: #FF1744;
    animation: btnHorrorShake 0.3s ease;
}

@keyframes btnHorrorShake {
    0%, 100% { 
        transform: scale(1.05) translateY(-3px) rotate(0deg); 
    }
    25% { 
        transform: scale(1.05) translateY(-3px) rotate(-1deg); 
    }
    75% { 
        transform: scale(1.05) translateY(-3px) rotate(1deg); 
    }
}

/* استجابة للهاتف */
@media (max-width: 768px) {
    .special-rose-mansion {
        padding: 1.5rem;
        min-height: 500px;
    }
    
    .tree {
        height: 30%;
    }
    
    .moon {
        width: 70px;
        height: 70px;
        top: 3%;
        right: 5%;
    }
    
    .mansion-silhouette {
        width: 80%;
    }
    
    .bat {
        width: 35px;
    }
    
    .special-title {
        font-size: 2rem;
    }
    
    .title-icon {
        font-size: 1.8rem;
    }
    
    .special-subtitle {
        font-size: 1rem;
    }
    
    .candle-flame {
        font-size: 2rem;
    }
    
    .candle-flame.left {
        top: 15px;
        left: 15px;
    }
    
    .candle-flame.right {
        top: 15px;
        right: 15px;
    }
    
    .blood-drip {
        width: 6px;
        height: 20px;
    }
    
    .rose {
        width: 35px;
        height: 35px;
    }
    
    .special-rose-mansion .daily-comic-info h3 {
        font-size: 1.8rem;
    }
    
    .special-rose-mansion .stat-number {
        font-size: 1.8rem;
    }
    
    .special-rose-mansion .read-btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
    
    .special-rose-mansion .daily-comic-stats {
        gap: 1rem;
    }
    
    .horror-fog {
        height: 200px;
    }
}

/* ====== نهاية التصميم الخاص ====== */
/* إصلاح التصميم للـ Rose Mansion */
.special-rose-mansion .daily-comic-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    grid-template-columns: unset !important;
}

.special-rose-mansion .daily-comic-image {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
}

.special-rose-mansion .daily-comic-info {
    width: 100% !important;
}

/* للشاشات الكبيرة - نرجع العرضي */
@media (min-width: 769px) {
    .special-rose-mansion .daily-comic-content {
        display: grid !important;
        grid-template-columns: 350px 1fr !important;
        gap: 2rem !important;
        align-items: start !important;
    }
    
    .special-rose-mansion .daily-comic-image {
        margin: 0 !important;
    }
}
/* تحسينات استجابة الجوال */
@media (max-width: 768px) {
    /* تحسينات عامة */
    .main-content {
        padding: 0 1rem;
        width: 100%;
        overflow-x: hidden;
    }
    
    /* تحسين قسم المانهوا اليومية */
    .daily-comic {
        width: 100% !important;
        transform: none !important;
        margin-left: 0;
        margin-right: 0;
        padding: 1.5rem;
    }
    
    /* تحسين الأقسام */
    .categories {
        width: 100% !important;
        transform: none !important;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.5rem 0;
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .category-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }
    
    /* تحسين قسم Top 10 */
    .top10-section {
        width: 100%;
        overflow: hidden;
    }
    
    .top10-container {
        width: 100% !important;
        transform: none !important;
        padding: 0;
    }
    
    .top10-scroll {
        width: 100% !important;
        padding: 0.5rem 1rem;
        gap: 0.8rem;
    }
    
    .top10-item {
        min-width: 85vw;
        width: 85vw;
    }
    
    /* تحسين شبكة المانهوا */
    .manhwa-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        width: 100%;
    }
    
    .manhwa-card {
        width: 100%;
        margin: 0;
    }
    
    .manhwa-image {
        height: 200px;
    }
    
    /* تحسين الهيدر */
    .nav-container {
        padding: 0 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    /* تحسين محتوى Rose Mansion الخاص */
    .special-rose-mansion .daily-comic-content {
        display: flex !important;
        flex-direction: column;
        text-align: center;
    }
    
    .special-rose-mansion .daily-comic-image {
        max-width: 100% !important;
        margin: 0 auto 1.5rem !important;
    }
    
    .special-rose-mansion .daily-comic-info {
        width: 100% !important;
    }
    
    .special-rose-mansion .daily-comic-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .special-rose-mansion .stat {
        flex: 0 0 calc(50% - 0.75rem);
        margin-bottom: 0.5rem;
    }
    
    /* تحسينات إضافية للعناصر */
    .hero-section {
        margin-top: 2rem;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* منع التمرير الأفقي */
    body, html {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    /* تحسين الفوتر */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* تحسينات للشاشات الصغيرة جدًا */
@media (max-width: 480px) {
    .manhwa-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.8rem;
    }
    
    .manhwa-info {
        padding: 1rem;
    }
    
    .manhwa-title {
        font-size: 1rem;
    }
    
    .top10-item {
        min-width: 80vw;
        width: 80vw;
    }
    
    .category-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .special-rose-mansion {
        padding: 1rem !important;
    }
    
    .special-rose-mansion .daily-comic-info h3 {
        font-size: 1.5rem;
    }
}

/* إصلاح مشاكل iOS/Safari */
@supports (-webkit-touch-callout: none) {
    .manhwa-card, 
    .top10-card, 
    .daily-comic {
        -webkit-transform: translateZ(0);
    }
}

/* تحسين الأداء على الجوال */
@media (max-width: 768px) {
    .manhwa-card, 
    .top10-item, 
    .daily-comic {
        transform: none !important;
        transition: none !important;
    }
    
    .manhwa-card:hover,
    .top10-item:hover {
        transform: none !important;
    }
}
/* ====== تحسينات للكمبيوتر فقط - لـ Rose Mansion فقط ====== */
@media (min-width: 769px) {
    /* ترتيب جديد لـ Rose Mansion فقط في الكمبيوتر */
    .daily-comic.special-rose-mansion .daily-comic-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }
    
    .daily-comic.special-rose-mansion .daily-comic-image {
        order: 2;
        width: 100%;
        height: 500px;
        object-fit: cover;
    }
    
    .daily-comic.special-rose-mansion .daily-comic-info {
        order: 1;
    }
    
    /* تحسينات إضافية لـ Rose Mansion في الكمبيوتر */
    .daily-comic.special-rose-mansion .daily-comic-info h3 {
        font-size: 2.8rem;
    }
    
    .daily-comic.special-rose-mansion .description {
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .daily-comic.special-rose-mansion .daily-comic-stats {
        gap: 2rem;
    }
    
    .daily-comic.special-rose-mansion .stat {
        padding: 1.5rem;
    }
    
    .daily-comic.special-rose-mansion .stat-number {
        font-size: 2.5rem;
    }
}

/* ====== الحفاظ على تصميم الجوال الحالي لجميع المانهوا ====== */
@media (max-width: 768px) {
    /* نضع هنا كل CSS الحالي للجوال بدون تغيير */
    .main-content {
        padding: 0 1rem;
        width: 100%;
        overflow-x: hidden;
    }
    
    .daily-comic {
        width: 100%;
        transform: none;
        margin-left: 0;
        margin-right: 0;
        padding: 1.5rem;
    }
    
    .categories {
        width: 100%;
        transform: none;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.5rem 0;
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .category-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }
    
    .top10-section {
        width: 100%;
        overflow: hidden;
    }
    
    .top10-container {
        width: 100%;
        transform: none;
        padding: 0;
    }
    
    .top10-scroll {
        width: 100%;
        padding: 0.5rem 1rem;
        gap: 0.8rem;
    }
    
    .top10-item {
        min-width: 85vw;
        width: 85vw;
    }
    
    .manhwa-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        width: 100%;
    }
    
    .manhwa-card {
        width: 100%;
        margin: 0;
    }
    
    .manhwa-image {
        height: 200px;
    }
    
    .nav-container {
        padding: 0 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    /* تصميم الجوال لـ Rose Mansion */
    .special-rose-mansion .daily-comic-content {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    .special-rose-mansion .daily-comic-image {
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }
    
    .special-rose-mansion .daily-comic-info {
        width: 100%;
    }
    
    .special-rose-mansion .daily-comic-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .special-rose-mansion .stat {
        flex: 0 0 calc(50% - 0.75rem);
        margin-bottom: 0.5rem;
    }
    
    .hero-section {
        margin-top: 2rem;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    body, html {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ====== تصميم الكمبيوتر لباقي المانهوا (بدون تغيير) ====== */
@media (min-width: 769px) {
    /* باقي المانهوا تحافظ على تصميمها الحالي في الكمبيوتر */
    .daily-comic:not(.special-rose-mansion) .daily-comic-content {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 2rem;
        align-items: center;
    }
    
    .daily-comic:not(.special-rose-mansion) .daily-comic-image {
        order: 1;
        width: 100%;
        height: 400px;
        object-fit: cover;
    }
    
    .daily-comic:not(.special-rose-mansion) .daily-comic-info {
        order: 2;
    }
    
    /* باقي العناصر تحافظ على تصميمها الحالي */
    .top10-container {
        max-width: 100%;
    }
    
    .top10-scroll {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
    }
    
    .top10-item {
        width: 280px;
        min-width: 280px;
    }
    
    .categories {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 3rem;
        flex-wrap: wrap;
    }
    
    .category-btn {
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        border: 2px solid var(--border);
        color: var(--text-secondary);
        padding: 1rem 2rem;
        border-radius: 30px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
    }
    
    .manhwa-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* ====== إصلاحات متعددة الاستخدامات ====== */
/* منع التمرير الأفقي في جميع الأحوال */
.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* تحسينات للأداء */
img {
    max-width: 100%;
    height: auto;
}
/* ====== التصميم الخاص لـ Detective Romance - النسخة المحسّنة ====== */
.daily-comic.special-detective-romance {
    background: linear-gradient(135deg, 
        rgba(8, 18, 28, 0.98) 0%, 
        rgba(18, 25, 38, 0.98) 50%, 
        rgba(8, 18, 28, 0.98) 100%);
    border: 3px solid #2E86AB;
    box-shadow: 
        0 0 120px rgba(46, 134, 171, 0.8),
        0 0 200px rgba(46, 134, 171, 0.6),
        inset 0 0 200px rgba(0, 0, 0, 0.95);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.dark-mode .daily-comic.special-detective-romance {
    background: linear-gradient(135deg, 
        rgba(5, 12, 20, 0.99) 0%, 
        rgba(12, 18, 28, 0.99) 50%, 
        rgba(5, 12, 20, 0.99) 100%);
}

/* خلفية المدينة الليلية */
.city-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 0;
    opacity: 0.25;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%);
}

.building {
    position: absolute;
    bottom: 0;
    background: linear-gradient(180deg, #1a2332 0%, #0d1b2a 100%);
    animation: buildingFlicker 4s ease-in-out infinite;
}

.building-1 {
    left: 5%;
    width: 12%;
    height: 180px;
    animation-delay: 0s;
}

.building-2 {
    left: 20%;
    width: 15%;
    height: 220px;
    animation-delay: 1s;
}

.building-3 {
    right: 15%;
    width: 10%;
    height: 160px;
    animation-delay: 2s;
}

.building-4 {
    right: 30%;
    width: 18%;
    height: 240px;
    animation-delay: 1.5s;
}

@keyframes buildingFlicker {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* نوافذ مضيئة عشوائية */
.window {
    position: absolute;
    width: 8px;
    height: 12px;
    background: #FFD60A;
    box-shadow: 0 0 10px #FFD60A;
    animation: windowBlink 3s ease-in-out infinite;
}

@keyframes windowBlink {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* قمر أزرق */
.detective-moon {
    position: absolute;
    top: 8%;
    left: 10%;
    width: 120px;
    height: 120px;
    animation: moonGlow 6s ease-in-out infinite;
    filter: drop-shadow(0 0 60px rgba(46, 134, 171, 0.8));
    z-index: 1;
}

@keyframes moonGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* ورق مطير (ملفات القضية) */
.flying-papers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.paper {
    position: absolute;
    top: -80px;
    width: 60px;
    height: 80px;
    opacity: 0;
    animation: paperFall linear infinite;
    filter: drop-shadow(0 0 8px rgba(46, 134, 171, 0.5));
}

@keyframes paperFall {
    0% {
        transform: translateY(-80px) rotateZ(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(900px) rotateZ(360deg);
        opacity: 0;
    }
}

/* جزيئات ذهبية متلألئة */
.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FFD60A;
    border-radius: 50%;
    box-shadow: 0 0 10px #FFD60A;
    animation: sparkleFloat 8s ease-in-out infinite;
    opacity: 0;
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 0.8;
        transform: translateY(-50px) scale(1);
    }
    90% {
        opacity: 0.8;
        transform: translateY(-500px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-550px) scale(0);
    }
}

/* ضباب أزرق */
.detective-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(0deg, 
        rgba(46, 134, 171, 0.25) 0%, 
        rgba(27, 38, 59, 0.15) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: 2;
    animation: fogMove 12s ease-in-out infinite;
}

@keyframes fogMove {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(40px);
    }
}

/* شموع زرقاء متوهجة */
.candle-container-detective {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 4;
}

.candle-flame-detective {
    position: absolute;
    font-size: 3rem;
    filter: drop-shadow(0 0 30px #2E86AB) drop-shadow(0 0 60px #FFD60A);
    animation: flickerDetective 3s ease-in-out infinite;
}

.candle-flame-detective.left {
    top: 30px;
    left: 30px;
}

.candle-flame-detective.right {
    top: 30px;
    right: 30px;
    animation-delay: 1.5s;
}

@keyframes flickerDetective {
    0%, 100% { 
        opacity: 1; 
        filter: drop-shadow(0 0 30px #2E86AB) drop-shadow(0 0 60px #FFD60A);
        transform: scale(1);
    }
    25% { 
        opacity: 0.7; 
        filter: drop-shadow(0 0 15px #2E86AB);
        transform: scale(0.95);
    }
    50% { 
        opacity: 0.9; 
        filter: drop-shadow(0 0 45px #2E86AB);
        transform: scale(1.08);
    }
    75% { 
        opacity: 0.6; 
        filter: drop-shadow(0 0 12px #2E86AB);
        transform: scale(0.92);
    }
}

/* إطار متحرك أنيق */
.special-detective-romance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid;
    border-image: linear-gradient(
        45deg,
        #2E86AB 0%,
        #FFD60A 25%,
        #2E86AB 50%,
        #64B5F6 75%,
        #2E86AB 100%
    ) 1;
    border-radius: 25px;
    pointer-events: none;
    animation: borderPulseDetective 4s ease-in-out infinite;
    z-index: 10;
}

@keyframes borderPulseDetective {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 20px #2E86AB);
    }
    50% {
        filter: brightness(2) drop-shadow(0 0 60px #FFD60A);
    }
}

/* محتوى التصميم الخاص */
.special-detective-romance .daily-comic-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.special-detective-romance .section-title {
    background: linear-gradient(135deg, #2E86AB, #FFD60A, #2E86AB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(46, 134, 171, 1));
    animation: titleGlowDetective 4s ease-in-out infinite;
    text-align: center;
}

@keyframes titleGlowDetective {
    0%, 100% {
        filter: drop-shadow(0 0 40px rgba(46, 134, 171, 1));
    }
    50% {
        filter: drop-shadow(0 0 70px rgba(255, 214, 10, 1));
    }
}

.special-detective-romance .daily-comic-image {
    box-shadow: 
        0 25px 100px rgba(46, 134, 171, 0.8),
        0 0 120px rgba(255, 214, 10, 0.6),
        inset 0 0 100px rgba(0, 0, 0, 0.7);
    border: 5px solid #2E86AB;
    animation: imageDetectivePulse 5s ease-in-out infinite;
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: 550px;
    object-fit: cover;
}

@keyframes imageDetectivePulse {
    0%, 100% {
        box-shadow: 
            0 25px 100px rgba(46, 134, 171, 0.8),
            0 0 120px rgba(255, 214, 10, 0.6),
            inset 0 0 100px rgba(0, 0, 0, 0.7);
        filter: brightness(1) contrast(1.1);
    }
    50% {
        box-shadow: 
            0 30px 140px rgba(46, 134, 171, 1),
            0 0 180px rgba(255, 214, 10, 0.9),
            inset 0 0 120px rgba(0, 0, 0, 0.8);
        filter: brightness(1.15) contrast(1.2);
    }
}

.special-detective-romance .daily-comic-info {
    position: relative;
    z-index: 5;
    text-align: center;
}

.special-detective-romance .daily-comic-info h3 {
    background: linear-gradient(135deg, #2E86AB, #FFD60A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    filter: drop-shadow(0 3px 25px rgba(46, 134, 171, 1));
    text-shadow: none;
    margin-bottom: 1rem;
}

.special-detective-romance .genre {
    color: #FFD60A;
    font-weight: 700;
    text-shadow: 0 0 25px rgba(255, 214, 10, 0.8);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.special-detective-romance .description {
    background: rgba(46, 134, 171, 0.15);
    border: 3px solid #2E86AB;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 
        inset 0 0 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(46, 134, 171, 0.4);
    color: #e3f2fd;
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.dark-mode .special-detective-romance .description {
    background: rgba(46, 134, 171, 0.2);
    color: #bbdefb;
}

/* إحصائيات أنيقة */
.special-detective-romance .daily-comic-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.special-detective-romance .daily-comic-stats .stat {
    background: linear-gradient(135deg, 
        rgba(46, 134, 171, 0.25), 
        rgba(27, 38, 59, 0.35));
    border: 3px solid #2E86AB;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(46, 134, 171, 0.5),
        inset 0 0 50px rgba(0, 0, 0, 0.7);
    min-width: 120px;
}

.special-detective-romance .daily-comic-stats .stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        transparent, 
        rgba(46, 134, 171, 0.3), 
        transparent 30%
    );
    animation: rotateStatDetective 10s linear infinite;
}

@keyframes rotateStatDetective {
    100% { 
        transform: rotate(360deg); 
    }
}

.special-detective-romance .stat-number {
    position: relative;
    background: linear-gradient(135deg, #2E86AB, #FFD60A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    font-weight: 800;
    filter: drop-shadow(0 2px 15px rgba(46, 134, 171, 0.8));
}

.special-detective-romance .stat-label {
    position: relative;
    color: #FFD60A;
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 0 15px rgba(255, 214, 10, 0.7);
}

/* زر القراءة الأنيق */
.special-detective-romance .read-btn {
    background: linear-gradient(135deg, 
        #2E86AB 0%, 
        #FFD60A 50%, 
        #2E86AB 100%);
    background-size: 200% 200%;
    border: 3px solid #FFD60A;
    color: #0d1b2a !important;
    box-shadow: 
        0 15px 60px rgba(46, 134, 171, 0.7),
        0 0 80px rgba(255, 214, 10, 0.6),
        inset 0 0 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.special-detective-romance .read-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, 
        rgba(255, 214, 10, 0.6), 
        transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
}

.special-detective-romance .read-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.8s ease;
}

.special-detective-romance .read-btn:hover::before {
    width: 500px;
    height: 500px;
}

.special-detective-romance .read-btn:hover::after {
    left: 100%;
}

.special-detective-romance .read-btn:hover {
    background-position: 100% 50%;
    box-shadow: 
        0 20px 80px rgba(46, 134, 171, 1),
        0 0 120px rgba(255, 214, 10, 1),
        inset 0 0 60px rgba(0, 0, 0, 0.4);
    transform: scale(1.05) translateY(-3px);
    border-color: #2E86AB;
}

/* استجابة للجوال */
@media (max-width: 768px) {
    .special-detective-romance {
        padding: 1.5rem;
        min-height: 500px;
    }
    
    .building {
        height: 100px !important;
    }
    
    .detective-moon {
        width: 80px;
        height: 80px;
        top: 5%;
        left: 5%;
    }
    
    .candle-flame-detective {
        font-size: 2rem;
    }
    
    .candle-flame-detective.left {
        top: 15px;
        left: 15px;
    }
    
    .candle-flame-detective.right {
        top: 15px;
        right: 15px;
    }
    
    .paper {
        width: 40px;
        height: 55px;
    }
    
    .special-detective-romance .daily-comic-image {
        max-width: 100%;
        height: 400px;
    }
    
    .special-detective-romance .daily-comic-info h3 {
        font-size: 1.8rem;
    }
    
    .special-detective-romance .stat-number {
        font-size: 1.8rem;
    }
    
    .special-detective-romance .read-btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
    
    .special-detective-romance .daily-comic-stats {
        gap: 1rem;
    }
    
    .detective-fog {
        height: 180px;
    }
}

/* للكمبيوتر فقط - ترتيب واضح مثل Rose Mansion */
@media (min-width: 769px) {
    .daily-comic.special-detective-romance .daily-comic-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .daily-comic.special-detective-romance .daily-comic-image {
        order: 2;
        width: 100%;
        max-width: none;
        height: 550px;
        object-fit: cover;
        margin: 0;
    }
    
    .daily-comic.special-detective-romance .daily-comic-info {
        order: 1;
        text-align: right;
    }
    
    .daily-comic.special-detective-romance .section-title {
        text-align: right;
    }
    
    .daily-comic.special-detective-romance .daily-comic-stats {
        justify-content: flex-start;
    }
    
    .daily-comic.special-detective-romance .daily-comic-info h3 {
        font-size: 2.8rem;
    }
}

/* ====== نهاية التصميم الخاص ====== *//* ====== التصميم الخاص لـ Detective Romance - النسخة المحسّنة ====== */
.daily-comic.special-detective-romance {
    background: linear-gradient(135deg, 
        rgba(8, 18, 28, 0.98) 0%, 
        rgba(18, 25, 38, 0.98) 50%, 
        rgba(8, 18, 28, 0.98) 100%);
    border: 3px solid #2E86AB;
    box-shadow: 
        0 0 120px rgba(46, 134, 171, 0.8),
        0 0 200px rgba(46, 134, 171, 0.6),
        inset 0 0 200px rgba(0, 0, 0, 0.95);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.dark-mode .daily-comic.special-detective-romance {
    background: linear-gradient(135deg, 
        rgba(5, 12, 20, 0.99) 0%, 
        rgba(12, 18, 28, 0.99) 50%, 
        rgba(5, 12, 20, 0.99) 100%);
}

/* خلفية المدينة الليلية */
.city-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 0;
    opacity: 0.25;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%);
}

.building {
    position: absolute;
    bottom: 0;
    background: linear-gradient(180deg, #1a2332 0%, #0d1b2a 100%);
    animation: buildingFlicker 4s ease-in-out infinite;
}

.building-1 {
    left: 5%;
    width: 12%;
    height: 180px;
    animation-delay: 0s;
}

.building-2 {
    left: 20%;
    width: 15%;
    height: 220px;
    animation-delay: 1s;
}

.building-3 {
    right: 15%;
    width: 10%;
    height: 160px;
    animation-delay: 2s;
}

.building-4 {
    right: 30%;
    width: 18%;
    height: 240px;
    animation-delay: 1.5s;
}

@keyframes buildingFlicker {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* نوافذ مضيئة عشوائية */
.window {
    position: absolute;
    width: 8px;
    height: 12px;
    background: #FFD60A;
    box-shadow: 0 0 10px #FFD60A;
    animation: windowBlink 3s ease-in-out infinite;
}

@keyframes windowBlink {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* قمر أزرق */
.detective-moon {
    position: absolute;
    top: 8%;
    left: 10%;
    width: 120px;
    height: 120px;
    animation: moonGlow 6s ease-in-out infinite;
    filter: drop-shadow(0 0 60px rgba(46, 134, 171, 0.8));
    z-index: 1;
}

@keyframes moonGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* ورق مطير (ملفات القضية) */
.flying-papers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.paper {
    position: absolute;
    top: -80px;
    width: 60px;
    height: 80px;
    opacity: 0;
    animation: paperFall linear infinite;
    filter: drop-shadow(0 0 8px rgba(46, 134, 171, 0.5));
}

@keyframes paperFall {
    0% {
        transform: translateY(-80px) rotateZ(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(900px) rotateZ(360deg);
        opacity: 0;
    }
}

/* جزيئات ذهبية متلألئة */
.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FFD60A;
    border-radius: 50%;
    box-shadow: 0 0 10px #FFD60A;
    animation: sparkleFloat 8s ease-in-out infinite;
    opacity: 0;
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 0.8;
        transform: translateY(-50px) scale(1);
    }
    90% {
        opacity: 0.8;
        transform: translateY(-500px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-550px) scale(0);
    }
}

/* ضباب أزرق */
.detective-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(0deg, 
        rgba(46, 134, 171, 0.25) 0%, 
        rgba(27, 38, 59, 0.15) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: 2;
    animation: fogMove 12s ease-in-out infinite;
}

@keyframes fogMove {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(40px);
    }
}

/* شموع زرقاء متوهجة */
.candle-container-detective {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 4;
}

.candle-flame-detective {
    position: absolute;
    font-size: 3rem;
    filter: drop-shadow(0 0 30px #2E86AB) drop-shadow(0 0 60px #FFD60A);
    animation: flickerDetective 3s ease-in-out infinite;
}

.candle-flame-detective.left {
    top: 30px;
    left: 30px;
}

.candle-flame-detective.right {
    top: 30px;
    right: 30px;
    animation-delay: 1.5s;
}

@keyframes flickerDetective {
    0%, 100% { 
        opacity: 1; 
        filter: drop-shadow(0 0 30px #2E86AB) drop-shadow(0 0 60px #FFD60A);
        transform: scale(1);
    }
    25% { 
        opacity: 0.7; 
        filter: drop-shadow(0 0 15px #2E86AB);
        transform: scale(0.95);
    }
    50% { 
        opacity: 0.9; 
        filter: drop-shadow(0 0 45px #2E86AB);
        transform: scale(1.08);
    }
    75% { 
        opacity: 0.6; 
        filter: drop-shadow(0 0 12px #2E86AB);
        transform: scale(0.92);
    }
}

/* إطار متحرك أنيق */
.special-detective-romance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid;
    border-image: linear-gradient(
        45deg,
        #2E86AB 0%,
        #FFD60A 25%,
        #2E86AB 50%,
        #64B5F6 75%,
        #2E86AB 100%
    ) 1;
    border-radius: 25px;
    pointer-events: none;
    animation: borderPulseDetective 4s ease-in-out infinite;
    z-index: 10;
}

@keyframes borderPulseDetective {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 20px #2E86AB);
    }
    50% {
        filter: brightness(2) drop-shadow(0 0 60px #FFD60A);
    }
}

/* محتوى التصميم الخاص */
.special-detective-romance .daily-comic-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.special-detective-romance .section-title {
    background: linear-gradient(135deg, #2E86AB, #FFD60A, #2E86AB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(46, 134, 171, 1));
    animation: titleGlowDetective 4s ease-in-out infinite;
    text-align: center;
}

@keyframes titleGlowDetective {
    0%, 100% {
        filter: drop-shadow(0 0 40px rgba(46, 134, 171, 1));
    }
    50% {
        filter: drop-shadow(0 0 70px rgba(255, 214, 10, 1));
    }
}

.special-detective-romance .daily-comic-image {
    box-shadow: 
        0 25px 100px rgba(46, 134, 171, 0.8),
        0 0 120px rgba(255, 214, 10, 0.6),
        inset 0 0 100px rgba(0, 0, 0, 0.7);
    border: 5px solid #2E86AB;
    animation: imageDetectivePulse 5s ease-in-out infinite;
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: 550px;
    object-fit: cover;
}

@keyframes imageDetectivePulse {
    0%, 100% {
        box-shadow: 
            0 25px 100px rgba(46, 134, 171, 0.8),
            0 0 120px rgba(255, 214, 10, 0.6),
            inset 0 0 100px rgba(0, 0, 0, 0.7);
        filter: brightness(1) contrast(1.1);
    }
    50% {
        box-shadow: 
            0 30px 140px rgba(46, 134, 171, 1),
            0 0 180px rgba(255, 214, 10, 0.9),
            inset 0 0 120px rgba(0, 0, 0, 0.8);
        filter: brightness(1.15) contrast(1.2);
    }
}

.special-detective-romance .daily-comic-info {
    position: relative;
    z-index: 5;
    text-align: center;
}

.special-detective-romance .daily-comic-info h3 {
    background: linear-gradient(135deg, #2E86AB, #FFD60A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    filter: drop-shadow(0 3px 25px rgba(46, 134, 171, 1));
    text-shadow: none;
    margin-bottom: 1rem;
}

.special-detective-romance .genre {
    color: #FFD60A;
    font-weight: 700;
    text-shadow: 0 0 25px rgba(255, 214, 10, 0.8);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.special-detective-romance .description {
    background: rgba(46, 134, 171, 0.15);
    border: 3px solid #2E86AB;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 
        inset 0 0 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(46, 134, 171, 0.4);
    color: #e3f2fd;
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.dark-mode .special-detective-romance .description {
    background: rgba(46, 134, 171, 0.2);
    color: #bbdefb;
}

/* إحصائيات أنيقة */
.special-detective-romance .daily-comic-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.special-detective-romance .daily-comic-stats .stat {
    background: linear-gradient(135deg, 
        rgba(46, 134, 171, 0.25), 
        rgba(27, 38, 59, 0.35));
    border: 3px solid #2E86AB;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(46, 134, 171, 0.5),
        inset 0 0 50px rgba(0, 0, 0, 0.7);
    min-width: 120px;
}

.special-detective-romance .daily-comic-stats .stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        transparent, 
        rgba(46, 134, 171, 0.3), 
        transparent 30%
    );
    animation: rotateStatDetective 10s linear infinite;
}

@keyframes rotateStatDetective {
    100% { 
        transform: rotate(360deg); 
    }
}

.special-detective-romance .stat-number {
    position: relative;
    background: linear-gradient(135deg, #2E86AB, #FFD60A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    font-weight: 800;
    filter: drop-shadow(0 2px 15px rgba(46, 134, 171, 0.8));
}

.special-detective-romance .stat-label {
    position: relative;
    color: #FFD60A;
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 0 15px rgba(255, 214, 10, 0.7);
}

/* زر القراءة الأنيق */
.special-detective-romance .read-btn {
    background: linear-gradient(135deg, 
        #2E86AB 0%, 
        #FFD60A 50%, 
        #2E86AB 100%);
    background-size: 200% 200%;
    border: 3px solid #FFD60A;
    color: #0d1b2a !important;
    box-shadow: 
        0 15px 60px rgba(46, 134, 171, 0.7),
        0 0 80px rgba(255, 214, 10, 0.6),
        inset 0 0 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.special-detective-romance .read-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, 
        rgba(255, 214, 10, 0.6), 
        transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
}

.special-detective-romance .read-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.8s ease;
}

.special-detective-romance .read-btn:hover::before {
    width: 500px;
    height: 500px;
}

.special-detective-romance .read-btn:hover::after {
    left: 100%;
}

.special-detective-romance .read-btn:hover {
    background-position: 100% 50%;
    box-shadow: 
        0 20px 80px rgba(46, 134, 171, 1),
        0 0 120px rgba(255, 214, 10, 1),
        inset 0 0 60px rgba(0, 0, 0, 0.4);
    transform: scale(1.05) translateY(-3px);
    border-color: #2E86AB;
}

/* استجابة للجوال */
@media (max-width: 768px) {
    .special-detective-romance {
        padding: 1.5rem;
        min-height: 500px;
    }
    
    .building {
        height: 100px !important;
    }
    
    .detective-moon {
        width: 80px;
        height: 80px;
        top: 5%;
        left: 5%;
    }
    
    .candle-flame-detective {
        font-size: 2rem;
    }
    
    .candle-flame-detective.left {
        top: 15px;
        left: 15px;
    }
    
    .candle-flame-detective.right {
        top: 15px;
        right: 15px;
    }
    
    .paper {
        width: 40px;
        height: 55px;
    }
    
    .special-detective-romance .daily-comic-image {
        max-width: 100%;
        height: 400px;
    }
    
    .special-detective-romance .daily-comic-info h3 {
        font-size: 1.8rem;
    }
    
    .special-detective-romance .stat-number {
        font-size: 1.8rem;
    }
    
    .special-detective-romance .read-btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
    
    .special-detective-romance .daily-comic-stats {
        gap: 1rem;
    }
    
    .detective-fog {
        height: 180px;
    }
}

/* للكمبيوتر فقط - ترتيب واضح مثل Rose Mansion */
@media (min-width: 769px) {
    .daily-comic.special-detective-romance .daily-comic-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .daily-comic.special-detective-romance .daily-comic-image {
        order: 2;
        width: 100%;
        max-width: none;
        height: 550px;
        object-fit: cover;
        margin: 0;
    }
    
    .daily-comic.special-detective-romance .daily-comic-info {
        order: 1;
        text-align: right;
    }
    
    .daily-comic.special-detective-romance .section-title {
        text-align: right;
    }
    
    .daily-comic.special-detective-romance .daily-comic-stats {
        justify-content: flex-start;
    }
    
    .daily-comic.special-detective-romance .daily-comic-info h3 {
        font-size: 2.8rem;
    }
}

/* ====== نهاية التصميم الخاص ====== */
/* إصلاح ترتيب Detective Romance ليكون مثل Rose Mansion */
@media (min-width: 769px) {
    .daily-comic.special-detective-romance .daily-comic-content {
        display: grid !important;
        grid-template-columns: 1fr 350px !important; /* عكس الترتيب */
        gap: 3rem !important;
        align-items: start !important;
    }
    
    .daily-comic.special-detective-romance .daily-comic-image {
        order: 2 !important; /* الصورة على اليمين */
        width: 100% !important;
        height: 500px !important;
        object-fit: cover !important;
        margin: 0 !important;
    }
    
    .daily-comic.special-detective-romance .daily-comic-info {
        order: 1 !important; /* المحتوى على اليسار */
    }
}

/* للحفاظ على تصميم الجوال */
@media (max-width: 768px) {
    .special-detective-romance .daily-comic-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .special-detective-romance .daily-comic-image {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    .special-detective-romance .daily-comic-info {
        width: 100% !important;
    }
}
/* ====== تصاميم خاصة لـ Top 10 و Grid ====== */

/* Rose Mansion في Top 10 */
.top10-item.special-rose {
    position: relative;
}

.top10-item.special-rose .top10-card {
    background: linear-gradient(135deg, 
        rgba(20, 0, 0, 0.95) 0%, 
        rgba(40, 0, 10, 0.95) 50%, 
        rgba(20, 0, 0, 0.95) 100%);
    border: 3px solid #8B0000;
    box-shadow: 
        0 0 80px rgba(139, 0, 0, 0.8),
        0 0 120px rgba(139, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.top10-item.special-rose .top10-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid;
    border-image: linear-gradient(
        45deg,
        #8B0000 0%,
        #DC143C 50%,
        #8B0000 100%
    ) 1;
    border-radius: 20px;
    pointer-events: none;
    animation: borderPulse 3s ease-in-out infinite;
    z-index: 1;
}

.top10-item.special-rose .top10-card::after {
    content: '🌹';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 2rem;
    z-index: 2;
    animation: roseFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.8));
}

@keyframes roseFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.top10-item.special-rose .top10-image {
    border: 3px solid #8B0000;
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.6);
}

.top10-item.special-rose .top10-title {
    background: linear-gradient(135deg, #DC143C, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.top10-item.special-rose .top10-genre {
    color: #DC143C;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.8);
}

/* Detective Romance في Top 10 */
.top10-item.special-detective {
    position: relative;
}

.top10-item.special-detective .top10-card {
    background: linear-gradient(135deg, 
        rgba(13, 27, 42, 0.95) 0%, 
        rgba(27, 38, 59, 0.95) 50%, 
        rgba(13, 27, 42, 0.95) 100%);
    border: 3px solid #2E86AB;
    box-shadow: 
        0 0 80px rgba(46, 134, 171, 0.6),
        0 0 120px rgba(46, 134, 171, 0.4);
    position: relative;
    overflow: hidden;
}

.top10-item.special-detective .top10-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid;
    border-image: linear-gradient(
        45deg,
        #2E86AB 0%,
        #FFD60A 50%,
        #2E86AB 100%
    ) 1;
    border-radius: 20px;
    pointer-events: none;
    animation: borderPulseDetective 3s ease-in-out infinite;
    z-index: 1;
}

.top10-item.special-detective .top10-card::after {
    content: '🔍';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 2rem;
    z-index: 2;
    animation: detectiveFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(46, 134, 171, 0.8));
}

@keyframes detectiveFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(-5deg); }
}

.top10-item.special-detective .top10-image {
    border: 3px solid #2E86AB;
    box-shadow: 0 0 40px rgba(46, 134, 171, 0.6);
}

.top10-item.special-detective .top10-title {
    background: linear-gradient(135deg, #2E86AB, #FFD60A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.top10-item.special-detective .top10-genre {
    color: #FFD60A;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 214, 10, 0.8);
}

/* Rose Mansion في Grid */
.manhwa-card.special-rose {
    background: linear-gradient(135deg, 
        rgba(20, 0, 0, 0.9) 0%, 
        rgba(40, 0, 10, 0.9) 50%, 
        rgba(20, 0, 0, 0.9) 100%);
    border: 3px solid #8B0000;
    box-shadow: 
        0 0 60px rgba(139, 0, 0, 0.7),
        0 0 100px rgba(139, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.manhwa-card.special-rose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid;
    border-image: linear-gradient(
        45deg,
        #8B0000 0%,
        #DC143C 50%,
        #8B0000 100%
    ) 1;
    border-radius: 25px;
    pointer-events: none;
    animation: borderPulse 3s ease-in-out infinite;
    z-index: 1;
}

.manhwa-card.special-rose::after {
    content: '🌹';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2.5rem;
    z-index: 10;
    animation: roseFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(220, 20, 60, 0.9));
}

.manhwa-card.special-rose .manhwa-image {
    border-bottom: 3px solid #8B0000;
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.6);
}

.manhwa-card.special-rose .manhwa-info {
    position: relative;
    z-index: 2;
}

.manhwa-card.special-rose .manhwa-title {
    background: linear-gradient(135deg, #DC143C, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.manhwa-card.special-rose .manhwa-genre {
    color: #DC143C;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.8);
}

.manhwa-card.special-rose .manhwa-status {
    background: linear-gradient(135deg, #8B0000, #DC143C);
    border: 2px solid #DC143C;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.6);
}

.manhwa-card.special-rose .read-btn {
    background: linear-gradient(135deg, #8B0000, #DC143C, #8B0000);
    border: 2px solid #DC143C;
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.6);
}

/* Detective Romance في Grid */
.manhwa-card.special-detective {
    background: linear-gradient(135deg, 
        rgba(13, 27, 42, 0.9) 0%, 
        rgba(27, 38, 59, 0.9) 50%, 
        rgba(13, 27, 42, 0.9) 100%);
    border: 3px solid #2E86AB;
    box-shadow: 
        0 0 60px rgba(46, 134, 171, 0.6),
        0 0 100px rgba(46, 134, 171, 0.4);
    position: relative;
    overflow: hidden;
}

.manhwa-card.special-detective::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid;
    border-image: linear-gradient(
        45deg,
        #2E86AB 0%,
        #FFD60A 50%,
        #2E86AB 100%
    ) 1;
    border-radius: 25px;
    pointer-events: none;
    animation: borderPulseDetective 3s ease-in-out infinite;
    z-index: 1;
}

.manhwa-card.special-detective::after {
    content: '🔍';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2.5rem;
    z-index: 10;
    animation: detectiveFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(46, 134, 171, 0.9));
}

.manhwa-card.special-detective .manhwa-image {
    border-bottom: 3px solid #2E86AB;
    box-shadow: 0 0 40px rgba(46, 134, 171, 0.6);
}

.manhwa-card.special-detective .manhwa-info {
    position: relative;
    z-index: 2;
}

.manhwa-card.special-detective .manhwa-title {
    background: linear-gradient(135deg, #2E86AB, #FFD60A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.manhwa-card.special-detective .manhwa-genre {
    color: #FFD60A;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 214, 10, 0.8);
}

.manhwa-card.special-detective .manhwa-status {
    background: linear-gradient(135deg, #2E86AB, #FFD60A);
    border: 2px solid #FFD60A;
    box-shadow: 0 0 20px rgba(46, 134, 171, 0.6);
    color: #0d1b2a;
}

.manhwa-card.special-detective .read-btn {
    background: linear-gradient(135deg, #2E86AB, #FFD60A, #2E86AB);
    border: 2px solid #FFD60A;
    box-shadow: 0 0 30px rgba(46, 134, 171, 0.6);
    color: #0d1b2a !important;
}

/* ====== نهاية التصاميم top10-numberالخاصة ====== */