/* Chaintum Custom Header - Token X Style */
.chaintum-custom-header {
    background-color: #000720;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.chaintum-header-logo {
    display: flex;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
}

.chaintum-header-logo img {
    height: 40px;
    margin-right: 10px;
}

.chaintum-header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.chaintum-header-nav a {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.chaintum-header-nav a:hover {
    color: #08F5F8;
}

.chaintum-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #FFFFFF;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.chaintum-menu-toggle:hover {
    color: #08F5F8;
}

.chaintum-menu-toggle .hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
}

.chaintum-menu-toggle .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.chaintum-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.chaintum-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.chaintum-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Full Screen Menu Overlay */
.chaintum-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000720;
    z-index: 99998;
    display: none;
    overflow-y: auto;
}

.chaintum-menu-overlay.active {
    display: block;
}

.chaintum-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    min-height: 100vh;
    position: relative;
}

.chaintum-menu-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.chaintum-menu-logo {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
}

.chaintum-menu-close {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    color: #FFFFFF;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chaintum-menu-close:hover {
    color: #08F5F8;
}

.chaintum-menu-column {
    display: flex;
    flex-direction: column;
}

.chaintum-menu-item {
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.chaintum-menu-item:hover {
    color: #08F5F8;
}

.chaintum-menu-item.active {
    text-decoration: underline;
    text-decoration-color: #08F5F8;
    text-underline-offset: 10px;
}

.chaintum-menu-subitem {
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 30px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.chaintum-menu-subitem:hover {
    color: #08F5F8;
}

.chaintum-menu-social {
    grid-column: 1 / -1;
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.chaintum-menu-social a {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.chaintum-menu-social a:hover {
    background-color: rgba(8, 245, 248, 0.2);
}

.chaintum-menu-background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Montserrat", sans-serif;
    font-size: 8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.chaintum-menu-content > * {
    position: relative;
    z-index: 1;
}

/* Hide default header */
.site-header,
#masthead,
.ast-primary-header-bar {
    display: none !important;
}

/* Add padding to body to account for fixed header */
body {
    padding-top: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .chaintum-custom-header {
        padding: 15px 20px;
    }
    
    .chaintum-header-nav {
        display: none;
    }
    
    .chaintum-menu-content {
        grid-template-columns: 1fr;
        padding: 60px 20px;
    }
    
    .chaintum-menu-item {
        font-size: 2rem;
    }
    
    .chaintum-menu-background-text {
        font-size: 4rem;
    }
}
