:root {
    --primary-color: #ffffff;
    --accent-color: #1D8ED2;
    --bg-color: #000000;
    --text-dark: #1a1a1a;

    /* --- ΔΙΑΣΤΑΣΕΙΣ (Διατηρήθηκαν όπως τις έβαλες) --- */
    --header-height: 80px;
    --slide-height: 70vh;
    --slide-width: 60vw;
    --gap: 0px;

    --main-font: 'Geom';
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

html {
    scroll-behavior: smooth;
}

/* Ensures the section isn't hidden behind your 80px header */
section, div[id] {
    scroll-margin-top: 80px; /* 80px header + 20px breathing room */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    font-family: var(--main-font), 'sans-serif';
    overflow-x: hidden;
    width: 100vw;
    padding-top: var(--header-height);
}

/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 40px;
    background: #000000;
    z-index: 2000;
}

.main-nav { display: flex; gap: 20px; }
.main-nav a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
    transition: 0.3s;
}
.main-nav a:hover { opacity: 1; color: var(--accent-color); }
.logo img { height: 55px; }
.header-icons { display: flex; justify-content: end; gap: 10px; }
.header-icons img { width: 30px; height: 30px; }

/* --- SLIDER CONTAINER --- */
.slider-container {
    position: relative;
    width: 100%;
    height: var(--slide-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

/* --- FIX: Class για να παγώνει ΤΑ ΠΑΝΤΑ κατά το reset --- */
/* Αυτό διορθώνει το glitch στα γράμματα */
.slider-container.no-anim .slider-track,
.slider-container.no-anim .slide,
.slider-container.no-anim .slide img,
.slider-container.no-anim .slide-content,
.slider-container.no-anim .slide::after,
.slider-container.no-anim .slide-title,
.slider-container.no-anim .slide-subtitle,
.slider-container.no-anim .top-tag {
    transition: none !important;
    animation: none !important;
}

.slider-track {
    display: flex;
    gap: var(--gap);
    width: max-content;
    /* --- FIX: Performance boost --- */
    will-change: transform;
    transform-style: preserve-3d;
}

/* --- SLIDE STYLING --- */
.slide {
    width: var(--slide-width);
    height: var(--slide-height);
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    opacity: 0.4;
    transform: scale(0.9);

    /* --- FIX: Updated Transition --- */
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 0 40px 60px;

    text-decoration: none;
    cursor: pointer;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.slide img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: -1;
    pointer-events: none; /* Προστέθηκε για αποφυγή drag */
}

.slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    z-index: 0;
    pointer-events: none;
}

.slide-content {
    position: relative;
    z-index: 20;
    color: #fff;
    text-align: left;
    width: 100%;

    /* --- FIX: Fade Transition για το κείμενο --- */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.top-tag {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 10px;
    display: inline-block;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 3px;
}

.slide-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
}

.slide-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 15px;
}

.dots { display: flex; gap: 8px; margin-top: 5px; }
.dot {
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.3;
}
.dot.active { opacity: 1; }

/* Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    color: white;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 100;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-btn:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.prev-btn { left: 10%; }
.next-btn { right: 10%; }

/* --- ABOUT SECTION --- */
.about-section {
    background-color: #151515;
    color: #FFFFFF;
    padding: 20px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - var(--header-height) - var(--slide-height));
    justify-content: center;
}

.about-text {
    max-width: 1000px;
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 25px;
}
.about-footer {
    max-width: 900px;
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 400;
}

/* =========================================
   --- NEW: CAST SECTION (Flip Cards) ---
   ========================================= */
.cast-section {
    background-color: #000000; /* Σκούρο φόντο για contrast με τις λευκές κάρτες */
    padding: 80px 40px;
    color: #fff;
    text-align: center;
}

.cast-header h2 {
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 101%;
    margin-bottom: 10px;
    color: #fff;
}

.cast-header span {
    display: block;
    font-size: 2.25rem;
    color: #8B8B8B;
    margin-bottom: 60px;
    font-family: 'EB Garamond', serif;
}

