.main-container {
    width: 100%;
    min-width: 1200px;
    min-height: 800px;
    /* height: 100vh; */

    position: relative;
    display: flex;
    flex-direction: column;
    
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    /* scroll-padding-top: 2.5rem; */ /* 40px */
    z-index: 0;
}

.main-screens {
    min-width: 75rem;
    min-height: 50rem;
    height: 100vh;
    position: relative;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.main-screen-christmas {
    /* display: none; */
    /* padding: 2rem; */
    display: flex;
    justify-content: center;
    overflow-y: hidden;

    background-color: #1b2519;
}

.christmas-special-bubble {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.85);
    padding: 1.1rem 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    text-align: left;
    font-family: var(--font-helvetica);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text-dark-gray);
    line-height: 1.5;
    max-width: 340px;
    z-index: 20;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    border: none;
}

.christmas-special-bubble strong {
    font-size: 1.35rem;
    color: #901515;
    background: none;
    padding: 0;
    border-radius: 0.5em;
    font-weight: 600;
    margin-top: 0.3em;
    letter-spacing: 0.03em;
    box-shadow: none;
    display: inline-block;
}

.christmas-special-bubble strong {
    display: block; /* Puts the promo code on its own line */
    font-weight: bold;
    font-size: 2.2rem;
    margin-top: 0.5rem;
}

.main-screen-christmas-bg-h {
    display: block;

    min-width: 100%;
    min-height: 100%;
    object-fit: contain;
    align-self: center;
    justify-self: center;
}

.main-screen-christmas-bg-v {
    display: none;
}

.main-screen-intro {
    background-color: white;
    /* min-height: 200vh;  */
    height: auto;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    padding: 4rem; 
    box-sizing: border-box;
    overflow: hidden;
    z-index: 5;
}

