/* =========================================================
   DUBAI KING NEW HOME
========================================================= */

.new-home .slot-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    padding: 110px 0 45px;

    background:
        linear-gradient(
            90deg,
            rgba(2,8,18,.94),
            rgba(3,12,25,.78),
            rgba(2,8,18,.88)
        ),
        url("../images/hero-bg.jpg") center center / cover no-repeat;
}

.new-home .slot-hero-inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 25px;

    max-width: 1180px;
    margin: auto;
}


/* =========================================================
   LOTTERY LEFT
========================================================= */

.new-home .slot-hero-lotteries {
    width: 100%;
}

.new-home .slot-eyebrow {
    color: #4fc7ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 15px;
}

.new-home .slot-eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    margin-right: 8px;
    vertical-align: middle;
    background: #4fc7ff;
}

.new-home .slot-hero-lotteries h1 {
    margin: 0;

    color: #fff;

    font-family: "Space Grotesk", Arial, sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    line-height: .98;
    letter-spacing: -3px;
}

.new-home .slot-hero-lotteries h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        #ffffff,
        #55caff
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.new-home .slot-subtitle {
    margin: 20px 0 25px;

    color: rgba(255,255,255,.68);
    font-size: 14px;
}


.new-home .slot-lottery-grid {
    display: grid;
    grid-template-columns: repeat(2, 250px);
    gap: 10px;
}

.new-home .slot-lottery-card {
    height: 66px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 8px 10px 8px 15px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;

    background: rgba(7,24,42,.82);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 10px 25px rgba(0,0,0,.18);
}

.new-home .slot-lottery-card span {
    color: #dce7f3;

    font-size: 12px;
    font-weight: 700;
}

.new-home .slot-lottery-card strong {
    width: 52px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: #102f49;
    border: 1px solid rgba(70,190,255,.25);

    color: #fff;

    font-size: 21px;
    font-weight: 800;
}


/* =========================================================
   SLOT MACHINE
========================================================= */

.new-home .slot-machine-wrap {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.new-home .slot-machine-title {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-bottom: 5px;

    color: rgba(255,255,255,.75);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.new-home .slot-machine-title span {
    width: 25px;
    height: 1px;
    background: #4fc7ff;
}


.new-home .slot-machine {
    position: relative;

    width: 100%;
    max-width: 470px;

    margin: 0 auto;

    line-height: 0;
}

.new-home .slot-machine-image {
    display: block;

    width: 100%;
    height: auto;

    position: relative;
    z-index: 1;
}


/* =========================================================
   MAGIC NUMBER
   EXACT POSITION FOR YOUR SLOT PNG
========================================================= */

.new-home .machine-magic-number {
    position: absolute;

    z-index: 5;

    /*
       Actual six windows are around:
       X = 21% to 80%
       Y = 23% to 34%
    */

    left: 50%;
    top: 28.2%;

    transform: translate(-50%, -50%);

    width: 58.5%;

    display: grid;
    grid-template-columns: repeat(6, 1fr);

    gap: 3px;
}

.new-home .machine-magic-number span {
    display: flex;
    align-items: center;
    justify-content: center;

    height: auto;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: clamp(17px, 2.4vw, 29px);
    font-weight: 900;

    line-height: 1;

    text-shadow:
        0 0 5px #ffffff,
        0 0 10px rgba(70,200,255,.8);
}


/* =========================================================
   LUCKY NUMBER
   EXACT POSITION FOR YOUR SLOT PNG
========================================================= */

.new-home .machine-lucky-number {
    position: absolute;

    z-index: 5;

    /*
       Actual two reel area:
       X = approximately 26% to 76%
       Y = approximately 42% to 62%
    */

    left: 50%;
    top: 52%;

    transform: translate(-50%, -50%);

    width: 50%;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 5px;
}

.new-home .machine-lucky-number span {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: clamp(25px, 3.5vw, 40px);
    font-weight: 900;

    line-height: 1;

    text-shadow:
        0 0 6px #ffffff,
        0 0 12px rgba(70,200,255,.8);
}


/* =========================================================
   MOBILE LOTTERY
========================================================= */

.new-home .mobile-lottery-section {
    display: none;
}


/* =========================================================
   TABLET
   SAME AS MOBILE
========================================================= */

@media (max-width: 1100px) {

    .new-home .slot-hero {
        min-height: auto;

        padding: 100px 15px 30px;

        background:
            linear-gradient(
                180deg,
                rgba(2,8,18,.86),
                rgba(3,12,25,.96)
            ),
            url("../images/hero-bg.jpg") center center / cover no-repeat;
    }


    .new-home .slot-hero-inner {

        display: flex;

        flex-direction: column;

        gap: 0;

        max-width: 600px;
    }


    /* MACHINE FIRST */

    .new-home .slot-machine-wrap {
        order: 1;

        width: 100%;
    }

    .new-home .slot-machine {
        width: 100%;

        max-width: 420px;

        margin: auto;
    }


    /* Hide desktop lottery */

    .new-home .slot-hero-lotteries {
        display: none;
    }


    /* Mobile lottery comes later */

    .new-home .mobile-lottery-section {
        display: block;

        padding: 45px 15px;

        background: #07111f;
    }


    .new-home .mobile-lottery-grid {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 9px;
    }


    .new-home .mobile-lottery-heading {
        margin-bottom: 20px;
    }

    .new-home .mobile-lottery-heading span {
        color: #4fc7ff;

        font-size: 9px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .new-home .mobile-lottery-heading h2 {
        margin: 6px 0;

        color: #fff;

        font-size: 30px;
    }

    .new-home .mobile-lottery-heading p {
        color: #8497ad;

        font-size: 12px;
    }


    .new-home .mobile-lottery-card {
        min-height: 58px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 6px;

        padding: 8px 8px 8px 11px;

        border-radius: 10px;

        background: #0f1f31;

        border: 1px solid rgba(255,255,255,.08);
    }

    .new-home .mobile-lottery-card span {
        color: #dce6f0;

        font-size: 10px;
        font-weight: 700;
    }

    .new-home .mobile-lottery-card strong {
        min-width: 40px;
        height: 36px;

        display: grid;
        place-items: center;

        border-radius: 7px;

        background: #102f49;

        color: #fff;

        font-size: 16px;
        font-weight: 800;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .new-home .slot-hero {
        padding-top: 95px;
    }

    .new-home .slot-machine {
        max-width: 390px;
    }

    .new-home .machine-magic-number {
        top: 28.2%;
        width: 58.5%;
    }

    .new-home .machine-magic-number span {
        font-size: 18px;
    }

    .new-home .machine-lucky-number {
        top: 52%;
        width: 50%;
    }

    .new-home .machine-lucky-number span {
        font-size: 27px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .new-home .slot-machine {
        max-width: 360px;
    }

    .new-home .machine-magic-number {
        top: 28.2%;
    }

    .new-home .machine-lucky-number {
        top: 52%;
    }

}