/* ==========================================================================
   GLOBAL RESET & FRAMEFIX
   ========================================================================== */
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh; 
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* BACKGROUND VIDEO & OVERLAY */
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.5;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

/* ==========================================================================
   THE FIXED TOP BAR
   ========================================================================== */
.top-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px clamp(16px, 4vw, 60px);
    z-index: 9999 !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    filter: blur(0px) !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s ease, 
                filter 0.4s ease !important;
}

.top-bar.hidden {
    opacity: 0 !important;
    transform: translateY(-40px) !important;
    filter: blur(15px) !important;
    pointer-events: none !important;
}

/* SIGNATURE LOGO */
.signature-logo {
    font-family: 'Pinyon Script', cursive;
    font-size: 2.4rem;
    color: #F8D31C;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}

.signature-logo:hover {
    transform: scale(1.05);
}

/* NAV LINKS CONTAINER */
.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(20px, 4vw, 60px);
    white-space: nowrap;
}

.nav a {
    text-decoration: none;
    color: rgba(117, 117, 117, 0.8);
    font-size: 13px;
    letter-spacing: 3px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ffffff;
}

.nav a.active {
    color: #F8D31C;
}

/* DONATE BUTTON */
.donate-top {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    color: rgba(117,117,117,0.8);
    border: 1px solid rgba(117,117,117,0.5);
    border-radius: 30px;
    padding: 8px 14px;
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 13px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.donate-top.active {
    color: #F8D31C !important;
    border-color: #F8D31C !important;
}

.donate-top.active .heart {
    color: #ff2b2b !important;
}

.donate-top:hover {
    color: white;
    border-color: white;
}

.donate-top .heart {
    margin-right: 8px;
    color: #ff2b2b72;
    transition: color 0.3s ease;
}

.donate-top:hover .heart {
    color: #ff2b2b;
}

/* HERO GRID */
.hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.hero p {
    font-size: 1rem;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.8);
}

/* ==========================================================================
   ABOUT CONTENT AREA
   ========================================================================== */
.about-container {
    width: min(750px, 90vw);
    margin: 180px auto 80px auto;
}

.about-hero-image {
    width: min(500px, 90vw);
    margin: 40px auto 30px auto;
}

.about-hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.about-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 18px;
    text-align: justify;
    text-justify: inter-word;
}

.about-text a {
    color: #F8D31C;
    text-decoration: none;
    border-bottom: 1px solid rgba(248,211,28,0.4);
    transition: border-bottom 0.3s ease;
}

.about-text a:hover {
    border-bottom: 1px solid #F8D31C;
}

/* Persian name */
.fa-name {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    font-weight: 500;
    font-size: 1.05em;
}

.film-fa-title {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
    margin: 0 0 24px 0;
}

/* ==========================================================================
   PORTFOLIO SLIDESHOWS & FILMS CONFIGURATION
   ========================================================================== */
.portfolio-section {
    scroll-margin-top: 140px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-section.is-hidden {
    display: none !important;
}

.filter-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
    padding: 8px 16px;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.filter-btn:hover, .filter-btn.active {
    color: #F8D31C;
    border-bottom-color: #F8D31C;
}

/* PREMIUM DYNAMIC CONTAINED ART CAROUSEL SYSTEM */
.art-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 40px 0 60px 0;
    box-sizing: border-box;
}

.art-row-container {
    width: 100%;
    display: flex;
    gap: 30px;
    padding: 10px 0 25px 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
}