.main-header {
    margin: 2rem auto;
    width: fit-content;
    height: auto;
    min-height: 3.5rem;
    border-radius: 1rem;
    /* Festive Red Gradient */
    background: linear-gradient(90deg, #8B0000 0%, #b43e10 50%, #8B0000 100%);
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.main-header p {
    margin: 0;
    padding: 0.5rem 3rem;
    text-align: center;
    
    font-family: var(--font-verdana);
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
    
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.main-header span {
    /* background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.6); */
    color: #ffd700;
    
    /* padding: 0.4rem 1rem; */
    border-radius: 4px;
    
    font-family: var(--font-helvetica);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.main-intro-content-wrapper {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: stretch; 
    gap: 10rem;
    /* gap: 0; */
    padding: 0;
}

.main-intro-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    /* flex: 1;  */
    height: 45vh;
    gap: 4rem;
}

/* Alternating Logic: 
   If the HTML is structured Text/Image every time, we reverse even rows.
   However, the HTML provided manually alternates the divs. 
   To be safe and allow manual order or CSS enforcement:
*/
/* If you strictly want CSS to handle alternation regardless of HTML order: */
/* .main-intro-row:nth-child(even) {
    flex-direction: row-reverse;
} */

.main-intro-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 60% Width for Text */
.main-intro-card-text {
    flex: 1; 
    background-color: var(--color4d);
    padding: 4rem;
    box-sizing: border-box;
    color: var(--color-text-dark-gray);
    align-items: flex-start; /* Left align text */
    justify-content: center;
}

/* 40% Width for Image */
.main-intro-card-image {
    flex: 0 0 auto; /* Don't grow or shrink, size to content */
    width: auto;
    height: 100%;
    /* background-color: var(--color3); */
}

.main-intro-card-image img {
    width: auto;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;

    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* .main-intro-card-image:hover img {
    transform: scale(1.03);
} */

/* Text Styling */
.main-intro-text-content {
    max-width: 90%;
}

.main-intro-text-content h2 {
    font-family: var(--font-guardian-egyptt);
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    text-transform: uppercase;
    color: white;
}

.main-intro-text-content p {
    font-family: var(--font-helvetica);
    font-size: 1.25rem;
    font-weight: lighter;
    line-height: 1.5;
    margin: 0;
    /* font-weight: 400; */
    color: white;
}

.main-intro-cta-button {
    display: inline-block;
    margin-top: 2rem;
    background-color: var(--color3);
    box-sizing: border-box;
    border: none;
    border-radius: 2rem;
    box-shadow: 0 0.25rem 0.5rem rgba(122, 117, 59, 0.3);

    padding: 0.75rem 1.5rem;
    
    color: var(--color-text-dark-gray);
    font-family: var(--font-helvetica);
    font-size: 1.25rem;
    /* font-weight: 600; */
    text-decoration: none;
    text-align: center;
    
    transition: all 0.3s ease;
    cursor: pointer;
}

.main-intro-cta-button:hover {
    /* background-color: #c73333; */
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(33, 33, 33, 0.3);
}

.main-screen-entries {
    /* background-color: #f9f5e5; */
    background-color: white;
    
    display: flex;
    align-items: center;
    /* display: none; */

    z-index: 4;
}

/* .main-screen-entries-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.main-screen-entries-info-insert {
    position: absolute;
    left: 50%;
    bottom: 0%;
    /* top: 55%; */
    transform: translate(-50%, 0%);
    width: 100%;
    /* max-width: 900px; */
    min-width: 340px;
    min-height: 70px;
    /* background: #1c5d98; */
    background-color: var(--color4);
    color: white;
    /* font-family: var(--font-palatino); */
    font-family: var(--font-helvetica);
    font-weight: lighter;
    font-size: 0.9rem;
    /* border-radius: -1%; */
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.10);
    padding: 0.5rem 2rem 3rem 2rem;
    display: block;
    text-align: center;
    z-index: 9;
    pointer-events: auto;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.main-screen-entries-info-insert a {
    color: #0077cc;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}
.main-screen-entries-info-insert a:hover {
    color: #005099;
}


.main-screen-halloweenircle-backdrop {
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -63%);
    width: 60%;
    aspect-ratio: 3 / 1;
    /* height: 18rem; */
    border-radius: 50%;
    background-color: var(--color4);
    z-index: 2;
    transition: background-color 0.3s ease;
}

#DIDIGAInlineLogo {
    height: 2rem;
}

#DIDIGALogo {
    position: absolute;
    top: 8%;
    width: 20%;
    left: 50%;
    transform: translate(-50%);
    height: auto;
    z-index: 10;
    user-select: none; /* Prevent text selection */
    -webkit-user-drag: none; /* Prevent image dragging in Safari */
    -webkit-user-select: none; /* Prevent text selection in Safari */
    pointer-events: none; /* Prevent clicks on the image */
}

.main-screen-entries-left, .main-screen-entries-right {
    width: 50%;
    height: 100%;
    box-sizing: border-box;

    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: flex-start;
    align-items: center;
    padding: 4rem 1rem 4rem 1rem;
    /* cursor: pointer; */
    transition: background-color 0.3s ease;
}

.main-screen-entries-left {
    /* background-color: #ffed64; */
    /* background-color: var(--colorL); */
    /* background-color: #67dbe8; */
    /* background-color:#202020; */
    background-color: transparent;
}

/* .main-screen-entries-left:hover,
.main-screen-entries-left:hover ~ .main-screen-halloweenircle-backdrop {
    background-color: #19a1a1;
} */
/* 
.main-screen-entries-left-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
} */

.main-screen-entries-divider {
    width: 2px;
    height: 25%;
    background-color: #ccc;
}

.main-screen-entries-right {
    /* background-color: #009d9e; */
    /* background-color: var(--colorR); */
    /* background-color: #ececec; */
    background-color: transparent;
}

/* .main-screen-entries-right:hover,
.main-screen-entries-right:hover ~ .main-screen-halloweenircle-backdrop {
    background-color: var(--color2);
} */

.main-screen-entries-title {
    margin: 0;
    margin-bottom: 0.5rem;

    /* font-family: var(--font-verdana); */
    /* font-family: var(--font-garamond); */
    font-family: var(--font-guardian-egyptt);
    font-size: 2.125rem;
    font-weight: bold;
    /* text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1); */
}

.main-screen-entries-left .main-screen-entries-title {
    /* color: #333; */
    /* color: var(--colorR); */
    color: var(--color-text-dark-gray);
}

.main-screen-entries-right .main-screen-entries-title {
    /* color: white; */
    /* color: var(--colorL); */
    color: var(--color-text-dark-gray);
}

.main-screen-entries-subtext {
    height: 3.5rem;
    font-family: var(--font-helvetica);
    font-size: 1.2rem;
    /* font-weight: lighter; */
    text-align: center;
    line-height: 1.4;
    margin: 0;
    /* max-width: 80%; */
}

.main-screen-entries-left .main-screen-entries-subtext {
    /* color: #666; */
    /* color: var(--colorR); */
    color: var(--color-text-dark-gray);
}

.main-screen-entries-right .main-screen-entries-subtext {
    /* color: rgba(255, 255, 255, 0.9); */
    color: var(--color-text-dark-gray);
}

.main-screen-entries-images-left,
.main-screen-entries-images-right {
    width: auto;
    height: 75%;
    display: flex;
    justify-content: center;
    /* grid-template-columns: 1fr 1fr; */
    /* gap: 1.2rem; */
    /* align-items: center; */
    /* justify-items: center; */
}

.main-screen-entries-images-left {
    grid-template-columns: 1fr 200px;
}

.main-screen-entries-images-right {
    grid-template-columns: 200px 1fr;
}

.main-screen-entries-images-left img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);

    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.main-screen-entries-images-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 1rem;
    /* margin-bottom: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);

    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.main-screen-entries-image-large {
    max-width: 80%;
    max-height: 60%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.main-screen-entries-images-container {
    height: 60%;

    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.main-screen-entries-image-small {
    max-width: 45%;
    width: auto;
    height: auto;
    flex: 1 1 0;
    object-fit: contain;
    border-radius: 2.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}

.main-screen-entries-button {
    border: none;
    border-radius: 10.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-helvetica);
    /* font-weight: lighter; */
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.main-screen-entries-button-img {
    height: 2.4em;
    vertical-align: middle;
    margin-right: 0.4em;
}

.main-screen-entries-right .main-screen-entries-button {
    /* background-color: #009d9e; */
    background-color: var(--color-landing-btn);
    /* border: solid 4px #009d9e; */
    color: #ffffff;
    box-shadow: 0 0.25rem 0.5rem rgba(122, 117, 59, 0.3);
}

.main-screen-entries-right .main-screen-entries-button:hover {
    /* background-color: #007a7b; */
    background-color: #c73333;
    /* border-color: #007a7b; */
    transform: translateY(-2px);
    /* box-shadow: 0 0.5rem 1rem rgba(0, 157, 158, 0.3); */
    box-shadow: 0 0.5rem 1rem rgba(158, 0, 32, 0.3);
}

.main-screen-entries-left .main-screen-entries-button {
    /* background-color: #ffed64; */
    /* background-color: var(--color2); */
    background-color: var(--color-landing-btn);
    /* border: solid 4px var(--color2); */
    /* color: #333; */
    color: white;
    /* box-shadow: 0rem 0.25rem 0.5rem rgba(255, 237, 100, 0.4); */
    box-shadow: 0 0.25rem 0.5rem rgba(122, 117, 59, 0.3);
}

.main-screen-entries-left .main-screen-entries-button:hover {
    /* color: #333; */
    /* border-color: #ffe033; */
    /* background-color: #ffe033; */
    background-color: #c73333;
    transform: translateY(-2px);
    /* box-shadow: 0 0.5rem 1rem rgba(255, 237, 100, 0.4); */
    box-shadow: 0 0.5rem 1rem rgba(158, 0, 32, 0.3);
}

