:root{
    --primary:#f472b6;
    --accent:#fbbf24;
    --bg:#fff5f7;
    --text:#4a2530;
    --radius:8px;
    --shadow:0 4px 20px rgba(244,114,182,0.12);
    --shadow-hover:0 12px 30px rgba(244,114,182,0.22);
    --border-light:#f8e0e8;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  body{
    font-family:'Inter',system-ui,-apple-system,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.75;
    font-weight:400;
    letter-spacing:0.01em;
  }
  h1,h2,h3,h4,h5,.display-title{font-weight:900;letter-spacing:-0.02em;color:#3d1d26;}
  .hero-section{
    background:linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.65)),url('{随机图片}') center/cover no-repeat;
    min-height:520px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    border-radius:0 0 40px 40px;
    margin-bottom:30px;
  }
  .hero-section h1{
    font-size:3.5rem;
    color:#fff;
    text-shadow:0 4px 30px rgba(0,0,0,0.5);
    margin-bottom:16px;
  }
  .hero-section p{
    font-size:1.25rem;
    max-width:680px;
    margin:0 auto 30px;
    color:rgba(255,255,255,0.9);
    font-weight:400;
  }
  .navbar-custom{
    background:rgba(255,255,255,0.85);
    backdrop-filter:blur(18px);
    border-bottom:1px solid var(--border-light);
    padding:14px 0;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 20px rgba(244,114,182,0.08);
  }
  .navbar-brand{
    font-weight:900;
    font-size:1.6rem;
    color:var(--primary) !important;
    letter-spacing:-0.03em;
  }
  .navbar-brand i{color:var(--accent);}
  .navbar .nav-link{
    font-weight:600;
    color:var(--text);
    margin:0 12px;
    position:relative;
    transition:color .3s;
  }
  .navbar .nav-link:hover,.navbar .nav-link.active{color:var(--primary);}
  .navbar .nav-link::after{
    content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--primary);transition:width .3s;
  }
  .navbar .nav-link:hover::after{width:100%;}
  .section-wrapper{
    padding:40px 0;
  }
  .section-title{
    font-size:1.9rem;
    font-weight:900;
    margin-bottom:8px;
    position:relative;
    display:inline-block;
  }
  .section-title::after{
    content:'';position:absolute;bottom:-6px;left:0;width:48px;height:4px;border-radius:4px;
    background:linear-gradient(90deg,var(--primary),var(--accent));
  }
  .section-sub{color:#8b6b75;font-weight:400;margin-bottom:28px;}
  .movie-card{
    background:#fff;
    border-radius:var(--radius);
    overflow:hidden;
    border:1px solid #f7e3e9;
    transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease;
    height:100%;
    display:flex;
    flex-direction:column;
    box-shadow:var(--shadow);
  }
  .movie-card:hover{
    transform:scale(1.03);
    border-color:var(--primary);
    box-shadow:var(--shadow-hover);
  }
  .movie-poster{
    position:relative;
    overflow:hidden;
    aspect-ratio:2/3;
    background:#fbd5e4;
  }
  .movie-poster img{
    width:100%;height:100%;object-fit:cover;display:block;
    transition:transform .4s ease;
  }
  .movie-card:hover .movie-poster img{transform:scale(1.08);}
  .poster-overlay{
    position:absolute;inset:0;
    background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,0.6) 100%);
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:16px;
    opacity:0;
    transition:opacity .3s;
  }
  .movie-card:hover .poster-overlay{opacity:1;}
  .play-btn{
    width:52px;height:52px;border-radius:50%;
    background:rgba(255,255,255,0.25);
    backdrop-filter:blur(6px);
    border:2px solid #fff;
    display:flex;align-items:center;justify-content:center;
    color:#fff;font-size:1.2rem;
    transition:all .3s;
    cursor:pointer;
  }
  .play-btn:hover{
    background:var(--primary);
    transform:scale(1.1);
  }
  .movie-info{
    padding:14px 12px;
    flex:1;
    display:flex;
    flex-direction:column;
  }
  .movie-title{
    font-weight:700;
    font-size:1.02rem;
    margin-bottom:4px;
    color:#3d1d26;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  .movie-meta{
    font-size:0.82rem;
    color:#9b7b84;
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom:6px;
  }
  .movie-meta .fa-star{color:var(--accent);font-size:0.75rem;}
  .movie-rating{
    font-family:'Courier New',monospace;
    font-weight:700;
    color:var(--primary);
    background:#fde7ef;
    padding:2px 8px;
    border-radius:20px;
    font-size:0.8rem;
    display:inline-flex;align-items:center;gap:4px;
  }
  .sidebar-filter{
    background:#fff;
    border-radius:var(--radius);
    padding:20px;
    border:1px solid var(--border-light);
    position:sticky;
    top:90px;
  }
  .filter-group{
    margin-bottom:24px;
  }
  .filter-group h6{
    font-weight:800;
    font-size:0.9rem;
    text-transform:uppercase;
    letter-spacing:0.06em;
    color:var(--primary);
    margin-bottom:12px;
    border-bottom:2px solid #fbe3ec;
    padding-bottom:6px;
  }
  .filter-link{
    display:block;
    padding:7px 12px;
    border-radius:6px;
    color:var(--text);
    text-decoration:none;
    font-weight:500;
    font-size:0.9rem;
    transition:all .2s;
    cursor:pointer;
  }
  .filter-link:hover,.filter-link.active{
    background:var(--primary);
    color:#fff;
    padding-left:18px;
  }
  .filter-link i{width:20px;font-size:0.8rem;margin-right:4px;}
  .rank-badge{
    background:var(--accent);
    color:#3d1d26;
    font-weight:800;
    border-radius:6px;
    padding:2px 10px;
    font-size:0.9rem;
    display:inline-block;
    margin-right:8px;
    font-family:'Courier New',monospace;
  }
  .accordion-button{
    font-weight:600;
    color:var(--text);
    background:#fff;
    border:1px solid var(--border-light);
  }
  .accordion-button:not(.collapsed){
    background:#fff0f5;
    color:var(--primary);
  }
  .footer-area{
    background:#2a1218;
    color:#e8c3cf;
    padding:50px 0 30px;
    margin-top:50px;
  }
  .footer-area a{
    color:#e8c3cf;
    text-decoration:none;
    margin:0 12px;
    font-weight:500;
  }
  .footer-area a:hover{color:var(--accent);}
  .friend-links{
    background:#fff;
    border-radius:var(--radius);
    padding:24px;
    border:1px solid var(--border-light);
    margin:40px 0;
  }
  .friend-links h5{
    font-weight:800;
    font-size:1.1rem;
    margin-bottom:16px;
    color:var(--primary);
  }
  .back-to-top{
    position:fixed;
    bottom:40px;right:30px;
    width:46px;height:46px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    border:none;
    font-size:1.2rem;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;
    opacity:0;
    transform:translateY(20px);
    transition:all .4s ease;
    z-index:999;
    box-shadow:0 8px 24px rgba(244,114,182,0.4);
  }
  .back-to-top.show{
    opacity:1;
    transform:translateY(0);
  }
  .back-to-top:hover{background:var(--accent);color:#3d1d26;}
  .modal-content-custom{
    background:rgba(0,0,0,0.5);
    backdrop-filter:blur(20px);
    border-radius:var(--radius);
    border:1px solid rgba(255,255,255,0.2);
    color:#fff;
    position:relative;
    max-width:900px;
    margin:0 auto;
    overflow:hidden;
  }
  .modal-backdrop-custom{
    position:fixed;inset:0;
    background:rgba(0,0,0,0.75);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
    padding:20px;
  }
  .modal-backdrop-custom.show{display:flex;}
  .modal-close{
    position:absolute;
    top:16px;right:16px;
    width:40px;height:40px;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    border:1px solid rgba(255,255,255,0.3);
    color:#fff;
    font-size:1.1rem;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;
    transition:all .2s;
    z-index:5;
  }
  .modal-close:hover{background:var(--primary);transform:rotate(90deg);}
  .modal-movie-bg{
    position:absolute;inset:0;
    background-size:cover;background-position:center;
    filter:blur(35px) brightness(0.35);
    transform:scale(1.2);
  }
  .modal-content-inner{
    position:relative;
    padding:50px 40px 40px;
    display:flex;
    gap:30px;
    flex-wrap:wrap;
  }
  .modal-poster{
    width:220px;height:330px;
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,0.5);
    flex-shrink:0;
    border:2px solid rgba(255,255,255,0.3);
  }
  .modal-poster img{width:100%;height:100%;object-fit:cover;}
  .modal-details{flex:1;min-width:280px;}
  .modal-details h3{
    font-size:2rem;
    font-weight:900;
    color:#fff;
    margin-bottom:8px;
  }
  .modal-details .rating-big{
    display:inline-flex;align-items:center;
    background:var(--accent);
    color:#3d1d26;
    font-weight:800;
    padding:4px 16px;
    border-radius:30px;
    font-size:1.3rem;
    font-family:'Courier New',monospace;
    margin-bottom:12px;
  }
  .modal-details p{color:rgba(255,255,255,0.9);font-size:0.95rem;line-height:1.7;}
  .modal-tag{
    display:inline-block;
    background:rgba(244,114,182,0.3);
    border:1px solid rgba(244,114,182,0.5);
    padding:2px 12px;
    border-radius:20px;
    font-size:0.8rem;
    margin:4px 4px 4px 0;
  }
  .feature-icon-list{
    display:flex;flex-wrap:wrap;gap:16px;
    margin:20px 0 30px;
  }
  .feature-icon-item{
    background:#fff;
    border-radius:var(--radius);
    padding:18px 24px;
    text-align:center;
    flex:1;
    min-width:140px;
    border:1px solid var(--border-light);
    box-shadow:var(--shadow);
    transition:all .3s;
  }
  .feature-icon-item:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow-hover);
    border-color:var(--primary);
  }
  .feature-icon-item i{
    font-size:2rem;
    color:var(--primary);
    margin-bottom:10px;
  }
  .feature-icon-item span{
    display:block;
    font-weight:600;
    font-size:0.9rem;
  }
  @media(max-width:768px){
    .hero-section h1{font-size:2.4rem;}
    .sidebar-filter{position:static;margin-bottom:30px;}
    .modal-content-inner{flex-direction:column;padding:40px 24px;}
    .modal-poster{width:100%;height:auto;aspect-ratio:2/3;max-width:260px;}
  }
  .stagger-item{
    opacity:0;
    transform:translateY(30px);
    transition:all .6s ease;
  }
  .stagger-item.visible{
    opacity:1;
    transform:translateY(0);
  }