.cast-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* --- FLIP CARD CONTAINER (Includes links bellow) --- */
.flip-card-container {
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Απόσταση καρτας και social icons */
}

.flip-indicator {
    display: none;
}
/* --- FLIP CARD STYLES --- */
.flip-card {
    background-color: transparent;
    width: 100%;  /* Πιάνει όλο το πλάτος του container */
    height: 710px; /* Ύψος κάρτας */
    perspective: 1000px; /* Βάθος για το 3D εφέ */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* --- 1. DESKTOP ONLY: Keep Hover Effect --- */
@media (min-width: 1201px) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

/* --- 2. MOBILE ONLY: Class-based Flip (Controlled by JS) --- */
.flip-card.mobile-flip .flip-card-inner {
    transform: rotateY(180deg);
}

/* Front & Back κοινά styles */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 4px;
    overflow: hidden;
    background-color: #151515; /* Λευκό φόντο κάρτας */
    color: #DEDEDE;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

/* --- FRONT FACE (Actor) --- */
.flip-card-front img {
    width: 100%;
    padding-top: 20px;
    height: 348px; /* Το ύψος της εικόνας του ηθοποιού */
    object-fit: contain;
    object-position: center;
}

.card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.actor-name {
    font-size: 1.68rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.actor-bio {
    font-size: 1rem;
    color: #DEDEDE;
    margin-bottom: 25px;
}

/* --- SOCIAL LINKS (Now outside the card) --- */
.social-links {
    display: flex;
    gap: 10px;
}

.s-icon {
    width: 30px;
    height: 30px;
    display: block;
    transition: 0.3s;
    position: relative;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.s-icon:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.fb {
    background-image: url('/fb_cast.svg');
}

.ig {
    background-image: url('/insta_cast.svg');
}

.imdb {
    background-image: url('/imdb_cast.svg');
    width: 55px;
}

/* --- BACK FACE (Character) --- */
.flip-card-back {
    transform: rotateY(180deg);
    background-color: #fcfcfc;
}

.flip-card-back img {
    width: 100%;
    padding-top: 20px;
    height: 348px;
    object-fit: contain;
    object-position: top center;
}

.character-name {
    font-size: 1.68rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
}

.character-desc {
    font-size: 1rem;
    color: #000000;
    line-height: 1.4;
    margin-bottom: 15px;
    padding: 0 15px;
}

.character-class {
    font-size: 1.25rem;
    font-family: 'EB Garamond', serif;
    letter-spacing: 0;
    color: #5a5a5a;
    font-weight: bold;
    margin-top: auto;
    padding-bottom: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    align-self: center;
}

/* =========================================
    --- PATREON SECTION (Smooth Blend Fix) ---
   ========================================= */
.patreon-section {
    position: relative;
    width: 80%;

    aspect-ratio: 1080 / 608;
    background-image: url("/patreon.jpg");
    background-size: contain;
    background-position: center;
    justify-self: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center; /* Center content vertically */
    overflow: hidden;
}

/* CONTENT (Pushed to Right) */
.pat-content {
    position: relative;
    padding-top: 100px;
    z-index: 10;
    width: 50%; /* Το κείμενο πιάνει το δεξί κομμάτι */
    margin-left: auto; /* Το σπρώχνει τέρμα δεξιά */
    padding-right: 5%; /* Λίγο κενό από δεξιά */
    color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-self: start;
    flex-wrap: wrap;
}

.pat-row {
    display: flex;
    align-items: start;
    gap: 25px;
    margin-bottom: 15px;
}

/* Arrow Box */
.arrow-box {
    width: 60px;
    height: 60px;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    flex-shrink: 0;
}

.arrow-box svg {
    width: 30px;
    height: 30px;
    stroke-width: 1;
}

.arrow-box:hover {
    background: #fff;
    color: #000;
}
.arrow-box:hover svg { stroke: #000; }

/* Titles & Text */
.pat-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.pat-text {
    font-size: 1.43rem;
    font-weight: 400;
    gap: 15px;
    line-height: 1.4;
    margin-bottom: 5px;
    padding-left: 85px; /* Στοίχιση με τον τίτλο (60px box + 25px gap) */

    display: flex;
    flex-direction: column;
}

.pat-link {
    font-family: 'EB Garamond', serif;
    color: #ffffff;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.pat-link:hover { color: var(--accent-color); }

/* =========================================
    --- EPISODES SECTION ---
========================================= */
.episodes-section {
    background-color: #000000; /* Dark background */
    color: #fff;
    padding: 80px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header (Centered Title) */
.ep-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.ep-header h2 {
    font-size: 3.75rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.ep-header span {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #8B8B8B;
}

.ep-content-wrapper {
    width: 100%;
    max-width: 1500px; /* Maximum width for large screens */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sub-headers (Left & Right) */
.ep-titles-row {
    display: grid;
    grid-template-columns: 0.7fr 1fr; /* Left is wider */
    text-align: center;

    width: 100%;
    gap: 20px;
    align-items: end;
}

.ep-sub-title {
    font-size: 1.43rem;
    font-weight: 400;
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.ep-dropdown {
    float: right;
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 5px 10px;
    font-family: var(--main-font), 'sans-serif';
    cursor: pointer;
}

/* Main Grid Layout */
.ep-grid {
    display: grid;
    grid-template-columns: 0.7fr 1fr; /* Left is wider */
    gap: 20px;
    width: 100%;
}

/* --- FEATURED EPISODE (LEFT) --- */
.ep-featured {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #080808;
    padding: 8px 8px;
}

.ep-featured-img {
    width: 100%;
    aspect-ratio: 687/387;
    object-fit: cover;
    border-radius: 4px; /* Optional rounded corners */
}

.ep-featured-content {
    padding: 50px;
}

.ep-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.ep-title {
    font-size: 1.87rem;
    font-weight: 900;
}

.ep-season {
    font-family: 'EB Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #ffffff;
}

.ep-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 30px;
}

.ep-info-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 40px;
    font-size: 0.9rem;
    color: #fff;
}

.ep-info-label {
    color: #888;
    display: block;
    margin-bottom: 5px;
}

/* --- EPISODE LIST (RIGHT) --- */
.ep-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 768px; /* Fixed height for scrolling if needed */
    overflow-y: auto; /* Scrollable list */
    padding-right: 10px; /* Space for scrollbar */
}

/* Custom Scrollbar */
.ep-list::-webkit-scrollbar { width: 6px; }
.ep-list::-webkit-scrollbar-track { background: #111; }
.ep-list::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.ep-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    background: #080808;
    padding: 8px 8px;
    height: auto;
    align-items: flex-start;
}

/* Image Container in List */
.ep-card-img-wrapper {
    width: 415px; /* Fixed width for list thumbnails */
    flex-shrink: 0; /* Prevent shrinking */
}

.ep-card-img {
    width: 100%;
    aspect-ratio: 422/238;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

/* Content Side */
.ep-card-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 5px 10px;
}

.ep-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.ep-card-title {
    font-size: 1.87rem; /* Larger title like in design */
    font-weight: 800;
}

.ep-card-season {
    font-family: 'EB Garamond', serif;
    font-size: 1.43rem;
    font-weight: 700;
    color: #fff;
}

.ep-card-desc {
    font-size: 0.95rem;
    color: #FFFFFF;
    font-weight: 400;

    /* Text Truncation (Webkit) */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ep-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for meta */
    font-size: 0.85rem;
    color: #fff;
    margin-top: auto; /* Push to bottom if needed */
}

.ep-card-meta div {
    display: flex;
    flex-direction: column;
}

.ep-meta-label {
    color: #888;
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.ep-meta-value {
    font-weight: 700;
    font-family: 'EB Garamond', serif;
}

.sponsors-section {
    width: 100%;
    aspect-ratio: 3840 / 1194;
    background-image: url('/sponsors.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.gallery-section {
    background-color: #000000; /* Dark background */
    color: #fff;
    padding: 80px 40px;
}
.gallery-header {
    text-align: center;
    margin-bottom: 60px;
    font-size: 3.75rem;
    font-weight: 900;
}

.gallery-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Common styles for the gallery boxes */
.gallery-box {
    width: 100%;
    aspect-ratio: 945/532;
    background-size: cover; /* Ensures the image covers the area */
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Needed for absolute positioning of the button */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center;     /* Centers content horizontally */
}

/* Specific background images */
.fan-art {
    background-image: url("/fan_art.jpg");
}

.backstage {
    background-image: url("/backstage.jpg");
}
.fan-art-content {
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-self: center;
    justify-content: space-between;
    padding: 20px;
    background: #000000B2;
}
.fan-art-content h2 {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    font-family: 'Geom', serif;
}
.fan-art-content p {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'EB Garamond', serif;
    color: #CBCBCB;
}
/* Button Styling */
.arrow-box-gallery {
    position: relative; /* Removes button from normal flow */

    width: 50px;
    height: 50px;
    background: #000000B2;
    border: 2px solid #fff; /* Creates the white square border */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevents button from getting squashed */
}

.arrow-box-gallery svg {
    width: 30px;
    height: 30px;
    stroke-width: 2;
}

/* Hover effect for the button */
.arrow-box-gallery:hover {
    background: #fff;
    color: #000;
}

/* --- GALLERY GRID VIEW --- */
.gallery-grid-container {
    display: none; /* Controlled by JS */
    width: 100%;
    animation: fadeIn 0.4s ease;
}

/* The Centered Black Box */
.gallery-flex-wrapper {
    max-width: 1100px;
    height: 600px; /* Fixed height matches reference */
    margin: 0 auto; /* Centers the box horizontally */

    background-color: #000;
    border: 1px solid #333;
    display: flex; /* Enables Side-by-Side Layout */
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Left Side: The Grid */
.gallery-grid {
    flex-grow: 1; /* Takes up all remaining space */
    overflow-y: auto; /* Internal scrolling */
    padding: 20px;

    display: grid;
    /* Tighter grid columns (approx 200px) */
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-auto-rows: max-content;
    gap: 10px;
}

/* Custom Scrollbar for the grid */
.gallery-grid::-webkit-scrollbar { width: 5px; }
.gallery-grid::-webkit-scrollbar-track { background: #111; }
.gallery-grid::-webkit-scrollbar-thumb { background: #444; }

.g-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 2px;
    display: block;
}

.g-img:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

/* Right Side: The Control Sidebar */
.gallery-grid-controls {
    width: 70px; /* Fixed narrow width */
    border-left: 1px solid #333; /* The separator line */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    flex-shrink: 0; /* Prevents it from being squashed */
    background: #050505;
}

.close-btn-box {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.close-btn-box:hover { background: #fff; color: #000; }
.close-btn-box svg { width: 24px; height: 24px; }

/* --- LIGHTBOX MODAL (Full Screen) --- */
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 5000; /* On top of everything */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;

    /* The Blurred Background Effect */
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px); /* This creates the blur */
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    max-height: 85vh;
    object-fit: contain;

    animation: zoomIn 0.3s;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-lightbox:hover { color: var(--accent-color); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from {transform:scale(0.9); opacity:0} to {transform:scale(1); opacity:1} }


/* --- SHORTS SLIDER --- */
.shorts-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the whole block */
    gap: 20px;
    margin-top: 40px;
    position: relative;
    max-width: 100%;
    padding: 0 40px;
}

.shorts-window {
    overflow: hidden;
    /* Max width calculates: (354px * 4) + (20px gap * 3) = approx 1480px */
    max-width: 1480px;
    width: 100%;
}

.shorts-track {
    display: flex;
    gap: 20px; /* Gap between videos */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.shorts-track iframe {
    /* FIXED DIMENSIONS AS REQUESTED */
    width: 354px;
    height: 629px;

    /* Crucial: Prevents flexbox from shrinking them */
    flex: 0 0 auto;

    border-radius: 8px;
    background: #000;
}

/* Navigation Buttons */
.nav-arrow {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: 0.3s;
}

.nav-arrow:hover { background: #fff; color: #000; }
.nav-arrow.disabled { opacity: 0.3; cursor: default; pointer-events: none; }


.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: #000000;
    padding: 80px;
    gap: 20px;
}
.contact-header {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    color: #FFFFFF;
}
.contact-header h2 {
    font-size: 3.75rem;
    font-weight: 900;
}
.contact-header p {
    font-size: 2rem;
    font-weight: 600;
    font-family: 'EB Garamond', serif;
}
.contact-text {
    font-size: 1.3rem;
    font-weight: 400;
    display: flex;
    gap: 50px;
    color: #FFFFFF;
    flex-direction: column;
    width: 1441px;
    justify-content: space-between;
}
.contact-text span {
    font-weight: 900;
}

.footer-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #151515;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.footer-links a {
    width: 30px;
    height: 30px;
}

.footer-section p {
    font-size: 1rem;
    font-weight: 400;
    color: #FFFFFF;
}


@media (max-width: 1200px) {
    .site-header {
        display: flex;
        justify-content: center;
        height: auto;
        padding: 10px;
    }
    .logo img { height: 35px; }
    .main-nav {
        display: none;
    }
    .header-icons {
        display: none;
    }
    .slider-container {
        display: block;
    }

    :root {
        --slide-height: 60vh;
        --slide-width: 90vw;
    }
    .slide {
        padding: 0 20px 40px 20px;
        align-items: center;
        text-align: center;
    }
    .slide-content {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .slide-title {
        font-size: 2.5rem;
    }
    .nav-btn {
        width: 40px;
        height: 40px;
    }

    /* Buttons position fix */
    .prev-btn { left: 5px; }
    .next-btn { right: 5px; }

    /*----------ABOUT------------*/
    .about-section {
        text-align: start;
        background-color: #000000;
        padding: 30px;
    }
    .about-text {
        font-size: 0.7rem;
    }
    .about-footer {
        font-size: 0.7rem;
    }
    /*--------------------------*/

    /*----------CAST------------*/
    .cast-section {
        padding: 0;
    }
    .cast-header h2 {
        font-size: 1.8rem;
    }
    .cast-header span {
        font-size: 1.4rem;
    }
    .cast-grid {
        flex-direction: column;
        gap: 10px;
    }
    .flip-card-container {
        width: 100%;
        max-width: 100%;
        position: relative; /* For positioning social icons */
        margin-bottom: 10px;
    }
    .flip-card {
        /* Fixed height is needed for the flip effect to work */
        height: 180px;
        background: transparent;
    }
    .flip-card-front, .flip-card-back {
        flex-direction: row; /* Image Left, Text Right */
        align-items: stretch; /* Stretch to fill height */
        text-align: left;
        box-shadow: none; /* Optional: Clean look */
        background-color: #111; /* Ensure dark bg */
        border-radius: 8px;
    }
    .flip-card-front img, .flip-card-back img {
        width: 150px; /* Fixed width for the photo */
        min-width: 150px; /* Prevent shrinking */
        height: 100%;
        object-fit: contain;
        padding-top: 0; /* Reset desktop padding */
    }
    .card-body {
        padding: 5px;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 5px;
        overflow: hidden; /* Hide extra text */
    }
    .actor-name, .character-name {
        font-size: 1.25rem;
        margin-bottom: 2px;
        color: #FFFFFF;
    }
    .actor-bio, .character-desc {
        font-size: 0.65rem;
        color: #ccc;
        margin-bottom: 0;
        padding: 0;

        /* Truncate text after 5 lines to fit the card */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    /* Character specific styles */
    .character-class {
        font-size: 0.9rem;
        padding: 0;
        margin-top: auto;
        border: none;
        align-self: start;
    }
    /* Inside @media (max-width: 1200px) */

    /* Show and Position the icon ONLY on mobile */
    .flip-indicator {
        display: block; /* Make it visible */
        position: absolute;
        bottom: 10px;
        right: 120px;
        width: 16px;
        height: 16px;
        color: #fff;
        z-index: 10;
        pointer-events: none;
        opacity: 0.8;
    }

    .flip-indicator img {
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
    }
    .social-links {
        position: absolute;
        bottom: 5px;
        left: 155px; /* 140px Image width + 15px Padding */
        z-index: 5; /* Ensure they are clickable */
        gap: 15px;
        opacity: 1;
        pointer-events: auto; /* Clickable */
        transition: opacity 0.3s ease;
    }
    .s-icon {
        width: 24px;
        height: 24px;
    }
    /* 2. HIDDEN State (When Card is Flipped) */
    /* The '+' sign selects the social links immediately following the flipped card */
    .flip-card.mobile-flip + .social-links {
        opacity: 0 !important;
        pointer-events: none !important; /* Not clickable when hidden */
    }

    /*-----------PATREON--------------*/
    .patreon-section {
        width: 100%;
    }
    .pat-content {
        padding-top: 4%;
    }
    .arrow-box {
        width: 35px;
        height: 35px;
    }
    .pat-title {
        font-size: min(5vw, 2rem);
    }
    .pat-text {
        font-size: min(2vw, 1.5rem);
        padding-left: 60px;
        transition: 0.3s;
    }
    /*--------------------------------*/
    .ep-header h2 {
        font-size: 2.5rem;
    }
    .ep-header span {
        font-size: 1.2rem;
    }
    .ep-content-wrapper, .ep-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .ep-titles-row {
        display: none;
    }
    .ep-featured::before {
        content: "Δες το πιο πρόσφατο επεισόδιο";
        display: block;
        text-align: center;
    }
    .ep-list::before {
        content: "Αν μας γνώρισες τώρα, το ταξίδι ξεκινάει εδώ";
        display: block;
        text-align: center;
    }
    .ep-featured {
        width: 100%;
    }
    .ep-list {
        width: 100%;
        height: auto;
        overflow: visible;
    }
    .ep-card {
        flex-direction: column;
    }
    .ep-card-img-wrapper {
        width: 100%;
    }
    .gallery-header {
        font-size: 1.8rem;
    }
    .gallery-content {
        flex-direction: column;
    }
    .fan-art-content h2 {
        font-size: 1.2rem;
    }
    .gallery-flex-wrapper {
        height: 100%;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-grid-controls {
        width: 40px;
    }
    .g-img {
        width: 100%;
    }


    .shorts-section {
        padding: 40px 0;
    }
    .shorts-slider-wrapper {
        padding: 0;
        gap: 0;
        justify-content: center;
    }
    .shorts-slider-wrapper .nav-arrow {
        display: none;
    }
    .shorts-window {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
    }
    .shorts-window::-webkit-scrollbar { display: none; }
    .shorts-track {
        gap: 15px; /* Smaller gap */
        padding: 0 20px; /* Side padding so first item isn't flush to edge */
        width: max-content; /* Let it grow naturally */
        transform: none !important; /* DISABLE JS TRANSFORM ON MOBILE */
    }
    .shorts-track iframe {
        /* This makes it look like your image: Large, centered */
        width: 80vw !important;
        height: auto !important;
        aspect-ratio: 9/16;
        scroll-snap-align: center; /* Snap to center */
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }


    .contact-section {
        padding: 60px 20px;
        gap: 30px;
    }
    .contact-header h2 {
        font-size: 1.8rem;
        margin-bottom: 2px;
    }
    .contact-header p {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    .contact-section img {
        width: 100%;
        max-width: 500px;
        height: auto;
        object-fit: contain;
    }
    .contact-text {
        width: 100%;
        text-align: left;
        font-size: 0.8rem;
    }

}

/* Ensure unloaded videos have a black background */
.lazy-video {
    background-color: #000;
    transition: opacity 0.3s;
}