/* 重置样式和全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Noto Naskh Arabic', 'Microsoft YaHei', '微软雅黑', sans-serif;
    background: linear-gradient(135deg,
        #fff0e6 0%,
        #ffefe9 35%,
        #fff2e8 65%,
        #ffefe9 100%);
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 20px;
}

/* 顶部导航 */
.top-nav {
    display: flex;
    justify-content: center;
    padding: 16px 0 6px;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo-text {
    background: linear-gradient(135deg, #ff9a8b, #ff6a88);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 2px solid #ff6a88;
    border-radius: 14px;
    padding: 6px 16px;
    font-weight: 700;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.4;
    display: inline-block;
    max-width: 100%;
    text-align: center;
}

/* 特色卡片 */
.featured-card {
    margin-top: 24px;
    background: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff9a8b, #ff6a88, #ff99ac);
}

.featured-content {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 40px);
}

.featured-poster {
    flex: 0 0 auto;
    width: clamp(160px, 22vw, 240px);
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #1a1a2e;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nawzat-poster-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.featured-info {
    flex: 1;
    min-width: 0;
}

.featured-title {
    font-size: clamp(22px, 5vw, 34px);
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    line-height: 1.3;
}

.camera-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(42px, 6vw, 56px);
    height: clamp(42px, 6vw, 56px);
    flex: 0 0 auto;
    border-radius: 14px;
    background: linear-gradient(135deg, #ede9ff, #f7f5ff);
    box-shadow: 0 6px 16px rgba(124, 92, 240, 0.28);
    filter: drop-shadow(0 2px 6px rgba(124, 92, 240, 0.15));
}

.camera-icon svg {
    width: clamp(28px, 4vw, 38px);
    height: clamp(28px, 4vw, 38px);
    display: block;
}

.featured-subtitle {
    color: #666;
    font-size: clamp(14px, 2.5vw, 17px);
    line-height: 1.7;
    max-width: 560px;
}

.enter-cinema-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: clamp(12px, 2.5vw, 16px) clamp(28px, 5vw, 42px);
    border-radius: 50px;
    background: linear-gradient(135deg, #ff9a8b, #ff6a88, #ff99ac);
    color: #fff;
    font-size: clamp(16px, 3vw, 19px);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(255, 106, 136, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.enter-cinema-btn:hover {
    background: linear-gradient(135deg, #ff6a88, #ff5a7a, #ff8a9c);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 106, 136, 0.5);
}

.enter-cinema-btn:active {
    transform: translateY(-1px);
}

/* 描述文字 */
.description {
    text-align: center;
    font-size: clamp(16px, 4.5vw, 19px);
    font-weight: 700;
    margin-bottom: 30px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    line-height: 1.8;
    animation: descPulse 1.8s ease-in-out infinite;
}

@keyframes descPulse {
    0%, 100% {
        color: #c0392b;
        transform: scale(1);
        text-shadow: 0 0 0 rgba(192, 57, 43, 0);
    }
    50% {
        color: #e74c3c;
        transform: scale(1.04);
        text-shadow: 0 0 12px rgba(231, 76, 60, 0.5);
    }
}

/* 底部 */
.footer {
    text-align: center;
    padding: 18px 20px 14px;
    color: #555;
    margin-top: 16px;
}

.footer p {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #7c5cf0;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(124, 92, 240, 0.18);
}

/* 响应式 */
@media (max-width: 768px) {
    .container {
        padding: 16px 12px 40px;
    }

    .featured-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .featured-poster {
        width: min(260px, 70vw);
        margin: 0 auto;
    }

    .featured-title {
        font-size: clamp(20px, 6vw, 26px);
        justify-content: center;
    }

    .featured-subtitle {
        margin: 0 auto;
    }

    .featured-card {
        padding: clamp(16px, 5vw, 24px);
    }

    .featured-info {
        min-width: 0;
        width: 100%;
    }

    .enter-cinema-btn {
        width: min(320px, 100%);
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 15px;
        padding: 5px 12px;
    }

    .featured-poster {
        width: min(220px, 75vw);
    }

    .featured-title {
        font-size: clamp(18px, 7vw, 22px);
        gap: 8px;
    }

    .enter-cinema-btn {
        width: 100%;
        font-size: clamp(15px, 4vw, 17px);
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 154, 139, 0.8);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 106, 136, 0.9);
}

/* 选择文本样式 */
::selection {
    background: rgba(46, 204, 113, 0.3);
    color: #1a1a1a;
}
