.gso-banner {
    display: flex;
    gap: 0;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 0;
    margin: 20px 0;
    background:
        linear-gradient(115deg, rgba(232, 118, 26, 0.92) 0%, rgba(225, 103, 124, 0.86) 42%, rgba(115, 135, 222, 0.82) 100%);
    box-shadow: 0 18px 42px rgba(46, 29, 72, 0.18);
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.gso-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(230, 122, 32, 0.82) 0%, rgba(223, 110, 137, 0.58) 42%, rgba(130, 152, 220, 0.32) 100%),
        linear-gradient(180deg, rgba(14, 18, 35, 0.16), rgba(14, 18, 35, 0.16));
    z-index: 1;
}

.gso-banner-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gso-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.9);
}

.gso-banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: relative;
    z-index: 2;
    padding: 34px 108px 34px 36px;
    min-height: 220px;
}

.gso-banner-premium {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.gso-banner-title {
    margin: 0 0 12px 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    color: #fff;
    text-shadow: 0 6px 18px rgba(26, 18, 46, 0.22);
    max-width: none !important;
}

.gso-banner-description {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.6;
    max-width: none !important;
}

.gso-banner-code-heading {
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gso-banner-code-disclosure {
    margin: 0 0 20px 0;
    width: fit-content;
}

.gso-banner-code-toggle {
    display: inline-grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 12px;
    min-width: 210px;
    padding: 10px 14px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background:
        linear-gradient(135deg, rgba(255, 244, 220, 0.32) 0%, rgba(255, 255, 255, 0.18) 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.gso-banner-code-toggle::-webkit-details-marker {
    display: none;
}

.gso-banner-code-toggle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        repeating-linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.95) 0 10px,
            rgba(234, 234, 234, 0.96) 10px 20px,
            rgba(248, 248, 248, 0.92) 20px 30px
        );
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.34),
        inset 0 10px 18px rgba(255, 255, 255, 0.16);
    z-index: -1;
}

.gso-banner-code-toggle::after {
    content: "+";
    grid-column: 2;
    grid-row: 1;
    font-size: 18px;
    line-height: 1;
}

