/* SOMMAIRE FUTURISTE VAISSEAU SPATIAL */
.table-of-contents {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.table-of-contents::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    animation: scan 3s infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.table-of-contents::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.8), transparent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.toc-title {
    color: #a5b4fc;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toc-toggle-icon {
    font-size: 0.875rem;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
}

.toc-toggle-icon:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    transform: translateX(5px);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    position: relative;
    z-index: 1;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.table-of-contents.open .toc-list {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1rem;
}

.toc-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.toc-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.toc-list li:hover::before {
    color: #818cf8;
    transform: translateX(5px);
}

.toc-list li a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toc-list li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
    transition: width 0.3s ease;
    z-index: -1;
}

.toc-list li a:hover {
    color: #e0e7ff;
    transform: translateX(5px);
    background: rgba(99, 102, 241, 0.1);
    border-left: 2px solid #6366f1;
}

.toc-list li a:hover::before {
    width: 100%;
}

.toc-list li a::after {
    content: '→';
    position: absolute;
    right: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: #6366f1;
}

.toc-list li a:hover::after {
    opacity: 1;
    right: 0.5rem;
}

.table-of-contents .corner-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent);
    border-radius: 0 0 100% 0;
    pointer-events: none;
}

/* BLOCKQUOTE FUTURISTE VAISSEAU SPATIAL */
blockquote {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    border: none;
    border-left: 4px solid #6366f1;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    font-style: italic;
    color: #e0e7ff;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

blockquote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.5;
}

blockquote::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, transparent, #6366f1, #818cf8, #6366f1, transparent);
    animation: scanVertical 3s ease-in-out infinite;
    box-shadow: 0 0 10px #6366f1;
}

@keyframes scanVertical {
    0%, 100% {
        top: 0;
        height: 0;
    }
    50% {
        top: 0;
        height: 100%;
    }
}

blockquote .quote-corner-top,
blockquote .quote-corner-bottom {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
}

blockquote .quote-corner-top {
    top: 0;
    right: 0;
    border-top: 2px solid rgba(99, 102, 241, 0.5);
    border-right: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 0 12px 0 0;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

blockquote .quote-corner-bottom {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid rgba(99, 102, 241, 0.5);
    border-left: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 0 0 0 12px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

blockquote .quote-icon {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    color: rgba(99, 102, 241, 0.2);
    line-height: 1;
    font-family: Georgia, serif;
    pointer-events: none;
    z-index: 0;
}

blockquote p {
    margin: 0;
    padding: 0;
    font-size: 1.125rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-style: normal;
    color: #a5b4fc;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

blockquote cite::before {
    content: '— ';
    color: #6366f1;
}

blockquote:hover {
    border-left-color: #818cf8;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

blockquote:hover .quote-corner-top,
blockquote:hover .quote-corner-bottom {
    border-color: rgba(99, 102, 241, 0.8);
}

blockquote .pulse-dot {
    position: absolute;
    top: 1rem;
    left: -2px;
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 50%;
    box-shadow: 0 0 10px #6366f1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

article blockquote,
.entry-content blockquote,
.post-content blockquote {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    border: none;
    border-left: 4px solid #6366f1;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    font-style: italic;
    color: #e0e7ff;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}