/* ===================================
   ORACNOOS - ARTICLE PAGE (WORLD-CLASS)
   Optimized reading experience, modern typography
   Inspired by: Medium, The Verge, Wired
   =================================== */

/* ===================================
   Reading Progress Bar
   =================================== */

.reading-progress-bar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #00e5ff, #7c4dff);
    z-index: 9997;
    transition: width 0.2s ease;
}

/* ===================================
   Article Container
   =================================== */

.article-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.article-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ===================================
   Breadcrumb
   =================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #00e5ff;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
    color: rgba(255, 255, 255, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===================================
   Article Header
   =================================== */

.article-header {
    margin-bottom: 3rem;
    padding: 0;
    text-align: center;
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.75rem;
    background: rgba(0, 229, 255, 0.15);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #00e5ff;
}

.article-category i {
    font-size: 1.95rem;
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.6));
}

.article-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1.5rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    font-size: 0.9rem;
}

/* ===================================
   Social Share Buttons
   =================================== */

.social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.share-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: #fff;
}

.share-btn.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: #fff;
}

.share-btn.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.share-btn.copy:hover {
    background: #00e5ff;
    border-color: #00e5ff;
    color: #0a0e27;
}

/* ===================================
   Featured Image
   =================================== */

.article-featured-image {
    margin: 3rem 0;
    border-radius: 16px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-featured-image figcaption {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    text-align: center;
}

/* ===================================
   Article Body - Typography
   =================================== */

.article-body {
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin: 3rem 0;
}

.article-body > * {
    margin-bottom: 1.5rem;
}

/* Gallery Images with Figcaption (Semantic Markup) */
.article-body figure.content-gallery-image {
    margin: 2.5rem 0;
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.article-body figure.content-gallery-image:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.15);
}

.article-body figure.content-gallery-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body figure.content-gallery-image figcaption {
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.article-body > *:last-child {
    margin-bottom: 0;
}

/* Headings */
.article-body h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 3rem 0 1.5rem;
    color: #fff;
    scroll-margin-top: 100px;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 2.5rem 0 1.25rem;
    color: #fff;
    scroll-margin-top: 100px;
}

.article-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 2rem 0 1rem;
    color: rgba(255, 255, 255, 0.95);
    scroll-margin-top: 100px;
}

/* Paragraphs */
.article-body p {
    margin-bottom: 1.5rem;
}

.article-body p:last-child {
    margin-bottom: 0;
}

/* Links */
.article-body a {
    color: #00e5ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    transition: all 0.2s ease;
}