.main-screen-halloween {
    background-color: black;

    display: none;
    flex-direction: row;

    z-index: 2;
}

.main-screen-halloween-theme {
    height: 100%;
}

.main-screen-halloween-theme img {
    height: 90%;
    width: auto;
    object-fit: contain;

    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.main-screen-halloween-examples {
    width: 100%;
    box-sizing: border-box;

    padding: 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-screen-halloween-brainstorm {
    height: 100%;
    width: 100%;
    /* position: relative; */

    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.main-screen-halloween-brainstorm-images {
    width: 100%;
    height: 30%;
    margin-bottom: 1rem;

    position: relative;
}

.main-screen-halloween-brainstorm-images img {
    position: absolute;
    max-width: 21%;
    max-height: 31%;
    border: 3px solid white;
    border-radius: 4px;
    box-shadow: 0 0px 16px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s 0.3s;

    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.main-screen-halloween-brainstorm-images img:hover {
    transform: scale(1.15) rotate(0deg) !important;
    box-shadow: 0 0px 24px rgba(255, 255, 255, 0.6);
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s;
}

.main-screen-halloween-brainstorm-images img:nth-child(1) {
    bottom: 51%;
    left: 14%;
    transform: rotate(-12deg);
}

.main-screen-halloween-brainstorm-images img:nth-child(2) {
    bottom: 48%;
    left: 31%;
    transform: rotate(9deg);
}

.main-screen-halloween-brainstorm-images img:nth-child(3) {
    bottom: 60%;
    left: 45%;
    transform: rotate(-5deg);
}

.main-screen-halloween-brainstorm-images img:nth-child(4) {
    bottom: 48%;
    left: 57%;
    transform: rotate(13deg);
}

.main-screen-halloween-brainstorm-images img:nth-child(5) {
    bottom: 55%;
    left: 71%;
    transform: rotate(-8deg);
}

.main-screen-halloween-brainstorm-images img:nth-child(6) {
    top: 41%;
    left: 19%;
    transform: rotate(20deg);
}

.main-screen-halloween-brainstorm-images img:nth-child(7) {
    top: 46%;
    left: 35%;
    transform: rotate(-13deg);    
}

.main-screen-halloween-brainstorm-images img:nth-child(8) {
    top: 47%;
    left: 50%;
    transform: rotate(-24deg);
}

.main-screen-halloween-brainstorm-images img:nth-child(9) {
    top: 44%;
    left: 66%;
    transform: rotate(24deg);
}

.main-screen-halloween h2 {
    margin: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--color-halloween);

    text-align: center;

    font-family: var(--font-courier-new);
    font-weight: bold;
    line-height: 1.2;
}

.main-screen-halloween-photo-example {
    max-width: 100%;
    max-height: 30%;
    height: auto;
    margin-bottom: 1rem;

    object-fit: contain;
}

.main-screen-halloween h1 {
    text-align: center;

    color: var(--color-halloween);
    font-family: var(--font-helvetica);
    font-weight: lighter;
    font-size: 1.375rem;
}

.main-screen-halloween h1 strong {
    font-weight: bold;
    font-size: 2rem;
}

.main-screen-halloween-user {
    height: 100%;
}

.main-screen-examples {
    /* height: calc(100vh - 2.5rem); */
    background-color: var(--color-main-2);
    
    display: flex;

    z-index: 1;
}

.main-circle-backdrop {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 400%;
    height: 34rem;
    border-radius: 50%;
    background-color: var(--color-main-1);
    z-index: -1;
}

.main-screen-examples-left {
    width: 100%;
    /* height: 53.125rem; */ /* 850px */
    /* background-color: white; */
    display: flex;
    justify-content: center;
    position: relative;
    overflow: clip;

    z-index: 3;
}

.main-screen-examples-left-overlay {
    background-color: white;
    width: 100%;
    height: 100%;
    position: absolute;

    z-index: 4;
}

.main-background-image {
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    pointer-events: none;
    position: absolute; 
    height: 100%;
    min-height: 37.5rem;
    object-fit: cover;
    /*filter: blur(0px) saturate(1);*/
    transition: filter 1s ease;
    overflow-x: clip;
    z-index: 5;

    transition: opacity 0.4s ease-in-out;
}

.main-background-image.loaded {
    opacity: 0.95;
}
    

.main-loading-text {
    position: absolute;
    width: 100%;

    align-self: center;
    justify-self: center;
    text-align: center;

    color: white;
    font-family: var(--font-garamond);
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 0.09375rem; /* 1.5px */

    /* Multiple, semi-transparent shadows create a soft, layered glow */
    text-shadow: 0 0 0.3125rem rgba(255, 255, 255, 0.7),   /* 5px */
                 0 0 0.9375rem rgba(255, 255, 255, 0.5),   /* 15px */
                 0 0 1.5625rem rgba(255, 255, 255, 0.3);    /* 25px */

    z-index: 6;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.main-loading-text.fading {
    opacity: 0;
}

.main-loading-text.unloaded {
    visibility: hidden;
    opacity: 0;
}

.main-image-carousel-container {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 35rem; /* 560px */
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(0.25rem); /* 4px */
    -webkit-backdrop-filter: blur(0.25rem); /* 4px */
    
    padding: 1.875rem 0; /* 30px */
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* 40px */
    justify-content: center;
    overflow: hidden;
    align-items: center;

    z-index: 6;
    user-select: none;
    -webkit-user-select: none;

    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.main-image-carousel-container.loaded {
    visibility: visible;
    opacity: 1;
}

.main-carousel-track {
    display: flex;
    margin-bottom: 7.5rem; /* 120px */
    /* height: 70%; */
    animation: scroll-left 60s linear infinite;
    will-change: transform;
    /* white-space: nowrap; */
}

.main-carousel-image-wrapper {
    height: auto;
    position: relative;
    display: inline-block; /* make the wrapper shrink to fit its content */
    vertical-align: top;
    flex-shrink: 0;
    margin-right: 3.75rem; /* 60px */
    margin-left: 3.75rem; /* 60px */
}

.main-carousel-image-wrapper img {
    max-height: 26.25rem; /* 420px */
    /* height: 100%; */
    width: auto;
    display: block; /* Ensures the image takes up the full width of its container */
    border-radius: 1.5rem;
    box-shadow: 0 0.125rem 0.3125rem rgba(0,0,0,0.1); /* 2px 5px */
    background-color: rgba(255, 255, 255, 0.3);

    object-fit: contain;
    
    transform: translateZ(0);
    
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.main-carousel-image-caption {
    position: absolute;
    top: 26.875rem; /* 430px */
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: 1.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    
    padding: 0.625rem 1.25rem; /* 10px 20px */
    
    color: white;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 1.25rem; /* 20px */
    font-family: var(--font-helvetica);
    z-index: 10;
}

.main-carousel-image-prompt {
    font-size: 1rem;
    font-weight: lighter;
}

@keyframes scroll-left {
    0% {
        transform: translateX(40%);
    }
    100% {
        /* This transformation scrolls one full set of images.
           It relies on the .main-carousel-track containing TWO identical sets of images. */
        transform: translateX(-10%);
    }
}

/* .main-image-carousel-container:has(.main-carousel-track img:hover) .main-carousel-track {
    animation-play-state: paused;
} */

/* --- Styles for the info text now INSIDE the carousel container --- */

.main-screen-examples-right {
    position: relative;
    width: 30rem;
    /* eight: 53.125rem; */ /* 850px */
    /* background-color: #1a1a1a; */
    /*backdrop-filter: blur(0px);*/
    display: flex;
    flex-direction: column;
    padding: 0px;
    /* z-index: 5; */
}

.main-modn-logo-container {
    height: 11.25rem; /* 180px */
    
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    margin-top: 10rem; /* 210px */
    margin-bottom: 2.5rem; /* 40px */

    padding: 0 3.125rem; /* 50px */
    text-align: left;
    
    color: white;
    font-family: var(--font-helvetica);
    font-weight: lighter;
    font-size: 1.3rem; /* 24px */
    line-height: 1.1;
}

.main-start {
    border: solid 2px var(--color-main-1);
    background-color: var(--color-main-1);
    border-radius: 1.5rem;
    margin-left: 3.125rem; /* 50px */

    padding: 0.75rem 1.5rem; /* 4px 10px */
    align-self: flex-start;

    color: var(--color-text-dark-gray);
    font-family: var(--font-helvetica);
    /* font-weight: bold; */
    font-size: 1.25rem;
    text-decoration: none;
    /* letter-spacing: 0.05em; */

    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.main-start:hover {
    border-color: var(--color4);
    background-color: var(--color4);
    color: white;
}

.main-entries {
    padding: 0 3.625rem; /* 58px */
    display: flex;
    flex-direction: column;
    gap: 1.875rem; /* 30px */
}

.main-entries a {
    color: white;
    font-family: var(--font-helvetica);
    font-weight: bold;
    font-size: 1.25rem; /* 20px */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition on hover */
}

.main-entries a:hover {
    background-color: var(--color2);
    color: var(--color4);
    border-color: var(--color2);
}

.categories {
    display: grid;
    grid-template-columns: 1fr; /* Two equal-width columns */
    text-align: center;
}

.category {
    margin-bottom: 1.5625rem; /* 25px */
    width: auto;
    border: 0px solid #ccc;
    border-bottom: 1px solid white;

    padding: 0.1875rem; /* 3px */
    justify-self: center; /* Center each option within its column */
    
    color: white;
    font-family: var(--font-helvetica);
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition on hover */
}

.category:hover {
    background-color: #fedf8a;
    color: #3d314a;
    border-color: #fedf8a;
}

/* MODN logo styling and animation */
.modn-logo {
    font-size: 4rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    align-self: center;
}

.letter {
    font: bold 8rem 'Impact', 'Fantasy', sans-serif;
    color: white;
    display: inline-block;
    /* animation: rotate 3s linear infinite; */
    transform-origin: 50% 50%; /* Rotate around bottom center */
}

/* Make each letter rotate at the same speed, start at different times */
.letter:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 3s;
}

.letter:nth-child(2) {
    animation-delay: 1.5s;
    animation-duration: 3s;
}

.letter:nth-child(3) {
    animation-delay: 3s;
    animation-duration: 3s;
}

.letter:nth-child(4) {
    animation-delay: 4.5s;
    animation-duration: 3s;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#MODNLogo {
    width: 80%;
    height: auto;
    user-select: none; /* Prevent text selection */
    -webkit-user-drag: none; /* Prevent image dragging in Safari */
    -webkit-user-select: none; /* Prevent text selection in Safari */
    pointer-events: none; /* Prevent clicks on the image */
}


.main-screen-about {
    /* background-color: #f9f5e5; */
    background-color: white;

    display: flex;
    padding: 4rem 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    z-index: 2;
}

.main-screen-about-texts {
    width: 70%;
    /* height: 100%; */
    box-sizing: border-box;
    color: var(--color-text-dark-gray);
}

.main-screen-about-texts h1 {
    margin: 0;
    margin-bottom: 3rem;
    text-align: center;
    
    font-family: var(--font-guardian-egyptt);
    font-size: 2rem;
}

.main-screen-about-texts h2 {
    margin: 0;
    margin-top: 2rem;
    text-align: center;

    font-family: var(--font-guardian-egyptt);
    font-weight: bold;
    font-size: 1.5rem;
}

.main-screen-about-texts h3 {
    margin: 0.5rem 0;
    text-align: center;

    font-family: var(--font-helvetica);
    font-size: 1rem;
    font-weight: lighter;
}

.main-screen-about-texts h3 a {
    color: var(--color-text-dark-gray);
}

.main-screen-about-images {
    margin: 2.5rem 0;
    width: 100%;
    /* height: 25%; */
    /* background-color: rgba(255, 255, 255, 0.5); */
    box-sizing: border-box;

    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}

.main-screen-about-subscription {
    width: 30%;
}

.main-screen-about-subscription h3 {
    color: var(--color-text-dark-gray);
    font-family: var(--font-verdana);
    font-size: 1rem; /* Slightly larger */
    font-weight: normal; /* Normal weight, not lighter */
    text-align: center;
    margin-top: 6rem; /* Add space above */
    margin-bottom: 1rem;
}

#subscribeForm {
    display: flex;
    flex-direction: row; /* Arrange items horizontally */
    align-items: stretch; /* Make input and button the same height */
    justify-content: center;
    width: 100%;
    max-width: 500px; /* Constrain the form's width */
    margin: 0 auto; /* Center the form within its parent */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 50px; /* Fully rounded container for the pill shape */
    overflow: hidden; /* Ensures children conform to the rounded corners */
}

#subscribeEmail {
    flex-grow: 1; /* Allows the input to take up the available space */
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    font-family: var(--font-helvetica);
    color: #333;
    background-color: white;
    border-radius: 50px 0 0 50px; /* Creates the left half of the pill */
    outline: none; /* Removes the default blue ring on focus */
    transition: background-color 0.3s ease;
}

#subscribeForm button {
    border: none;
    border-radius: 0 50px 50px 0; /* Creates the right half of the pill */
    padding: 0.8rem 1.2rem;
    font-family: var(--font-helvetica);
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    background-color: var(--color-landing-btn); /* A strong call-to-action color */
    color: white;
    transition: background-color 0.3s ease;
    cursor: pointer;
    white-space: nowrap; /* Prevents the button text from wrapping */
}

#subscribeForm button:hover {
    background-color: #c73333; /* A darker shade for the hover effect */
}

.main-screen-about-subscription p {
    height: 2rem;
    text-align: center;

    font-family: var(--font-helvetica);
    font-size: 1rem;
    /* font-weight: lighter; */
}

.main-screen-about-row {
    height: 50%;

    display: flex;
    flex-direction: row;
}

.main-screen-about img {
    /* max-height: 100%; */
    width: 20rem;
    border-radius: 1.5rem;
    /* box-shadow: 0 0px 4px rgb(255 255 255 / 35%); */
    /* width: 70%; */
    object-fit: contain;

    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.main-modnverse-screen {
    position: relative;
    min-height: 800px;
    height: 100vh;

    display: flex;
    padding: 1.25rem; /* 20px */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    color: white;
    text-align: center;

    scroll-snap-align: start;
    flex-shrink: 0;
    overflow-y: auto;
    z-index: 1;
}

.main-screen-2 {
    background-color: #262a34;
}

.main-pets-logo .large-logo {
    max-height: 9.375rem; /* 150px */
    width: auto;
    margin-bottom: 0.625rem; /* 10px */
}

.main-pets-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.875rem; /* 30px */
}

.main-modnverse-description {
    font-family: var(--font-helvetica);
}

.main-modnverse-description h1 {
    font-family: var(--font-verdana);
    font-size: 2.2rem; /* 40px */
    font-weight: bold;
    margin-bottom: 1rem;
}

.main-modnverse-description p {
    font-family: var(--font-helvetica);
    font-size: 1.125rem; /* 18px */
    font-weight: lighter;
    /* max-width: 43.75rem; */ /* 700px */
    margin: 0 auto 1.5rem auto;
}

#mainPetUpload {
    display: none;
}

.main-modnverse-description .btn-warning {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border: none;
    padding: 0.625rem 1.875rem; /* 10px 30px */
    font-weight: bold;
    color: #3D314A;
    border-radius: 0.5rem; /* 8px */
    transition: all 0.3s ease;
    font-family: var(--font-helvetica);
    font-size: 1.25rem; /* 20px */
}

.main-modnverse-description .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.3125rem 0.9375rem rgba(255, 215, 0, 0.4); /* 5px 15px */
}

