/* =========================================
   PORTFOLIO V4 - MONOCHROME LUXURY
   Horizontal Editorial Style
   ========================================= */

:root {
    --bg-color: #050505;
    --text-color: #F0F0F0;
    --text-secondary: rgba(240, 240, 240, 0.6);
    --text-tertiary: rgba(240, 240, 240, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-color: #CCFF00;
    /* Neon Lime */

    --font-heading: 'Italiana', serif;
    --font-body: 'Manrope', sans-serif;

    --space-unit: 8px;
    --container-padding: 4vw;
    --spacer-sm: 24px;
    --spacer-md: 48px;
    --spacer-lg: 80px;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow: hidden;
    /* Important for horizontal scroll simulation */
    height: 100vh;
    width: 100vw;
}

/* === CUSTOM CURSOR === */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
    mix-blend-mode: difference;
}

.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: transparent;
    border-color: var(--accent-color);
    border-width: 2px;
}

/* === NAVIGATION === */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.menu-btn {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
}

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

.nav-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
    /* Ensure pointer cursor */
}

.nav-btn:hover {
    color: var(--accent-color);
}

/* === PROGRESS BAR === */
.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    z-index: 100;
}

.progress-fill {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.1s linear;
}

/* === MAIN SCROLL CONTAINER === */
.scroll-container {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    width: auto;
    /* Width will be set by content */
    will-change: transform;
}

/* === SECTIONS GENERAL === */
.horizontal-section {
    flex-shrink: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 var(--container-padding);
    border-right: 1px solid var(--border-color);
    position: relative;
}

.section-label {
    position: absolute;
    top: 100px;
    left: var(--container-padding);
    font-size: 14px;
    color: var(--accent-color);
    letter-spacing: 1px;
}

/* === COVER SECTION === */
.cover-section {
    width: 100vw;
    padding-left: 10vw;
    justify-content: space-between;
}

.cover-content {
    z-index: 2;
}

.huge-title {
    font-family: var(--font-heading);
    font-size: 12vw;
    line-height: 0.9;
    text-transform: uppercase;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-color);
}

.cover-meta {
    margin-top: 40px;
    display: flex;
    gap: 60px;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.scroll-hint {
    margin-top: 80px;
    font-size: 12px;
    color: var(--accent-color);
}

/* === VISUAL: OBSIDIAN STRUCTURE (3D) === */
.obsidian-wrapper {
    width: 30vw;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    margin-right: 15vw;
}

.obsidian-structure {
    width: 200px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: floatRotate 20s infinite linear;
}

.plane {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

/* Plane positioning for depth */
.p1 {
    transform: translateZ(40px);
}

.p2 {
    transform: rotateY(180deg) translateZ(40px);
    background: rgba(5, 5, 5, 0.6);
}

.p3 {
    transform: rotateY(90deg) translateZ(40px);
    width: 40px;
    left: 80px;
}

/* Side */

.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 60%);
    opacity: 0.1;
    /* Subtle glow inside */
    filter: blur(20px);
}

