:root {
    --primary-color: #636AF9;
    --secondary-color: #1e40af;
    --text-color: #111827;
    --light-bg: #f3f4f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    direction: rtl;
}

/* Header Styles */
.header {
    padding-top: 16px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav {
    gap: 38px;
}

@media screen and (max-width: 768px) {
    .navbar-nav {
        padding-top: 16px;
        gap: 0;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background-color: #fff;
    padding-top: 100px;
    padding-bottom: 125px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .hero-section {
        background-image: url('images/herobg.png');
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        background-image: url('images/herobg-mobile.png');
        background-size: cover;
        padding-top: 95px;
    }
}

.hero-section h6 {
    font-size: 20px;
    font-weight: 500;
    color: #4955CD;
    margin-bottom: 32px;
    line-height: 1;
}

.hero-section p {
    max-width: 50%;
    margin: 0 auto;
}

.hero-section h1 {
    width: 52%;
    margin: 0 auto;
    font-size: 30px;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 47px;
}

.hero-section .download-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-section .download-btns a img {
    height: 64px;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .hero-section p {
        max-width: 100%;
    }
    .hero-section {
        padding-bottom: 20px;
    }
    .hero-section h1 {
        width: 100%;
        margin: 0;
        font-size: 24px;
        color: var(--text-color);
        font-weight: 600;
        line-height: 1.5;
        margin-bottom: 72px;
    }

    .hero-section h6 {
        margin-bottom: 8px;
        font-size: 16px;
    }

    .hero-section .download-btns {
        gap: 12px;
    }
    
    .hero-section .download-btns a img {
        height: 50px;
    }
}

/* About Section */
.about-section {
    background-image: url('images/about-bg-min.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding-top: 70px;
    position: relative;
}

.about-section .about-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
    margin-bottom: 12px;
    padding: 0;
    text-align: right;
}

.about-section .about-content p {
    font-size: 18px;
    font-weight: 400;
    color: #4B5563;
    text-align: right;
    margin: 0;
    padding: 0;
}

.about-section .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.about-section .why-love-zod {
    background: #DFD7FC;
    padding-top: 39px;
    padding-right: 31px;
    padding-left: 31px;
    padding-bottom: 72px;
    border-radius: 44px;
}

.about-section .why-love-zod h3 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
    margin-bottom: 12px;
    padding: 0;
}

.about-section .why-love-zod .features {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-section .why-love-zod .features .feature {
    font-size: 18px;
    font-weight: 400;
    color: #4B5563;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-section .why-love-zod .features .feature::before {
    content: '';
    height: 16px;
    width: 1px;
    background: #3945B7;
}

.about-section .badge {
    background: #2F3AA3;
    border-radius: 100px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    bottom: 0;
    right: 0;
    width: fit-content;
    right: 50%;
    transform: translateX(50%);
    bottom: -26px;
}

.about-section .badge span {
    font-size: 18px;
    color: var(--white);
    font-weight: 400;
}

.about-section .badge a {
    font-size: 18px;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
}

.about-section .badge span {
    font-size: 18px;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    .about-section .why-love-zod {
        margin-top: 24px;
        padding: 24px;
        padding-bottom: 50px;
    }

    .about-section .why-love-zod h3 {
        font-size: 32px;
    }

    .about-section .why-love-zod .features {
        flex-direction: column;
        align-items: start;
        gap: 4px;
    }

    .about-section .why-love-zod .features .feature {
        font-size: 16px;
    }
    
    .about-section .badge {
        border-radius: 100px;
        padding: 8px;
        gap: 6px;
    }

    .about-section .badge span {
        font-size: 16px;
    }
    
    .about-section .badge a {
        font-size: 16px;
    }
}

/* How to play section */
.how-to-play-section {
    padding-top: 100px;
    padding-bottom: 48px;
}

.how-to-play-section .section-head {
    text-align: right;
}

.how-to-play-section .section-head h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-color);
    text-align: right;
    margin: 0;
    padding: 0;
}

.how-to-play-section .section-head p {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
    text-align: right;
    margin: 14px 0;
    padding: 0;
}

.how-to-play-section .steps {
    display: flex;
    align-items: center;
}

.how-to-play-section .steps .step {
    width: 100%;
}

.how-to-play-section .steps .step .content h5 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    padding-left: 18px;
    line-height: 1.5;
    height: 27px;
}

.how-to-play-section .steps .step .content h5 span {
    font-weight: 700;
}

.how-to-play-section .steps .step .arrow {
    display: flex;
    align-items: end;
    position: relative;
}

.how-to-play-section .steps .step .arrow img {
    position: absolute;
    width: 90%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.how-to-play-section .steps .step .arrow .number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #2F3AA3;
    border-radius: 30px;
    font-size: 20px;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .how-to-play-section .steps {
        flex-direction: column;
        gap: 45px;
    }

    .how-to-play-section .steps .step .content h5 {
        margin-top: 12px !important;
    }

    .how-to-play-section .steps .step {
        width: 65%;
    }

    .how-to-play-section .steps .step .arrow img {
        right: -88px;
        width: 130px;
        top: 0;
        transform: rotate(276deg);
        top: 110px;
    }

    .how-to-play-section .steps .step .arrow .number {
        width: 76px;
        height: 76px;
        font-size: 18px;
    }
}

/* Footer */
footer {
    background-image: url('images/footerbg.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    margin-top: 180px;
}

footer p {
    font-size: 18px;
    font-weight: 400;
    color: #3D3D3D;
    text-align: right;
    margin: 32px 0;
    padding: 0;
}

footer .footer-img {
    position: absolute;
    bottom: 3.5%;
    left: 6.5%;
    width: 32%;
    object-fit: cover;
}

footer .download-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

footer .download-btns a img {
    height: 64px;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    footer .download-btns a img {
        height: 50px;
    }

    footer {
        padding-bottom: 455px;
        margin-top: 100px;
    }

    footer .footer-img {
        width: 88%;
        left: 5%;
        bottom: 5%;
    }
}

.pages-links a {
    font-size: 16px;
    font-weight: 400;
    color: #3D3D3D;
    text-decoration: none;
    margin-inline-end: 20px;
}

html[lang="ar"] .hide-on-ar {
    display: none;
}

html[lang="en"] .hide-on-en {
    display: none;
}