/* ============================================
   Portfolio Stylesheet - Dienes Stein
   Design System & Global Styles
   ============================================ */

/* Design Variables */
:root {
    --color-bg: #0f1724;
    --color-card: #121b2f;
    --color-muted: #a3afc1;
    --color-accent: #7dd3fc;
    --color-primary-text: #e6eef6;
    --color-secondary-text: #a3afc1;
    --radius-lg: 18px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 15px 50px rgba(0, 0, 0, 0.5);
    --max-width: 1200px;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ============================================
   Reset & Global Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, #0a1223 0%, #0f1724 100%);
    color: var(--color-primary-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color-scheme: dark;
}

/* Links */
a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #a7e4fd;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Headings */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-primary-text);
}

h2 {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(125, 211, 252, 0.2);
    padding-bottom: 10px;
}

h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--color-accent);
    font-size: 1.2rem;
}

/* Card Component */
.card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-card);
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

/* Button Component */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: #a7e4fd;
    color: var(--color-bg);
    border-color: #a7e4fd;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-secondary:hover {
    background-color: rgba(125, 211, 252, 0.1);
    color: #a7e4fd;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    background-color: rgba(18, 27, 47, 0.95);
    backdrop-filter: blur(5px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

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

.nav-link {
    color: var(--color-primary-text);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============================================
   Main Content
   ============================================ */

main {
    flex-grow: 1;
    padding: 60px 0 40px;
}

main > .card:first-child,
main > section:first-child {
    margin-top: 20px;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 200px;
    padding: 60px 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(125, 211, 252, 0.1);
}

.hero-content {
    flex: 1;
    min-width: 0;
    max-width: 600px;
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-role {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 20px;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-family: var(--font-body);
}

.hero-bio {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-bio strong {
    color: var(--color-accent);
}

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

.hero-image {
    flex: 0 0 auto;
    text-align: center;
}

.hero-image img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--color-accent);
    box-shadow: var(--shadow-card);
}

/* Typing Animation */
.cursor {
    animation: blink 1s infinite;
    color: var(--color-accent);
    font-weight: bold;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Tech Stack Section */
.tech-stack-section {
    text-align: center;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.tech-icons img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.tech-icons img:hover {
    transform: scale(1.15) rotate(5deg);
}

/* GitHub Stats Section */
.github-stats-section {
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.stats-grid img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Projects Page
   ============================================ */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-accent);
    color: var(--color-bg);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-accent);
}

.project-meta {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-tag {
    background: rgba(125, 211, 252, 0.1);
    color: var(--color-accent);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-excerpt {
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.project-actions .btn {
    flex: 1;
    text-align: center;
}

.featured-project {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.featured-project .project-image {
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.featured-project .project-content {
    padding: 0;
}

/* ============================================
   Publications Page
   ============================================ */

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.publication-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.publication-card h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-accent);
    flex-grow: 1;
}

.publication-meta {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 15px;
}

.publication-excerpt {
    margin-bottom: 20px;
    flex-grow: 1;
}

.publication-card .btn {
    align-self: flex-start;
}

/* ============================================
   About Page
   ============================================ */

.about-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-main {
    flex: 2;
}

.about-sidebar {
    flex: 1;
    position: sticky;
    top: 100px;
}

.about-sidebar .card {
    margin-bottom: 20px;
}

.about-sidebar ul {
    list-style: none;
    padding-left: 0;
}

.about-sidebar ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--color-secondary-text);
}

.about-sidebar ul li::before {
    content: "•";
    color: var(--color-accent);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.principles-list,
.experience-list,
.hobbies-list,
.skills-list,
.certifications-list,
.languages-list,
.stats-list,
.availability-list {
    margin-left: 20px;
    margin-top: 15px;
}

.about-main p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* ============================================
   Contact Page
   ============================================ */

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: var(--radius-sm);
    background-color: rgba(18, 27, 47, 0.5);
    color: var(--color-primary-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(18, 27, 47, 0.8);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    margin-top: 10px;
}

.form-note {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-top: 15px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-info img {
    width: 30px;
    height: 30px;
    filter: brightness(0) saturate(100%) invert(75%) sepia(50%) saturate(600%) hue-rotate(180deg) brightness(100%) contrast(100%);
}

.contact-info a {
    font-weight: 600;
}

.divider {
    border: none;
    border-top: 1px solid rgba(125, 211, 252, 0.1);
    margin: 20px 0;
}

.social-title {
    color: var(--color-accent);
    margin-top: 20px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(125, 211, 252, 0.1);
    padding: 20px 15px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--color-accent);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 100px;
}

.social-links a:hover {
    background: rgba(125, 211, 252, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-links img {
    width: 32px;
    height: 32px;
    filter: none;
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.1);
}

.contact-intro {
    margin-bottom: 25px;
    color: var(--color-secondary-text);
    line-height: 1.6;
}

.contact-highlight {
    background: rgba(125, 211, 252, 0.05);
    border-left: 4px solid var(--color-accent);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-top: 30px;
}

.contact-highlight h3 {
    margin-top: 0;
    color: var(--color-primary-text);
    font-size: 1.1rem;
}

.contact-highlight p {
    margin-bottom: 10px;
}

.response-time {
    font-size: 0.9rem;
    color: var(--color-muted);
    font-style: italic;
}

/* ============================================
   Article/Blog Styles
   ============================================ */

.article-header {
    text-align: center;
    padding: 40px 0 20px;
    border-bottom: 1px solid rgba(125, 211, 252, 0.1);
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.article-meta {
    color: var(--color-muted);
    font-size: 1rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.article-content h2 {
    margin-top: 40px;
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(125, 211, 252, 0.2);
    padding-bottom: 8px;
}

.article-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.article-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    background-color: rgba(125, 211, 252, 0.05);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
}

.api-image-container {
    text-align: center;
    margin: 30px 0;
}

.api-image-container img {
    max-width: 80%;
    border: 1px solid rgba(125, 211, 252, 0.3);
    display: block;
    margin: 0 auto;
}

.image-caption {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-top: 8px;
    font-style: italic;
}

.project-demo {
    background: rgba(125, 211, 252, 0.05);
    border-radius: var(--radius-md);
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(125, 211, 252, 0.1);
}

.project-demo h3 {
    color: var(--color-accent);
    margin-bottom: 20px;
    text-align: center;
}

.demo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.demo-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-accent);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.demo-links a:hover {
    transform: translateY(-2px);
    background: #0ea5e9;
}

.linkedin-cta {
    text-align: center;
    margin-top: 50px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.1), rgba(56, 189, 248, 0.1));
    border-radius: var(--radius-md);
    border: 1px solid rgba(125, 211, 252, 0.2);
}

.extension-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.extension-card {
    background: rgba(18, 27, 47, 0.5);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid rgba(125, 211, 252, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.extension-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.extension-card h3 {
    color: var(--color-accent);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.extension-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.extension-card .publisher {
    color: var(--color-muted);
    font-size: 0.85rem;
    margin-top: 10px;
}

.highlight {
    background: linear-gradient(120deg, rgba(125, 211, 252, 0.2) 0%, rgba(125, 211, 252, 0) 80%);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(125, 211, 252, 0.1);
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-top: auto;
}

/* ============================================
   Menu Responsivo
   ============================================ */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        order: 2;
    }

    .hero-image {
        max-width: 100%;
        margin-bottom: 0;
        order: 1;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-role {
        font-size: 1.3rem;
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image img {
        width: 220px;
        height: 220px;
    }

    .about-wrapper {
        flex-direction: column;
    }

    .about-sidebar {
        position: static;
        top: auto;
        width: 100%;
    }

    .about-sidebar .card {
        margin-bottom: 40px;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-project {
        grid-template-columns: 1fr;
    }
    
    .featured-project .project-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navbar {
        flex-direction: row;
        gap: 0;
    }

    /* === MENU HAMBURGER === */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: 0;
        width: 280px;
        max-width: 90vw;
        height: calc(100vh - 70px);
        background-color: var(--color-card);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: transform 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        gap: 0;
        z-index: 999;
        overflow-y: auto;
        transform: translateX(100%); /* Esconde completamente fora da tela */
    }
    
    .nav-menu.active {
        transform: translateX(0); /* Traz de volta para a tela */
    }
    
    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--color-primary-text);
        font-weight: 600;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(125, 211, 252, 0.1);
        color: var(--color-accent);
    }

    .nav-link::after {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    /* === FIM DA CORREÇÃO === */

    /* ... mantenha o resto do seu CSS igual ... */
    .card {
        padding: 20px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-role {
        font-size: 1.1rem;
    }

    .hero-image img {
        width: 200px;
        height: 200px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 10px;
    }
    
    .stats-grid img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 200px;
    }

    .projects-grid,
    .publications-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.5rem;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .social-links a {
        padding: 15px 10px;
        min-height: 90px;
    }
    
    .social-links img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    body.menu-open {
        overflow: hidden;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Previne scroll do body quando menu está aberto */
body.menu-open {
    overflow: hidden;
}

pre {
    background: rgba(18, 27, 47, 0.8);
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: var(--radius-sm);
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

code {
    background: rgba(125, 211, 252, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

pre code {
    background: none;
    padding: 0;
}

.article-content iframe {
    max-width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 30px auto;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
    width: 100%;
    height: 315px;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg);
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-container:hover .play-button {
    transform: scale(1);
}

.video-caption {
    text-align: center;
    margin-top: 15px;
    color: var(--color-muted);
    font-style: italic;
}

.youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-weight: 600;
    margin-top: 5px;
}

.youtube-link:hover {
    color: #a7e4fd;
}