/* --- 子页面追加 --- */
.about-hero { padding: 4rem 0 2rem; text-align: center; }
.about-hero h1 { font-weight: 900; color: var(--primary); letter-spacing: -0.02em; }
.about-section { background: var(--bg); padding: 2rem 0; }
.about-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; height: 100%; transition: box-shadow .2s; border: 1px solid var(--border-light); }
.about-card:hover { box-shadow: var(--shadow-hover); }
.about-card h3 { color: var(--primary); font-weight: 700; margin-bottom: 1rem; font-size: 1.4rem; }
.about-card p { color: var(--text); line-height: 1.75; }
.stat-number { font-size: 2.2rem; font-weight: 900; color: var(--accent); display: block; }
.stat-label { font-size: .9rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text); opacity: .75; }
.feature-icon { color: var(--primary); font-size: 1.8rem; margin-bottom: .8rem; }
.story-divider { width: 80px; height: 3px; background: var(--primary); margin: 1.5rem auto; border-radius: 4px; opacity: .5; }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件配色，确保与韩国电影院在线观看风格统一 */
    .card, .card-body, .card-header, .card-footer {
      background: #fff5f7 !important;  /* --bg */
      color: #4a2530 !important;       /* --text */
      border-color: #f8e0e8 !important; /* --border-light */
    }
