@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&display=swap');
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

html {
    overflow-y: scroll;
}

html.lenis {
    height: auto;
}

.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis-stopped {
    overflow: hidden;
}

.lenis-scrolling iframe {
    pointer-events: none;
}

body.modal-active {
    overflow: hidden !important;
}

body {
    font-family: 'Outfit', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: clip;
    margin: 0;
    padding: 0;
}

.custom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000 !important;
    padding: 24px 50px;
    font-size: 16px;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    z-index: 20;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

.custom-nav.fixed-top {
    padding-right: 50px !important;
}

@media (max-width: 768px) {
    .custom-nav.fixed-top {
        padding-right: 20px !important;
    }
}


/* Center-placed logo wrapper inside custom-nav */
.nav-center-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: var(--nav-logo-opacity, 0);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Keep the logo visible always on the artist and audition page */
body:has(.artist-page-container) .nav-center-logo,
body:has(.audition-page-container) .nav-center-logo,
body:has(.contact-page-container) .nav-center-logo {
    opacity: 1;
    pointer-events: auto;
}

.nav-center-logo img {
    height: 78px;
    width: auto;
    display: block;
}

/* Theme toggle button styling */
.theme-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.25rem;
    cursor: pointer;
    margin-right: 25px;
    padding: 0;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.theme-btn:hover {
    opacity: 0.5;
}

/* Search container & sliding input styling */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 25px;
}

.search-input {
    width: 0;
    opacity: 0;
    border: none;
    outline: none;
    background: transparent;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 0;
    border-bottom: 1px solid currentColor;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.4s ease;
    pointer-events: none;
}

.search-container.active .search-input {
    width: 150px; /* Expands to the left */
    opacity: 1;
    padding: 4px 8px;
    margin-right: 10px;
    pointer-events: auto;
}

.search-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
    transition: opacity 0.3s ease;
}

.search-btn:hover {
    opacity: 0.5;
}

/* Language switch styling */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.lang-btn {
    background: none;
    border: none;
    color: inherit;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.lang-btn.active {
    opacity: 1;
    font-weight: 700;
}

.lang-switch span {
    opacity: 0.3;
}

/* Dark mode theme mappings */
body.dark {
    background-color: #000000;
    color: #ffffff;
}

body.dark {
    background-color: #000000;
    color: #ffffff;
}

body.dark .custom-nav a {
    color: #ffffff;
}

/* Sections that are normally white become black in dark mode */
body.dark .second-section,
body.dark .third-section,
body.dark .third-2-section,
body.dark .fourth-section-text,
body.dark .reveal-wrapper {
    background-color: #000000;
    color: #ffffff;
}

/* Ensure background color becomes transparent on hover in dark mode */
body.dark:has(.hover-image-trigger:hover) .reveal-wrapper,
body.dark:has(.hover-image-trigger:hover) .second-section,
body.dark:has(.hover-image-trigger:hover) .third-section,
body.dark:has(.hover-image-trigger:hover) .third-2-section,
body.dark:has(.hover-image-trigger:hover) .fourth-section-text {
    background-color: transparent !important;
}

/* Sections that are normally black become white in dark mode */
body.dark .fourth-section,
body.dark .five-section,
body.dark .fourth-scroll-container,
body.dark .five-scroll-container {
    background-color: #ffffff;
    color: #000000;
}

body.dark .second-section .desc-text-light,
body.dark .second-section .desc-text-bold,
body.dark .third-section .desc-text-light,
body.dark .third-section .desc-text-bold,
body.dark .third-2-section .desc-text-light,
body.dark .third-2-section .desc-text-bold,
body.dark .fourth-section-text .desc-text-light,
body.dark .fourth-section-text .desc-text-bold {
    color: #ffffff !important;
}

body.dark .fourth-section .desc-text-light,
body.dark .fourth-section .desc-text-bold,
body.dark .five-section .desc-text-light,
body.dark .five-section .desc-text-bold,
body.dark .polaroid-card-five .card-title {
    color: #000000 !important;
}

body.dark .nav-center-logo img,
body.dark .hero-text img {
    filter: invert(1); /* Invert logo color in dark mode */
}

.custom-nav a {
    color: #000000;
    text-decoration: none;
    margin-right: 25px;
    transition: opacity 0.3s ease;
}

.custom-nav a:last-child {
    margin-right: 0;
}

.custom-nav a:hover {
    opacity: 0.5;
}

.custom-nav .bi {
    font-size: 20px;
    vertical-align: middle;
}

.custom-nav .nav-brand {
    font-weight: 700;
}

.custom-nav .nav-left, .custom-nav .nav-right {
    display: flex;
    align-items: center;
}

.custom-nav .nav-left a {
    font-weight: 700;
}

.scroll-container {
    position: relative;
    height: 250vh;
}

/* Hero Section */
.hero-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-text {
    user-select: none;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%) translate3d(0, var(--text-y, 0px), 0) scale(var(--text-scale, 1));
    transform-origin: center center;
    z-index: 1;
    margin: 0;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translate3d(0, -250px, 0) scale(0.6);
    }
    70% {
        opacity: 1;
        transform: translate3d(0, 15px, 0) scale(1.03);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.hero-text img {
    width: 62%;
    max-width: 950px;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: logoEntrance 1.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes videoFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-video-wrapper {
    position: relative;
    z-index: 2;
    width: 52%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    opacity: 0;
    animation: videoFadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 2.4s;
    transform-origin: center center;
}

.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .custom-nav {
        padding: 20px;
    }
    .custom-nav a {
        margin-right: 15px;
    }
    .hero-video-wrapper {
        width: 78%;
    }
}

.mobile-br { display: none; }
@media (max-width: 768px) { .mobile-br { display: inline; } }

.news-detail-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-detail-modal {
    background: #fff;
    border-radius: 14px;
    max-width: 520px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 12px 48px rgba(0,0,0,0.22);
    position: relative;
}
body.dark .news-detail-modal {
    background: #1e1e1e;
    color: #fff;
}
.news-detail-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: inherit;
    line-height: 1;
    z-index: 1;
}
.news-detail-modal-img-wrapper img {
    width: 100%;
    display: block;
    border-radius: 14px 14px 0 0;
    max-height: 260px;
    object-fit: cover;
}
.news-detail-modal-body {
    padding: 24px 28px 28px;
}
.news-detail-modal-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.4;
}
.news-detail-modal-body p {
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-line;
}
.news-stack-card { cursor: pointer; }

