:root { --header-offset: 122px; }
body { padding-top: var(--header-offset); margin: 0; font-family: Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background-color: #0A0A0A; color: #FFF6D6; }

.site-header {
    background-color: #0A0A0A;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    min-height: 60px;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 15px 30px;
    width: 100%;
    box-sizing: border-box;
}

.hamburger-menu {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #FFF6D6;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    flex-shrink: 0;
}

.logo {
    flex-shrink: 0;
    color: #FFF6D6;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav .nav-link {
    color: #FFF6D6;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.main-nav .nav-link:hover {
    color: #FFD36B;
    transform: translateY(-2px);
}

.desktop-nav-buttons {
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.mobile-nav-buttons {
    display: none !important;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: #111111; /* Contrast with gradient */
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #FFE082 0%, #E6B030 100%);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 997;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Footer Styles */
.site-footer {
    background-color: #0A0A0A;
    color: #FFF6D6;
    padding: 40px 0 20px;
    border-top: 1px solid #3A2A12;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-col {
    padding: 10px 0;
}

.footer-col .footer-logo {
    color: #FFF6D6;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 15px;
    display: block;
}

.footer-col .footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-col .footer-heading {
    font-size: 18px;
    color: #F2C14E;
    margin-bottom: 20px;
    position: relative;
}

.footer-col .footer-heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: #F2C14E;
    margin-top: 8px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav li a {
    color: #FFF6D6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav li a:hover {
    color: #FFD36B;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3A2A12;
    margin-top: 30px;
    font-size: 13px;
    color: #FFF6D6;
}

.footer-slot-anchor-inner {
    min-height: 10px; /* Ensure visibility for injection */
}

/* Mobile Styles */
@media (max-width: 768px) {
    :root { --header-offset: 110px; }
    body { padding-top: var(--header-offset); }

    .header-container {
        width: 100%;
        max-width: none;
        padding: 10px 15px;
        justify-content: space-between;
    }

    .hamburger-menu {
        display: block;
    }

    .logo {
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        max-width: calc(100% - 140px); /* Adjust to prevent overlap with hamburger and buttons */
        font-size: 20px;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-offset);
        left: 0;
        width: 250px;
        height: calc(100vh - var(--header-offset));
        background-color: #111111;
        flex-direction: column;
        padding: 20px;
        box-shadow: 2px 0 5px rgba(0,0,0,0.2);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 998;
        overflow-y: auto;
    }

    .main-nav.active {
        display: flex;
        transform: translateX(0);
    }

    .main-nav .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid #3A2A12;
        width: 100%;
        font-size: 18px;
    }

    .main-nav .nav-link:last-child {
        border-bottom: none;
    }

    .desktop-nav-buttons {
        display: none !important;
    }

    .mobile-nav-buttons {
        flex-shrink: 0;
        display: flex !important;
        gap: 8px;
    }

    .mobile-nav-buttons .btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .site-header.active .hamburger-menu {
        color: #FFD36B;
    }

    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col .footer-heading::after {
        margin: 8px auto 0;
    }

    .page-content img {
      max-width: 100% !important;
      height: auto !important;
      display: block;
    }
    .page-content {
      overflow-x: hidden;
      max-width: 100%;
    }
    body {
      overflow-x: hidden;
    }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
