/**
 * Theme 5 Main Stylesheet
 * 
 * Global styles for affiliate_betportal_5 theme
 */

/* ============================================
   Body & Global Styles
   ============================================ */

body {
    margin: 0;
    padding: 0;
    background: 
        radial-gradient(ellipse at 37.5% 20%, rgba(100, 0, 10, 0.8) 0%, rgba(50, 0, 5, 0.4) 30%, transparent 60%),
        #020202;
    background-color: #020202;
    background-attachment: scroll;
    min-height: 100vh;
    color: #ffffff;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

html {
    background: 
        radial-gradient(ellipse at 37.5% 20%, rgba(100, 0, 10, 0.8) 0%, rgba(50, 0, 5, 0.4) 30%, transparent 60%),
        #020202;
    background-color: #020202;
    background-attachment: scroll;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   Site Main
   ============================================ */

#primary.site-main {
    position: relative;
    z-index: 1;
    min-height: 60vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Ensure header dropdown menus appear above content */
.abp5_top_panel {
    position: relative !important;
    z-index: 10000 !important;
    isolation: isolate;
    padding-left: 3%;
    padding-right: 3%;
}

.abp5_sc_layouts_menu_nav {
    position: relative !important;
    z-index: 10001 !important;
}

.abp5_sc_layouts_menu_nav > li {
    position: relative;
    z-index: 10002 !important;
}

.abp5_sc_layouts_menu_nav .sub-menu {
    position: absolute !important;
    z-index: 99999 !important;
    isolation: isolate;
}

/* Ensure content doesn't create stacking context that blocks menu */
.site-content,
.entry-content,
.post,
.page {
    position: relative;
    z-index: 1;
}

/* Add padding to main content */
#primary.site-main,
.site-content {
    padding-left: 3%;
    padding-right: 3%;
}

/* Add padding to Elementor sections, but full-width widgets will override */
.elementor-section {
    padding-left: 3%;
    padding-right: 3%;
}

.elementor-container {
    padding-left: 3%;
    padding-right: 3%;
}

/* ============================================
   Links
   ============================================ */

a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ea011d;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

p {
    margin: 0 0 1rem 0;
}

/* ============================================
   Utility Classes
   ============================================ */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
