/* General Body Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #e44d26; /* Red-orange */
    color: #fff;
}

.btn-primary:hover {
    background-color: #c23b1f;
}

.btn-secondary {
    background-color: #007bff; /* Blue */
    color: #fff;
    border: 1px solid #007bff;
}

.btn-secondary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-login {
    background-color: #f39c12; /* Orange */
    color: #fff;
}

.btn-login:hover {
    background-color: #e08e0b;
}

.btn-register {
    background-color: #28a745; /* Green */
    color: #fff;
}

.btn-register:hover {
    background-color: #218838;
}

/* Header Top Bar */
.header-top-bar {
    background-color: #2c3e50; /* Dark blue-grey */
    color: #ecf0f1; /* Light grey */
    padding: 8px 0;
    font-size: 0.9em;
}

.header-top-bar .top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-top-bar .contact-info span {
    margin-right: 20px;
}

.header-top-bar .social-links a {
    color: #ecf0f1;
    margin-left: 15px;
    font-size: 1.1em;
}

.header-top-bar .social-links a:hover {
    color: #e44d26;
}

/* Main Navigation */
.main-nav {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav .brand-logo {
    height: 50px; /* Adjust as needed */
    width: auto;
}

.main-nav .nav-menu {
    display: flex;
    gap: 25px;
    flex-grow: 1;
    justify-content: center;
}

.main-nav .nav-item {
    color: #333;
    font-weight: bold;
    padding: 10px 0;
    position: relative;
}

.main-nav .nav-item:hover,
.main-nav .nav-item.active {
    color: #e44d26;
}

.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 1;
    border-top: 3px solid #e44d26;
    padding: 10px 0;
    top: 100%;
    left: 0;
}

.main-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.main-nav .dropdown-menu li a {
    color: #333;
    padding: 10px 20px;
    display: block;
}

.main-nav .dropdown-menu li a:hover {
    background-color: #f2f2f2;
    color: #e44d26;
}

.main-nav .auth-buttons {
    display: flex;
    gap: 10px;
}

.hamburger-menu {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x600/34495e/ffffff?text=66CLUP+N%E1%BB%94+H%C5%A8+Banner') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions .btn {
    margin: 0 10px;
    font-size: 1.1em;
    padding: 12px 25px;
}

/* Marquee Section */
.marquee-section {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.marquee-icon {
    font-size: 1.5em;
    color: #e44d26;
    margin-right: 15px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.marquee-wrapper {
    flex-grow: 1;
    overflow: hidden;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%; /* Start off-screen */
    animation: marquee 30s linear infinite;
}

.marquee-content a {
    color: #333;
    margin-right: 50px;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
}

.marquee-content a:hover {
    color: #e44d26;
    text-decoration: underline;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Main Content Area (Placeholder) */
main {
    padding: 40px 0;
    min-height: 500px;
}

/* Footer Styles */
.main-footer {
    background-color: #2c3e50; /* Dark blue-grey */
    color: #ecf0f1;
    padding: 50px 0 20px;
    font-size: 0.95em;
}

.main-footer a {
    color: #ecf0f1;
}

.main-footer a:hover {
    color: #e44d26;
}

.main-footer .footer-logo-link {
    display: inline-block;
    margin-bottom: 20px;
}

.main-footer .footer-brand-logo {
    height: 60px;
    width: auto;
}

.main-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.main-footer .footer-col h4 {
    color: #e44d26; /* Red-orange */
    margin-bottom: 20px;
    font-size: 1.2em;
    position: relative;
    padding-bottom: 10px;
}

.main-footer .footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #e44d26;
}

.main-footer .footer-col ul li {
    margin-bottom: 10px;
}

.main-footer .footer-col p {
    margin-bottom: 10px;
}

.main-footer .payment-methods h4,
.main-footer .contact-info h4 {
    margin-top: 20px;
}

.main-footer .payment-icons img {
    height: 30px;
    margin-right: 10px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.main-footer .payment-icons img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.main-footer .social-media-footer a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background-color: #3b5998; /* Example color, will adjust */
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 15px;
    color: #fff;
    transition: background-color 0.3s ease;
}

.main-footer .social-media-footer a:nth-child(1) { background-color: #3b5998; } /* Facebook */
.main-footer .social-media-footer a:nth-child(2) { background-color: #0088cc; } /* Telegram */
.main-footer .social-media-footer a:nth-child(3) { background-color: #1da1f2; } /* Twitter */
.main-footer .social-media-footer a:nth-child(4) { background-color: #e1306c; } /* Instagram */

.main-footer .social-media-footer a:hover {
    background-color: #e44d26;
}

.main-footer .footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.main-footer .age-restriction {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.main-footer .age-restriction img {
    height: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-nav .nav-menu {
        gap: 15px;
    }
    .hero-section h1 {
        font-size: 2.8em;
    }
    .hero-section p {
        font-size: 1.1em;
    }
    .main-footer .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-top-bar .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    .header-top-bar .contact-info,
    .header-top-bar .social-links {
        margin-bottom: 10px;
    }

    .main-nav .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    .main-nav .nav-menu.active {
        display: flex;
    }
    .main-nav .nav-menu li {
        text-align: center;
        width: 100%;
    }
    .main-nav .nav-menu li a {
        padding: 12px 0;
        display: block;
    }
    .main-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        padding: 0;
        background-color: #f9f9f9;
    }
    .main-nav .dropdown-menu li a {
        padding-left: 40px;
    }
    .main-nav .auth-buttons {
        display: none; /* Hide auth buttons on small screens, can be moved to menu */
    }
    .hamburger-menu {
        display: block;
    }
    .hero-section {
        padding: 80px 0;
    }
    .hero-section h1 {
        font-size: 2.2em;
    }
    .hero-section p {
        font-size: 1em;
    }
    .hero-actions .btn {
        margin: 5px;
        font-size: 1em;
        padding: 10px 20px;
    }
    .marquee-container {
        flex-direction: column;
        text-align: center;
    }
    .marquee-icon {
        margin-bottom: 10px;
        margin-right: 0;
    }
    .main-footer .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .main-footer .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .main-footer .payment-icons,
    .main-footer .social-media-footer {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
    .main-footer .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .main-nav .brand-logo {
        height: 40px;
    }
    .hero-section h1 {
        font-size: 1.8em;
    }
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .hero-actions .btn {
        width: 80%;
        margin: 0 auto;
    }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
  }
}