.form-control, .form-select, .input-group-text {
      background-color: rgba(255, 255, 255, 0.7) !important;
      color: #4a2530 !important;
      border-color: #f8e0e8 !important;
    }
.form-control::placeholder {
      color: rgba(74, 37, 48, 0.4) !important;
    }
.table, .list-group-item, .accordion-item, .accordion-button {
      background: #fff5f7 !important;
      color: #4a2530 !important;
      border-color: #f8e0e8 !important;
    }
.modal-content, .modal-header, .modal-body {
      background: #fff5f7 !important;
      color: #4a2530 !important;
      border-color: #f8e0e8 !important;
    }
.dropdown-menu, .dropdown-item {
      background: #fff5f7 !important;
      color: #4a2530 !important;
    }
.btn-light {
      background-color: #f8e0e8 !important;
      border-color: #f8e0e8 !important;
      color: #4a2530 !important;
    }
.btn-outline-secondary {
      border-color: #f472b6 !important;
      color: #f472b6 !important;
    }
.btn-outline-secondary:hover {
      background-color: #f472b6 !important;
      color: #fff !important;
    }
/* 确保品牌名连续 */
    .navbar-brand {
      font-weight: 700;
      letter-spacing: -0.02em;
    }
/* 免责声明内容排版 */
    .legal-section h2 {
      color: #4a2530;
      border-left: 4px solid #f472b6;
      padding-left: 16px;
      margin-top: 2.5rem;
      margin-bottom: 1rem;
      font-weight: 700;
      font-size: 1.5rem;
    }
