/* 1. MASTER LAYOUT & ZOOM KILLERS */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden; 
    min-height: 100vh;
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

/* 2. HEADER SECTION */
.header-status {
    position: relative;
    width: 100%;
    padding: 16px 0; 
    background: #fcfcfc;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 95px;
}

.header-center {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    text-align: center;
    margin: 0 auto; 
}

.label { 
    color: #999; 
    font-size: 11.5px; 
    text-transform: uppercase; 
    letter-spacing: 2.6px; 
    margin: 0 0 5px 0; 
    padding: 0;
    line-height: 1;
}

.height { 
    color: #F7931A; 
    font-size: 29.5px; 
    font-weight: bold; 
    margin: 0; 
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1;
}

/* 3. ENHANCED HAMBURGER MENU */
.menu-toggle {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1000;
    padding: 16px; /* Larger touch target */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px; /* More space between bars */
}

/* Larger, thicker Bitcoin orange bars */
.bar {
    display: block;
    width: 32px; /* Increased from 25px */
    height: 4px; /* Increased from 2.5px */
    background-color: #F7931A; /* Bitcoin orange */
    transition: 0.3s;
    border-radius: 2px;
}

/* Add MENU text below the bars */
.menu-toggle::after {
    content: 'MENU';
    font-size: 10px;
    font-weight: bold;
    color: #F7931A;
    letter-spacing: 1.5px;
    margin-top: 4px;
    transition: 0.3s;
}

/* When menu is open, change to X and show CLOSE */
.menu-toggle.is-active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 7px);
    background-color: #333;
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -7px);
    background-color: #333;
}

.menu-toggle.is-active::after {
    content: 'CLOSE';
    color: #333;
}

/* 4. NAVIGATION MENU */
.nav-menu {
    position: fixed;
    top: 0;
    left: -100%; 
    width: 295px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    transition: 0.3s ease-in-out;
    z-index: 999;
}

.nav-menu.active {
    left: 0;
}

.nav-menu a, 
.nav-dropdown summary {
    padding: 21px 42px; 
    text-decoration: none;
    color: #333;
    font-size: 16.8px; 
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    display: block;
    width: 100%;
    border-bottom: 1px solid #f9f9f9;
    cursor: pointer;
    transition: 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 5. MAIN LOGO SECTION */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    max-width: 100vw;
}

.logo-link {
    display: block;
    width: 90%;
    max-width: 732px; 
}

.logo-link img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 60vh; 
    object-fit: contain;
}

/* 6. FOOTER SECTION */
.site-footer {
    width: 100%;
    background: #fcfcfc;
    border-top: 1px solid #eeeeee;
    padding: 21px 0;
    flex-shrink: 0;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-text p {
    margin: 0;
    font-size: 11.5px;
    color: #666;
}

.footer-icons {
    display: flex;
    gap: 21px;
}

.footer-icons img {
    filter: brightness(0);
    width: 23px;
    height: 23px;
}

/* 7. RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    /* Slightly smaller menu on mobile but still prominent */
    .menu-toggle {
        padding: 12px;
    }
    
    .bar {
        width: 28px;
        height: 3.5px;
    }
}

/* 8. Dropdown specific styling */
.nav-dropdown summary {
    list-style: none;
    outline: none;
}
.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown summary::after {
    content: ' ▾';
    color: #F7931A;
    font-size: 12.6px;
    float: right;
}

.dropdown-content {
    background-color: #fdfdfd;
}

.dropdown-content a {
    padding: 15.7px 63px !important;
    font-size: 14.7px !important;
    text-transform: none !important;
    border-bottom: 1px solid #eee !important;
    color: #666 !important;
}

.nav-menu a:hover, 
.nav-dropdown summary:hover {
    color: #F7931A;
    background-color: #fcfcfc;
}