.main-modnverse-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.875rem; /* 30px */
    flex-wrap: nowrap;
}

.main-modnverse-image {
    flex-basis: 23.75rem; /* 380px */
}

.main-demo-card {
    background: white;
    padding: 1.25rem; /* 20px */
    border-radius: 0.9375rem; /* 15px */
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1); /* 10px 30px */
    transition: transform 0.3s ease;
    color: #333;
}

.main-demo-card:hover {
    transform: translateY(-0.3125rem); /* -5px */
}

.main-demo-card img {
    margin: 0;
    width: 100%;
    height: 15rem; /* 240px */
    border-radius: 0.5rem; /* 8px */
    margin-bottom: 1rem;

    object-fit: contain;

    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.main-demo-card h4 {
    margin: 0;
    font-family: var(--font-helvetica);
    font-size: 1.25rem; /* 20px */
    font-weight: bold;
}

.main-demo-card p {
    margin: 0.875rem 0; /* 14px */
    font-family: var(--font-helvetica);
    font-size: 1.125rem; /* 18px */
    font-weight: lighter;
    color: #6c757d;
}

.main-pets-arrow {
    animation: pulse 2s infinite;
}

.main-pets-arrow .cute-arrow {
    max-height: 5rem; /* 80px */
    height: auto;
    width: auto;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Loading Overlay Styles */
.main-pets-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(135, 206, 235, 0.95);

    padding: 1.25rem; /* 20px */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.main-modnverse-loading-content {
    margin-top: 6.25rem; /* 100px */
    text-align: center;
    color: white;
}

.main-modnverse-loading-spinner {
    width: 3.75rem; /* 60px */
    height: 3.75rem; /* 60px */
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.25rem; /* 20px */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.main-modnverse-loading-content h3 {
    margin-bottom: 0.625rem; /* 10px */
    font-family: var(--font-helvetica);
    font-size: 1.875rem; /* 30px */
}

.main-modnverse-loading-content p {
    font-size: 1.25rem; /* 20px */
    font-family: var(--font-helvetica);
    opacity: 0.9;
}

.main-screen-3 {
    background: #263430;
}

.main-trips-logo .large-logo {
    max-height: 9.375rem; /* 150px */
    width: auto;
    /* margin-bottom: 0.625rem; */ /* 10px */
}

.main-trips-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem; /* 20px */
    width: 100%;

    font-family: var(--font-helvetica);
}

.main-trips-description h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.main-trips-description p {
    font-size: 1.1rem;
    max-width: 43.75rem; /* 700px */
    margin: 0 auto 1rem auto;
}

#mainTripUpload {
    display: none;
}

/* Gold button style for Trips section */
.main-trip-input-group .btn-warning {
    background: linear-gradient(45deg, #FFC107, #FFCA28);
    border: none;
    padding: 0.9375rem 1.875rem; /* 15px 30px */
    font-weight: bold;
    color: #333;
    border-radius: 0.5rem; /* 8px */
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.main-trip-input-group .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.3125rem 0.9375rem rgba(255, 160, 0, 0.4); /* 5px 15px */
    background: linear-gradient(45deg, #FFA000, #FFB300);
}

.main-trips-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.875rem; /* 30px */
    flex-wrap: nowrap;
}

.main-trips-arrow {
    animation: pulse 2s infinite;
}

.main-trips-arrow .cute-arrow {
    max-height: 5rem; /* 80px */
    height: auto;
    width: auto;
}

/* Input section styles for Trips */
.main-trip-input-section {
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.25rem; /* 20px */
    border-radius: 0.9375rem; /* 15px */
    width: 100%;
    max-width: 53.125rem; /* 850px */
}

.main-trip-input-group {
    display: flex;
    gap: 1.25rem; /* 20px */
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: center;
}

.main-trip-input-field {
    flex: 1;
    min-width: 18.75rem; /* 300px */
}

.main-trip-input-field label {
    color: white;
    font-weight: bold;
    margin-bottom: 0.625rem; /* 10px */
    display: block;
    font-size: 1.25rem; /* 20px */
    font-family: var(--font-helvetica);
    text-align: left;
}

.main-trip-input-field input {
    width: 100%;
    box-sizing: border-box;;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem; /* 8px */
    background: rgba(255, 255, 255, 0.9);
    padding: 0.625rem; /* 10px */
    
    transition: all 0.3s ease;
    font-size: 1.25rem; /* 20px */
    font-family: var(--font-helvetica);
    color: #333;
}

.main-trip-input-field input:focus {
    outline: none;
    border-color: #FFC107;
    box-shadow: 0 0 0.625rem rgba(255, 193, 7, 0.3); /* 10px */
}

/* Loading Overlay Styles for Trips */
.main-trips-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 121, 107, 0.95);
    
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.main-screen-4 {
    background: #964dca;
    display: none;
}

.main-me-logo .large-logo {
    max-height: 9.375rem; /* 150px */
    width: auto;
}

.main-me-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem; /* 20px */
    width: 100%;

    font-family: var(--font-helvetica);
}

