/* 共享样式 - 顶部、底部和英雄区域 */
@charset "UTF-8";

/* 基础样式变量 - 巴西博彩绿色和黄色主题 (巴西国旗配色) */
:root {
    --bs-blue: #009739;
    --bs-indigo: #00A859;
    --bs-purple: #1B8B3F;
    --bs-pink: #FF6B6B;
    --bs-red: #DC143C;
    --bs-orange: #FF9800;
    --bs-yellow: #FFDF00;
    --bs-green: #009739;
    --bs-teal: #00C853;
    --bs-cyan: #00A859;
    --bs-black: #0a1a0f;
    --bs-white: #fff;
    --bs-gray: #4a6b5a;
    --bs-gray-dark: #1a2e1f;
    --bs-primary: #0a1a0f;
    --bs-secondary: #1a2e1f;
    --bs-success: #009739;
    --bs-info: #00A859;
    --bs-warning: #FFDF00;
    --bs-danger: #DC143C;
    --bs-light: #2a4a3a;
    --bs-dark: #0a1a0f;
}

/* 基础重置 */
*, ::after, ::before {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a1a0f 0%, #1a2e1f 50%, #2a4a3a 100%);
    color: white;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    min-height: 100vh;
}

/* 容器样式 */
.container {
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 960px;
        margin: auto;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1320px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* 网格系统 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* 按钮重新设计：默认胶囊形（Pill），轻量交互，无繁重特效 */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    border-radius: 999px; /* 默认胶囊形 */
    border: none;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.08s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

/* 形状可选：保留默认胶囊，同时提供圆角/方角变体 */
.btn--pill { border-radius: 999px; }
.btn--rounded { border-radius: 12px; }
.btn--square { border-radius: 6px; }

/* 图标容器（可选） */
.btn-icon { display: inline-block; line-height: 0; }

/* Focus 可见环 */
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 235, 59, 0.35), 0 6px 20px rgba(0,0,0,0.2);
}

/* 按下态：轻微按压 */
.btn:active { transform: translateY(1px) scale(0.99); }

/* 禁用态 */
.btn:disabled, .btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