.gso-banner-code-text {
    grid-column: 1;
    grid-row: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
    transition: opacity 0.28s ease, transform 0.28s ease, color 0.28s ease;
    opacity: 0;
    transform: translateY(6px);
    color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.gso-banner-code-disclosure[open] .gso-banner-code-toggle::before {
    animation: gsoScratchReveal 0.95s cubic-bezier(0.2, 0.7, 0.18, 1) forwards;
}

.gso-banner-code-disclosure[open] .gso-banner-code-toggle::after {
    content: "";
}

.gso-banner-code-disclosure[open] .gso-banner-code-text {
    opacity: 1;
    transform: translateY(0);
    color: rgba(255, 255, 255, 0.98);
    transition-delay: 0.36s;
    user-select: text;
    -webkit-user-select: text;
}

.gso-banner-code-disclosure[open] .gso-banner-code-toggle {
    min-width: max-content;
}

.gso-banner-button,
.gso-overview-button {
    display: inline-block;
    padding: 10px 14px;
    background: #111;
    color: #fff !important;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.gso-banner-button {
    align-self: flex-start;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.gso-banner-button::after {
    content: "\203A";
    font-size: 28px;
    line-height: 0.8;
    margin-left: 12px;
    vertical-align: middle;
}

.gso-banner-button:hover,
.gso-overview-button:hover {
    opacity: 0.88;
}

.gso-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gso-overview-card {
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    max-width: 350px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gso-overview-card-image {
    margin-bottom: 12px;
}

.gso-overview-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.gso-overview-category {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gso-overview-premium {
    font-size: 12px;
    font-weight: 700;
    color: #a00000;
    margin-bottom: 6px;
}

.gso-overview-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    line-height: 1.25;
}

.gso-overview-description {
    margin: 0 0 14px 0;
    color: #333;
    flex-grow: 1;
}

.gso-overview-empty {
    padding: 16px;
    border: 1px dashed #ccc;
    border-radius: 12px;
    background: #fafafa;
}

@media (max-width: 767px) {
    .gso-banner {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        max-height: none;
    }

    .gso-banner-image {
        inset: 0;
    }

    .gso-banner-image img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
    }

    .gso-banner-content {
        padding: 24px 22px;
        min-height: 220px;
    }

    .gso-banner-title {
        font-size: 24px;
        max-width: none;
    }
}

.gso-overview-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

.gso-filter-search,
.gso-filter-select {
    padding: 10px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background: #fff;
    min-height: 42px;
    font-size: 14px;
}

.gso-filter-search {
    min-width: 240px;
    flex: 1;
}

.gso-filter-select {
    min-width: 180px;
}

.gso-filter-button {
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.gso-filter-button:hover {
    opacity: 0.9;
}


.gso-banner-description,
.gso-overview-title,
.gso-overview-description {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@keyframes gsoScratchReveal {
    0% {
        transform: scaleX(1);
        opacity: 1;
        filter: blur(0);
    }

    45% {
        transform: scaleX(0.82) translateX(3%);
        opacity: 0.98;
    }

    78% {
        transform: scaleX(0.28) translateX(16%);
        opacity: 0.92;
    }

    100% {
        transform: scaleX(0) translateX(24%);
        opacity: 0;
        filter: blur(1px);
    }
}

@keyframes gsoScratchDust {
    0% {
        opacity: 0;
        transform: translateX(-3%);
    }

    20% {
        opacity: 0.85;
    }

    100% {
        opacity: 0;
        transform: translateX(14%);
    }
}

@keyframes gsoCodeFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}





.gso-banner {
    min-height: 250px;
    max-height: 250px;
}

.gso-banner-content {
    justify-content: space-evenly;
    min-height: 250px;
    max-height: 250px;
    padding: 24px 108px 24px 36px;
}

.gso-overview-grid {
    justify-items: center;
}

@media (max-width: 767px) {
    .gso-banner {
        max-height: none;
    }

    .gso-banner-content {
        max-height: none;
        justify-content: space-between;
    }
}

/* Layout corrections */
.gso-banner {
    min-height: 220px;
    max-height: none;
}

.gso-banner-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "premium codeheading"
        "title code"
        "description code"
        "button code";
    column-gap: 24px;
    row-gap: 8px;
    align-items: center;
    justify-content: normal;
    min-height: 220px;
    max-height: none;
    padding: 22px 30px 22px 30px;
}

.gso-banner-premium {
    grid-area: premium;
    margin: 0;
}

.gso-banner-title {
    grid-area: title;
    margin: 0;
    font-size: clamp(1.7rem, 2.4vw, 2.5rem);
}

.gso-banner-description {
    grid-area: description;
    margin: 0;
    font-size: 0.96rem;
}

.gso-banner-code-heading {
    grid-area: codeheading;
    margin: 0;
    align-self: end;
}

.gso-banner-code-disclosure {
    grid-area: code;
    margin: 0;
    align-self: start;
}

.gso-banner-code-toggle {
    min-width: 180px;
}

.gso-banner-button {
    grid-area: button;
    margin-top: 4px;
}



@media (max-width: 900px) {
    .gso-banner-content {
        grid-template-columns: 1fr;
        grid-template-areas:
            "premium"
            "title"
            "description"
            "codeheading"
            "code"
            "button";
        row-gap: 10px;
        padding: 24px 22px;
    }

    .gso-banner-title,
    .gso-banner-description {
        max-width: none;
    }

    .gso-banner-code-heading,
    .gso-banner-code-disclosure,
    .gso-banner-button {
        align-self: start;
    }
}


.gso-banner-actions {
    grid-area: button;
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 14px 18px;
    margin-top: 4px;
}

.gso-banner-code-group {
    flex-direction: column;
    gap: 8px;
}

.gso-banner-code-heading,
.gso-banner-code-disclosure,
.gso-banner-button {
    margin: 0;
}

.gso-banner-button {
    margin-top: auto;
}

@media (max-width: 900px) {
    .gso-banner-actions {
        align-items: stretch;
    }

    .gso-banner-code-group,
    .gso-banner-button {
        width: 100%;
    }
}