#mainMeUpload {
    display: none;
}

.main-me-arrow {
    animation: pulse 2s infinite;
}

.main-me-arrow .cute-arrow {
    max-height: 5rem; /* 80px */
    height: auto;
    width: auto;
}

.main-me-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(106, 13, 173, 0.95); /* Semi-transparent purple */
    
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

@media (max-width: 768px) {
    .main-container {
        min-width: auto;
        height: auto;

        overflow-y: visible;
        scroll-snap-type: none;
    }

    .main-header {
        margin: 1rem auto;
        width: 90%;
        max-width: 95%;
        min-height: auto;
        border-radius: 0.75rem;
        padding: 0;
    }

    .main-header p {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        gap: 0.4rem;
        flex-direction: column;
    }

    .main-header span {
        font-size: 1.1rem;
        display: block;
        margin-top: 0.25rem;
    }

    /* --- Main Screen Intro Mobile --- */
    .main-screen-intro {
        margin-top: 1rem;
        min-height: auto;
        min-width: auto;

        padding: 1rem 1rem;
    }

    .main-intro-content-wrapper {
        gap: 6rem;
    }

    .main-intro-row {
        flex-direction: column;
        height: auto;
        min-height: auto;
        gap: 0;
        /* Create unified card on mobile */
        box-shadow: 4px 4px 16px rgba(0,0,0,0.15);
        border-radius: 1.25rem;
        overflow: hidden;
    }

    .main-intro-card {
        border-radius: 0;
        width: 100%;
        height: auto;
    }

    /* Force image on top for all rows */
    .main-intro-card-image {
        order: 1;
        height: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;

        padding: 0.5rem;
        flex: none;
    }

    .main-intro-card-image img {
        width: 100%;
        height: 100%;
        border-radius: 0.5rem;

        object-fit: cover;
    }

    .main-intro-card-text {
        order: 2;
        padding: 1.75rem 1.5rem;
        flex: none;
    }

    .main-intro-text-content {
        max-width: 100%;
    }

    .main-intro-text-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .main-intro-text-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .main-intro-cta-button {
        margin-top: 1.75rem;
        width: auto;
        padding: 0.65rem 1.5rem;
        
        font-size: 1rem;
        text-align: center;
    }

    .main-screen-christmas {
        min-width: 0;
        width: 100vw;
        justify-content: flex-end;
    }

    .christmas-special-bubble {
        position: absolute;
        top: 1rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 70vw;
        max-width: 95vw;
        padding: 0.8rem 1rem;
        font-size: 1rem;
        border-radius: 1rem;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
        text-align: center;
        align-items: center;
        gap: 0.3rem;
        z-index: 20;
        flex-direction: column;
        justify-content: center;
    }

    .christmas-special-bubble strong {
        font-size: 1.1rem;
        margin-top: 0.2em;
        color: #c73333;
        font-weight: 600;
        letter-spacing: 0.03em;
        background: none;
        padding: 0;
        border-radius: 0.3em;
        box-shadow: none;
        display: block;
    }

    .main-screen-christmas-bg-h {
        display: none;
    }

    .main-screen-christmas-bg-v {
        display: block;
        width: 100%;
        object-fit: contain;
        filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.35));
    }

    .main-screen-entries {
        flex-direction: column;
        min-width: 0;
        min-height: 0;
        height: auto;
    }

    #DIDIGALogo {
        width: 50%;
        height: auto;
        /* top: 1rem; */
        left: 50%;
        transform: translate(-50%, 0);
    }

    .main-screen-halloweenircle-backdrop {
        width: 130%;
        /* height: 30vw; */
        transform: translate(-50%, -50%);
    }

    .main-screen-entries-left, .main-screen-entries-right {
        width: 100%;
        padding: 4rem 1.25rem 6rem 1.25rem; 
        box-sizing: border-box;
        gap: 2rem;
        min-height: 0;
        align-items: self-start;
    }

    /* .main-screen-entries-left {
        padding: 4rem 1.25rem 6rem 1.25rem !important;
    } */

    .main-screen-entries-title {
        margin-bottom: 0.5rem;

        font-size: 1.875rem;
        text-align: center;
    }

    .main-screen-entries-subtext {
        height: auto;
        font-size: 1.2rem;
        /* max-width: 95%; */
        text-align: left;
        /* margin-bottom: 1rem; */
    }

    .main-screen-entries-images-left,
    .main-screen-entries-images-right {
        width: 100vw;
        align-self: center;
    }

    .main-screen-entries-divider {
        height: 2px;
        width: 90%;
    }

    .main-screen-entries-images-left img {
        /* max-width: 70vw; */
        height: auto;
        border-radius: 0;
        margin-bottom: 1rem;
    }

    .main-screen-entries-images-right img {
        /* max-width: 70vw; */
        height: auto;
        border-radius: 0;
        margin-bottom: 1rem;
    }

    .main-screen-entries-images-container {
        flex-direction: column;
        gap: 1.75rem;
        width: 100%;
    }