.second-section, .third-section, .third-2-section {
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px;
    position: relative;
    z-index: 5;
    overflow: hidden;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body:has(.hover-image-trigger:hover) .reveal-wrapper,
body:has(.hover-image-trigger:hover) .second-section,
body:has(.hover-image-trigger:hover) .third-section,
body:has(.hover-image-trigger:hover) .third-2-section {
    background-color: transparent;
}

.third-section, .third-2-section {
    padding-top: 40px;
    min-height: 100vh;
    background-color: #ffffff;
}

.reveal-wrapper {
    position: relative;
    z-index: 5;
    background-color: #ffffff;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.third-section, .third-2-section {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
}

.fourth-scroll-container {
    height: 350vh;
    position: relative;
}

.five-scroll-container {
    height: 150vh;
    position: relative;
}

.fourth-section, .five-section {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.bg-scroll-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.bg-scroll-text .desc-text-light {
    color: #ffffff !important;
    font-size: 4.5rem !important;
    line-height: 1.3;
    margin: 0;
}

.article-reveal-content, .article-reveal-content-five {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.article-header, .article-header-five {
    position: absolute;
    top: 110px; /* Shifted down slightly to add breathing room at the top */
    left: 50%;
    transform: translate(-50%, -20px);
    color: #ffffff;
    font-size: 3.0rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    opacity: 0;
    transition: all 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-header.reveal-active, .article-header-five.reveal-active {
    opacity: 1;
    transform: translate(-50%, 0);
}

.article-footer {
    text-align: center;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* News Stack Overlay Layout */
.news-stack-wrapper {
    position: relative;
    width: 900px;
    height: 520px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-stack-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #1e1e1e;
    border-radius: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    overflow: hidden;
    transform: translateY(100vh); /* Match default start offset */
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, filter 0.8s ease;
}

.news-card-img-wrapper {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.news-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-info {
    width: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    background-color: #111111;
    color: #ffffff;
}

.news-card-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-card-desc {
    font-size: 1.1rem;
    color: #aaaaaa;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Stacking overrides in dark/light mode */
body.dark .news-stack-card {
    background-color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

body.dark .news-card-info {
    background-color: #ffffff;
    color: #000000;
}

body.dark .news-card-desc {
    color: #555555;
}

.polaroid-gallery-wrapper, .polaroid-gallery-wrapper-five {
    width: 100%;
    height: 78vh;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    transform: translateY(100vh);
    opacity: 0;
    transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.3s ease;
}

.polaroid-gallery-wrapper.reveal-active, .polaroid-gallery-wrapper-five.reveal-active {
    transform: translateY(0);
    opacity: 1;
}

.polaroid-gallery, .polaroid-gallery-five {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
    padding: 0;
    height: 100%;
    position: relative;
    transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.polaroid-card, .polaroid-card-five {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    flex-shrink: 0;
    width: 480px;
    opacity: 0;
    visibility: hidden;
    transition: all 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    width: 100%;
}

.card-category {
    color: #ffffff;
    font-weight: 700;
}

.card-date {
    color: #888888;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 400;
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
    text-align: center;
    transition: font-size 1.3s cubic-bezier(0.16, 1, 0.3, 1), font-weight 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.polaroid-card.active .card-title,
.polaroid-card-five.active .card-title {
    font-size: 1.95rem;
    font-weight: 500;
}

.polaroid-card-five:hover .card-title {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.polaroid-card.prev,
.polaroid-card.next,
.polaroid-card-five.prev,
.polaroid-card-five.next {
    width: 480px;
    opacity: 0;
    visibility: hidden;
}

.polaroid-card.active,
.polaroid-card-five.active {
    width: 1100px;
    opacity: 1;
    visibility: visible;
}

.polaroid-img-wrapper {
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 40px;
}

.polaroid-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.second-section .desc-text-light, .third-section .desc-text-light, .third-2-section .desc-text-light, .fourth-section .desc-text-light {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 25px;
    letter-spacing: -0.01em;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.second-section .desc-text-bold, 
.third-section .desc-text-bold, 
.third-2-section .desc-text-bold {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
    white-space: nowrap; /* Keep on a single line on large screens */
}

@media (max-width: 1200px) {
    .second-section .desc-text-bold, 
    .third-section .desc-text-bold, 
    .third-2-section .desc-text-bold {
        white-space: normal !important;
        font-size: clamp(2.0rem, 3.6vw, 3.0rem) !important; /* Scale down smoothly and wrap into 2 lines */
    }
}

.fourth-section .desc-text-bold {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.second-section .arrow, .third-section .arrow, .fourth-section .arrow {
    margin-right: 12px;
}

@media (max-width: 768px) {
    .second-section .desc-text-light, .third-section .desc-text-light {
        font-size: 1.6rem;
    }
    .fourth-section .desc-text-light {
        font-size: 2.2rem !important;
    }
    .second-section .desc-text-bold, 
    .third-section .desc-text-bold, 
    .third-2-section .desc-text-bold, 
    .fourth-section .desc-text-bold {
        font-size: 2.0rem;
        white-space: normal; /* Let it wrap on smaller screens */
    }
}

/* Scroll Reveal Animation */
.reveal-line {
    opacity: 0;
    transform: translate3d(-50px, 0, 0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-line.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal-line:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-line:nth-child(2) {
    transition-delay: 0.35s;
}

.reveal-line:nth-child(3) {
    transition-delay: 0.6s;
}

/* Hover Image Reveal effect */
.hover-reveal-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transform: scale(1.04);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-reveal-img .hover-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hover-reveal-img .hover-slide.active {
    opacity: 1;
}

body:has(.hover-image-trigger:hover) .hover-reveal-img {
    opacity: 1.0;
    transform: scale(1.0);
}

.second-section .container,
.third-section .container {
    position: relative;
    z-index: 2;
}

.hover-image-trigger {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: color 0.3s ease;
}

.second-section:has(.hover-image-trigger:hover) .desc-text-light,
.third-section:has(.hover-image-trigger:hover) .desc-text-light,
.third-2-section:has(.hover-image-trigger:hover) .desc-text-light,
.fourth-section-text:has(.hover-image-trigger:hover) .desc-text-light,
.fourth-section:has(.hover-image-trigger:hover) .desc-text-light {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
    transition-delay: 0s !important;
}

body:has(.hover-image-trigger:hover) .hover-image-trigger {
    color: #ffffff;
}

/* Custom Cursor Styling */
@media (pointer: fine) {
    body {
        cursor: none;
    }
    a, button, [role="button"], .hover-image-trigger, .polaroid-card, .actor-card, .artist-card-item, .news-row-item {
        cursor: none;
    }
}
.custom-cursor {
    width: 16px;
    height: 16px;
    background-color: #000000; /* Solid Black cursor on white background */
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    /* Removed mix-blend-mode: difference; to avoid color distortion on actor photos */
    transition: width 0.25s ease-out, height 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
    opacity: 0;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); /* Ensure visibility on white backgrounds */
}

.custom-cursor.visible {
    opacity: 1;
}

.custom-cursor.cursor-white {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.custom-cursor.hovered {
    width: 60px;
    height: 60px;
    background-color: transparent !important; /* Hollow premium ring */
    border: 2px solid #000000;
    box-shadow: none;
}

.custom-cursor.cursor-white.hovered {
    border: 2px solid #ffffff;
    box-shadow: none;
}

/* Voice Actor Card Styles */
.actor-card {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.actor-card:hover {
    transform: translateY(-8px);
}

.actor-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #f7f7f7;
    margin-top: 0 !important; /* Override polaroid img wrapper margin */
    margin-bottom: 22px;
}

.actor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.actor-card:hover .actor-img-wrapper img {
    transform: scale(1.04);
}

.actor-name {
    font-size: 1.45rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.actor-role {
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* 3-Column Hover Grid Layout */
.hover-grid-3col {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex !important;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.hover-grid-3col.active {
    opacity: 1;
}

.hover-grid-col {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hover-grid-col:last-child {
    border-right: none;
}

.hover-grid-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-grid-3col.active .hover-grid-col img {
    transform: scale(1);
}

/* Floating Bottom Bar */
.floating-bottom-bar {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px; /* Unified gap between all elements */
    z-index: 99;
}

body.modal-open .floating-bottom-bar,
body.modal-open .custom-footer {
    display: none !important;
}


.floating-sns {
    display: flex;
    align-items: center;
    gap: 12px; /* Unified gap between SNS buttons */
}

.sns-icon-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1.35rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.sns-icon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background-color: #000000;
    color: #ffffff;
}

.floating-actions {
    display: flex;
    align-items: center;
}

.btn-global-audition {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 32px;
    border-radius: 27px;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-global-audition:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background-color: #222222;
    color: #ffffff;
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 64px; /* Increased padding for wider button width */
    border-radius: 27px;
    background-color: #ffb3c6; /* Warm pink tone */
    color: #0d1b2a; /* Dark text for contrast */
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 179, 198, 0.3);
    transition: all 0.3s ease;
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 179, 198, 0.5);
    opacity: 0.95;
    color: #0d1b2a;
}

/* Dark mode overrides for floating bar */
body.dark .sns-icon-btn {
    background-color: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body.dark .sns-icon-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

body.dark .btn-global-audition {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark .btn-global-audition:hover {
    background-color: #eeeeee;
}

/* Custom Footer Styling */
.custom-footer {
    background-color: #ffffff;
    color: #000000;
    padding: 50px 50px 100px 50px; /* Tighter padding (top/bottom) while keeping bottom room for floating bar */
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 5;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-top 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .custom-footer {
    background-color: #000000;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Tighter vertical gap */
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-wrapper {
    display: inline-block;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .footer-logo-img {
    filter: invert(1);
}

.footer-tagline {
    font-size: 1.1rem;
    opacity: 0.6;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-group h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.link-group a {
    color: inherit;
    text-decoration: none;
    font-size: 1.05rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.link-group a:hover {
    opacity: 1;
}

.link-group p {
    margin: 0;
    font-size: 1.05rem;
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

body.dark .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .copyright {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.5;
}

/* Dynamic Navbar Text Color Overrides based on background */
.custom-nav.nav-light-text,
.custom-nav.nav-light-text a,
.custom-nav.nav-light-text .theme-btn,
.custom-nav.nav-light-text .search-btn,
.custom-nav.nav-light-text .lang-btn {
    color: #ffffff !important;
}

.custom-nav.nav-light-text .nav-center-logo img {
    filter: invert(1) !important;
}

/* Add transition for color shift */
.custom-nav,
.custom-nav a,
.custom-nav .theme-btn,
.custom-nav .search-btn,
.custom-nav .lang-btn,
.custom-nav .nav-center-logo img {
    transition: color 0.4s ease, filter 0.4s ease, background-color 0.3s ease, opacity 0.3s ease;
}

/* Section signature text */
.section-signature-text {
    position: absolute;
    bottom: 40px;
    left: 50px;
    color: rgba(255, 255, 255, 0.3); /* Gray on dark backgrounds */
    font-size: 2.2rem; /* Significantly larger */
    font-weight: 700;  /* Bold */
    line-height: 1.1;  /* Tight line height for double lines */
    letter-spacing: 0.05em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 10;
    transition: color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .section-signature-text {
    color: rgba(0, 0, 0, 0.3); /* Gray on light backgrounds in dark mode */
}

/* Background text marquee layout for AUDITION */
.bg-scroll-text-five.marquee-wrapper {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100vw;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    justify-content: flex-start;
    text-align: left;
}

.bg-scroll-text-five .marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 32s linear infinite;
}

.bg-scroll-text-five .desc-text-light {
    font-size: 5.5rem !important; /* Premium oversized statement text */
    padding-right: 120px; /* Loop space */
    display: inline-block;
    margin: 0;
    white-space: nowrap;
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Background text marquee layout for NEWS */
.bg-scroll-text-fourth.marquee-wrapper {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100vw;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    justify-content: flex-start;
    text-align: left;
}

.bg-scroll-text-fourth .marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll-fourth 35s linear infinite; /* Slightly different speed to prevent synchronization rigidity */
}

.bg-scroll-text-fourth .desc-text-light {
    font-size: 5.5rem !important; /* Premium oversized statement text */
    font-weight: 700 !important; /* Bold font weight */
    padding-right: 120px; /* Loop space */
    display: inline-block;
    margin: 0;
    white-space: nowrap;
}

@keyframes marquee-scroll-fourth {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Right aligned section signature text */
.section-signature-text.right {
    left: auto;
    right: 50px;
    text-align: right;
}

/* Contact Pink Button in custom-nav */
.nav-btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 19px;
    background-color: #ffb3c6; /* Warm pink tone */
    color: #000000 !important; /* Force black text for readability */
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 25px;
    box-shadow: 0 4px 10px rgba(255, 179, 198, 0.3);
    transition: all 0.3s ease;
}

.nav-btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 179, 198, 0.5);
    opacity: 0.95;
    color: #000000 !important;
}

/* Maintain black text color inside the button even when navbar switches to light-text mode over dark background */
.custom-nav.nav-light-text a.nav-btn-contact {
    color: #000000 !important;
}

body.dark .nav-btn-contact {
    background-color: #ffffff; /* White button in dark mode to align with B&W concept */
    color: #000000 !important;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
}

body.dark .nav-btn-contact:hover {
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
}

/* MUSAI Button in custom-nav */
.nav-btn-musai {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 19px;
    background-color: #000000;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-left: 10px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.nav-btn-musai:hover {
    transform: translateY(-2px);
    opacity: 0.8;
    color: #ffffff !important;
}

body.dark .nav-btn-musai {
    background-color: #ffffff;
    color: #000000 !important;
}

body.dark .nav-btn-musai:hover {
    opacity: 0.8;
    color: #000000 !important;
}

/* Common Alert Modal */
.file-size-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.file-size-modal-overlay.active {
    display: flex;
}
.file-size-modal {
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px 28px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
body.dark .file-size-modal {
    background: #1e1e1e;
    color: #fff;
}
.file-size-modal i {
    font-size: 36px;
    color: #ff6b6b;
    margin-bottom: 14px;
    display: block;
}
.file-size-modal p {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 24px;
}
.file-size-modal button {
    padding: 10px 32px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
body.dark .file-size-modal button {
    background: #fff;
    color: #000;
}

/* Blinking Arrow for hover cues */
.blinking-arrow {
    display: inline-block;
    margin-right: 15px;
    margin-left: 0;
    color: #ff8aa5;
    animation: arrow-blink-anim 1.4s infinite ease-in-out;
    font-weight: 700;
}

@keyframes arrow-blink-anim {
    0%, 100% {
        opacity: 0.15;
        transform: translateX(-3px);
    }
    50% {
        opacity: 1;
        transform: translateX(3px);
    }
}

/* Artist Page Styles */
.artist-page-container {
    padding: 180px 50px 100px 50px;
    background-color: #ffffff;
    color: #000000;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .artist-page-container {
    background-color: #000000;
    color: #ffffff;
}

.artist-intro-section {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 80px auto;
    text-align: center;
    padding: 80px 20px;
}

.artist-intro-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background-color: #ffb3c6;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    animation: artist-orb-pulse 10s infinite alternate ease-in-out;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --orb-opacity-min: 0.26;
    --orb-opacity-mid: 0.35;
    --orb-opacity-max: 0.45;
}

body.dark .artist-intro-section::before {
    background-color: #ffb3c6;
    --orb-opacity-min: 0.14;
    --orb-opacity-mid: 0.20;
    --orb-opacity-max: 0.28;
}

.artist-intro-title {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: inherit;
    position: relative;
    z-index: 2;
}

@keyframes artist-orb-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.85) translate(-200px, -20px);
        opacity: var(--orb-opacity-min);
    }
    25% {
        transform: translate(-50%, -50%) scale(1.05) translate(160px, -35px);
        opacity: var(--orb-opacity-mid);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2) translate(200px, 20px);
        opacity: var(--orb-opacity-max);
    }
    75% {
        transform: translate(-50%, -50%) scale(0.95) translate(-160px, 35px);
        opacity: var(--orb-opacity-mid);
    }
    100% {
        transform: translate(-50%, -50%) scale(0.85) translate(-200px, -20px);
        opacity: var(--orb-opacity-min);
    }
}

/* Scrolling Ticker Row with solid borders and large centered text */
.artist-ticker-row {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 60px;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    padding: 22px 0;
    display: flex;
    align-items: center; /* Vertically center the items */
    justify-content: center;
    transition: border-color 0.8s ease;
}

body.dark .artist-ticker-row {
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

.ticker-wrapper {
    display: inline-flex;
    align-items: center; /* Vertically center the text items */
    animation: ticker-move-ltr 22s linear infinite;
}

.ticker-item {
    font-size: 1.85rem; /* Larger font size */
    font-weight: 800; /* Bolder text */
    color: #000000;
    padding: 0 50px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-transform: uppercase;
    line-height: 1.2;
    transition: color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .ticker-item {
    color: #ffffff;
}

@keyframes ticker-move-ltr {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* 3-column Artist Grid */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .artist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .artist-grid {
        grid-template-columns: 1fr;
    }
    .artist-intro-title {
        font-size: 2.0rem;
    }
    .divider-statement {
        font-size: 0.8rem;
        top: -20px;
    }
}

.artist-card-item {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.artist-img-frame {
    width: 100%;
    aspect-ratio: 3 / 4; /* Vertically longer portrait ratio */
    overflow: hidden;
    background-color: #f7f7f7;
    margin-bottom: 20px;
    transition: background-color 0.8s ease;
}

body.dark .artist-img-frame {
    background-color: #1a1a1a;
}

.artist-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.artist-card-item:hover .artist-img-frame img {
    transform: scale(1.05);
}

.artist-card-name {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: inherit;
}

.artist-card-role {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.5;
    color: inherit;
}

/* Premium Modal Styles for Artist */
.artist-modal-content {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 0px; /* Sharp corners for modern premium feel */
    font-family: 'Pretendard', sans-serif;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.8s ease;
}

body.dark .artist-modal-content {
    background-color: #0d0d0d;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.artist-modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
}

body.dark .artist-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.artist-modal-title {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.artist-modal-close {
    filter: none;
    opacity: 0.8;
    transition: opacity 0.3s ease, filter 0.8s ease;
}

body.dark .artist-modal-close {
    filter: invert(1);
}

.artist-modal-body {
    padding: 30px 20px;
}

.artist-modal-info {
    display: flex;
    gap: 30px;
    width: 100%;
}

@media (max-width: 576px) {
    .artist-modal-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.artist-modal-img-wrapper {
    width: 240px;
    height: 320px;
    overflow: hidden;
    background-color: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

body.dark .artist-modal-img-wrapper {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.artist-modal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-modal-details {
    flex-grow: 1;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.artist-modal-role {
    font-size: 0.95rem;
    opacity: 0.6;
    margin-bottom: 15px;
    font-weight: 500;
}

.artist-modal-works-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 5px;
}

body.dark .artist-modal-works-title {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.artist-modal-works-list {
    padding-left: 20px;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.artist-modal-works-list li {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    word-break: keep-all;
    word-wrap: break-word;
    white-space: normal;
}

/* News List Row Layout Styles */
.news-list-container {
    width: 100%;
    margin: 20px auto 0 auto;
    display: flex;
    flex-direction: column;
}

.news-row-item {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 25px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: -1px;
    position: relative;
    z-index: 1;
    transition: border-color 0.3s ease;
}

.news-row-item:hover {
    border-top-color: #000000;
    border-bottom-color: #000000;
    z-index: 2;
}

body.dark .news-row-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark .news-row-item:hover {
    border-top-color: #ffffff;
    border-bottom-color: #ffffff;
}

.news-row-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 40px;
}

.news-row-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888888;
    margin-bottom: 15px;
}

.news-row-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 2.1rem;
    font-weight: 500;
    line-height: 1.35;
    color: inherit;
    margin-bottom: 15px;
    transition: opacity 0.3s ease;
}

.news-row-title:hover {
    opacity: 0.7;
}

.news-row-date {
    font-size: 0.75rem;
    color: #666666;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    width: fit-content;
    display: inline-block;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.dark .news-row-date {
    color: #aaaaaa;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.news-row-right {
    flex-shrink: 0;
}

.news-visual-card {
    width: 440px;
    height: 290px;
    border-radius: 0px; /* Sharp modern premium theme */
    background-color: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

body.dark .news-visual-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.news-visual-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

body.dark .news-visual-card:hover {
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.02);
}

.news-card-header {
    height: 35px;
    background-color: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #333333;
}

body.dark .news-card-header {
    background-color: #222222;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #cccccc;
}

.news-card-body {
    flex: 1;
    overflow: hidden;
}

.news-card-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-visual-card:hover .news-card-body img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .news-row-item {
        flex-direction: column;
        gap: 30px;
    }
    .news-row-left {
        padding-right: 0;
    }
    .news-visual-card {
        width: 100%;
        max-width: 440px;
    }
}

/* News Modal Styles */
.news-modal-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.news-modal-img-wrapper {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

body.dark .news-modal-img-wrapper {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-modal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-details {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.news-modal-category-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 18px;
    border-radius: 16px;
    background-color: #ffb3c6;
    color: #000000 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(255, 179, 198, 0.3);
    transition: all 0.3s ease;
}

.news-modal-category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 179, 198, 0.5);
}

body.dark .news-modal-category-btn {
    background-color: #ffffff;
    color: #000000 !important;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
}

.news-modal-works-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.news-modal-works-list li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.6;
    word-break: keep-all;
    word-wrap: break-word;
    white-space: normal;
}

#newsModal .artist-modal-header {
    border-bottom: 1px solid #000000;
}

body.dark #newsModal .artist-modal-header {
    border-bottom: 1px solid #ffffff;
}

/* Audition Page Layout Styles */
.audition-page-container {
    width: 100%;
    min-height: 100vh;
    padding-top: 90px;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .audition-page-container {
    background-color: #000000;
}

.audition-content-wrapper {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 90px);
    box-sizing: border-box;
}

/* Left Video Banner */
.audition-banner-area {
    width: 68%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #000000;
}

/* Semi-transparent dark overlay for text contrast */
.audition-banner-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
}

.audition-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.audition-banner-sidebar {
    position: absolute;
    top: 40px;
    left: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: auto;
    z-index: 10;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #ffffff;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 40px 0;
}

.sidebar-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    padding: 6px 12px;
    border-radius: 2px;
    width: fit-content;
    transition: all 0.3s ease;
}

.sidebar-link:hover, .sidebar-link.active {
    color: #000000;
    border-style: solid;
    border-color: #000000;
    background-color: rgba(255, 255, 255, 0.2);
}

.sidebar-info {
    color: #ffffff;
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1.15;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

.audition-banner-center {
    text-align: center;
    position: relative;
    z-index: 2;
}

.banner-large-text {
    font-size: 5vw;
    font-weight: 900;
    line-height: 1.05;
    color: #ffffff;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Right Content Box */
.audition-info-area {
    width: 32%;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    box-sizing: border-box;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .audition-info-area {
    background-color: #000000;
    color: #ffffff;
}

.btn-audition-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 180px;
    height: 44px;
    padding: 0 35px;
    border-radius: 22px;
    background-color: #ffb3c6;
    color: #000000 !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    margin: 30px auto 0 auto;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 179, 198, 0.4);
}

.btn-audition-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 179, 198, 0.6);
    opacity: 0.95;
    color: #000000 !important;
}

body.dark .btn-audition-apply {
    background-color: #ffffff;
    color: #000000 !important;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
}

body.dark .btn-audition-apply:hover {
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
}

.info-content-box {
    width: 100%;
    max-width: 500px;
    min-height: 600px;
}

.info-badge-wrapper {
    margin-bottom: 20px;
}

.info-badge {
    background-color: #000000;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-block;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .info-badge {
    background-color: #ffffff;
    color: #000000;
}

.info-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    color: #000000;
    transition: color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .info-title {
    color: #ffffff;
}

.info-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    margin: 25px 0;
    opacity: 1;
    transition: border-top 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .info-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: border-bottom 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .info-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-label {
    padding: 15px 0;
    width: 130px;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.6);
    vertical-align: top;
    transition: color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .info-label {
    color: rgba(255, 255, 255, 0.6);
}

.info-value {
    padding: 15px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.6;
    transition: color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .info-value {
    color: #ffffff;
}

.info-value .sub-value {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 500;
    transition: color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .info-value .sub-value {
    color: rgba(255, 255, 255, 0.5);
}

.info-value .caution-value {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.4);
    font-weight: 500;
    transition: color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .info-value .caution-value {
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive adjustment for Audition page */
@media (max-width: 1024px) {
    .audition-content-wrapper {
        flex-direction: column;
    }
    .audition-banner-area {
        width: 100%;
        min-height: 60vh;
    }
    .audition-info-area {
        width: 100%;
        padding: 50px 30px;
    }
    .banner-large-text {
        font-size: 8vw;
    }
}

@media (max-width: 576px) {
    .audition-banner-sidebar {
        position: relative;
        top: -32px;
        left: -16px;
        bottom: 0;
        margin-bottom: 40px;
    }
    .audition-banner-area {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .banner-large-text {
        font-size: 10vw;
    }
    .info-title {
        font-size: 2.2rem;
    }
    .info-table tr {
        display: flex;
        flex-direction: column;
        padding: 10px 0;
    }
    .info-label {
        padding: 0 0 5px 0;
        width: 100%;
    }
    .info-value {
        padding: 0;
    }
}

/* Audition Application Step Styles */
.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .step-num {
    background-color: #ffffff;
    color: #000000;
}

.step-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Sidebar Nav Styles */
.menu-toggle-btn {
    display: none;
}

.mobile-sidebar-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    color: #000000;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
}

body.dark .mobile-sidebar-nav {
    background-color: #121212;
    color: #ffffff;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-sidebar-nav.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.sidebar-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: inherit;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 40px;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: auto;
}

.sidebar-link-item {
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: inherit !important;
    transition: opacity 0.3s ease;
}

.sidebar-link-item:hover {
    opacity: 0.6;
}

.sidebar-controls {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark .sidebar-controls {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-controls .lang-switch {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.sidebar-controls .lang-btn {
    background: none;
    border: none;
    color: inherit;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.5;
    padding: 0;
    transition: opacity 0.3s ease;
}

.sidebar-controls .lang-btn.active {
    opacity: 1;
    font-weight: 700;
}

.sidebar-controls .theme-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 768px) {
    .artist-page-container {
        padding: 120px 20px 80px 20px;
    }
    .artist-intro-section {
        margin: 20px auto 40px auto;
        padding: 40px 10px;
    }
    .artist-intro-title {
        font-size: 2.0rem;
        line-height: 1.35;
    }
    .artist-ticker-row {
        margin-bottom: 40px;
        padding: 15px 0;
    }
    .ticker-item {
        font-size: 1.45rem;
        padding: 0 25px;
    }
    .news-row-item {
        padding: 20px 0;
        gap: 15px;
    }
    .news-row-category {
        margin-bottom: 8px;
    }
    .news-row-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    .news-visual-card {
        height: auto;
        aspect-ratio: 16 / 9;
        width: 100%;
        max-width: 100%;
    }

    /* Header (Navbar) Mobile Optimization */
    .menu-toggle-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: inherit;
        font-size: 24px;
        cursor: pointer;
        padding: 0;
        margin-right: 15px;
        z-index: 21;
    }
    
    .custom-nav {
        padding: 15px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #ffffff !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    body.dark .custom-nav {
        background-color: #000000 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .custom-nav,
    .custom-nav a,
    .custom-nav .theme-btn,
    .custom-nav .search-btn,
    .custom-nav .lang-btn {
        color: #000000 !important;
    }
    
    body.dark .custom-nav,
    body.dark .custom-nav a,
    body.dark .custom-nav .theme-btn,
    body.dark .custom-nav .search-btn,
    body.dark .custom-nav .lang-btn {
        color: #ffffff !important;
    }

    /* Override mobile navbar colors when scrolling over dark sections */
    .custom-nav.nav-light-text {
        background-color: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .custom-nav.nav-light-text,
    .custom-nav.nav-light-text a,
    .custom-nav.nav-light-text .theme-btn,
    .custom-nav.nav-light-text .search-btn,
    .custom-nav.nav-light-text .lang-btn,
    .custom-nav.nav-light-text .menu-toggle-btn {
        color: #ffffff !important;
    }
    
    /* Hide desktop nav elements */
    .custom-nav .nav-left a:not(.nav-brand) {
        display: none !important;
    }
    
    .custom-nav .nav-right .search-container,
    .custom-nav .nav-right #theme-toggle,
    .custom-nav .nav-right .lang-switch {
        display: none !important;
    }
    
    .custom-nav .nav-right {
        justify-content: flex-end;
    }
    
    .custom-nav .nav-brand {
        display: none !important;
    }
    
    .nav-center-logo {
        display: block !important;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        opacity: 1 !important;
        pointer-events: auto;
    }

    .nav-center-logo img {
        height: 48px;
        width: auto;
    }
    
    .nav-btn-contact {
        height: 32px;
        padding: 0 12px;
        font-size: 12px;
        margin-left: 0 !important;
    }

    /* Footer Mobile Optimization */
    .custom-footer {
        padding: 40px 20px 90px 20px;
    }
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    .footer-brand {
        gap: 10px;
    }
    .footer-logo-img {
        height: 48px;
    }
    .footer-tagline {
        font-size: 0.95rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    .link-group {
        gap: 10px;
    }
    .link-group h5 {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }
    .link-group a, .link-group p {
        font-size: 0.9rem;
    }
    .footer-bottom {
        padding-top: 20px;
    }
    .footer-bottom .copyright {
        font-size: 0.85rem;
    }

    /* Disable custom cursor on mobile */
    .custom-cursor {
        display: none !important;
    }

    /* Fullscreen Modals for Mobile */
    #newsModal,
    #artistModal {
        padding: 0 !important;
    }

    #newsModal .modal-dialog,
    #artistModal .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #newsModal .modal-content,
    #artistModal .modal-content {
        height: 100% !important;
        max-height: 100% !important;
        border: none !important;
        border-radius: 0 !important;
    }

    #newsModal .modal-body,
    #artistModal .modal-body {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        padding: 20px 15px !important;
    }

    #newsModal .artist-modal-header,
    #artistModal .artist-modal-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 16px 20px !important;
    }

    #newsModal .artist-modal-title,
    #artistModal .artist-modal-title {
        text-align: left !important;
        font-size: 1.2rem !important;
        padding-right: 20px !important;
        margin: 0 !important;
        flex: 1 !important;
        width: auto !important;
        min-width: 0 !important;
    }

    #newsModal .artist-modal-close,
    #artistModal .artist-modal-close {
        position: static !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }


    /* Adjust floating bottom bar position on mobile */
    .floating-bottom-bar {
        bottom: 24px !important;
    }

    #mobile-theme-toggle {
        margin-right: 0 !important;
    }

    /* Audition Page Mobile Adjustments */
    .audition-page-container {
        padding-top: 62px !important;
    }
    .audition-content-wrapper {
        min-height: calc(100vh - 62px) !important;
    }
    body:has(.audition-page-container) .floating-bottom-bar {
        display: none !important;
    }
    .sidebar-info .time {
        font-size: 2.2rem !important;
    }

    /* Home Hero Page Mobile Adjustments */
    .hero-video-wrapper {
        width: 100% !important;
    }
    
    .scroll-container {
        height: auto !important;
    }
    
    .hero-container {
        position: relative !important;
        height: 100vh !important;
    }

    /* Prevent mobile browser zoom on input focus */
    input, select, textarea {
        font-size: 16px !important;
    }

    /* Reduce floating bottom bar sizes on mobile */
    .floating-bottom-bar {
        gap: 8px !important;
    }
    .sns-icon-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
    }
    .btn-apply {
        height: 44px !important;
        padding: 0 40px !important;
        border-radius: 22px !important;
        font-size: 14px !important;
    }

    /* Hide blinking arrow on mobile */
    .blinking-arrow {
        display: none !important;
    }

    /* Disable hover background image/video reveals on mobile touch */
    body:has(.hover-image-trigger:hover) .reveal-wrapper,
    body:has(.hover-image-trigger:hover) .second-section,
    body:has(.hover-image-trigger:hover) .third-section,
    body:has(.hover-image-trigger:hover) .third-2-section {
        background-color: #ffffff !important;
    }
    
    body.dark:has(.hover-image-trigger:hover) .reveal-wrapper,
    body.dark:has(.hover-image-trigger:hover) .second-section,
    body.dark:has(.hover-image-trigger:hover) .third-section,
    body.dark:has(.hover-image-trigger:hover) .third-2-section {
        background-color: #000000 !important;
    }

    body:has(.hover-image-trigger:hover) .hover-reveal-img {
        opacity: 0 !important;
        display: none !important;
    }

    /* Home Page Mobile Sizing Optimizations */
    .second-section,
    .third-section,
    .third-2-section,
    .fourth-section-text {
        padding: 0 !important;
    }
    .third-section, .third-2-section {
        min-height: 80vh;
    }

    .second-section .desc-text-light, 
    .third-section .desc-text-light,
    .third-2-section .desc-text-light,
    .fourth-section-text .desc-text-light {
        font-size: 1.5rem !important;
    }
    
    .second-section .desc-text-bold, 
    .third-section .desc-text-bold, 
    .third-2-section .desc-text-bold, 
    .fourth-section-text .desc-text-bold {
        font-size: 1.95rem !important;
    }

    /* Polaroid Card Sizing to prevent overflow */
    .polaroid-card, .polaroid-card-five {
        width: 360px !important;
        max-width: 85vw !important;
    }

    /* Oversized statement text resizing */
    .bg-scroll-text-five .desc-text-light {
        font-size: 2.8rem !important;
    }

    /* Small Mobile Overrides (<= 576px) */
    @media (max-width: 576px) {
        .artist-intro-title {
            font-size: 1.6rem !important;
        }
        .ticker-item {
            font-size: 1.2rem !important;
        }
        .news-row-title {
            font-size: 1.4rem !important;
        }
        .second-section .desc-text-light, 
        .third-section .desc-text-light,
        .third-2-section .desc-text-light,
        .fourth-section-text .desc-text-light {
            font-size: 1.25rem !important;
        }
        .second-section .desc-text-bold, 
        .third-section .desc-text-bold, 
        .third-2-section .desc-text-bold, 
        .fourth-section-text .desc-text-bold {
            font-size: 1.6rem !important;
        }
        .polaroid-card, .polaroid-card-five {
            width: 290px !important;
            max-width: 90vw !important;
        }
        .bg-scroll-text-five .desc-text-light {
            font-size: 2.0rem !important;
        }
    }
}

/* PC Layout Font & Image scale down for medium screens (769px to 1199px) to prevent overflow */
@media (min-width: 769px) and (max-width: 1199px) {
    .second-section,
    .third-section,
    .third-2-section {
        padding: 80px 40px !important;
    }
    .second-section .desc-text-light, 
    .third-section .desc-text-light,
    .third-2-section .desc-text-light,
    .fourth-section-text .desc-text-light {
        font-size: 2.0rem !important;
    }
}

/* Custom Modal Styles (Pure CSS & JS) */
.custom-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.custom-modal-wrapper.active {
    display: flex;
}

.custom-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal-wrapper.active .custom-modal-backdrop {
    opacity: 1;
}

.custom-modal-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    background-color: #ffffff;
    border: 2px solid #000000;
    z-index: 10;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    overflow-x: hidden;
}

body.dark .custom-modal-container {
    background-color: #0d0d0d;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.custom-modal-wrapper.active .custom-modal-container,
.corner-popup-wrapper.active .custom-modal-container {
    opacity: 1;
    transform: translateY(0);
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

body.dark .custom-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-modal-title {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin: 0;
    color: inherit;
}

.custom-modal-close {
    background: none;
    border: none;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

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

.custom-modal-body {
    padding: 30px 20px;
    overflow-y: auto;
    box-sizing: border-box;
    width: 100%;
}


@media (max-width: 560px) {
    .custom-modal-container {
        max-width: calc(100% - 30px) !important;
        width: calc(100% - 30px) !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: 85vh !important;
        border: 2px solid #000000 !important;
        border-radius: 4px !important;
        margin: 15px !important;
        overflow-x: hidden !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    }
    body.dark .custom-modal-container {
        border: 2px solid #ffffff !important;
    }
    .custom-modal-header {
        padding: 16px 20px !important;
    }
    .custom-modal-title {
        font-size: 1.2rem !important;
        flex: 1 !important;
        min-width: 0 !important;
        padding-right: 20px !important;
    }
    .custom-modal-close {
        font-size: 1.8rem !important;
    }
}

.custom-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

body.dark .custom-modal-footer {
    background-color: #1a1a1a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Corner Floating Popups */
.corner-popup-wrapper {
    position: fixed;
    bottom: 30px;
    z-index: 99999;
    display: none;
    width: 320px;
    max-width: 90vw;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.corner-popup-wrapper.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.corner-popup-wrapper.left-popup {
    left: 30px;
}

.corner-popup-wrapper.right-popup {
    right: 30px;
}

.corner-popup-wrapper .custom-modal-container {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
    margin: 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

body.dark .corner-popup-wrapper .custom-modal-container {
    border: 2px solid #ffffff !important;
}

.btn-xs {
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .corner-popup-wrapper {
        bottom: 20px !important;
        width: calc(100% - 40px);
        left: 20px !important;
        right: 20px !important;
    }
    .corner-popup-wrapper.right-popup {
        bottom: 280px !important;
    }
}

/* Corner Popup Close Button Custom Styles */
.corner-popup-wrapper .btn-close-popup {
    background-color: #ffb3c6 !important;
    border-color: #ffb3c6 !important;
    color: #000000 !important;
    border-radius: 0 !important;
    font-weight: 700;
}

.corner-popup-wrapper .btn-close-popup:hover {
    background-color: #ffa1b8 !important;
    border-color: #ffa1b8 !important;
}

/* Enforce sharp corners (border-radius 0) on the entire popup container as requested */
.corner-popup-wrapper .custom-modal-container {
    border-radius: 0 !important;
}

/* Checkbox alignment correction for sharp design */
.corner-popup-wrapper .form-check-input {
    border-radius: 0 !important;
}

/* Full Width Content Search Bar Styling */
.content-search-bar-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 80px auto;
    padding: 0;
    box-sizing: border-box;
}

.content-search-wrapper {
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.content-search-wrapper:focus-within {
    border-bottom: 1px solid #000000;
}

body.dark .content-search-wrapper {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark .content-search-wrapper:focus-within {
    border-bottom: 1px solid #ffffff;
}

.content-search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 15px 0;
    font-size: 1.5rem;
    font-weight: 700;
    outline: none;
    color: inherit;
    font-family: inherit;
}

.content-search-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .content-search-bar-container {
        padding: 0;
        margin-bottom: 50px;
    }
    .content-search-input {
        font-size: 1.2rem;
        padding: 12px 0;
    }
    .content-search-btn {
        font-size: 1.2rem;
    }
}

/* Custom Checkbox Checked State Color */
.form-check-input:checked {
    background-color: #ffb3c6 !important;
    border-color: #ffb3c6 !important;
}

.form-check-input:focus {
    border-color: rgba(255, 179, 198, 0.5) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 179, 198, 0.25) !important;
}







