/*
Theme Name: Yassine Talgouz Premium Portfolio Theme
Theme URI: https://yassine.dev
Author: Yassine Talgouz
Author URI: https://yassine.dev
Description: High-performance, SEO-optimized, bilinguel (FR/EN) premium portfolio theme featuring Glassmorphism, Light/Dark Mode, and Dynamic CPT Portfolio. Engineered for fast PageSpeed score.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yassine-theme
Tags: custom-menu, featured-images, custom-header, theme-options, translation-ready, portfolio

------------------------------------------------------------------
THEME STYLES (DO NOT REMOVE THE HEADER COMMENT ABOVE)
------------------------------------------------------------------
*/

:root {
    --bg-color: #0A0F1D;
    --bg-card: rgba(18, 24, 43, 0.6);
    --text-primary: #E0E0E0;
    --text-secondary: #8B949E;
    --accent-neon: #00F0FF;
    --accent-purple: #8A2BE2;
    --gradient-primary: linear-gradient(135deg, var(--accent-neon), var(--accent-purple));
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --input-bg: rgba(0, 0, 0, 0.2);
}

body.light-theme {
    --bg-color: #F3F4F6;
    --bg-card: rgba(255, 255, 255, 0.7);
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --glass-border: rgba(0, 0, 0, 0.08);
    --input-bg: rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
}

.neon-text {
    color: var(--accent-neon);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--accent-neon);
    color: var(--accent-neon);
}

.btn-glow {
    position: relative;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}
.btn-glow:hover::after {
    opacity: 1;
}

/* Glassmorphism */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 29, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}
.nav-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Rend le logo blanc pur pour être parfaitement visible en Dark Mode */
    transition: var(--transition);
}
.nav-logo:hover {
    transform: scale(1.05);
}
.footer-logo {
    height: 85px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Rend le logo blanc pur pour être parfaitement visible en Dark Mode */
    margin-bottom: 15px;
    transition: var(--transition);
}
.footer-logo:hover {
    transform: scale(1.05);
}

body.light-theme .nav-logo, body.light-theme .footer-logo {
    filter: none !important; /* Affiche le logo original sombre sur fond clair */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-primary);
}

.nav-links a:hover {
    color: var(--accent-neon);
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-neon);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Hero Section */
.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(10,15,29,0) 70%);
    top: -100px;
    right: -100px;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    z-index: 1;
}

