/* Q88 Sportsbook UK - Brand Custom Styles */
/* Based on logo colors: cyan #00c7cc - High specificity overrides */

:root {
    --page-left-edge: 10vw;
    --page-content-width: 80vw;
    --terms-content-width: var(--page-content-width);
    --page-bg-top: #080b14;
    --page-bg-mid: #0b1020;
    --page-bg-bottom: #05060a;
}

html body {
    background:
        radial-gradient(circle at 18% 10%, rgba(0,199,204,0.18), transparent 18rem),
        radial-gradient(circle at 88% 20%, rgba(255,255,255,0.08), transparent 24rem),
        linear-gradient(180deg, var(--page-bg-top) 0%, var(--page-bg-mid) 45%, var(--page-bg-bottom) 100%) !important;
    background-color: var(--page-bg-top) !important;
    color: #f4f7ff !important;
    font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

body > header,
html body > header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    background: linear-gradient(180deg, rgba(3,6,17,0.94), rgba(3,6,17,0.72)) !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.24) !important;
    backdrop-filter: blur(14px) !important;
    padding: 0.75rem 1.5rem 0.75rem 0 !important;
}

html body {
    padding-top: 0 !important;
}

body > header .logo,
html body > header .logo {
    position: static !important;
    top: auto !important;
    left: auto !important;
    margin: 0 0 0 calc(var(--page-left-edge) - 1.55rem) !important;
}

body > header .logo img {
    height: 72px !important;
    width: auto !important;
    margin: -4px 0 !important;
    display: block !important;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.32)) !important;
    transition: transform 0.3s ease !important;
}

body > header .logo img:hover {
    transform: scale(1.05) !important;
}

body > header .btn-group {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    gap: 0.75rem !important;
}

body > header .btn {
    padding: 0.6rem 1.5rem !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 0.875rem !important;
}

/* Hero section - use all property to override */
main > section.hero,
section.hero,
.hero {
    position: relative !important;
    min-height: 720px !important;
    overflow: hidden !important;
    background:
        linear-gradient(90deg, rgba(5,7,14,0.96) 0%, rgba(5,7,14,0.82) 38%, rgba(5,7,14,0.28) 100%),
        url("../images/Sports_SKC_Registration_Background.webp") 68% -6rem / cover no-repeat !important;
    background-color: #08090f !important;
    background-attachment: scroll !important;
}

main > section.hero::before,
section.hero::before,
.hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background:
        radial-gradient(circle at 23% 28%, rgba(0,199,204,0.24), transparent 18rem),
        radial-gradient(circle at 78% 24%, rgba(255,255,255,0.16), transparent 19rem),
        linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.50)) !important;
    pointer-events: none !important;
}

main > section.hero::after,
section.hero::after,
.hero::after {
    content: "" !important;
    position: absolute !important;
    right: max(13rem, calc((100vw - 1180px) / 2 + 13rem)) !important;
    top: 128px !important;
    bottom: auto !important;
    z-index: 1 !important;
    width: min(40vw, 500px) !important;
    aspect-ratio: 3 / 2 !important;
    background: none !important;
    filter: drop-shadow(0 34px 46px rgba(0,0,0,0.46)) !important;
    transform: none !important;
    pointer-events: none !important;
}

main > section.hero > div.hero__offer,
section.hero > div.hero__offer,
.hero > div.hero__offer {
    position: relative !important;
    z-index: 2 !important;
    width: var(--page-content-width) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 128px 0 4rem !important;
    color: #f4f7ff !important;
}

main > section.hero > div.hero__offer > a.btn,
.hero__offer > a.btn {
    margin-left: 0 !important;
}

main > section.hero > div.hero__offer > a.btn.btn--cyan,
.hero__offer > a.btn.btn--cyan {
    min-width: 12.5rem !important;
    min-height: 3.35rem !important;
    border-radius: 0.75rem !important;
    background: linear-gradient(180deg, #18d9dc 0%, #00b7c1 48%, #008d9a 100%) !important;
    color: #fff !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.28),
        0 18px 38px rgba(0,199,204,0.28),
        0 0 42px rgba(0,199,204,0.14) !important;
    font-family: "Fredoka", "Libre Franklin", sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.28) !important;
}

main > section.hero > div.hero__offer > a.btn.btn--cyan:hover,
.hero__offer > a.btn.btn--cyan:hover {
    transform: translateY(-2px) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.32),
        0 22px 44px rgba(0,199,204,0.34),
        0 0 50px rgba(0,199,204,0.18) !important;
}

