﻿/* Ensure body allows fixed header to calculate height correctly */
body {
    padding-top: 0; 
}

    /* Make the header fixed to float above content */
    body > header { 
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;        
    }

/* Main content to account for the fixed header */
main {
    padding-top: 0; 
}


.container {
    /*max-width: 1520px !important;*/
    max-width: 1684px !important;
    width: auto !important;
}

@media (max-width: 1540px) {
    .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/*Hero Page*/
#hero {
    background-color: #1C1B1B; 
    color: #fff;    
    padding: calc(116px + 80px) 15px 80px; 
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex; 
    flex-direction: column;
    justify-content: center; 
}


/*    #hero::after {
        content: '';
        position: absolute;
        width: 1522px; 
        height: 838px; 
        top: 0; 
        left: 0; 
        background-image: url('/images/backgrounds/top-left-gradient.png'); 
        background-repeat: no-repeat;
        background-position: top left;
        background-size: cover; 
        z-index: 1040; 
        pointer-events: none; 
        filter: blur(10px); 
        opacity: 0.75; 
    }*/

.top-left-gradient {
    position: absolute;
    width: 1522px;
    height: 838px;
    top: 0;
    left: 0;
    background-image: url('/images/backgrounds/top-left-gradient.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
    z-index: 5; /* Much lower z-index */
    pointer-events: none;
    filter: blur(10px);
    opacity: 0.75;
}

.bitcoin-corner-image {
    position: absolute;
    width: 373px;
    height: 356px;
    background-image: url('/images/backgrounds/Mask group.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    left: 0px;
    bottom: 0px; 
    opacity: 0.65;
    z-index: 0;
    pointer-events: none;
}


.hero-bottom-glow {
    position: absolute;
    bottom: 0;
    left: 50%; 
    transform: translateX(-50%); 
    width: 1920px; 
    height: 960px; 
    background-image: url('/images/backgrounds/Ellipse 2.png'); 
    background-repeat: no-repeat;
    background-position: center bottom; 
    background-size: cover;
    z-index: 0; 
    pointer-events: none; 
    opacity: 0.8;
}

.hero-plexus-image {
    position: absolute;
    right: 0;
    bottom: 10px;
    width: 1103px; 
    height: 1039px; 
    background-image: url('/images/backgrounds/spidernet.png'); 
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain; 
    z-index: 0; 
    pointer-events: none;
    opacity: 0.65; 
}

  

    #hero h1 {
        font-size: 48px;
        font-weight: 700;
        margin-top: 0; 
        margin-bottom: 30px;
        letter-spacing: 1px;
        position: relative;
        z-index: 1;
    }

    #hero .text-primary {
        color: #a29de3 !important; 
    }

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}



.partner-logos-row {
    /* Ensures logos wrap and are centered */
    width: 100%;
}

.partner-logo-image {
    /* Optional: add margin for spacing if gap-3 is not enough */
    display: block;
}

@media (max-width: 767.98px) {
    .partner-logos-row {
        justify-content: space-between;
    }

    .partner-logo-image {
        flex: 0 0 48%; /* Two per row, with a little gap */
        max-width: 100%;
        margin-bottom: 1rem;
    }
}



/* Disclaimer */
.disclaimer {
    color: rgba(255, 255, 255, 0.5);    
    font-size: 14px;
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

/* Header Styles - Existing, ensure they work with fixed positioning */
.header-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px; 
    background-color: transparent;
}

/*#headerMenu {
    width: 1520px !important;
    max-width: 100%;
    height: 96px;
    background-color: rgba(26, 24, 51, 0.95); 
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    align-items: center; 
}
*/

#headerMenu {
    width: 1520px !important;
    max-width: 100%;
    height: 96px;
    background-color: rgba(26, 24, 51, 0.7) !important; /* Semi-transparent background */
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 16px;
    z-index: 1050;
    position: relative;
}


    #headerMenu .navbar-brand {
        height: auto; 
    }

/* Dropdown styling - Existing */
.dropdown-user {
    background-color: #303030; 
    border-radius: 12px;
    color: white;
    border: none;
    padding: 8px 16px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
}

    .dropdown-user:hover {
        background-color: rgba(80, 78, 120, 0.7);
        color: white;
    }

/* Text gradient for the "HISTORICAL" part of the heading */
.gradient-text {
    background: linear-gradient(to right, #8D86EF, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    display: inline-block; /* Important for the gradient to apply properly */
}

/* Make sure dropdown menus appear on hover for desktop - Existing */
@media (min-width: 1200px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Responsive Tweaks - Existing, slightly adjusted */
@media (max-width: 991px) { /* Adjusted breakpoint for better coverage */
    #hero {
        /* Adjust top padding for smaller screens if header height changes */
        /* padding-top: calc(HEADER_HEIGHT_TABLET + 60px); */
        /* For now, assume header height is consistent or handled by its own media queries */
    }

        #hero h1 {
            font-size: 38px; 
        }
}

@media (max-width: 767px) {
    #hero {
        /* Adjust top padding for smaller screens if header height changes */
        /* padding-top: calc(HEADER_HEIGHT_MOBILE + 40px); */
        padding-left: 10px; 
        padding-right: 10px;
    }

        #hero h1 {
            font-size: 32px; /* Was 36px */
        }


    .partner-logo {    
        border-radius: 12px;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease, background-color 0.3s ease;
        width: 100%;
    }
      

    .partner-logo-image {
        object-fit: contain;
    }




    .hero-description {
        font-size: 16px;
        color: #cccccc !important;
    }

    .exchange-partners {
        margin-top: 40px;
    }

    .disclaimer {
        margin-top: 40px;
        font-size: 18px;
    }
}



/* Header Styles */
.header-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px; /* This margin is within the fixed header */
    background-color: transparent;
}

#headerMenu {
    width: 1520px !important;
    max-width: 100%;
    height: 96px;
    background-image: linear-gradient(to right, #2A2751, #222222);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 15px; 
    padding-right: 15px; 
    border-radius: 16px; 
}

    /* Ensure navbar items align properly */
    #headerMenu .navbar-brand {
        /* height: 96px; /* Let flexbox align this */
        /* display: flex; */
        /* align-items: center; */
    }
    /* If using container-fluid inside #headerMenu, padding might be better on container-fluid */
    #headerMenu > .container-fluid {
        padding-left: 15px; 
        padding-right: 15px; 
    }


/* Dropdown styling */
.dropdown-user {
    background-color: rgba(60, 58, 90, 0.5);
    border-radius: 30px; 
    color: white;
    border: none;
    padding: 8px 16px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    font-size: 0.9rem; 
}

    .dropdown-user:hover {
        background-color: rgba(80, 78, 120, 0.7); 
        color: white;
    }

    .dropdown-user .fa-chevron-down {
        font-size: 0.7em; 
    }



/* Make sure dropdown menus appear on hover for desktop */
@media (min-width: 1200px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}


/*************************************
    Login form
**************************************/
.login-form-style {
    border-radius: 18px !important;
    background-color: #ffffff !important;
    position: relative !important;
    z-index: 10 !important;
    box-shadow: 0 0 20px rgba(0,0,0,0.2) !important;
}


/* Ensure navbar content is fully opaque */
/*.navbar-brand svg,
.navbar-brand span,
.dropdown-user,
.navbar .btn {
    mix-blend-mode: normal !important;
    isolation: isolate;
}*/

/* Add a subtle background to the brand text for better readability */
/*.navbar-brand span {
    background-color: rgba(26, 24, 51, 0.85);
    padding: 2px 10px;
    border-radius: 4px;
}*/
