/* General Body & Container Styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Header Styling */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.header-top-bar {
    background-color: #2c3e50; /* Dark blue/grey */
    color: #ecf0f1; /* Light grey */
    padding: 8px 0;
    font-size: 0.9em;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.language-selector a {
    color: #ecf0f1;
    margin-right: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    transition: background-color 0.3s;
}
.language-selector a.active, .language-selector a:hover {
    background-color: #34495e;
    text-decoration: none;
}
.contact-info span {
    margin-left: 20px;
}
.contact-info i {
    margin-right: 5px;
}

.header-main-nav {
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-brand .site-logo {
    height: 45px; /* Adjust as needed */
    vertical-align: middle;
}
.main-navigation {
    flex-grow: 1;
    text-align: center;
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}
.nav-item {
    position: relative;
    margin: 0 15px;
}
.nav-link {
    display: block;
    padding: 10px 0;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: #e74c3c; /* Red accent */
    text-decoration: none;
}
.nav-item.has-submenu .nav-link i {
    margin-left: 5px;
    font-size: 0.8em;
}
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 1000;
    border-radius: 4px;
}
.nav-item.has-submenu:hover .submenu {
    display: block;
}
.submenu li a {
    display: block;
    padding: 8px 15px;
    color: #555;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s;
}
.submenu li a:hover {
    background-color: #f5f5f5;
    color: #e74c3c;
    text-decoration: none;
}
.header-actions {
    display: flex;
    align-items: center;
}
.btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-left: 10px;
}
.btn-login {
    background-color: #3498db; /* Blue */
    color: #fff;
    border: 1px solid #3498db;
}
.btn-login:hover {
    background-color: #2980b9;
    color: #fff;
    text-decoration: none;
}
.btn-register {
    background-color: #e74c3c; /* Red */
    color: #fff;
    border: 1px solid #e74c3c;
}
.btn-register:hover {
    background-color: #c0392b;
    color: #fff;
    text-decoration: none;
}
.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #333;
    margin-left: 15px;
}

/* Marquee Styling */
.marquee-section {
    background-color: #f7f7f7;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    overflow: hidden;
}
.marquee-container {
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
}
.marquee-icon {
    font-size: 1.2em;
    margin-right: 15px;
    color: #e74c3c;
}
.marquee-wrapper {
    flex-grow: 1;
    overflow: hidden;
}
.marquee-content {
    display: inline-block;
    animation: marquee-scroll 30s linear infinite; /* Adjust speed as needed */
}
.marquee-item {
    margin-right: 40px;
    color: #555;
    font-size: 0.95em;
}
.marquee-item:hover {
    color: #e74c3c;
    text-decoration: underline;
}
@keyframes marquee-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Footer Styling */
.main-footer {
    background-color: #2c3e50; /* Dark blue/grey */
    color: #ecf0f1;
    padding: 40px 0 20px;
    font-size: 0.9em;
}
.footer-widgets .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}
.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}
.footer-heading {
    color: #3498db; /* Blue accent */
    font-size: 1.1em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #e74c3c; /* Red accent */
}
.footer-col p {
    margin-bottom: 15px;
}
.social-links {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
}
.social-links li {
    margin-right: 10px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #34495e;
    color: #ecf0f1;
    border-radius: 50%;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}
.social-links a:hover {
    background-color: #e74c3c;
    text-decoration: none;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #ecf0f1;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #e74c3c;
    text-decoration: underline;
}
.payment-methods, .licenses {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.payment-icon, .license-icon {
    height: 30px; /* Adjust size as needed */
    filter: grayscale(100%) brightness(150%); /* Make icons white/light */
    transition: filter 0.3s;
}
.payment-icon:hover, .license-icon:hover {
    filter: grayscale(0%) brightness(100%); /* Original color on hover */
}
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #ecf0f1;
}
.contact-list li i {
    margin-right: 10px;
    color: #3498db;
    font-size: 1.1em;
}
.age-restriction {
    display: flex;
    align-items: center;
    margin-top: 20px;
    color: #bdc3c7;
}
.age-icon {
    height: 30px;
    margin-right: 10px;
}
.footer-bottom-bar {
    background-color: #1a242f; /* Even darker blue/grey */
    padding: 15px 0;
    text-align: center;
    margin-top: 30px;
}
.copyright {
    margin: 0;
    color: #bdc3c7;
}

/* Responsive adjustments (example) */
@media (max-width: 992px) {
    .nav-list {
        justify-content: flex-start;
    }
    .nav-item {
        margin: 0 10px;
    }
    .header-main-nav .container {
        flex-wrap: wrap;
    }
    .main-navigation {
        order: 3; /* Move navigation below logo and actions */
        flex-basis: 100%;
        margin-top: 15px;
        text-align: left;
    }
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-item {
        width: 100%;
        margin: 0;
    }
    .nav-link {
        padding: 10px 15px;
        border-bottom: 1px solid #eee;
    }
    .submenu {
        position: static;
        box-shadow: none;
        background-color: #f9f9f9;
        padding-left: 20px;
        border-top: 1px solid #eee;
    }
    .nav-item.has-submenu .nav-link i {
        float: right;
        transform: rotate(-90deg);
        transition: transform 0.3s;
    }
    .nav-item.has-submenu:hover .nav-link i {
        transform: rotate(0deg);
    }
    .menu-toggle {
        display: block;
    }
}
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-info {
        margin-top: 5px;
    }
    .footer-widgets .container {
        flex-direction: column;
    }
    .footer-col {
        min-width: unset;
        width: 100%;
    }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
  }
}