main > section.hero > div.hero__offer > h1,
section.hero > div.hero__offer > h1,
.hero__offer > h1 {
    display: grid !important;
    justify-items: start !important;
    align-items: start !important;
    justify-content: start !important;
    gap: 0.35rem !important;
    width: min(100%, 760px) !important;
    max-width: none !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.05 !important;
    color: #fff !important;
    text-align: left !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

main > section.hero > div.hero__offer > h1 > span.span-lg,
.hero__offer h1 .span-lg {
    display: block !important;
    width: 100% !important;
    color: #fff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #fff !important;
    filter: none !important;
    font-family: "Fredoka", "Arial Rounded MT Bold", "Libre Franklin", sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0.015em !important;
    text-transform: uppercase !important;
    text-shadow:
        -1px -1px 0 #9af9ff,
        1px -1px 0 #9af9ff,
        -1px 1px 0 #9af9ff,
        1px 1px 0 #9af9ff,
        0 16px 34px rgba(0,0,0,0.5) !important;
    font-size: 3.0rem !important;
    line-height: 1.1 !important;
}

main > section.hero > div.hero__offer > h1 > span.span-lg:nth-child(3),
main > section.hero > div.hero__offer > h1 > span.span-lg:nth-child(4),
.hero__offer h1 .span-lg:nth-child(3),
.hero__offer h1 .span-lg:nth-child(4) {
    color: #fff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 3rem !important;
}

main > section.hero > div.hero__offer > h1 > span.span-sm,
.hero__offer h1 .span-sm {
    display: inline-flex !important;
    width: auto !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    color: #b0b8c6 !important;
    font-family: "Fredoka", "Arial Rounded MT Bold", "Libre Franklin", sans-serif !important;
    font-weight: 900 !important;
    font-size: 1rem !important;
    letter-spacing: 0.025em !important;
    text-transform: uppercase !important;
    text-shadow: 0 10px 22px rgba(0,0,0,0.34) !important;
}

main > section.hero > div.hero__offer > h1 > span.span-sm strong,
.hero__offer h1 .span-sm strong {
    color: #00c7cc !important;
}

main > section.hero > div.hero__offer > a.btn,
.hero__offer a.btn {
    margin-top: 1.4rem !important;
}

/* Cyan button style - very high specificity */
html body a.btn.btn--cyan,
body a.btn.btn--cyan,
a.btn.btn--cyan,
.btn.btn--cyan {
    background: linear-gradient(135deg, #00c7cc, #0098a8) !important;
    color: #08101a !important;
    box-shadow: 0 16px 32px rgba(0, 199, 204, 0.25), inset 0 1px 0 rgba(255,255,255,0.25) !important;
    border: none !important;
}

html body a.btn.btn--cyan:hover,
body a.btn.btn--cyan:hover,
a.btn.btn--cyan:hover,
.btn.btn--cyan:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 36px rgba(0, 199, 204, 0.3) !important;
}

/* Steps section */
#steps,
section[id="steps"] {
    background: linear-gradient(180deg, #090b12 0%, #0d101a 50%, #05060a 100%) !important;
    padding: 3rem 0 !important;
}

#steps .steps,
section[id="steps"] .steps {
    display: grid !important;
    gap: 1rem !important;
    margin: 0 1.5rem 2rem !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
}

#steps .steps__item,
section[id="steps"] .steps__item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    padding: 1.5rem 1.2rem !important;
    border-radius: 1rem !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(0,199,204,0.15) !important;
    color: #f4f7ff !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.16) !important;
    transition: all 0.3s ease !important;
}

#steps .steps__item:hover,
section[id="steps"] .steps__item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 24px 48px rgba(0,199,204,0.15) !important;
    border-color: rgba(0,199,204,0.4) !important;
}

#steps .steps__item .number,
section[id="steps"] .steps__item .number {
    min-width: 2.4rem !important;
    height: 2.4rem !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #00c7cc, #0098a8) !important;
    color: #08101a !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0,199,204,0.3) !important;
}

#steps .steps__item svg,
section[id="steps"] .steps__item svg {
    width: 1.3rem !important;
    height: 1.3rem !important;
    color: #00c7cc !important;
}

#steps .steps__item .text,
section[id="steps"] .steps__item .text {
    color: #f4f7ff !important;
    font-weight: 500 !important;
}

