/* Custom Fonts */
@font-face {
    font-family: Tanseek;
    font-style: normal;
    font-weight: 400;
    src: url('/style/TanseekModernProArabic-Bold1.eot?#iefix') format("embedded-opentype"),
         url('/style/TanseekModernProArabic-Bold2.woff') format("woff"),
         url('/style/fonts/TanseekModernProArabic-Bold3.ttf') format("truetype");
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    src: url('/style/fonts/roboto.eot?#iefix') format("embedded-opentype"),
         url('/style/fonts/roboto.woff') format("woff"),
         url('/style/fonts/roboto.ttf') format("truetype");
}

/* Screen Background */
body {
    background-color: #292929;
    color: #e3e3e3;
    font-family: Roboto, Tahoma, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl; /* Ensuring right-to-left direction for Arabic text */
    text-align: right;
    overflow-x: hidden; /* Prevent horizontal scrolling on small screens */
}

a:link {
    color: #9cf;
    text-decoration: none;
}

/* Screen Title and Burger Menu */
.screen-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0c0c0c;
    padding: 10px;
    margin-bottom: 10px;
}

/* Burger Menu Button */
.burger-menu {
    cursor: pointer;
    background-color: #0c0c0c;
    padding: 12px;
    border-radius: 5px;
}

.burger-menu button {
    background: none;
    border: none;
    padding: 15;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.burger-menu .line {
    width: 100%;
    height: 3px;
    background-color: #ccc;
    margin: 3px 0;
    border-radius: 2px;
}

/* Burger Menu Navigation */
#burger-menu-nav {
    display: none;
    background-color: #0c0c0c; /* Background color for the opened menu area */
    position: absolute;
    top: 50px;
    right: 0;
    width: 200px;
    z-index: 1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#burger-menu-nav ul {
    list-style-type: none;
    padding: 0px;
    margin: 0;
}

#burger-menu-nav ul li {
    padding: 10px;
    text-align: center;
}

#burger-menu-nav ul li a {
    text-decoration: none;
    color: #e3e3e3;
    display: block;
    padding: 0px;
    transition: background-color 0.3s ease;
}

#burger-menu-nav ul li a:hover {
    background-color: #333; /* Darker background on hover */
    color: #fff; /* Change text color on hover for better contrast */
}

h1 {
    font-family: Tanseek, sans-serif;
    font-size: 28px !important;
    color: #fc6;
    margin: 0;
    padding: 0 10px;
    background: linear-gradient(45deg, #0c0c0c 32%, #a0060e 84%, #850007 100%);
    text-align: center;
    flex-grow: 1;
}

/* Ad Container */
#ad-container {
    position: relative; /* Allow scrolling with the page */
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background-color: #292929;
    z-index: 1; /* Make sure it doesn't overlap unnecessarily */
}

/* Ad Banner */
#killbanner {
    display: block;
    max-width: 100%; /* Ensure it doesn't exceed the container width */
    height: auto;
    margin: 0 auto; /* Center the banner horizontally */
}

/* Portrait Mode - 300x250 Banner */
@media screen and (orientation: portrait) {
    #killbanner {
        width: 300px;
        height: 250px;
    }
}

/* Landscape Mode - Different Banner Sizes Based on Screen Width */
@media screen and (orientation: landscape) {
    /* For large landscape screens, show 728x90 banner */
    @media (min-width: 728px) {
        #killbanner {
            width: 728px;
            height: 90px;
        }
    }

    /* For medium screens, show 468x60 banner */
    @media (max-width: 727px) and (min-width: 468px) {
        #killbanner {
            width: 468px;
            height: 60px;
        }
    }

    /* For smaller screens, show 320x50 banner */
    @media (max-width: 467px) {
        #killbanner {
            width: 320px;
            height: 50px;
        }
    }
}


/* Ensure the burger menu is visible in both portrait and landscape modes */
@media screen and (orientation: landscape) {
    .screen-title {
        padding-bottom: 20px; /* Adds space between the burger menu and ad */
    }
}

/* Common button styling */
.custom-button {
    background-color: #fc6; /* Background color */
    color: #292929; /* Text color */
    border: none;
    border-radius: 5px; /* Rounded corners */
    padding: 12px 20px;
    font-size: 1.2em; /* Increase text size */
    cursor: pointer;
    width: 50%; /* Set the button width to half of the screen */
    display: flex; /* Use flexbox for arrow and text alignment */
    align-items: center; /* Center the arrow and text vertically */
    justify-content: space-between; /* Space the arrow and text apart */
    margin: 10px auto; /* Center the button horizontally */
    text-align: center;
}

/* Arrow icon (pointing left) */
.custom-button::before {
    content: "\2190"; /* Unicode for left-pointing arrow */
    font-size: 1.2em; /* Adjust size of the arrow */
    margin-right: 10px; /* Space between the arrow and text */
    color: inherit; /* Make the arrow color the same as the text color */
}