.legal-section h3 {
      color: #4a2530;
      font-weight: 600;
      font-size: 1.2rem;
      margin-top: 1.8rem;
      margin-bottom: 0.8rem;
    }
.legal-section p, .legal-section li {
      color: #5a3a44;
      line-height: 1.75;
    }
.legal-section ul {
      padding-left: 1.4rem;
    }
.highlight-box {
      background: #fef0f4;
      border: 1px solid #f8e0e8;
      border-radius: 8px;
      padding: 1.25rem 1.5rem;
      margin: 1.5rem 0;
    }
.friend-links a {
      color: #4a2530;
      opacity: 0.8;
      transition: 0.2s;
    }
.friend-links a:hover {
      opacity: 1;
      color: #f472b6;
    }

/* --- 子页面追加 --- */
/* 本页专属微调，不影响全站风格 */
        .guide-hero {
            background: linear-gradient(135deg, #ffe3ee 0%, #fff5f7 100%);
            border-bottom: 2px solid var(--border-light);
        }
.step-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            font-size: 0.9rem;
            flex-shrink: 0;
        }
.tip-card {
            background: #ffffffcc;
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            transition: box-shadow .25s ease, transform .25s ease;
            backdrop-filter: blur(4px);
        }
.tip-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }
.tip-card .card-title {
            color: var(--primary);
            font-weight: 700;
        }
.tip-card .card-text {
            color: var(--text);
            font-size: 0.95rem;
        }
.faq-item {
            border-bottom: 1px dashed var(--border-light);
            padding: 1rem 0;
        }
.faq-item:last-child {
            border-bottom: none;
        }
.faq-question {
            font-weight: 600;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 10px;
        }
.faq-answer {
            color: #6d4a5a;
            margin-top: 0.5rem;
            padding-left: 2.2rem;
            font-size: 0.95rem;
        }
/* 覆盖bootstrap卡片背景，以防万一 */
        .card, .card-body {
            background: transparent;
            color: var(--text);
            border: none;
        }
.list-group-item {
            background: transparent;
            color: var(--text);
            border-color: var(--border-light);
        }
/* 确保导航栏风格 */
        .navbar-custom {
            background: #fff5f7f2;
            backdrop-filter: blur(10px);
        }
/* 细节调整 */
        .section-wrapper {
            padding: 3rem 0;
        }