/* 
    .main-screen-entries-image-small {
        max-width: 70vw;
    } */

    .main-screen-entries-button {
        display: block;
        margin-top: 0rem;
        /* border-radius: 8px; */
        /* width: 90vw; */
        /* max-width: 320px; */
        /* border-radius: 1.25rem; */
        box-sizing: border-box;
        
        padding: 0.75rem 1.5rem;
        text-align: center;
        
        /* font-size: 1.1rem; */
    }

    .main-screen-about {
        min-width: 0;
        height: auto;

        padding: 0 0 3rem 0;
    }

    .main-screen-about-texts {
        width: 90%;
    }

    .main-screen-about-texts h2 {
        text-align: start;
    }

    .main-screen-about-texts h3 {
        text-align: start;
    }

    .main-screen-halloween {
        min-width: 0;
        height: auto;

        padding-bottom: 2rem;
        flex-direction: column;
    }

    .main-screen-halloween-theme {
        margin-bottom: 4rem;
    }

    .main-screen-halloween-theme img {
        width: 100vw;
    }

    .main-screen-halloween-examples {
        /* height: 50vh; */
        padding: 2rem 10px;

        flex-direction: column;
    }

    .main-screen-halloween-brainstorm {
        /* height: 60vh; */
        height: auto;
    }

    .main-screen-halloween-brainstorm-images {
        height: 25vh;
        width: 100%;
    }

    .main-screen-halloween-brainstorm img {
        /* width: 21vw; */
        border: 3px solid white;
    }

    .main-screen-halloween-photo-example {
        width: 100%;
    }

    .main-screen-about-images {
        /* margin: 0; */

        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .main-screen-about-images img {
        width: 100%;
    }

    .main-screen-about-subscription {
        width: 90%;
    }

    .main-screen-examples, .main-screen-2, .main-screen-3, .main-screen-4 {
        flex-direction: column;
        height: auto;
        min-height: 0;
        min-width: auto;
        overflow-y: visible;
        scroll-snap-type: none;
    }

    .main-modnverse-screen {
        justify-content: flex-start;
        padding-top: 2.5rem; /* 40px */
        padding-bottom: 2.5rem; /* 40px */
    }

    .main-circle-backdrop {
        width: 200vw; 
        height: 50vw; 
        top: 0; 
        left: 50%; 
        transform: translate(-50%, calc(100px - 50vw)); 
        border-radius: 50%; 
    }

    .main-screen-examples-left,
    .main-screen-examples-right {
        width: 100%; 
    }

    .main-screen-examples-left {
        order: 2; 
        min-height: auto; 
        overflow: hidden; 
    }

    .main-screen-examples-right {
        order: 1; 
        height: auto;
        padding-top: 1.875rem; /* 30px */
        text-align: center; 
    }

    .main-screen-entries-info-insert {
        margin-bottom: 1rem;
        position: absolute;
        left: 50%;
        bottom: 0;
        top: auto;
        transform: translate(-50%, 0);
        width: 95%;
        max-width: none;
        min-width: 0;
        min-height: 50px;
        font-size: 1.08rem;
        padding: 1rem 0.5rem 1.5rem 0.5rem;
        border-radius: 1rem;
        box-sizing: border-box;
        z-index: 10;
        /* position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100vw;
        max-width: none;
        min-width: 0;
        min-height: 50px;
        font-size: 1.08rem;
        padding: 1rem 0.5rem 1.5rem 0.5rem;
        border-radius: 1rem 1rem 0 0;
        box-sizing: border-box;
        z-index: 10;
        background-color: var(--color4);
        color: white; */
    }

    .main-background-image {
        display: block;
        width: 100%;
        min-height: 0;
        
        object-fit: cover;
    }

    .main-loading-text {
        font-size: 1.25rem; /* 20px */
    }

    .main-image-carousel-container {
        position: relative; 
        margin-top: 5rem;
        margin-bottom: 5rem;
        top: auto;
        left: auto;
        right: auto;
        height: auto; 
        background-color: rgba(255, 255, 255, 0.2); 

        padding: 1.25rem 0; /* 20px */
        transform: none; 
    }

    .main-carousel-track {
        margin-bottom: 6.25rem; /* 100px */
    }

    .main-carousel-track img {
        max-height: 18.75rem; /* 300px */
        /* border-radius: 0.625rem; */
    }

    .main-carousel-image-caption {
        top: 19.375rem; /* 310px */

        padding: 0.5rem 0.75rem; /* 8px 12px */

        line-height: 1.2;
        font-size: 1rem; /* 16px */
    }

    
    @keyframes scroll-left {
        0% {
            transform: translateX(0); 
        }
        100% {
            transform: translateX(-50%); 
        }
    }

    .main-modn-logo-container {
        height: auto;
        margin-bottom: 1.25rem; /* 20px */
        align-items: center; 
    }

    #MODNLogo {
        width: 50%;
        max-width: 11.25rem; /* 180px */
    }

    .subtitle {
        margin-top: 3.125rem; /* 50px */
        margin-bottom: 1.875rem; /* 30px */
        width: 85%;
        padding: 0 0.625rem; /* 10px */
        font-size: 1.25rem; /* 20px */
        align-self: center;
        text-align: center;
    }

    .main-start {
        margin-left: 0px;
        margin-bottom: 1.25rem; /* 20px */
        display: inline-block; 
        font-size: 1rem; /* 16px */
        align-self: center; 
    }

    .main-entries {
        padding: 0 0.9375rem; /* 15px */
        gap: 1.25rem; /* 20px */
    }

    .main-entries a {
        font-size: 1rem; /* 16px */
        text-align: center;
    }

    .categories {
        padding: 0 0.625rem; /* 10px */
    }

    .category {
        font-size: 1rem;
        padding: 0.5rem; /* 8px */
    }

    .letter { 
        font-size: 4rem;
    }

    .main-modnverse-images, .main-trips-images {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem; /* 20px */
    }

    .main-modnverse-description h1, .main-trips-description h1 {
        font-size: 1.8rem;
    }

    .main-pets-arrow .cute-arrow, .main-trips-arrow .cute-arrow, .main-me-arrow .cute-arrow {
        transform: rotate(90deg);
        max-height: 3.75rem; /* 60px */
    }

    .main-trip-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .main-trip-input-field {
        min-width: 100%;
    }

    .main-trip-input-group .btn-warning {
        width: 100%;
    }
}