.hero-content {
    flex: 1.2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

/* Code Card */
.tech-card {
    width: 100%;
    max-width: 450px;
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.tech-card-header {
    background: rgba(22, 27, 34, 0.8);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}
.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.tab-title {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-family: monospace;
    margin-left: auto;
}

.tech-card-body {
    padding: 25px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

pre {
    margin: 0;
}

.code-comment { color: #6A737D; }
.code-keyword { color: #FF7B72; }
.code-var { color: #79C0FF; }
.code-string { color: #A5D6FF; }
.code-func { color: #D2A8FF; }

/* Dynamic Floating Icons */
.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.icon-wp { top: -20px; right: 20px; color: #21759b; animation-delay: 0s; }
.icon-seo { bottom: -20px; left: 20px; color: var(--accent-neon); animation-delay: 2s; }

/* Trusted By / Brands Section */
.trusted-by {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(18, 24, 43, 0.2);
    overflow: hidden;
}

.trusted-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    width: max-content;
    gap: 60px;
    animation: scroll 30s linear infinite;
    align-items: center;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-item {
    width: 150px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 12px;
    transition: var(--transition);
}

.brand-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-neon);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(2);
    mix-blend-mode: screen;
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0) brightness(1.2);
}

.brand-item img.white-bg {
    mix-blend-mode: normal;
    background-color: transparent;
    filter: brightness(1) invert(0);
}

.brand-item img.scale-up {
    transform: scale(1.8);
}

.brand-item:hover img.scale-up {
    transform: scale(1.9);
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.about-image {
    flex: 0.8;
    position: relative;
    display: flex;
    justify-content: center;
}

.profile-card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(10,15,29,0) 70%);
    z-index: 1;
}

.profile-frame {
    width: 320px;
    height: 380px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 15px;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: var(--transition);
    overflow: hidden;
}

.profile-frame:hover {
    border-color: var(--accent-neon);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.1);
}
.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: var(--transition);
}
.profile-frame:hover .profile-img {
    transform: scale(1.05);
}

.profile-img-placeholder {
    width: 100%;
    height: 100%;
    background: #111827;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    gap: 15px;
}

.profile-img-placeholder i {
    color: var(--accent-neon);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.about-content {
    flex: 1.2;
}

.about-content h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.about-tagline {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 600;
    border-left: 3px solid var(--accent-purple);
    padding-left: 15px;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.about-status {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.status-item i {
    color: var(--accent-neon);
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Expertise / Service Cards */
.service-card {
    text-align: left;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-neon);
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Portfolio / Project Cards */
.project-card {
    padding: 0;
    overflow: hidden;
}

.project-img-placeholder {
    height: 250px;
    background: #111827;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.project-info {
    padding: 30px;
}

.project-tag {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent-neon);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.project-link {
    color: var(--accent-neon);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-link:hover {
    gap: 12px;
}

/* Contact / CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-neon);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-neon);
}

.footer-copy {
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 20px;
}

/* Blog Section */
.blog-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.blog-img-placeholder {
    height: 180px;
    background: #111827;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}
.blog-card:hover .blog-img-placeholder {
    background: rgba(138, 43, 226, 0.1);
    color: var(--accent-neon);
}
.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-category {
    font-size: 0.8rem;
    color: var(--accent-neon);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}
.blog-content h3 a:hover {
    color: var(--accent-neon);
}
.blog-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}
.blog-link {
    color: var(--accent-neon);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}
.blog-link:hover {
    gap: 12px;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switch {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    padding: 6px 12px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.85rem;
    transition: var(--transition);
}
.lang-switch:hover {
    color: var(--accent-neon);
    border-color: var(--accent-neon);
}

.theme-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}
.theme-btn:hover {
    color: var(--accent-neon);
    border-color: var(--accent-neon);
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}
.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 240, 255, 0.4);
}

body.light-theme .brand-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}
body.light-theme .brand-item img {
    filter: brightness(0) opacity(0.6) !important;
}
body.light-theme .brand-item:hover img {
    filter: brightness(0) opacity(1) !important;
}
body.light-theme .brand-item img.white-bg {
    filter: opacity(0.6) !important;
    mix-blend-mode: normal !important;
}
body.light-theme .brand-item:hover img.white-bg {
    filter: opacity(1) !important;
}
body.light-theme .tech-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}
body.light-theme .code-comment { color: #6a737d; }
body.light-theme .code-keyword { color: #d73a49; }
body.light-theme .code-var { color: #005cc5; }
body.light-theme .code-string { color: #032f62; }
body.light-theme .code-func { color: #6f42c1; }

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-desc {
        margin: 0 auto 40px;
    }
    .hero-cta {
        justify-content: center;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .about-tagline {
        border-left: none;
        border-bottom: 2px solid var(--accent-purple);
        padding-left: 0;
        padding-bottom: 15px;
    }
    .about-status {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Form Submission Alerts */
.alert-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.4s ease;
}
.alert-message.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}
.alert-message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}
body.light-theme .alert-message.success {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: #065f46;
}
body.light-theme .alert-message.error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #991b1b;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Entry Content (Single Post & Page styling) */
.entry-content {
    text-align: justify;
    text-justify: inter-word;
}

.entry-content p {
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.entry-content h2 { font-size: 2rem; border-left: 4px solid var(--accent-neon); padding-left: 15px; }
.entry-content h3 { font-size: 1.6rem; }
.entry-content h4 { font-size: 1.3rem; }

.entry-content ul,
.entry-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.entry-content li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.entry-content ul li {
    list-style-type: square;
}

/* Glassmorphism Table Styling inside Articles */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.light-theme .entry-content table {
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.entry-content th {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-neon);
    padding: 18px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--glass-border);
    text-align: left;
}

body.light-theme .entry-content th {
    background: rgba(0, 240, 255, 0.05);
    color: #0d9488;
}

.entry-content td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

body.light-theme .entry-content td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.entry-content tr:last-child td {
    border-bottom: none;
}

.entry-content tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

body.light-theme .entry-content tr:hover {
    background: rgba(0, 0, 0, 0.01);
}

/* Blockquotes */
.entry-content blockquote {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid var(--accent-purple);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

body.light-theme .entry-content blockquote {
    background: rgba(0, 0, 0, 0.02);
}

.entry-content blockquote p {
    margin-bottom: 0;
    color: var(--text-primary);
}

/* Images & Media inside Articles */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.entry-content hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
    margin: 40px 0;
}
