/* Corner Icons Container */
.corner-icons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Icon Buttons */
.icon-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Darker Background as requested */
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    /* White icons for contrast */
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.icon-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    opacity: 0.9;
}

/* Hover Effects */
.icon-btn:hover {
    background: rgba(0, 0, 0, 1);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.icon-btn:hover svg {
    opacity: 1;
}

/* Specific Colors on Hover if needed */
.github-btn:hover {
    color: #fff;
}

.video-btn:hover {
    color: #ff4444;
}


/* Dark Mode / Light Mode Awareness */
/* If the background is dark (intro), icons should be white. 
   If background is light, icons should be dark. 
   We can use mix-blend-mode or just a safe default (Dark Grey with White BG blur).
*/

/* Remove the old override */
/* .icon-btn { color: #333; background: rgba(255, 255, 255, 0.6); } */


/* VIDEO MODAL */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal-overlay.active .video-modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.modal-close-btn:hover {
    opacity: 1;
}