/* --- 子页面追加 --- */
/* 本页专属小样式 */
        .rank-page-hero {
            background: linear-gradient(135deg, #fbbf24 0%, #f472b6 50%, #fff5f7 100%);
            padding: 80px 0 60px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
.rank-page-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -20%;
            width: 140%;
            height: 200%;
            background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15) 0%, transparent 50%);
            pointer-events: none;
        }
.rank-page-hero h1 {
            font-weight: 800;
            font-size: 2.8rem;
            color: var(--bg);
            text-shadow: 0 2px 15px rgba(74,37,48,0.3);
            position: relative;
            z-index: 1;
        }
.rank-page-hero p {
            color: rgba(255,255,255,0.9);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 15px auto 0;
            position: relative;
            z-index: 1;
        }
.rank-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin: 30px 0 10px;
            position: relative;
            z-index: 1;
        }
.rank-tab-item {
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255,255,255,0.3);
            color: #fff;
            padding: 8px 20px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
.rank-tab-item:hover, .rank-tab-item.active {
            background: #fff;
            color: var(--primary);
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
.rank-section-title {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 8px;
            position: relative;
            display: inline-block;
        }
.rank-section-title::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
        }
.rank-section-sub {
            color: #8a6a75;
            font-size: 0.95rem;
            margin-bottom: 30px;
        }
.rank-list-wrapper {
            margin-bottom: 50px;
        }
.rank-card {
            display: flex;
            align-items: center;
            gap: 20px;
            background: #fff;
            border-radius: var(--radius);
            padding: 15px 20px;
            margin-bottom: 12px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
            cursor: pointer;
        }
.rank-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
            border-left-color: var(--primary);
        }
.rank-number {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--primary);
            min-width: 45px;
            text-align: center;
            font-style: italic;
            text-shadow: 0 2px 10px rgba(244,114,182,0.3);
        }
.rank-number.gold { color: #fbbf24; text-shadow: 0 2px 10px rgba(251,191,36,0.4); }
.rank-number.silver { color: #9ca3af; text-shadow: 0 2px 10px rgba(156,163,175,0.4); }
.rank-number.bronze { color: #d97706; text-shadow: 0 2px 10px rgba(217,119,6,0.4); }
.rank-card-poster {
            width: 60px;
            height: 80px;
            border-radius: 8px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: #fff;
            font-weight: 700;
            box-shadow: 0 4px 12px rgba(244,114,182,0.25);
        }
.rank-card-info {
            flex: 1;
            min-width: 0;
        }
.rank-card-title {
            font-weight: 700;
            color: var(--text);
            font-size: 1rem;
            margin-bottom: 3px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.rank-card-meta {
            color: #8a6a75;
            font-size: 0.82rem;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
.rank-card-meta span {
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
.rank-card-rating {
            font-weight: 700;
            color: var(--accent);
            font-size: 1.1rem;
            background: rgba(251,191,36,0.1);
            padding: 4px 10px;
            border-radius: 20px;
            white-space: nowrap;
        }
.rank-badge.hot { background: #ef4444; }
.rank-badge.new { background: #22c55e; }
.rank-badge.trend { background: #fbbf24; color: #4a2530; }
.rank-note {
            background: rgba(251,191,36,0.08);
            border-left: 3px solid var(--accent);
            padding: 15px 20px;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 30px 0;
            font-size: 0.9rem;
            color: var(--text);
        }
.rank-note i {
            color: var(--accent);
            margin-right: 8px;
        }
.section-wrapper:nth-child(even) {
            background: rgba(255,255,255,0.4);
        }
.rank-page-hero h1 { font-size: 2rem; }
.rank-card { flex-wrap: wrap; gap: 10px; padding: 12px 15px; }
.rank-number { font-size: 1.4rem; min-width: 35px; }
.rank-card-poster { width: 50px; height: 65px; font-size: 1.2rem; }
.rank-card-rating { font-size: 0.9rem; padding: 3px 8px; }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-body { background:transparent !important; color:#4a2530 !important; }
.accordion-header { background:transparent !important; }
