@import url("app-styling/header-footer.css");
@import url("app-styling/language-switcher.css");
@import url("app-styling/home-signin.css");
@import url("app-styling/profile.css");
@import url("app-styling/winners.css");
@import url("app-styling/info-footer.css");
@import url("app-styling/features.css");
@import url("app-styling/how-to-play.css");
@import url("app-styling/faq.css");
@import url("app-styling/play.css");
@import url("app-styling/modals.css");
@import url("app-styling/spinner.css");
@import url("app-styling/rewards.css");
@import url("app-styling/navs.css");
@import url("app-styling/carousel.css");
@import url("app-styling/animations.css");
@import url("app-styling/tilted-card.css");
@import url("app-styling/scroll-button.css");
@import url("app-styling/signin-hero.css");
@import url("app-styling/winners-section.css");
@import url("app-styling/spin-promo.css");
@import url("app-styling/ondemand.css");
@import url("app-styling/play-uplift.css");
@import url("app-styling/terms.css");

:root {
    /* --- Ooredoo Oman palette ONLY (exact values from megapromo_web@ooredoo_oman_new :root) ---
       red #ff0024, teal #3CDBC0, dark-blue #0047BB, shadow #1A0D39, white, grey #F4F4F4.
       No non-Ooredoo colors. Prize = white (clean on the red hero), CTA = Ooredoo dark-blue. */
    /* Matches ooredoo.om: white bg, dark text, RED accents/buttons/prices, teal decorative. */
    --main-color: #ED1C24;   /* Ooredoo red — logo, CTAs, prices, accents */
    --sub-color: #ED1C24;    /* Ooredoo red — CTA buttons (like official BUY NOW) */
    --third-color: #3CDBC0;  /* Ooredoo teal — decorative panel/accent */
    --forth-color: #1A0D39;  /* dark text */
    --fifth-color: #F4F4F4;  /* Ooredoo grey */
    --sixth-color: #FFFFFF;  /* white prize number on the teal hero (Vodafone-style) */
    --grey-color: #F4F4F4;   /* Ooredoo grey */
    --success-color: #64C54D;
    --border-color: #ED1C24; /* Ooredoo red */
    --text-color: #1A0D39;   /* dark body text on white */

    /* Force Ooredoo fonts on all Bootstrap components (buttons, inputs, dropdowns) */
    --bs-body-font-family: 'Rubik-Regular', 'NotoKufiArabic', sans-serif;
    --bs-font-sans-serif: 'Rubik-Regular', 'NotoKufiArabic', sans-serif;
    --bs-btn-font-family: 'Rubik-Regular', 'NotoKufiArabic', sans-serif;
}

/* Arabic → Ooredoo Arabic font everywhere, including Bootstrap components and popups
   (modals render outside #main-container, so they rely on their own data-lang="AR").
   Low specificity on purpose: deliberate exceptions (e.g. Latin digits in the phone field) still win. */
[data-lang="AR"] {
    font-family: 'NotoKufiArabic', 'Rubik-Regular', sans-serif;
    --bs-body-font-family: 'NotoKufiArabic', sans-serif;
    --bs-font-sans-serif: 'NotoKufiArabic', sans-serif;
    --bs-btn-font-family: 'NotoKufiArabic', sans-serif;
}

/*========================================================== Main CSS ====================================================*/

html,
body {
    height: -webkit-fill-available !important;
    background-color: #FFF;
    font-family: 'Rubik-Regular', 'NotoKufiArabic', sans-serif; /* Ooredoo EN base font */
}

body {
    display: -ms-flexbox;
    display: flex;
    color: var(--text-color); /* Ooredoo: dark text on white */
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body[data-lang="AR"] {
    font-family: 'NotoKufiArabic', 'Rubik-Regular', sans-serif !important; /* Ooredoo AR base font */
    display: -ms-flexbox;
    display: flex;
    color: var(--text-color); /* Ooredoo: dark text on white */
    font-size: smaller !important;
}

@media (orientation: landscape) and (max-width: 989px) {
    html, body {
        height: unset;
    }
}

#megapromo-root {
    width: 100%;
    height: 100%;
}