/* Hero terms box */
main > section.hero > div.hero__terms,
section.hero .hero__terms,
.hero__terms {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0.85rem 1.5rem !important;
    margin: 1rem 0 0 !important;
    width: var(--page-content-width) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transition: opacity 0.3s ease !important;
}

main > section.hero > div.hero__terms:hover,
section.hero .hero__terms:hover,
.hero__terms:hover {
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0.94 !important;
}

main > section.hero > div.hero__terms > p,
.hero__terms p {
    color: #c8d5e5 !important;
    font-size: 0.75rem !important;
    line-height: 1.25rem !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* Keep the offer area clean; no floating badge. */
.hero__offer::after {
    content: none !important;
    display: none !important;
}

/* Terms section */
#social,
section[id="social"] {
    background: linear-gradient(180deg, #090b12 0%, #0d101a 50%, #05060a 100%) !important;
    padding: 3rem 0 !important;
}

#social .terms,
section[id="social"] .terms {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    margin: 1.5rem !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    backdrop-filter: blur(10px) !important;
}

#social .terms h2,
section[id="social"] .terms h2 {
    color: #00c7cc !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
}

#social .terms ul,
section[id="social"] .terms ul {
    padding-left: 0 !important;
    margin: 0 !important;
}

#social .terms ul li,
section[id="social"] .terms ul li {
    color: #c8d5e5 !important;
    margin-bottom: 0.75rem !important;
    list-style-type: none !important;
    margin-left: 1.5rem !important;
    padding-left: 1.5rem !important;
    position: relative !important;
    line-height: 1.6 !important;
}

#social .terms ul li::before,
section[id="social"] .terms ul li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    color: #00c7cc !important;
    font-weight: bold !important;
}

/* Dropdown styling */
.dropdown {
    margin-top: 1.5rem !important;
}

.dropdown-btn {
    background: rgba(0,199,204,0.1) !important;
    border: 1px solid rgba(0,199,204,0.2) !important;
    border-radius: 0.5rem !important;
    padding: 1rem 1.5rem !important;
    color: #00c7cc !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dropdown-btn:hover {
    background: rgba(0,199,204,0.2) !important;
    border-color: rgba(0,199,204,0.4) !important;
}

.dropdown-btn .dropdown-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: transform 0.3s ease !important;
}

.dropdown.active .dropdown-btn .dropdown-icon {
    transform: rotate(180deg) !important;
}

.dropdown-content {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out !important;
    background: rgba(255,255,255,0.02) !important;
    border-radius: 0.5rem !important;
    margin-top: 0.5rem !important;
}