/* 主按钮：巴西绿色（巴西博彩风格），加入细微阴影 */
.btn-primary {
    background: linear-gradient(135deg, #009739 0%, #00A859 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 151, 57, 0.4);
    border: 2px solid rgba(255, 223, 0, 0.3);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00C853 0%, #1B8B3F 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(0, 151, 57, 0.6);
    border-color: rgba(255, 223, 0, 0.5);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* 成功按钮：巴西金色（巴西博彩风格），更醒目 */
.btn-success {
    background: linear-gradient(135deg, #FFDF00 0%, #FFC72C 100%);
    color: #0a1a0f;
    box-shadow: 0 6px 16px rgba(255, 223, 0, 0.4);
    border: 2px solid rgba(255, 223, 0, 0.5);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.btn-success:hover {
    background: linear-gradient(135deg, #FFC72C 0%, #FFD700 100%);
    color: #0a1a0f;
    box-shadow: 0 10px 22px rgba(255, 223, 0, 0.6);
    border-color: rgba(255, 223, 0, 0.7);
    text-shadow: 0 2px 3px rgba(255, 255, 255, 0.6);
}

/* 尺寸变体：与现有 .btn-lg 兼容并新增小号 */
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }

/* 工具类 */
.rounded-2 {
    border-radius: 2px;
}

.rounded-5 {
    border-radius: 2rem;
}

.text-center {
    text-align: center !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.text-white {
    color: white;
}

.text-decoration-none {
    text-decoration: none;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.me-2 {
    margin-right: 0.5rem;
}

.me-3 {
    margin-right: 1rem;
}

.ms-3 {
    margin-left: 1rem;
}

.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-5 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.bg-primary {
    background: linear-gradient(135deg, #0a1a0f 0%, #1a2e1f 100%);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* 标题样式 */
h1, h2, h3, h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

h1 {
    font-size: calc(1.375rem + 1.5vw);
}

@media (min-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }
}

h2 {
    font-size: calc(1.325rem + 0.9vw);
}

@media (min-width: 1200px) {
    h2 {
        font-size: 2rem;
    }
}

h3 {
    font-size: calc(1.3rem + 0.6vw);
}

@media (min-width: 1200px) {
    h3 {
        font-size: 1.75rem;
    }
}

h4 {
    font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 1200px) {
    h4 {
        font-size: 1.5rem;
    }
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: rgba(13, 110, 253, 1);
    text-decoration: underline;
}

img {
    vertical-align: middle;
}

/* ========================================
   全新巴西博彩平台顶部导航样式
   专业、现代、符合巴西博彩品牌
   ======================================== */

/* 顶部导航栏 - 全新设计 */
header {
    background: linear-gradient(180deg, #009739 0%, #006B2D 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 151, 57, 0.3);
    position: sticky;
    top: 0;
    z-index: 10000;
    border-bottom: 3px solid #FFDF00;
    padding: 0;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #FFDF00 20%, 
        #FFC72C 50%, 
        #FFDF00 80%, 
        transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

header .container {
    position: relative;
    padding: 0.75rem 1rem;
}

header .d-flex {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

header img {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
}

header img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(255, 223, 0, 0.5));
}

/* 顶部按钮组 */
header .btn-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* ========================================
   移动端顶部导航布局
   汉堡包 + Logo + 按钮（分两行）
   ======================================== */

@media (max-width: 768px) {
    header {
        border-bottom-width: 2px;
    }
    
    header .container {
        padding: 0.5rem 0.75rem;
    }
    
    header .d-flex {
        flex-wrap: nowrap;
        gap: 0;
        position: relative;
        align-items: center;
        justify-content: flex-start;
        min-height: 60px;
    }
    
    /* 汉堡包按钮（左侧） */
    .mobile-hamburger {
        order: 1;
        flex-shrink: 0;
        width: 36px;
        z-index: 3;
        margin-right: 0.25rem;
    }
    
    /* Logo（紧贴汉堡包，留一点点间距） */
    header img {
        order: 2;
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
        margin-right: auto;
    }
    
    /* 按钮组（右侧，自动铺满剩余空间，垂直排列） */
    header .d-flex > div:last-child {
        order: 3;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        margin-left: 0.5rem;
        z-index: 3;
        align-items: flex-end;
        justify-content: center;
    }
    
    header .d-flex > div .btn {
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
        padding: 0.9rem 0.75rem;
        margin: 0 !important;
        white-space: nowrap;
        min-height: 48px;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        line-height: 1.2;
    }
    
    /* 移除按钮间的右边距 */
    header .d-flex > div .btn.me-2 {
        margin-right: 0 !important;
    }
    
    /* 小屏幕优化 */
    @media (max-width: 480px) {
        header .d-flex > div:last-child {
            margin-left: 0.25rem;
        }
        
        header .d-flex > div .btn {
            font-size: 0.85rem;
            padding: 0.8rem 0.6rem;
            min-height: 44px;
            letter-spacing: 0.8px;
        }
    }
}

/* 英雄区域样式 - PC端现代化设计 */
.hero-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(10, 26, 15, 0.6) 0%, rgba(26, 46, 31, 0.6) 100%);
    margin: 2rem 0;
    border-radius: 24px;
    border: 1px solid rgba(0, 151, 57, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 151, 57, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 151, 57, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.hero-section .btn {
    margin-top: 1rem;
    box-shadow: 0 8px 24px rgba(0, 151, 57, 0.4);
    width: 100%;
    display: block;
    text-align: center;
}

/* 底部样式 - PC端现代化设计 */
footer {
    padding: 2rem 0 1rem;
    background: linear-gradient(135deg, rgba(10, 26, 15, 0.95) 0%, rgba(26, 46, 31, 0.95) 100%);
    border-top: 1px solid rgba(0, 151, 57, 0.3);
    margin-top: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

footer a:hover {
    color: #FFDF00;
    background: rgba(0, 151, 57, 0.1);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ========================================
   全新巴西博彩导航菜单样式
   专业博彩平台导航设计
   ======================================== */

.nav-menu {
    background: linear-gradient(180deg, #0a1a0f 0%, #1a2e1f 100%);
    border-top: 2px solid #009739;
    border-bottom: 2px solid #FFDF00;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 223, 0, 0.1);
    position: relative;
    z-index: 9999;
    padding: 0;
    margin: 0;
}

.nav-menu::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #FFDF00 10%, 
        #009739 50%, 
        #FFDF00 90%, 
        transparent 100%);
    animation: navGlow 4s infinite;
}

@keyframes navGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.nav-menu .container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 0;
    gap: 0;
}

.nav-menu .nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.nav-menu .nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.nav-menu .nav-item:first-child .nav-link {
    border-left: none;
}

.nav-menu .nav-item:last-child .nav-link {
    border-right: none;
}

/* 导航链接悬停效果 */
.nav-menu .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #009739 0%, #00A859 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #FFDF00;
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu .nav-link:hover::before {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.nav-menu .nav-link:hover::after {
    transform: scaleX(1);
}

.nav-menu .nav-link:hover {
    color: #FFDF00;
    text-shadow: 0 0 10px rgba(255, 223, 0, 0.5);
    transform: translateY(-2px);
}

/* 活动导航链接 */
.nav-menu .nav-link.active {
    background: linear-gradient(180deg, #009739 0%, #00A859 100%);
    color: #FFDF00;
    border-bottom: 3px solid #FFDF00;
    text-shadow: 0 0 10px rgba(255, 223, 0, 0.6);
}

.nav-menu .nav-link.active::after {
    transform: scaleX(1);
    background: #FFDF00;
}

/* ========================================
   下拉菜单样式（桌面端）
   ======================================== */

.nav-menu .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: linear-gradient(180deg, #0a1a0f 0%, #1a2e1f 100%);
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 223, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border: 1px solid rgba(0, 151, 57, 0.4);
    border-top: 2px solid #FFDF00;
    padding: 0.5rem 0;
    margin-top: 2px;
}

.nav-menu .nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-menu .dropdown-item {
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    border-left: 3px solid transparent;
}

.nav-menu .dropdown-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-menu .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(0, 151, 57, 0.2) 0%, transparent 100%);
    color: #FFDF00;
    border-left-color: #FFDF00;
    padding-left: 1.75rem;
}

/* 下拉箭头 - 桌面端 */
@media (min-width: 769px) {
    .nav-menu .nav-link.has-dropdown::after {
        content: '▼';
        margin-left: 0.5rem;
        font-size: 0.65rem;
        transition: transform 0.3s ease;
        color: #FFDF00;
    }

    .nav-menu .nav-item:hover .nav-link.has-dropdown::after {
        transform: rotate(180deg);
    }
}

/* ========================================
   全新汉堡菜单按钮样式
   巴西博彩平台风格
   ======================================== */

/* ========================================
   三个点菜单按钮样式
   巴西博彩平台风格
   ======================================== */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: linear-gradient(135deg, #009739 0%, #00A859 100%);
    border: 2px solid #FFDF00;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 151, 57, 0.4), 0 0 0 0 rgba(255, 223, 0, 0.5);
    position: relative;
    overflow: visible;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.mobile-hamburger {
    display: none;
}

@media (max-width: 768px) {
    .mobile-hamburger {
        display: flex;
        z-index: 10001;
    }
    
    header .d-flex {
        position: relative;
    }
}

.hamburger:hover {
    background: linear-gradient(135deg, #00C853 0%, #1B8B3F 100%);
    border-color: #FFDF00;
    box-shadow: 0 5px 18px rgba(0, 151, 57, 0.6), 0 0 18px rgba(255, 223, 0, 0.4);
    transform: scale(1.1);
}

.hamburger span {
    width: 4px;
    height: 4px;
    background: #FFDF00;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 0 6px rgba(255, 223, 0, 0.5);
    display: block;
}

.hamburger.active {
    background: linear-gradient(135deg, #DC143C 0%, #C4161A 100%);
    border-color: #FFDF00;
    box-shadow: 0 5px 18px rgba(220, 20, 60, 0.6), 0 0 18px rgba(255, 223, 0, 0.4);
}

.hamburger.active span {
    background: #FFDF00;
    box-shadow: 0 0 8px rgba(255, 223, 0, 0.8), 0 0 12px rgba(255, 223, 0, 0.6);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px);
}

.hamburger.active span:nth-child(2) {
    transform: scale(1.3);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px);
}

/* ========================================
   移动端导航菜单样式
   全新巴西博彩平台移动端设计
   ======================================== */

.mobile-nav-toggle {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(180deg, #009739 0%, #006B2D 100%);
    border-bottom: 3px solid #FFDF00;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mobile-nav-toggle span {
    color: #FFDF00;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 223, 0, 0.4);
}

.mobile-nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* 桌面端显示导航内容 */
@media (min-width: 769px) {
    .mobile-hamburger {
        display: none !important;
    }
    
    .mobile-nav-toggle {
        display: none !important;
    }
    
    .mobile-nav-content {
        display: flex !important;
    }
    
    .mobile-nav-overlay {
        display: none !important;
    }
    
    .nav-menu {
        position: relative !important;
        transform: none !important;
        height: auto !important;
        width: 100% !important;
        max-width: none !important;
        overflow: visible !important;
        margin: 0;
    }
    
    .nav-menu .container {
        flex-wrap: nowrap;
    }
    
    .nav-menu .nav-link {
        font-size: 0.85rem;
        padding: 1rem 0.75rem;
    }
}

/* 移动端导航遮罩层 */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    will-change: opacity;
}

@media (max-width: 768px) {
    .mobile-nav-overlay {
        display: block;
    }
}

.mobile-nav-overlay.show {
    opacity: 1;
    pointer-events: all;
}

/* ========================================
   移动端导航 - 全新侧边栏设计
   ======================================== */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, #0a1a0f 0%, #1a2e1f 100%);
        border: none;
        border-right: 3px solid #009739;
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 223, 0, 0.2);
        margin: 0;
        padding: 0;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        overflow-x: hidden;
        will-change: transform;
    }
    
    .nav-menu.show {
        transform: translateX(0);
    }
    
    .nav-menu:not(.show) {
        transform: translateX(-100%);
    }
    
    .nav-menu .container {
        padding: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-nav-toggle {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 10000;
    }
    
    .nav-menu .hamburger {
        display: flex;
    }
    
    .mobile-nav-content {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
        flex: 1;
        overflow-y: auto;
    }
    
    .nav-menu .nav-item {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }
    
    .nav-menu .nav-link {
        margin: 0;
        text-align: left;
        padding: 1rem 1.25rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 223, 0, 0.1);
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
        width: 100%;
        min-height: auto;
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-sizing: border-box;
        position: relative;
        gap: 0.75rem;
        line-height: 1.4;
    }
    
    .nav-menu .nav-link::after {
        display: none;
    }
    
    .nav-menu .nav-link::before {
        display: none;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:active {
        background: linear-gradient(90deg, rgba(0, 151, 57, 0.2) 0%, rgba(0, 151, 57, 0.1) 100%);
        border-left-color: #FFDF00;
        transform: translateX(5px);
        color: #FFDF00;
        box-shadow: 0 4px 12px rgba(0, 151, 57, 0.3);
    }
    
    /* 移动端布局已在上面定义，这里不需要重复 */
    
    .mobile-nav-content {
        gap: 0.4rem;
        padding: 0.75rem;
    }
    
    .nav-menu .nav-link {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-section {
        text-align: center;
        padding: 2rem 0;
        margin: 1rem 0;
        border-radius: 16px;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
    }
}

/* 英雄区域按钮统一巴西绿色，并与图片留出间距 */
.hero-section .btn {
    background: linear-gradient(135deg, #009739 0%, #00A859 100%);
    color: #ffffff;
    border: none;
}
.hero-section .btn:hover {
    background: linear-gradient(135deg, #00C853 0%, #1B8B3F 100%);
    color: #ffffff;
}

/* 桌面端：按钮与图片左右留白 */
@media (min-width: 992px) {
    .hero-section .btn { 
        width: 100%;
        display: block;
        margin-right: 0;
        margin-bottom: 1rem;
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
    .hero-section .img-fluid { 
        margin-left: 1rem;
        border-radius: 20px;
        box-shadow: 0 12px 40px rgba(0, 151, 57, 0.3);
        transition: transform 0.3s ease;
    }
    .hero-section .img-fluid:hover {
        transform: scale(1.02);
    }
}

/* 移动端：图片与按钮上下留白 */
@media (max-width: 768px) {
    .hero-section .img-fluid { margin-top: 1rem; }
}