@keyframes floatRotate {
    0% {
        transform: rotateY(0deg) rotateX(10deg);
    }

    50% {
        transform: rotateY(180deg) rotateX(-10deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

.obsidian-wrapper:hover .plane {
    border-color: var(--accent-color);
    box-shadow: 0 0 50px rgba(204, 255, 0, 0.1);
}

/* === MANIFESTO SECTION === */
.manifesto-section {
    width: 60vw;
    /* Narrower per section for better pacing */
    justify-content: center;
    padding-right: 5vw;
}

.manifesto-block {
    max-width: 800px;
}

.manifesto-text {
    font-family: var(--font-heading);
    font-size: 4.5vw;
    /* Larger for impact */
    line-height: 1.2;
    text-transform: uppercase;
}

.highlight {
    color: var(--accent-color);
    font-style: italic;
}

.highlight {
    color: var(--accent-color);
    font-style: italic;
    color: var(--accent-color);
}

/* === GALLERY SECTION === */
.gallery-section {
    padding-right: 10vw;
}

.gallery-header {
    height: 100%;
    display: flex;
    align-items: center;
    margin-right: 60px;
}

.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.project-item {
    margin-right: 80px;
    width: 35vw;
    position: relative;
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: scale(0.98);
}

/* Asymmetry Offsets */
.offset-down {
    margin-top: 20vh;
}

.offset-up {
    margin-top: -15vh;
}

.project-visual {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.project-item:hover .project-visual img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.view-btn {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.project-number {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-secondary);
}

.project-info h3 {
    font-size: 24px;
    font-weight: 400;
}

.project-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* === SKILLS SECTION === */
.skills-section {
    width: 70vw;
    display: flex;
    align-items: center;
    /* Center vertically like Tools */
    padding-bottom: 0;
    flex-direction: column;
    justify-content: center;
}

.skills-list {
    list-style: none;
    width: 100%;
    margin-top: 60px;
    /* Match Tools Grid margin */
}

.skill-item {
    font-family: var(--font-heading);
    font-size: 3vw;
    /* UNIFIED: Matched to Tools */
    line-height: 1.1;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
    padding: 20px 0;
    /* Unified Padding */
}

.skill-item:hover {
    color: var(--text-color);
    padding-left: 20px;
    border-bottom-color: var(--accent-color);
}

.skill-num {
    font-size: 1vw;
    /* Smaller proportional size */
    font-family: var(--font-body);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-item:hover .skill-num {
    opacity: 1;
    color: var(--accent-color);
}

/* === CONTACT SECTION === */
.contact-section {
    width: 100vw;
    background: var(--text-color);
    /* Invert colors */
    color: var(--bg-color);
    position: relative;
    justify-content: center;
    flex-direction: column;
}

.contact-section .huge-title {
    text-align: center;
    line-height: 0.8;
}

.email-link {
    display: block;
    text-align: center;
    font-size: 2vw;
    margin-top: 40px;
    color: var(--bg-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.socials {
    margin-top: 60px;
    display: flex;
    gap: 40px;
    justify-content: center;
}

.socials a {
    color: var(--bg-color);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-note {
    position: absolute;
    bottom: 24px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    opacity: 0.6;
}

/* === PROJECT MODAL === */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    z-index: 200;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.project-modal.active {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 30px;
    right: var(--container-padding);
    background: none;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 12px 32px;
    /* Larger hit area */
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 2px;
    z-index: 220;
    /* Ensure on top */
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    /* Slight visibility against images */
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    /* Horizontal Split */
    overflow: hidden;
    padding: 0;
    background: #050505;
}

/* === LEFT COLUMN: IMAGES === */
.modal-left {
    flex: 1;
    /* 50% width */
    height: 100%;
    overflow-y: auto;
    /* Independent Scroll */
    padding: 40px;
    background: #000;
    display: flex;
    justify-content: center;
}

.modal-image-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 100px;
}

.modal-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: zoom-in;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-image-container img:hover {
    transform: scale(1.01);
}

/* === RIGHT COLUMN: INFO === */
.modal-right {
    flex: 1;
    /* 50% width */
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0a0a;
}

/* Header inside Right Column */
.modal-header {
    width: 100%;
    padding: 60px 60px 40px 60px;
    background: #0a0a0a;
    flex: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    /* Reset */
}

.modal-number {
    font-family: var(--font-heading);
    font-size: 80px;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 10px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 5vw;
    /* Adjusted for half-width */
    line-height: 1;
    text-transform: uppercase;
    color: var(--text-color);
}

/* Body inside Right Column */
.modal-body {
    width: 100%;
    padding: 60px;
    flex: 1;
    overflow-y: auto;
    /* Independent Scroll */
    background: #0a0a0a;
}

.modal-desc {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 1.6;
    color: #fff;
    max-width: 100%;
    margin-bottom: 40px;
}


.modal-tags {
    display: flex;
    gap: 15px;
    margin-bottom: 80px;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* Align left */
}

.modal-tag {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-details {
    list-style: none;
    padding-left: 0;
    margin-bottom: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-details li {
    font-size: 18px;
    color: #ccc;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.6;
}

.modal-details li strong {
    color: #fff;
    font-weight: 500;
}






.modal-image-container img {
    margin-bottom: 40px;
    border-radius: 4px;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.modal-image-container img:hover {
    transform: scale(1.02);
}



.modal-image-container {
    flex: 1.5;
    background: #000;
    overflow-y: auto;
    /* Enable vertical scrolling */
    position: relative;
    padding: var(--container-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}

/* === DYNAMIC TYPOGRAPHY (2 SIZES ONLY) === */
.typo-secondary {
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
    color: #666;
    font-weight: 600;
}

.typo-primary {
    font-family: var(--font-heading);
    font-size: 4.5vw;
    /* Slightly smaller to fit full sentences */
    line-height: 1.2;
    display: block;
    color: var(--text-color);
    text-transform: uppercase;
}

.text-right {
    text-align: right;
}

.manifesto-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Color Highlight Override */
.highlight {
    color: var(--accent-color);
    font-style: normal;
    /* Remove italic for cleaner look */
}

/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 310;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

/* Pointer for gallery images to indicate click */
/* === DESIGN SYSTEM SECTION === */
.ds-section {
    width: 80vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    width: 100%;
}

.ds-col {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.ds-subtitle {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 40px;
}

.ds-type-block {
    margin-bottom: 40px;
}

.ds-font-name {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.ds-big-char {
    display: block;
    font-size: 100px;
    line-height: 1;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.ds-big-char.san-serif {
    font-family: var(--font-body);
}

.ds-sample {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-secondary);
    font-family: var(--font-heading);
}

.ds-sample.san-serif {
    font-family: var(--font-body);
}

.ds-color-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.ds-swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.ds-spacer-viz {
    margin-top: 40px;
    height: 40px;
    width: 100px;
    border: 1px dashed var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--accent-color);
}

/* === TOOLS SECTION === */
.tools-section {
    width: 60vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 60px;
}

.tool-item {
    font-family: var(--font-heading);
    font-size: 3vw;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.tool-item:hover {
    color: var(--accent-color);
    padding-left: 20px;
    border-bottom-color: var(--accent-color);
}

/* === MOBILE OPTIMIZATION === */
@media (max-width: 768px) {

    /* DISABLE CUSTOM CURSOR */
    .cursor,
    .cursor-follower {
        display: none !important;
    }

    html,
    body {
        overflow-y: visible !important;
        overflow-x: hidden;
        height: auto !important;
        min-height: 100vh;
        cursor: auto !important;
    }

    /* HIDE NAV LINKS ON MOBILE */
    .nav-menu {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }

    /* DISABLE HORIZONTAL SCROLL ENGINE */
    .scroll-container {
        display: block;
        width: 100%;
        height: auto !important;
        transform: none !important;
        position: relative;
        overflow-y: visible !important;
    }

    .horizontal-section {
        width: 100%;
        height: auto;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 80px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* SECTION 1: COVER */
    .cover-section {
        padding-top: 120px;
        min-height: 90vh;
        gap: 30px;
    }

    .huge-title {
        font-size: 15vw;
        line-height: 0.9;
        text-align: center;
    }

    .cover-meta {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        align-items: center;
    }

    .cover-image-container,
    .obsidian-wrapper {
        width: 100%;
        height: 35vh;
        margin: 0;
    }

    .obsidian-structure {
        transform: scale(0.7);
    }

    /* MANIFESTO: Unified & Centered */
    .manifesto-section {
        padding-right: 20px;
        /* Reset */
    }

    .cover-section+.manifesto-section {
        border-bottom: none;
        padding-bottom: 0;
    }

    .cover-section+.manifesto-section+.manifesto-section {
        padding-top: 20px;
    }

    .manifesto-text {
        font-size: 7vw;
        text-align: center;
        line-height: 1.4;
    }

    .manifesto-block {
        align-items: center;
    }

    .manifesto-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* GALLERY: Centered */
    .gallery-section {
        align-items: center;
    }

    .gallery-header {
        display: none;
    }

    .project-item {
        width: 100%;
        margin: 0 0 80px 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .project-info {
        align-items: center;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .project-number {
        margin-bottom: 10px;
    }

    .project-item h3 {
        text-align: center;
    }

    .project-item.offset-up,
    .project-item.offset-down {
        margin-top: 0;
    }

    .project-visual {
        width: 100%;
        aspect-ratio: 4/3;
        margin-bottom: 20px;
    }

    /* SKILLS & TOOLS: Centered */
    .skills-section,
    .tools-section {
        align-items: center;
        text-align: center;
    }

    .skills-list,
    .tools-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-top: 40px;
    }

    .skill-item,
    .tool-item {
        font-size: 8vw;
        padding: 24px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .skill-item {
        flex-direction: column;
        gap: 5px;
    }

    .skill-num {
        opacity: 0.6;
        font-size: 12px;
    }

    /* CONTACT */
    .contact-section .huge-title {
        font-size: 18vw;
        margin-bottom: 30px;
    }

    .email-link {
        font-size: 6vw;
        margin-top: 20px;
    }

    .socials {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin-top: 60px;
    }

    .footer-note {
        margin-top: 60px;
        position: relative;
    }

    /* MODAL MOBILE: Redesigned */
    .project-modal {
        z-index: 9999;
    }

    .modal-content {
        flex-direction: column;
        overflow-y: auto;
        padding-bottom: 120px;
        /* Space for fixed button */
    }

    .modal-left {
        height: auto;
        aspect-ratio: 16/9;
        /* Show image at top */
        flex: none;
        order: 1;
        padding: 0;
        overflow: hidden;
    }

    .modal-right {
        order: 2;
        border-left: none;
        height: auto;
        flex: none;
        overflow: visible;
    }

    .modal-header {
        padding: 40px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .modal-header h2 {
        font-size: 10vw;
    }

    .modal-body {
        padding: 30px 20px;
        text-align: center;
    }

    .modal-desc {
        font-size: 18px;
        text-align: center;
    }

    .modal-tags {
        justify-content: center;
    }

    .modal-details {
        text-align: center;
    }

    .modal-details li {
        justify-content: center;
    }

    .modal-image-container {
        padding: 0;
        gap: 0;
    }

    .modal-image-container img {
        border-radius: 0;
        margin-bottom: 0;
        border: none;
    }

    /* FIXED BOTTOM CLOSE BUTTON */
    .modal-close-btn {
        position: fixed;
        top: auto;
        bottom: 30px;
        right: 50%;
        transform: translateX(50%);
        background: #F0F0F0;
        /* High contrast */
        color: #050505;
        padding: 16px 60px;
        width: auto;
        white-space: nowrap;
        border-radius: 100px;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: 2px;
        z-index: 10000;
        border: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .modal-close-btn:hover {
        transform: translateX(50%) scale(1.05);
        background: #fff;
    }
}