.dropdown.active .dropdown-content {
    max-height: 500px !important;
    padding: 1rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hero section mobile */
    main > section.hero,
    section.hero,
    .hero {
        min-height: auto !important;
        padding: 5rem 0 3rem !important;
        background:
            linear-gradient(90deg, rgba(5,7,14,0.96) 0%, rgba(5,7,14,0.84) 50%, rgba(5,7,14,0.42) 100%),
            linear-gradient(180deg, rgba(5,7,14,0.48), rgba(5,7,14,0.86)),
            url("../images/Sports_SKC_Lobby_Header_Banner_Mobile_Transparent.webp") right -1rem top 4.75rem / min(82vw, 390px) auto no-repeat !important;
    }

    main > section.hero::after,
    section.hero::after,
    .hero::after {
        display: none !important;
    }

    main > section.hero > div.hero__offer,
    section.hero > div.hero__offer,
    .hero > div.hero__offer {
        padding: 2rem 1rem !important;
    }

    main > section.hero > div.hero__offer > h1 > span.span-lg,
    .hero__offer h1 .span-lg {
        font-size: 2.95rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.005em !important;
        text-shadow:
            -0.5px -0.5px 0 #9af9ff,
            0.5px -0.5px 0 #9af9ff,
            -0.5px 0.5px 0 #9af9ff,
            0.5px 0.5px 0 #9af9ff,
            0 10px 24px rgba(0,0,0,0.52) !important;
    }

    main > section.hero > div.hero__offer > h1 > span.span-lg:nth-child(3),
    main > section.hero > div.hero__offer > h1 > span.span-lg:nth-child(4),
    .hero__offer h1 .span-lg:nth-child(3),
    .hero__offer h1 .span-lg:nth-child(4) {
        font-size: 2.95rem !important;
        font-weight: 700 !important;
    }

    main > section.hero > div.hero__offer > h1 > span.span-sm,
    .hero__offer h1 .span-sm {
        font-size: 0.875rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.015em !important;
        justify-content: center !important;
    }

    main > section.hero > div.hero__offer > h1,
    section.hero > div.hero__offer > h1,
    .hero__offer > h1 {
        text-align: center !important;
        padding: 0 !important;
    }

    main > section.hero > div.hero__offer > a.btn,
    .hero__offer > a.btn {
        width: min(100%, 18rem) !important;
        min-height: 3.35rem !important;
        margin: 1.4rem auto 0 !important;
        border-radius: 0.85rem !important;
        background: linear-gradient(180deg, #36f5f4 0%, #00c7cc 48%, #0094a3 100%) !important;
        color: #fff !important;
        box-shadow:
            0 0 0 1px rgba(255,255,255,0.18) inset,
            0 16px 34px rgba(0,199,204,0.32),
            0 0 42px rgba(0,199,204,0.16) !important;
        font-family: "Fredoka", "Libre Franklin", sans-serif !important;
        font-size: 1.08rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.01em !important;
    }

    /* Steps mobile */
    #steps .steps,
    section[id="steps"] .steps {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        margin: 0 1rem 1rem !important;
    }

    #steps .steps__item,
    section[id="steps"] .steps__item {
        padding: 1rem !important;
    }

    #steps .steps__item svg,
    section[id="steps"] .steps__item svg {
        display: none !important;
    }

    /* Terms section mobile */
    #social .terms,
    section[id="social"] .terms {
        margin: 1rem !important;
        padding: 1.5rem !important;
    }

    #social .terms h2,
    section[id="social"] .terms h2 {
        font-size: 1.25rem !important;
    }

    /* Header mobile */
    body > header,
    html body > header {
        padding: 0.5rem 1rem !important;
    }

    body > header .logo,
    html body > header .logo {
        margin-left: 0.5rem !important;
    }

    body > header .logo img {
        height: 50px !important;
    }

    /* Footer mobile */
    body > footer,
    html body > footer,
    footer {
        padding: 2rem 1rem !important;
    }
}

/* Polished sportsbook steps */
#steps,
section[id="steps"] {
    position: relative !important;
    background:
        radial-gradient(circle at 18% 0%, rgba(0,199,204,0.16), transparent 18rem),
        linear-gradient(180deg, var(--page-bg-bottom) 0%, var(--page-bg-mid) 48%, var(--page-bg-bottom) 100%) !important;
    padding: 4rem 0 !important;
}

#steps .steps,
section[id="steps"] .steps {
    display: grid !important;
    grid-template-columns: repeat(7, auto) !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 0.8rem !important;
    width: var(--page-content-width) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

#steps .steps__item,
section[id="steps"] .steps__item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 5.5rem !important;
    padding: 1.15rem 1.1rem !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 0.75rem !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035)) !important;
    color: #fff !important;
    box-shadow: 0 18px 46px rgba(0,0,0,0.22) !important;
    font-family: "Libre Franklin", sans-serif !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease !important;
}

#steps .steps__item:hover,
section[id="steps"] .steps__item:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(0,199,204,0.38) !important;
    background:
        linear-gradient(180deg, rgba(0,199,204,0.12), rgba(255,255,255,0.04)) !important;
}

#steps .steps__item .number,
section[id="steps"] .steps__item .number {
    width: 2.25rem !important;
    min-width: 2.25rem !important;
    height: 2.25rem !important;
    margin: 0 0.7rem 0 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #9af9ff, #00c7cc) !important;
    color: #08101a !important;
    box-shadow: 0 0 0 5px rgba(0,199,204,0.12) !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
}

#steps .steps__item .text,
section[id="steps"] .steps__item .text {
    display: inline-flex !important;
    max-width: 14rem !important;
    color: #eef7ff !important;
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
}

#steps .steps__item svg,
section[id="steps"] .steps__item svg {
    align-self: center !important;
    width: 1.35rem !important;
    height: 1.35rem !important;
    margin: auto 0 !important;
    color: #00c7cc !important;
    filter: drop-shadow(0 0 10px rgba(0,199,204,0.38)) !important;
}

