.module-container {
    position: relative;
    width: 100%;
    min-height: 100svh;
    background-color: #070A59;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.grid-overlay {
    position: absolute;
    width: 600px;
    height: 600px;
    background-image: url('Visual_Assets/Visual_Assets_Graphics/GridForShapes.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 1 !important;
}

.top-left-grid {
    top: -120px;
    left: -120px;
}

.bottom-right-grid {
    right: -120px;
    bottom: -120px;
    transform: rotate(180deg);
}

.asset {
    position: absolute;
    z-index: 5;
    object-fit: contain;
    pointer-events: none;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
}

.shape-cross {
    top: 10px;
    left: -30px;
    width: 180px;
    transform: rotate(-15deg);
}

.shape-clover {
    bottom: -20px;
    left: -30px;
    width: 240px;
}

.shape-split-circle {
    right: 40px;
    bottom: 40px;
    width: 220px;
    transform: scaleX(-1) rotate(-45deg);
}

.content-wrapper {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.module-layout {
    width: 100%;
    max-width: none;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.module-header {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.module-title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 5px;
}

.module-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    color: white;
    margin: 0;
}

.storyline-container {
    position: relative;
    z-index: 10;
    width: 100vw;
    height: 100svh;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.storyline-iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 200px;
    border: 3px solid #ffffff;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    padding: 10px 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    background-color: rgba(7, 10, 89, 0.64);
    backdrop-filter: blur(10px);
}

.pill-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 760px) {
    .content-wrapper {
        padding: 0;
    }

    .module-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        line-height: 1.08;
    }

    .module-subtitle {
        max-width: 340px;
        font-size: 1rem;
        line-height: 1.35;
    }

    .storyline-container {
        width: 100vw;
        height: 100svh;
        min-height: 0;
    }

    .pill-btn {
        font-size: 0.95rem;
        padding: 9px 24px;
    }

    .shape-cross {
        width: 130px;
    }

    .shape-clover {
        width: 180px;
    }

    .shape-split-circle {
        width: 150px;
    }
}

@media (max-width: 390px) {
    .storyline-container {
        min-height: 0;
        height: 100svh;
    }
}
