* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #ea6f1f 0%, #f5a623 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
}

nav ul li a:hover {
    background-color: rgba(255,255,255,0.2);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.auth-buttons .btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-login:hover {
    background-color: white;
    color: #ea6f1f;
}

.btn-register {
    background-color: #ff6b6b;
    border: 2px solid #ff6b6b;
    color: white;
}

.btn-register:hover {
    background-color: #ff5252;
    border-color: #ff5252;
}

.banner {
	background: url(img/banner.jpg);
	background-size: 100%;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('le cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat;
    background-size: 50px 50px;data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circ
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50px); }
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner p {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.banner-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.banner-item {
    width: 280px;
    height: 380px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.banner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ea6f1f 0%, #f5a623 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

.manga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.manga-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.manga-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.manga-card .cover {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.manga-card .cover img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.manga-card:hover .cover img {
    transform: scale(1.05);
}

.manga-card .info {
    padding: 20px;
}

.manga-card .info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.manga-card .info p {
    color: #666;
    font-size: 14px;
}

.episode-list {
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.episode-list h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.episode-item {
    padding: 15px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.episode-item:hover {
    background: #ea6f1f;
    color: white;
    transform: translateY(-3px);
}

.episode-item.vip {
    position: relative;
}

.episode-item.vip::after {
    content: 'VIP';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

.episode-item.free {
    border-color: #4caf50;
    color: #4caf50;
}

.episode-item.free:hover {
    background: #4caf50;
    color: white;
}

.detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.comic-content {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.comic-content img {
    width: 100%;
    display: block;
}

.detail-header {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.detail-header h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.detail-header .meta {
    color: #666;
    font-size: 14px;
}

.back-btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #ea6f1f 0%, #f5a623 100%);
    color: white;
    border-radius: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.member-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.member-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.member-card h2 {
    font-size: 32px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ea6f1f 0%, #f5a623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price {
    font-size: 48px;
    color: #ff6b6b;
    font-weight: bold;
    margin: 30px 0;
}

.price span {
    font-size: 20px;
    color: #666;
}

.qr-section {
    margin: 40px 0;
}

.qr-section img {
    width: 200px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.qr-section p {
    color: #666;
    margin-top: 15px;
    font-size: 14px;
}

.benefits {
    text-align: left;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.benefits li {
    padding: 10px 0;
    color: #555;
}

.benefits li::before {
    content: '✓';
    color: #4caf50;
    margin-right: 10px;
    font-weight: bold;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-card h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.company-intro {
    margin-bottom: 40px;
    line-height: 1.8;
    color: #555;
}

.contact-info {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.contact-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    padding: 10px 0;
    color: #555;
}

.auth-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.auth-container h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ea6f1f;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ea6f1f 0%, #f5a623 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-switch a {
    color: #ea6f1f;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

footer {
    background: #1a1a2e;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-size: 18px;
    font-weight: bold;
}

.footer-links {
    display: flex;
    gap: 15px 25px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-bottom p{
    line-height: 30px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.modal-content p {
    color: #666;
    margin-bottom: 25px;
}

.modal-content .btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #ea6f1f 0%, #f5a623 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.modal-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.page-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
    padding: 30px 0;
    background: linear-gradient(135deg, #ea6f1f 0%, #f5a623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .banner-slider {
        flex-direction: column;
        align-items: center;
    }

    .banner-item {
        width: 100%;
        max-width: 280px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
}

.policy-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.policy-content h2 {
    font-size: 22px;
    color: #ea6f1f;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.policy-content strong {
    color: #333;
}

.policy-content ul {
    padding-left: 20px;
}

.policy-content li {
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
    list-style: disc;
}

.comic-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.comic-list-item {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.comic-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.comic-cover {
    width: 200px;
    min-width: 200px;
    height: 280px;
    overflow: hidden;
}

.comic-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comic-info {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.comic-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.comic-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.comic-episodes {
    margin-bottom: 15px;
}

.episode-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.episode-tag {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.episode-tag.free {
    background: #e8f5e9;
    color: #4caf50;
    border: 1px solid #4caf50;
}

.episode-tag.free:hover {
    background: #4caf50;
    color: white;
}

.episode-tag.vip {
    background: #fff3e0;
    color: #ff9800;
    border: 1px solid #ff9800;
}

.episode-tag.vip:hover {
    background: #ff9800;
    color: white;
}

.free-tag, .vip-tag {
    font-size: 10px;
    margin-left: 5px;
    padding: 2px 5px;
    border-radius: 10px;
}

.free .free-tag {
    background: #4caf50;
    color: white;
}

.vip .vip-tag {
    background: #ff6b6b;
    color: white;
}

.comic-hint {
    font-size: 12px;
    color: #999;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .comic-list-item {
        flex-direction: column;
    }
    
    .comic-cover {
        width: 100%;
        height: 200px;
    }
}