#steps .steps__item .btn,
section[id="steps"] .steps__item .btn {
    min-height: 2.7rem !important;
    border-radius: 0.55rem !important;
    padding: 0.75rem 1.35rem !important;
    background: linear-gradient(135deg, #00d7dc, #0098a8) !important;
    color: #061016 !important;
    box-shadow: 0 16px 32px rgba(0,199,204,0.22) !important;
    font-weight: 900 !important;
}

@media (max-width: 768px) {
    #steps,
    section[id="steps"] {
        padding: 2.5rem 1rem !important;
    }

    #steps .steps,
    section[id="steps"] .steps {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    #steps .steps__item,
    section[id="steps"] .steps__item {
        width: 100% !important;
        min-height: auto !important;
        margin: 0 !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    #steps .steps__item svg,
    section[id="steps"] .steps__item svg {
        justify-self: center !important;
        margin: 0 auto !important;
        transform: rotate(90deg) !important;
    }
}

@media (max-width: 480px) {
    main > section.hero > div.hero__offer > h1 > span.span-lg,
    .hero__offer h1 .span-lg {
        font-size: 2.95rem !important;
    }

    main > section.hero > div.hero__offer > h1 > span.span-lg:nth-child(3),
    main > section.hero > div.hero__offer > h1 > span.span-lg:nth-child(4),
    .hero__offer h1 .span-lg:nth-child(3),
    .hero__offer h1 .span-lg:nth-child(4) {
        font-size: 2.95rem !important;
    }

    .hero__terms {
        padding: 1rem !important;
        margin: 1rem !important;
    }

    .hero__terms p {
        font-size: 0.7rem !important;
    }
}

/* Footer */
body > footer,
html body > footer,
footer {
    background: linear-gradient(180deg, var(--page-bg-bottom) 0%, var(--page-bg-top) 100%) !important;
    color: #9ea9b8 !important;
    padding: 3rem 2rem !important;
    border-top: 1px solid rgba(0,199,204,0.1) !important;
}

body > footer .wrap,
html body > footer .wrap {
    max-width: 1180px !important;
    margin: 0 auto !important;
}

body > footer a,
html body > footer a,
footer a {
    color: #00c7cc !important;
    transition: color 0.3s ease !important;
}

body > footer a:hover,
html body > footer a:hover,
footer a:hover {
    color: #96fff4 !important;
}

body > footer p,
html body > footer p {
    font-size: 0.875rem !important;
    line-height: 1.7 !important;
}

footer .imgs {
    margin-bottom: 1.5rem !important;
    padding: 1rem !important;
    background: rgba(255,255,255,0.02) !important;
    border-radius: 0.5rem !important;
}

/* Mobile nav */
.navigation-mobile-container {
    background: linear-gradient(180deg, #090b12 0%, #0d101a 100%) !important;
}

.navigation-mobile-trigger {
    background: linear-gradient(135deg, #00c7cc, #0098a8) !important;
    color: #08101a !important;
}

/* Scroll to top button */
#scrollUp {
    background: #00c7cc !important;
    color: #08101a !important;
}

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Apply animations to hero elements */
.hero__offer h1 span {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.hero__offer h1 span:nth-child(1) { animation-delay: 0.1s; }
.hero__offer h1 span:nth-child(2) { animation-delay: 0.2s; }
.hero__offer h1 span:nth-child(3) { animation-delay: 0.3s; }
.hero__offer h1 span:nth-child(4) { animation-delay: 0.4s; }
.hero__offer h1 span:nth-child(5) { animation-delay: 0.5s; }
.hero__offer h1 span:nth-child(6) { animation-delay: 0.6s; }
.hero__offer h1 span:nth-child(7) { animation-delay: 0.7s; }
.hero__offer h1 span:nth-child(8) { animation-delay: 0.8s; }

.hero__offer > a.btn {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

/* Enhanced button with glow effect */
html body a.btn.btn--cyan,
body a.btn.btn--cyan,
a.btn.btn--cyan,
.btn.btn--cyan {
    background: linear-gradient(135deg, #00c7cc, #0098a8) !important;
    color: #08101a !important;
    box-shadow: 0 16px 32px rgba(0, 199, 204, 0.25), inset 0 1px 0 rgba(255,255,255,0.25) !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

html body a.btn.btn--cyan::before,
body a.btn.btn--cyan::before,
a.btn.btn--cyan::before,
.btn.btn--cyan::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
    transition: left 0.5s ease !important;
}

html body a.btn.btn--cyan:hover::before,
body a.btn.btn--cyan:hover::before,
a.btn.btn--cyan:hover::before,
.btn.btn--cyan:hover::before {
    left: 100% !important;
}

html body a.btn.btn--cyan:hover,
body a.btn.btn--cyan:hover,
a.btn.btn--cyan:hover,
.btn.btn--cyan:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 36px rgba(0, 199, 204, 0.3) !important;
}

/* Final WMS-style overrides for steps CTA and terms section */
#steps .steps,
section[id="steps"] .steps {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    gap: 0 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    padding: 0 !important;
}

#steps .steps__item,
section[id="steps"] .steps__item {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: Libre Franklin, sans-serif !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

#steps .steps__item:hover,
section[id="steps"] .steps__item:hover {
    transform: none !important;
    box-shadow: none !important;
}

#steps .steps__item .number,
section[id="steps"] .steps__item .number {
    width: 2.5rem !important;
    min-width: 2.5rem !important;
    height: 2.5rem !important;
    margin-right: 0.75rem !important;
    margin-bottom: 0 !important;
    border-radius: 9999px !important;
    background: #00c7cc !important;
    color: #a708cd !important;
    box-shadow: none !important;
}

#steps .steps__item .text,
section[id="steps"] .steps__item .text {
    display: inline-flex !important;
    color: #fff !important;
}

#steps .steps__item svg,
section[id="steps"] .steps__item svg {
    display: block !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    margin-right: auto !important;
    margin-left: auto !important;
    color: currentColor !important;
}

#steps .steps__item .btn,
section[id="steps"] .steps__item .btn {
    border-radius: 0.25rem !important;
    padding: 0.5rem 1.25rem !important;
    background: #00c7cc !important;
    color: #fff !important;
    box-shadow: none !important;
    text-transform: capitalize !important;
    letter-spacing: 0 !important;
}

#steps .steps__item .btn:hover,
section[id="steps"] .steps__item .btn:hover {
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.9 !important;
}

#steps .steps__item .btn::before,
section[id="steps"] .steps__item .btn::before {
    display: none !important;
}

#social,
section[id="social"] {
    background:
        radial-gradient(circle at 18% 0%, rgba(0,199,204,0.14), transparent 20rem),
        radial-gradient(circle at 88% 18%, rgba(72,34,120,0.28), transparent 26rem),
        linear-gradient(180deg, var(--page-bg-bottom) 0%, var(--page-bg-mid) 48%, var(--page-bg-bottom) 100%) !important;
    padding: 2.25rem 0 !important;
}

#social .terms,
section[id="social"] .terms {
    width: var(--terms-content-width) !important;
    max-width: none !important;
    margin: 1rem auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

#social .terms h2,
section[id="social"] .terms h2 {
    color: #fff !important;
    font-size: 0.9rem !important;
    line-height: 1rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
}

#social .terms ul,
section[id="social"] .terms ul {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    max-width: 960px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-left: 40px !important;
    text-align: left !important;
}

#social .terms ul li,
section[id="social"] .terms ul li {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    list-style-type: disc !important;
    line-height: 1rem !important;
    text-align: left !important;
}

#social .terms ul li::before,
section[id="social"] .terms ul li::before {
    content: none !important;
}

#social .terms > *,
section[id="social"] .terms > * {
    font-size: 0.9rem !important;
}

#social .dropdown,
section[id="social"] .dropdown {
    position: relative !important;
    display: inline-block !important;
    margin-top: 1.5rem !important;
}

#social .dropdown-btn,
section[id="social"] .dropdown-btn {
    padding: 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #00c7cc !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
}

#social .dropdown-btn .dropdown-icon,
section[id="social"] .dropdown-btn .dropdown-icon {
    float: right !important;
    padding-left: 10px !important;
}

#social .dropdown-content,
section[id="social"] .dropdown-content {
    display: none !important;
    max-height: 1000px !important;
    min-width: 160px !important;
    height: auto !important;
    margin-top: 0 !important;
    padding: 10px !important;
    overflow: auto !important;
    background:
        radial-gradient(circle at 18% 0%, rgba(0,199,204,0.12), transparent 18rem),
        linear-gradient(180deg, var(--page-bg-mid), var(--page-bg-bottom)) !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2) !important;
}

#social .dropdown.active .dropdown-content,
section[id="social"] .dropdown.active .dropdown-content {
    display: block !important;
}

#social .dropdown.active .dropdown-btn,
section[id="social"] .dropdown.active .dropdown-btn {
    background: #293a4a !important;
}

@media (max-width: 768px) {
    #steps .steps,
    section[id="steps"] .steps {
        display: block !important;
        margin: 0 !important;
    }

    #steps .steps__item,
    section[id="steps"] .steps__item {
        width: 50% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        text-align: center !important;
    }

    #steps .steps__item .number,
    section[id="steps"] .steps__item .number {
        margin-right: 0 !important;
        margin-bottom: 0.75rem !important;
    }

    #steps .steps__item .text,
    section[id="steps"] .steps__item .text {
        display: block !important;
    }

    #steps .steps__item svg,
    section[id="steps"] .steps__item svg {
        display: block !important;
        transform: rotate(90deg) !important;
    }

    #social,
    section[id="social"] {
        padding: 2rem !important;
    }

    #social .terms,
    section[id="social"] .terms {
        max-width: 80% !important;
        margin: 1rem auto !important;
        padding: 0 !important;
    }
}

/* Featured terms card for sportsbook-bet25-uk.html, adapted from the WMS terms layout with Q88 colors */
#social .terms.terms--featured,
section[id="social"] .terms.terms--featured {
    width: var(--terms-content-width) !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,199,204,0.22) !important;
    border-radius: 0.5rem !important;
    background:
        linear-gradient(135deg, rgba(0,199,204,0.06), transparent 38%),
        #f8fbff !important;
    box-shadow: 0 24px 70px rgba(0,0,0,0.24) !important;
    color: #07101d !important;
    text-align: left !important;
}

#social .terms--featured .terms__head,
section[id="social"] .terms--featured .terms__head {
    display: grid !important;
    gap: 0.55rem !important;
    margin: 0 !important;
    padding: clamp(1rem, 3vw, 1.65rem) !important;
    border-bottom: 1px solid rgba(7,16,29,0.1) !important;
    background:
        linear-gradient(135deg, rgba(0,199,204,0.09), transparent 56%),
        #fff !important;
    text-align: left !important;
}

#social .terms--featured .terms__eyebrow,
section[id="social"] .terms--featured .terms__eyebrow {
    color: #007f86 !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

#social .terms--featured h2,
section[id="social"] .terms--featured h2 {
    margin: 0 !important;
    color: #07101d !important;
    font-size: clamp(1.45rem, 3vw, 2rem) !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
}

#social .terms--featured .terms__intro,
section[id="social"] .terms--featured .terms__intro {
    max-width: 760px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(7,16,29,0.68) !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
    text-align: left !important;
}

#social .terms--featured .terms__list,
section[id="social"] .terms--featured .terms__list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(7,16,29,0.78) !important;
    list-style: none !important;
}

#social .terms--featured .terms__list li,
section[id="social"] .terms--featured .terms__list li {
    position: relative !important;
    min-height: 78px !important;
    margin: 0 !important;
    padding: 0.82rem 1rem 0.82rem 3.1rem !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(7,16,29,0.08) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: rgba(7,16,29,0.78) !important;
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    list-style: none !important;
}

#social .terms--featured .terms__list li:nth-child(odd),
section[id="social"] .terms--featured .terms__list li:nth-child(odd) {
    border-right: 1px solid rgba(7,16,29,0.08) !important;
}

#social .terms--featured .terms__list li:last-child,
section[id="social"] .terms--featured .terms__list li:last-child {
    grid-column: 1 / -1 !important;
    min-height: auto !important;
    background: #effcff !important;
}

#social .terms--featured .terms__list li::before,
section[id="social"] .terms--featured .terms__list li::before {
    content: "" !important;
    position: absolute !important;
    top: 0.95rem !important;
    left: 1rem !important;
    width: 0.64rem !important;
    height: 0.64rem !important;
    border: 2px solid #00a9b0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(0,199,204,0.1) !important;
}

#social .terms--featured .terms__dropdown,
section[id="social"] .terms--featured .terms__dropdown {
    display: block !important;
    margin: 0 !important;
    padding: 0.9rem clamp(1rem, 3vw, 1.65rem) clamp(1rem, 3vw, 1.65rem) !important;
    border-top: 0 !important;
    background: #effcff !important;
}

#social .terms--featured .terms__dropdown .dropdown-btn,
section[id="social"] .terms--featured .terms__dropdown .dropdown-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.6rem !important;
    width: auto !important;
    min-height: 44px !important;
    padding: 0.55rem 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #007f86 !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    transition: color 180ms ease, transform 180ms ease !important;
}

#social .terms--featured .terms__dropdown .dropdown-btn::before,
section[id="social"] .terms--featured .terms__dropdown .dropdown-btn::before {
    content: "+" !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 1.35rem !important;
    height: 1.35rem !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #9af9ff 0%, #00c7cc 54%, #008d9a 100%) !important;
    color: #07101d !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 18px rgba(0,199,204,0.2) !important;
}

#social .terms--featured .terms__dropdown .dropdown-btn:hover,
section[id="social"] .terms--featured .terms__dropdown .dropdown-btn:hover {
    color: #004e55 !important;
    transform: translateX(2px) !important;
}

#social .terms--featured .dropdown-content,
section[id="social"] .terms--featured .dropdown-content {
    margin-top: 1rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(7,16,29,0.72) !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
}

#social .terms--featured .dropdown-content ol,
section[id="social"] .terms--featured .dropdown-content ol {
    margin: 0.75rem 0 0.75rem 1.5rem !important;
    padding-left: 1.25rem !important;
    list-style: decimal !important;
}

#social .terms--featured .dropdown-content ol li,
section[id="social"] .terms--featured .dropdown-content ol li {
    display: list-item !important;
    position: static !important;
    margin: 0 0 0.55rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(7,16,29,0.72) !important;
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    list-style: decimal !important;
}

#social .terms--featured .dropdown-content ol li::before,
section[id="social"] .terms--featured .dropdown-content ol li::before {
    content: none !important;
}

#social .terms--featured .dropdown.active .dropdown-btn,
section[id="social"] .terms--featured .dropdown.active .dropdown-btn {
    width: 100% !important;
    padding: 0.7rem 0.85rem !important;
    border-radius: 0.5rem !important;
    background: #07101d !important;
    color: #fff !important;
    transform: none !important;
}

#social .terms--featured .dropdown.active .dropdown-btn::before,
section[id="social"] .terms--featured .dropdown.active .dropdown-btn::before {
    content: "-" !important;
}

@media (max-width: 768px) {
    #social .terms.terms--featured,
    section[id="social"] .terms.terms--featured {
        width: calc(100% - 0.75rem) !important;
        border-radius: 0.5rem !important;
    }

    #social .terms--featured .terms__head,
    section[id="social"] .terms--featured .terms__head {
        padding: 0.85rem 0.7rem !important;
    }

    #social .terms--featured h2,
    section[id="social"] .terms--featured h2 {
        font-size: 1rem !important;
    }

    #social .terms--featured .terms__intro,
    section[id="social"] .terms--featured .terms__intro {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }

    #social .terms--featured .terms__list,
    section[id="social"] .terms--featured .terms__list {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    #social .terms--featured .terms__list li:nth-child(odd),
    section[id="social"] .terms--featured .terms__list li:nth-child(odd) {
        border-right: 0 !important;
    }

    #social .terms--featured .terms__list li,
    section[id="social"] .terms--featured .terms__list li {
        min-height: auto !important;
        padding: 0.58rem 0.65rem 0.58rem 2.15rem !important;
        font-size: 0.8rem !important;
        line-height: 1.34 !important;
    }

    #social .terms--featured .terms__list li::before,
    section[id="social"] .terms--featured .terms__list li::before {
        top: 0.82rem !important;
        left: 0.62rem !important;
        width: 0.52rem !important;
        height: 0.52rem !important;
        box-shadow: 0 0 0 3px rgba(0,199,204,0.1) !important;
    }

    #social .terms--featured .terms__dropdown,
    section[id="social"] .terms--featured .terms__dropdown {
        padding: 0.7rem 0.7rem 0.85rem !important;
    }

    #social .terms--featured .terms__dropdown .dropdown-btn,
    section[id="social"] .terms--featured .terms__dropdown .dropdown-btn {
        min-height: 2.45rem !important;
        font-size: 0.78rem !important;
    }

    #social .terms--featured .dropdown-content,
    section[id="social"] .terms--featured .dropdown-content {
        max-height: 42vh !important;
        overflow: auto !important;
    }

    #social .terms--featured .dropdown-content ol,
    section[id="social"] .terms--featured .dropdown-content ol {
        margin: 0.5rem 0 0.5rem 1rem !important;
        padding-left: 1rem !important;
    }

    #social .terms--featured .dropdown-content ol li,
    section[id="social"] .terms--featured .dropdown-content ol li {
        margin-bottom: 0.35rem !important;
        font-size: 0.72rem !important;
        line-height: 1.35 !important;
    }
}