.art-row-container::-webkit-scrollbar {
    display: none !important;
}
.art-row-container {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* CAROUSEL NAVIGATION CONTROLS */
.art-carousel-arrow {
    position: absolute;
    top: 200px;
    transform: translateY(-50%);
    background: rgba(12, 12, 12, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.art-carousel-arrow:hover {
    color: #F8D31C;
    border-color: #F8D31C;
    background: rgba(0, 0, 0, 0.95);
    transform: translateY(-50%) scale(1.08);
}

.art-carousel-arrow.prev { left: -22px; }
.art-carousel-arrow.next { right: -22px; }
.art-carousel-arrow.hidden { display: none !important; }

/* ARTWORK DISPLAY CARDS */
.art-item-card {
    display: inline-block;
    flex: 0 0 auto;
    width: auto;
    cursor: pointer;
    text-align: left;
    vertical-align: top;
}

.art-frame-wrapper {
    height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.art-frame-wrapper img {
    height: 100%;
    width: auto;
    object-fit: contain;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.art-item-card:hover .art-frame-wrapper img {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 25px 45px rgba(248, 211, 28, 0.15);
}

.art-item-metadata {
    margin-top: 16px;
    font-family: 'Poppins', sans-serif;
    white-space: normal;
    max-width: 280px;
}

.art-meta-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 3px;
    transition: color 0.3s;
}

.art-item-card:hover .art-meta-title {
    color: #F8D31C;
}

.art-meta-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

.collection-prefix {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 6px;
    text-align: center;
}

/* ==========================================================================
   INLINE EXPANDABLE STATEMENT ENGINE
   ========================================================================== */
.manifesto-container {
    max-width: 700px;
    margin: 50px auto 60px auto;
    font-family: 'Poppins', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.85;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    text-align: justify;
}

.manifesto-paragraph {
    margin-bottom: 22px;
}

.manifesto-epigraph {
    font-family: 'Poppins', sans-serif !important;
}

.statement-full-content {
    max-height: 2500px; 
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.statement-full-content.hidden {
    max-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
    margin: 0;
}

.statement-toggle-btn {
    display: block;
    margin: 35px auto 0 auto;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 12px 35px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.statement-toggle-btn:hover {
    color: #000000;
    background: #F8D31C;
    border-color: #F8D31C;
    transform: scale(1.02);
}

/* IMDB-INSPIRED FILM LAYOUT */
.imdb-film-card {
    display: inline-block;
    flex: 0 0 auto;
    width: 240px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    vertical-align: top;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.imdb-film-card:hover {
    transform: translateY(-6px);
    border-color: #F8D31C;
}

.imdb-poster-wrapper {
    width: 100%;
    aspect-ratio: 2 / 3; 
    overflow: hidden;
    background: #111;
}

.imdb-poster-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.imdb-film-card:hover .imdb-poster-wrapper img {
    transform: scale(1.05);
}

.imdb-metadata-pane {
    padding: 16px;
    font-family: 'Poppins', sans-serif;
    white-space: normal;
}

.imdb-card-title {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0 0 6px 0;
    color: #ffffff;
    text-transform: uppercase;
    transition: color 0.3s;
}

.imdb-film-card:hover .imdb-card-title {
    color: #F8D31C;
}

.imdb-card-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* ==========================================================================
   CINEMATIC 3D SLIDER PERSPECTIVE STAGE
   ========================================================================== */
.slider-perspective-stage {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-3d-track {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1200px; 
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-3d-item {
    position: absolute;
    width: min(480px, 65vw);
    height: 340px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background-color: #0c0c0c;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.65s ease, 
                filter 0.65s ease;
}

.gallery-3d-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.position-active {
    transform: translate3d(0, 0, 100px);
    z-index: 10;
    opacity: 1;
    filter: brightness(1);
}

.position-prev {
    transform: translate3d(-30vw, 0, -80px) rotateY(25deg);
    z-index: 5;
    opacity: 0.6;
    filter: brightness(0.5);
}

.position-next {
    transform: translate3d(30vw, 0, -80px) rotateY(-25deg);
    z-index: 5;
    opacity: 0.6;
    filter: brightness(0.5);
}

.position-far-prev {
    transform: translate3d(-55vw, 0, -250px) rotateY(40deg);
    z-index: 2;
    opacity: 0.25;
    filter: brightness(0.25);
}

.position-far-next {
    transform: translate3d(55vw, 0, -250px) rotateY(-40deg);
    z-index: 2;
    opacity: 0.25;
    filter: brightness(0.25);
}

.position-hidden-left {
    transform: translate3d(-80vw, 0, -500px) rotateY(60deg);
    z-index: 1;
    opacity: 0;
}

.position-hidden-right {
    transform: translate3d(80vw, 0, -500px) rotateY(-60deg);
    z-index: 1;
    opacity: 0;
}

.position-active:hover {
    transform: translate3d(0, -8px, 150px);
}
.position-active:hover img {
    filter: brightness(0.8);
}

/* SLIDER CONTROLS NAVIGATION BAR */
.slider-navigation-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 20px;
    width: 100%;
}

.slider-nav-arrow {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.25);
    font-size: 32px;
    font-weight: 200;
    cursor: pointer;
    padding: 0 10px;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
}
.slider-nav-arrow:hover {
    color: #F8D31C;
    transform: scale(1.15);
}

.slider-dot-indicators {
    display: flex;
    gap: 12px;
    align-items: center;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.slider-dot.active {
    background-color: #F8D31C;
    transform: scale(1.3);
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* ==========================================================================
   IMMERSIVE VIEWPORT LIGHTBOX WITH INTEGRATED ZOOM TRACKING
   ========================================================================== */
.lightbox-overlay {
    display: none;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #080808; 
    z-index: 999999 !important; 
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 40px 20px; 
}

.lightbox-content {
    max-width: 85vw;
    max-height: 72vh;
    object-fit: contain; 
    user-select: none;
    -webkit-user-drag: none;
    cursor: crosshair;
    opacity: 0;
    transform: scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.lightbox-overlay.active .lightbox-content {
    opacity: 1;
    transform: scale(1);
}

/* Ensure Lightbox action buttons sit comfortably in the top-right viewport corner */
.lightbox-action-btn {
    position: fixed !important;
    top: 25px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    z-index: 1000000 !important;
    transition: all 0.3s ease !important;
}

.lightbox-action-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.05) !important;
}

.lightbox-close-btn {
    right: 30px !important;
}

.lightbox-share-btn {
    right: 85px !important;
}

/* Share Modal Layering */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000000;
}

.share-modal-overlay.active {
    display: flex;
}

.share-modal-content {
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    width: min(400px, 90vw);
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    font-family: 'Poppins', sans-serif;
    color: #fff;
    box-sizing: border-box;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
}

.share-modal-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.share-modal-close:hover {
    color: #fff;
}

.share-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.share-option-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 400;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-option-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.share-option-btn.whatsapp { background: #25D366; }
.share-option-btn.twitter { background: #000000; border: 1px solid rgba(255,255,255,0.2); }
.share-option-btn.facebook { background: #1877F2; }
.share-option-btn.telegram { background: #229ED9; } 
.share-option-btn.email { background: #444444; grid-column: span 2; justify-content: center; }

.share-link-copy-box {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    padding: 6px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
}

.share-link-copy-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 0.85rem;
    padding: 4px 8px;
    outline: none;
}

.share-link-copy-box button {
    background: #F8D31C;
    color: #000;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lightbox-action-btn {
        top: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .lightbox-close-btn {
        right: 20px;
    }
    .lightbox-share-btn {
        right: 70px;
    }
}

.zoom-lens {
    display: none;
    pointer-events: none;
}

@media (min-width: 1025px) {
    .zoom-lens {
        display: block;
        position: absolute;
        width: 240px;
        height: 240px;
        border-radius: 50% !important;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background-repeat: no-repeat;
        opacity: 0; 
        pointer-events: none;
        z-index: 100;
        transition: opacity 0.3s ease-out;
        background-image: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.6) 100%);
        background-blend-mode: overlay; 
        box-shadow: 
            inset -15px -15px 25px rgba(0, 0, 0, 0.7),     
            inset 15px 15px 25px rgba(255, 255, 255, 0.25), 
            0 20px 40px rgba(0, 0, 0, 0.65);                
    }

    .zoom-lens::before {
        content: "";
        position: absolute;
        top: 20px;
        left: 35px;
        width: 60px;
        height: 30px;
        background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 75%);
        border-radius: 50%;
        transform: rotate(-30deg);
    }

    .zoom-lens::after {
        content: "";
        position: absolute;
        bottom: 25px;
        right: 40px;
        width: 50px;
        height: 20px;
        background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
        border-radius: 50%;
        transform: rotate(-30deg);
    }
}

.lightbox-caption {
    margin-top: 24px; 
    font-size: 11px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: 300;
    pointer-events: none;
    text-align: center;
    max-width: 80vw;
    line-height: 1.5;
}

/* ==========================================================================
   CONTACT PAGE DESIGNS
   ========================================================================== */
.contact-container {
    width: min(1100px, 90vw);
    margin: 160px auto 100px auto;
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 6vw, 90px);
    width: 100%;
    align-items: center;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    margin: 0 0 15px 0;
    letter-spacing: -1px;
}

.contact-subtitle {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    max-width: 440px;
}

.connections-matrix-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 440px;
    width: 100%;
}

.minimal-icon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.circle-social-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.3s ease,
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.circle-social-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-3px);
}

.contact-email-panel {
    width: 100%;
}

.email-hero-frame {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.6) 0%, rgba(5, 5, 5, 0.8) 100%);
    border: 1px solid rgba(248, 211, 28, 0.15);
    padding: clamp(35px, 6vw, 60px);
    border-radius: 16px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.email-hero-frame::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(248, 211, 28, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.email-badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #F8D31C;
    background: rgba(248, 211, 28, 0.08);
    border: 1px solid rgba(248, 211, 28, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
    font-weight: 500;
}

.email-headline {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.email-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 40px 0;
}

.distinct-email-btn {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    padding: 20px 24px;
    border-radius: 12px;
    gap: 16px;
    position: relative;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.4s ease;
}

.btn-text-block {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.btn-subtext {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
}

.btn-maintext {
    font-size: clamp(13px, 3.5vw, 15px);
    font-weight: 500;
    letter-spacing: -0.2px;
    word-break: break-all;
}

.distinct-arrow {
    font-size: 14px;
    color: #000000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding-right: 4px;
}

.distinct-email-btn:hover {
    background-color: #F8D31C;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(248, 211, 28, 0.15);
}

.distinct-email-btn:hover .btn-icon-wrapper {
    transform: scale(1.05) rotate(-5deg);
}

.distinct-email-btn:hover .distinct-arrow {
    transform: translateX(6px);
}

/* ==========================================================================
   MINIMALIST SITE FOOTER DESIGN
   ========================================================================== */
.site-footer {
    width: 100%;
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 50px 0;
    margin-top: 100px;
}

.footer-content {
    width: min(1100px, 90vw);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-donate-wrapper {
    display: flex;
    justify-content: center;
}

.footer-center-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-social-title {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.footer-social-icons {
    display: flex;
    gap: 18px;
}

.footer-social-icons a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icons a:hover {
    color: #F8D31C;
    transform: translateY(-2px);
}

.footer-meta-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-left-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.copyright {
    margin: 0 0 4px 0;
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.4;
}

.footer-dedication {
    margin: 0;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-style: italic;
    text-transform: lowercase;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1.4;
}

.footer-credits {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.4;
    text-align: right;
}

.footer-credits span {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA SYSTEM ADAPTATIONS
   ========================================================================== */
@media (max-width: 1024px) {
    .nav { gap: 30px; }
    .signature-logo { font-size: 2rem; }
}

@media (max-width: 960px) {
    .contact-container {
        margin-top: clamp(240px, 28vw, 280px) !important;
        margin-bottom: 60px;
        min-height: auto;
    }
    
    .contact-wrapper { grid-template-columns: 1fr; gap: 60px; }
    .contact-info-panel { text-align: center; align-items: center; }
    .contact-subtitle { max-width: 100%; }
    .connections-matrix-block { align-items: center; }
    .minimal-icon-row { justify-content: center; }
    .email-hero-frame { padding: 40px 30px; }

    .footer-meta-row {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }
    .footer-left-block { align-items: center; text-align: center; }
    .footer-credits { text-align: center; }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 24px 16px !important;
        display: flex !important;
        flex-direction: column !important; 
        justify-content: space-between !important;
        align-items: center !important;
        gap: 12px !important; 
    }

    .signature-logo {
        font-size: 2rem !important; 
        white-space: nowrap !important;
        text-align: center !important;
    }

    .nav {
        position: static !important;
        transform: none !important;
        display: flex !important;
        flex-direction: row !important; 
        flex-wrap: wrap !important;     
        justify-content: center !important;
        gap: 20px !important;           
    }

    .top-bar .donate-top {
        display: none !important; 
    }

    .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        text-align: center !important;
        padding-bottom: 90px !important; 
    }

    .footer-left-block {
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
    }

    .slider-perspective-stage {
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%); 
        margin-top: 40px;
        margin-bottom: 60px;
    }

    .gallery-3d-track { height: 260px; }
    .gallery-3d-item { width: 65vw; height: 220px; }

    .position-prev { transform: translate3d(-32%, 0, -150px) rotateY(25deg); opacity: 0.25; }
    .position-next { transform: translate3d(32%, 0, -150px) rotateY(-25deg); opacity: 0.25; }
    
    .slider-navigation-row {
        margin-top: 10px;
        position: relative;
        z-index: 100;
    }

    .lightbox-content { max-width: 92vw; max-height: 70vh; }
    .lightbox-caption { bottom: 30px; width: 80%; text-align: center; }

    .art-carousel-wrapper { margin: 20px 0 40px 0; }
    .art-frame-wrapper { height: 280px; }
    .art-row-container { gap: 20px; padding: 10px 0 20px 0; }
    .art-item-metadata { max-width: 200px; }
    
    .art-carousel-arrow { top: 140px; }
    .art-carousel-arrow.prev { left: -10px; }
    .art-carousel-arrow.next { right: -10px; }
    
    .manifesto-container {
        padding: 0 20px;
        font-size: 0.9rem;
        text-align: justify;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .statement-toggle-btn {
        padding: 10px 28px;
        font-size: 0.7rem;
    }

    .imdb-film-card { width: 180px; }
    .imdb-metadata-pane { padding: 12px; }
    .imdb-card-title { font-size: 0.8rem; }

    .film-details-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .film-sidebar {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .contact-container { margin-top: 240px !important; }
    .minimal-icon-row { gap: 10px; justify-content: center; }
    .circle-social-btn { width: 44px; height: 44px; font-size: 15px; }
    .distinct-email-btn { padding: 16px 16px; gap: 12px; }
    .btn-icon-wrapper { width: 38px; height: 38px; font-size: 15px; }
    .distinct-arrow { display: none; }
}

/* Hover effects matching portfolio theme */
.imdb-btn:hover {
    background: #F8D31C !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(248, 211, 28, 0.2);
}

.still-item:hover img {
    transform: scale(1.04);
}