.article-body a:hover {
    border-bottom-color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

/* Internal Links (Otomatik eklenen iç linkler) */
.article-body a.internal-link {
    color: #7c4dff;
    border-bottom-color: rgba(124, 77, 255, 0.4);
    font-weight: 500;
    position: relative;
}

.article-body a.internal-link:hover {
    color: #9c7dff;
    border-bottom-color: #7c4dff;
    text-shadow: 0 0 8px rgba(124, 77, 255, 0.4);
}

.article-body a.internal-link::after {
    content: '↗';
    font-size: 0.75em;
    margin-left: 2px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.article-body a.internal-link:hover::after {
    opacity: 1;
}

/* Lists */
.article-body ul,
.article-body ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

.article-body li:last-child {
    margin-bottom: 0;
}

/* Blockquotes */
.article-body blockquote {
    position: relative;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: rgba(0, 229, 255, 0.05);
    border-left: 4px solid #00e5ff;
    border-radius: 0 8px 8px 0;
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.article-body blockquote p {
    margin-bottom: 0.75rem;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

/* Code Blocks */
.article-body pre {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-body code {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9em;
}

.article-body :not(pre) > code {
    padding: 0.2em 0.4em;
    background: rgba(0, 229, 255, 0.15);
    border-radius: 4px;
    color: #00e5ff;
}

/* Images */
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

/* Tables */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.article-body th,
.article-body td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.article-body th {
    background: rgba(0, 229, 255, 0.1);
    font-weight: 600;
    color: #fff;
}

.article-body tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Horizontal Rule */
.article-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
    margin: 3rem 0;
}

/* ===================================
   Article Footer
   =================================== */

.article-footer {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tags */
.article-tags {
    margin-bottom: 2rem;
}

.article-tags h3 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-badge {
    padding: 0.5rem 1rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 50px;
    color: #00e5ff;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-badge:hover {
    background: rgba(0, 229, 255, 0.2);
    border-color: #00e5ff;
    transform: translateY(-2px);
}

/* Source */
.article-source {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 0.95rem;
}

.article-source a {
    color: #00e5ff;
    text-decoration: none;
}

.article-source a:hover {
    text-decoration: underline;
}

/* Updated */
.article-updated {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ===================================
   Author Card
   =================================== */

.author-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin: 3rem 0;
}

/* ===================================
   Related Articles
   =================================== */

.related-articles {
    margin: 4rem 0;
}

.related-articles h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 2rem;
    color: #fff;
}

/* ===================================
   Comments Section
   =================================== */

.comments-section {
    margin: 4rem 0;
}

.comments-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 2rem;
    color: #fff;
}

/* ===================================
   Ad Containers (Hidden by default)
   =================================== */

.ad-container {
    margin: 3rem 0;
    text-align: center;
}

.ad-placeholder {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet */
@media (max-width: 1023px) {
    .article-title {
        font-size: 2.25rem;
    }
    
    .article-body {
        font-size: 1.05rem;
    }
    
    .article-body h2 {
        font-size: 1.75rem;
    }
    
    .article-body h3 {
        font-size: 1.35rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .article-content {
        padding: 1rem 1rem 3rem;
    }
    
    .reading-progress-bar {
        top: 60px;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .article-header {
        margin-bottom: 2rem;
    }
    
    .article-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .article-meta {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .social-share {
        gap: 0.5rem;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .article-featured-image {
        margin: 2rem 0;
        border-radius: 12px;
    }
    
    .article-body {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
        margin: 1.75rem 0 0.75rem;
    }
    
    .article-body h4 {
        font-size: 1.1rem;
    }
    
    .article-body ul,
    .article-body ol {
        padding-left: 1.5rem;
    }
    
    .article-body blockquote {
        padding: 1rem 1.25rem;
        font-size: 1.05rem;
    }
    
    .article-body pre {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .article-body table {
        font-size: 0.85rem;
    }
    
    .article-body th,
    .article-body td {
        padding: 0.5rem 0.75rem;
    }
    
    .article-footer {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .author-card {
        padding: 1.5rem;
    }
    
    .related-articles h2,
    .comments-section h2 {
        font-size: 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-body {
        font-size: 0.95rem;
    }
}

/* ===================================
   Accessibility
   =================================== */

@media (prefers-reduced-motion: reduce) {
    .reading-progress-bar,
    .share-btn,
    .tag-badge,
    .article-body a {
        transition: none;
    }
}

/* Focus States */
.breadcrumb a:focus-visible,
.share-btn:focus-visible,
.tag-badge:focus-visible,
.article-body a:focus-visible {
    outline: 2px solid #00e5ff;
    outline-offset: 2px;
}

/* ===================================
   Light Mode Overrides
   =================================== */

body.light-mode .article-content {
    background: transparent;
}

body.light-mode .breadcrumb,
body.light-mode .breadcrumb a {
    color: #65676b;
}

body.light-mode .breadcrumb a:hover {
    color: #0085ff;
}

body.light-mode .breadcrumb .current {
    color: #1c1e21;
}

body.light-mode .article-category {
    background: rgba(0, 133, 255, 0.12);
    border-color: rgba(0, 133, 255, 0.4);
    color: #0085ff;
}

body.light-mode .article-title {
    color: #050505;
}

body.light-mode .article-meta {
    color: #8a8d91;
}

body.light-mode .share-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: #2d3748;
}

body.light-mode .article-featured-image figcaption {
    background: #f8f9fa;
    border-top-color: rgba(0, 0, 0, 0.1);
    color: #65676b;
}

body.light-mode .article-body {
    color: #1c1e21;
}

body.light-mode .article-body figure.content-gallery-image {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .article-body figure.content-gallery-image figcaption {
    color: #4a5568;
    background: rgba(0, 0, 0, 0.03);
}

body.light-mode .article-body h2,
body.light-mode .article-body h3,
body.light-mode .article-body h4 {
    color: #050505;
}

body.light-mode .article-body a {
    color: #0085ff;
    border-bottom-color: rgba(0, 133, 255, 0.3);
}

body.light-mode .article-body a:hover {
    border-bottom-color: #0085ff;
    text-shadow: none;
}

/* Internal Links - Light Mode */
body.light-mode .article-body a.internal-link {
    color: #6c5ce7;
    border-bottom-color: rgba(108, 92, 231, 0.4);
}

body.light-mode .article-body a.internal-link:hover {
    color: #5f4fd6;
    border-bottom-color: #6c5ce7;
    text-shadow: none;
}

body.light-mode .article-body blockquote {
    background: rgba(0, 133, 255, 0.06);
    border-left-color: #0085ff;
    color: #1c1e21;
}

body.light-mode .article-body pre {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .article-body :not(pre) > code {
    background: rgba(0, 133, 255, 0.12);
    color: #0085ff;
}

body.light-mode .article-body th {
    background: rgba(0, 133, 255, 0.08);
    color: #050505;
}

body.light-mode .article-body td {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .article-body tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

body.light-mode .article-footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .article-tags h3 {
    color: #1c1e21;
}

body.light-mode .tag-badge {
    background: rgba(0, 133, 255, 0.12);
    border-color: rgba(0, 133, 255, 0.4);
    color: #0085ff;
}

body.light-mode .tag-badge:hover {
    background: rgba(0, 133, 255, 0.2);
}

body.light-mode .article-source {
    background: #f8f9fa;
}

body.light-mode .article-source a {
    color: #0085ff;
}

body.light-mode .article-updated {
    color: #8a8d91;
}

body.light-mode .author-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .related-articles h2,
body.light-mode .comments-section h2 {
    color: #050505;
}

body.light-mode .ad-placeholder {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.1);
    color: #8a8d91;
}

/* ===================================
   Print Styles
   =================================== */

@media print {
    .reading-progress-bar,
    .social-share,
    .ad-container,
    .comments-section {
        display: none !important;
    }
    
    .article-body {
        color: #000;
    }
    
    .article-body a {
        color: #000;
        text-decoration: underline;
    }
}

/* ============================================
   CONTENT GALLERY IMAGES
   ============================================ */

.content-gallery-image {
    margin: 40px 0;
    text-align: center;
}

.content-gallery-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.content-gallery-image img:hover {
    transform: scale(1.02);
}

/* Light mode */
[data-theme="light"] .content-gallery-image img {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ===================================
   ARTICLE SIDEBAR (Category Style)
   =================================== */

.article-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.article-main-content {
    min-width: 0;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Sidebar Widgets (Newsletter, Tags, Trending) */
.sidebar-widget {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.newsletter-widget-content {
    margin-top: 1rem;
}

.newsletter-widget-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.newsletter-widget-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-widget-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
}

.newsletter-widget-btn i {
    font-size: 1rem;
}

/* Responsive: Article Sidebar */
@media (max-width: 1024px) {
    .article-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    .article-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar-ad-widget {
        min-height: 250px;
    }
    
    .sidebar-ad-zone {
        min-height: 250px;
    }
    
    /* Newsletter button mobile optimization */
    .newsletter-widget-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .newsletter-widget-btn i {
        font-size: 0.9rem;
    }
    
    .newsletter-widget-content p {
        font-size: 0.9rem;
    }
}

/* ===================================
   AI SUMMARY BOX (Google Discover Boost!)
   =================================== */

.ai-summary-box {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(0, 229, 255, 0.08), 
        rgba(124, 77, 255, 0.08));
    border: 2px solid rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.15);
    transition: all 0.3s ease;
}

.ai-summary-box:hover {
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.25);
    transform: translateY(-2px);
}

.ai-summary-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.ai-icon {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.ai-summary-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    flex: 1;
}

.ai-badge {
    padding: 0.35rem 0.75rem;
    background: rgba(0, 229, 255, 0.2);
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-summary-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.ai-summary-points li {
    padding: 1rem 0;
    padding-left: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ai-summary-points li:last-child {
    border-bottom: none;
}

.ai-summary-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    font-size: 0.85rem;
}

.ai-summary-points li:hover {
    padding-left: 2.25rem;
    color: rgba(255, 255, 255, 0.95);
}

.ai-summary-cta {
    text-align: center;
}

.scroll-to-content-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

.scroll-to-content-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.4);
}

.scroll-to-content-btn:active {
    transform: translateY(0);
}

/* Mobile: AI Summary */
@media (max-width: 768px) {
    .ai-summary-box {
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .ai-summary-header h3 {
        font-size: 1.1rem;
    }
    
    .ai-summary-points li {
        font-size: 0.95rem;
        padding-left: 1.75rem;
    }
    
    .scroll-to-content-btn {
        font-size: 0.9rem;
    }
}

/* Light Mode: AI Summary */
body.light-mode .ai-summary-box {
    background: linear-gradient(135deg, 
        rgba(0, 229, 255, 0.06), 
        rgba(124, 77, 255, 0.06));
    border-color: rgba(0, 229, 255, 0.4);
}

body.light-mode .ai-summary-points li {
    color: #2d3748;
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .ai-badge {
    background: rgba(0, 229, 255, 0.15);
    color: #0085ff;
}

/* ===================================
   REVIEW RATING BOX (Editor Rating)
   =================================== */

.review-rating-box {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.08), 
        rgba(255, 152, 0, 0.08));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.15);
    transition: all 0.3s ease;
}

.review-rating-box:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.25);
    transform: translateY(-2px);
}

.rating-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.rating-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-title i {
    color: #ffd700;
}

.rating-score {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.rating-value {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    color: #ffd700;
    line-height: 1;
}

.rating-max {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.rating-stars-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.rating-stars-display i {
    font-size: 1.5rem;
    color: #ffd700;
}

.rating-stars-display .star-filled {
    color: #ffd700;
}

.rating-stars-display .star-half {
    color: #ffd700;
}

.rating-stars-display .star-empty {
    color: rgba(255, 255, 255, 0.2);
}

.star-rating-text {
    margin-left: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.review-summary-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 8px;
    border-left: 3px solid #ffd700;
}

.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.review-pros,
.review-cons {
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.review-pros {
    border-left: 3px solid #00e676;
}

.review-cons {
    border-left: 3px solid #f44336;
}

.review-pros h4,
.review-cons h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-pros h4 {
    color: #00e676;
}

.review-cons h4 {
    color: #f44336;
}

.review-pros ul,
.review-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.review-pros li,
.review-cons li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.review-pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00e676;
    font-weight: bold;
    font-size: 1.1rem;
}

.review-cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #f44336;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Responsive: Review Rating Box */
@media (max-width: 768px) {
    .review-rating-box {
        padding: 1.5rem;
    }
    
    .rating-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .rating-value {
        font-size: 2rem;
    }
    
    .review-pros-cons {
        grid-template-columns: 1fr;
    }
    
    .rating-stars-display i {
        font-size: 1.25rem;
    }
}

/* Light Mode: Review Rating Box */
body.light-mode .review-rating-box {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.06), 
        rgba(255, 152, 0, 0.06));
    border-color: rgba(255, 215, 0, 0.4);
}

body.light-mode .rating-title {
    color: #050505;
}

body.light-mode .rating-max {
    color: #4a5568;
}

body.light-mode .star-rating-text {
    color: #2d3748;
}

body.light-mode .review-summary-text {
    background: rgba(255, 215, 0, 0.08);
    color: #1c1e21;
    border-left-color: #ffd700;
}

body.light-mode .review-pros,
body.light-mode .review-cons {
    background: #f8f9fa;
}

body.light-mode .review-pros li,
body.light-mode .review-cons li {
    color: #2d3748;
}

/* ===================================
   VIDEO EMBED (Hybrid System)
   =================================== */

.article-video {
    margin: 2.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.3);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Local Video Player Styling */
.local-video-player {
    width: 100%;
    height: 100%;
    background: #000;
    outline: none;
}

.local-video-player::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.7);
}

.local-video-player::-webkit-media-controls-play-button {
    background: var(--primary-color);
    border-radius: 50%;
}

/* Video Placeholder (when video file is missing) */
.video-placeholder {
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.video-placeholder-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 2rem;
}

.video-placeholder-content i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
    display: block;
}

.video-placeholder-content p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

.video-placeholder-content small {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-top: 0.5rem;
}

/* Light Mode: Video Placeholder */
body.light-mode .video-placeholder {
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .video-placeholder-content {
    color: #4a5568;
}

body.light-mode .video-placeholder-content i {
    color: rgba(0, 0, 0, 0.2);
}

body.light-mode .video-placeholder-content p {
    color: #2d3748;
}

body.light-mode .video-placeholder-content small {
    color: #718096;
}

.video-caption {
    margin: 1rem 0 0;
    padding: 0.75rem 1rem;
    background: rgba(0, 229, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-caption i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Responsive Video */
@media (max-width: 768px) {
    .article-video {
        margin: 2rem 0;
        border-radius: 12px;
    }
    
    .video-caption {
        font-size: 0.9rem;
        padding: 0.625rem 0.875rem;
    }
}

/* Light Mode: Video */
body.light-mode .article-video {
    background: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

body.light-mode .video-caption {
    background: rgba(0, 133, 255, 0.08);
    border-left-color: #0085ff;
    color: #2d3748;
}

body.light-mode .video-caption i {
    color: #0085ff;
}
