/* VN11 模板通用样式 - 黑底白字，红色/黄色按钮 */

/* CSS 变量定义 */
:root {
    --bs-blue: #da251d;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #da251d;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffff00;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #1a1919;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-primary: #da251d;
    --bs-secondary: #6c757d;
    --bs-success: #ffff00;
    --bs-primary-rgb: 218, 37, 29;
    --bs-success-rgb: 255, 255, 0;
    --bs-white-rgb: 255, 255, 255;
    --bs-heading-color: #fff;
}

/* 重置样式 */
*,
::after,
::before {
    box-sizing: border-box;
}

body {
    margin: 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;
    color: #fff;
    text-align: left;
    background-color: #000;
    -webkit-text-size-adjust: 100%;
}

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

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

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

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

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

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

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

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

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

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

a {
    color: #fff;
    text-decoration: underline;
}

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

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

/* 容器和网格系统 */
.container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    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: 960px;
    }
}

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

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

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

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

/* 按钮样式 */
.btn {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-width: 1px;
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: 0.375rem;
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    color: #fff;
    border: none;
    font-family: inherit;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #da251d;
    --bs-btn-border-color: #da251d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #b71e17;
    --bs-btn-hover-border-color: #a91c16;
    background-color: #da251d;
    color: #fff;
}

.btn-primary:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

.btn-success {
    --bs-btn-color: #000;
    --bs-btn-bg: #ffff00;
    --bs-btn-border-color: #ffff00;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #d9d900;
    --bs-btn-hover-border-color: #cccc00;
    background-color: #ffff00;
    color: #000;
}

.btn-success:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

.btn-lg {
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 1.25rem;
    --bs-btn-border-radius: 0.5rem;
}

/* 工具类 */
.d-flex {
    display: flex !important;
}

.w-100 {
    width: 100% !important;
}

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

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

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

.my-2 {
    margin-top: .5rem !important;
    margin-bottom: .5rem !important;
}

.me-2 {
    margin-right: .5rem !important;
}

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

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

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

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

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

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

.text-white {
    color: #fff !important;
}

.bg-primary {
    background-color: rgba(var(--bs-primary-rgb), 1) !important;
}

.rounded-2 {
    border-radius: 0.375rem !important;
}

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

/* 布局样式 */
header {
    padding: 15px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

section {
    padding: 40px 0;
}

footer {
    padding: 30px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.section-banner {
    background-color: rgba(var(--bs-primary-rgb), 1);
    padding: 20px 0;
}

.footer-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