/* --- START: Media Query for 4K / UHD Screens --- */

@media screen and (min-width: 2560px) {
    /* 
      Increase the base font size. The default is typically 16px. 
      Setting it to 24px is a 1.5x increase, which will scale up all 'rem' units proportionally.
    */
    html {
        font-size: 24px;
    }

    .main-header {
        margin: 3rem auto;
        min-height: 5rem;
        border-radius: 2rem;
        max-width: 70%;
    }

    .main-header p {
        padding: 1rem 4rem;
        font-size: 1.6rem;
        gap: 1.2rem;
    }

    .main-header span {
        font-size: 1.8rem;
        padding: 0.25rem 0.5rem;
    }

    /* --- Main Screen Intro Ultra-Large --- */
    .main-screen-intro {
        padding: 6rem 4rem;
    }

    .main-intro-content-wrapper {
        max-width: 100vw;
        gap: 15rem;
    }

    .main-intro-row {
        height: 40vh;
        min-height: 600px;
        gap: 3rem;
    }

    .main-intro-card-text {
        padding: 5rem;
    }

    .main-intro-text-content h2 {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }

    .main-intro-text-content p {
        font-size: 1.75rem;
        line-height: 1.6;
    }

    .main-intro-cta-button {
        font-size: 1.5rem;
        padding: 1rem 2.5rem;
        margin-top: 1.5rem;
    }

    .main-screen-halloween {
        min-width: 150rem;
        min-height: 100rem;
        /* height: 100vh; */
    }

    .main-screen-entries {
        min-width: 150rem;
        min-height: 100rem;
    }

    .main-screen-entries-left, .main-screen-entries-right {
        padding: 5rem;
        gap: 2.5rem;
    }

    .main-screen-entries-title {
        font-size: 5rem;
    }

    .main-screen-entries-subtext {
        height: 8rem;
        font-size: 2rem;
        max-width: 85%;
    }
/* 
    .main-screen-entries-left img,
    .main-screen-entries-image-large {
        max-width: 90%;
        height: 60%;
        border-radius: 2rem;
    } */

    .main-screen-entries-images-container {
        height: 60%;
        gap: 2.5rem;
    }

    .main-screen-entries-image-small {
        /* max-width: 70%; */
        border-radius: 1.5rem;
    }

    .main-screen-entries-button {
        font-size: 2rem;
        padding: 1.25rem 3.5rem;
        border-radius: 2.5rem;
    }

    /* Adjust main layout containers for the wider screen */
    .main-container,
    .main-screen-examples,
    .main-screen-2,
    .main-screen-3 {
        min-width: 112.5rem;  /* 1800px / 16 */
        min-height: 75rem;    /* 1200px / 16 */
    }
    
    .main-screen-examples-right {
        width: 45rem; /* 720px / 16 */
    }

    /* Scale the large decorative backdrop element */
    /* .main-circle-backdrop {
        transform: translate(-375rem, -115.625rem); 
        width: 750rem;
        height: 156.25rem;
    } */

    .main-screen-about {
        min-height: 0;
        height: 75vh;
    }
}