main[data-lang="AR"] {
    direction: rtl;
    text-align: right;
    margin-bottom: 10px;
}

.cover-container {
    max-width: 100%;
}

.cover {
    padding: 0 1.5rem;
}

.cover .btn-lg {
    padding: .75rem 1.25rem;
    font-weight: 700;
}

.mastfoot {
    color: rgba(255, 255, 255, .5);
    height: 100% !important;
}

a,
a:focus,
a:hover {
    color: var(--main-color); /* Ooredoo: red links on white */
}

#main-container {
    height: 100vh !important;
    background-size: cover !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    width: 100%;
    /* megapromo model: fixed-viewport inner scroller (like the reference #bigWrapper).
       ScrollToTopButton and the header nav anchors scroll THIS element, not the
       document, so it must be the overflow container — otherwise the info footer and
       everything below the first screen become unreachable. */
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #3cdbc0; /* Ooredoo teal — main section background */
    scroll-behavior: smooth;
}

#main-container[data-lang="AR"] {
    font-family: 'NotoKufiArabic', 'Rubik-Regular', sans-serif !important; /* Ooredoo AR base font */
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/*=========================================================================================================================*/

/*========================================================== Colors CSS ====================================================*/

.main-color {
    color: var(--main-color) !important;
}

.sub-color {
    color: var(--sub-color) !important;
}

.text-grey {
    color: var(--grey-color) !important;
}

.forth-text-color {
    color: var(--forth-color);
}

.sixth-text-color {
    color: var(--fifth-color);
}

/*===========================================================================================================================*/

/*========================================================== General CSS =====================================================*/

/* Terms page: list bullets follow the dark text (not white) on the teal background. */
.terms-content li,
.terms-content li::marker {
    color: var(--text-color) !important;
}

/* Never let images be selected or drag-highlighted (annoying blue highlight, esp. when
   dragging/scrolling the winners carousel). Also stop the carousel from selecting text on drag. */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

.carousel,
.custom-carousel,
.carousel .slider-wrapper,
.carousel .slide {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.pointer {
    cursor: pointer
}

.clickable {
    cursor: pointer;
}

.font-bold {
    font-family: 'Rubik-Regular', 'NotoKufiArabic', sans-serif !important;
}

[data-lang="AR"] .font-bold {
    font-family: 'NotoKufiArabic', 'Rubik-Regular', sans-serif !important;
}

.forceFont {
    font-family: 'Rubik-Regular', 'NotoKufiArabic', sans-serif !important;
}

.forceFont[data-lang="AR"] {
    font-family: 'NotoKufiArabic', 'Rubik-Regular', sans-serif !important;
}

.fontSize {
    font-size: 13px;
}

[data-lang="AR"] .fontSize {
    font-size: 16px;
}

.no-underline {
    text-decoration: none; /* Remove the underline */
    cursor: pointer; /* Keep the pointer cursor */
}

[dir="rtl"] .text-start {
    text-align: right !important;
}

.loader-overlay {
    min-height: 100vh !important;
    background-size: cover !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-color: #3cdbc0 !important; /* Ooredoo teal — match main section */
}

.text-center a {
    margin: 0 5px;
}

[data-lang="AR"] a {
    font-family: 'NotoKufiArabic', 'Rubik-Regular', sans-serif !important
}

.float-end[data-lang="AR"] {
    float: left !important;
}

.spinner-border.space {
    margin: 0 5px;
}

[data-lang="AR"] .me-2 {
    margin-left: 0.5rem !important;
}

.centered {
    position: absolute !important;
    transform: translate(-50%, -50%) !important;
    left: 50% !important;
    top: 50% !important;
}

::marker {
    color: white !important;
}

.force-ltr {
    direction: ltr !important;
    text-align: left !important;
}