/* 全局样式 */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --transition-speed: 0.3s;
    --rating-gold: #ffd700;
    --rating-silver: #c0c0c0;
    --rating-bronze: #cd7f32;
    --star-color: #ffd700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
}

/* 导航栏样式 */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    margin-left: 2rem;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 8rem 2rem 4rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* 卡片容器 */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.card-icon {
    background-color: var(--light-gray);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.card-content {
    text-align: center;
}

.card-content h2 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.card-content p {
    color: #666;
    font-size: 0.9rem;
}

/* 页脚样式 */
.main-footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    transition: opacity var(--transition-speed);
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-info {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links a {
        margin: 0 0.5rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        padding: 1rem 0;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* 子页面样式 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem 3rem;
    text-align: center;
    position: relative;
}

.page-header .back-button {
    position: absolute;
    left: 2rem;
    top: 3rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    transition: opacity var(--transition-speed);
}

.page-header .back-button:hover {
    opacity: 1;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-description {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 排行榜样式 */
.ranking-list {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.ranking-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    animation: slideIn 0.6s ease-out forwards;
}

.ranking-number {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-right: 0.5rem;
    display: inline;
}

.ranking-number.gold {
    color: var(--rating-gold);
}

.ranking-number.silver {
    color: var(--rating-silver);
}

.ranking-number.bronze {
    color: var(--rating-bronze);
}

.ranking-title {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.ranking-info {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.ranking-info span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ranking-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.score-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--rating-gold);
    line-height: 1;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
}

.score-label {
    font-size: 0.9rem;
    color: #666;
}

/* 标签样式 */
.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.tag {
    background-color: var(--light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

/* 筛选器样式 */
.filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2.5rem;
    margin: 1rem 0;
    background: white;
    border-bottom: 1px solid var(--light-gray);
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 360px;
    min-width: 280px;
}

.search-input {
    width: 100%;
    padding: 0.8rem 1.2rem 0.8rem 3rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-color);
    transition: all var(--transition-speed);
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    opacity: 0.6;
    pointer-events: none;
}

.search-icon .material-symbols-outlined {
    font-size: 1.3rem;
}

.sort-buttons {
    display: flex;
    gap: 0.8rem;
}

.filter-button {
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--light-gray);
    background: white;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    white-space: nowrap;
}

.filter-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(74, 144, 226, 0.05);
}

.filter-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.sort-direction {
    display: flex;
    gap: 0.4rem;
    padding: 0.4rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.direction-button {
    padding: 0.4rem;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    border-radius: 6px;
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
}

.direction-button:hover {
    background: rgba(0, 0, 0, 0.05);
}

.direction-button.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.direction-button .material-symbols-outlined {
    font-size: 1.2rem;
}

.filter-toggle-button {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-gray);
    background: white;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    white-space: nowrap;
}

.filter-toggle-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-toggle-button .material-symbols-outlined {
    font-size: 1.2rem;
}

/* 筛选面板 */
.filter-panel {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section h3 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-range input {
    width: 100px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.facility-options {
    display: flex;
    gap: 1.5rem;
}

.facility-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

#businessTime {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.reset-button {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
}

.apply-button {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .filters {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .search-box {
        flex: 1 0 100%;
        max-width: none;
        order: -1;
    }

    .search-input {
        padding: 0.7rem 1rem 0.7rem 2.8rem;
        font-size: 0.9rem;
    }

    .search-icon {
        left: 1rem;
    }

    .search-icon .material-symbols-outlined {
        font-size: 1.2rem;
    }

    .sort-buttons {
        flex: 1;
        justify-content: center;
        gap: 0.5rem;
    }

    .filter-button {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .filter-toggle-button {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .sort-direction {
        padding: 0.3rem;
        gap: 0.3rem;
    }

    .direction-button {
        padding: 0.3rem;
        width: 32px;
        height: 32px;
    }

    .direction-button .material-symbols-outlined {
        font-size: 1.1rem;
    }
}

/* 动画效果 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .page-header {
        padding: 2.5rem 1rem 2rem;
    }

    .page-header .back-button {
        top: 2.5rem;
        left: 1rem;
    }

    .ranking-card {
        padding: 1rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ranking-number {
        font-size: 1.1rem;
        margin-right: 0.4rem;
    }

    .ranking-title {
        font-size: 1.1rem;
    }

    .ranking-content {
        padding-right: 1.5rem;
    }

    .ranking-score {
        grid-column: 1;
        padding-top: 0.8rem;
        border-top: 1px solid var(--light-gray);
    }

    .ranking-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .score-number {
        font-size: 2rem;
        order: 1;
    }

    .score-label {
        font-size: 0.8rem;
        order: 2;
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .nav-content {
        padding: 0.8rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .nav-links {
        margin-top: 0.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        margin: 0 0.8rem;
        padding: 0.3rem 0;
    }

    .page-header {
        padding: 5rem 1rem 2rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-description {
        font-size: 0.9rem;
    }

    .filters {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }

    .filter-button {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .ranking-card {
        padding: 1rem;
        gap: 1rem;
        grid-template-columns: auto 1fr;
    }

    .ranking-number {
        width: 2rem;
        height: 2rem;
        font-size: 1.2rem;
    }

    .ranking-title {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .ranking-info {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.4rem;
    }

    .ranking-info span {
        gap: 0.3rem;
    }

    .tags {
        margin-top: 0.4rem;
        gap: 0.3rem;
    }

    .tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .ranking-score {
        grid-column: 1 / -1;
        flex-direction: column;
        justify-content: center;
        gap: 0.25rem;
        padding-top: 0.8rem;
        border-top: 1px solid var(--light-gray);
    }

    .score-number {
        font-size: 2rem;
        order: 1;
    }

    .score-label {
        font-size: 0.8rem;
        order: 2;
    }

    .footer-content {
        padding: 1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
        margin: 0 0.8rem;
    }

    .footer-info {
        font-size: 0.8rem;
    }
}

/* 商户详情模态框 */
.merchant-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 1rem;
}

.merchant-modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 16px;
    padding: 2.5rem;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.close-button {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary-color);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color var(--transition-speed);
}

.close-button:hover {
    background-color: var(--light-gray);
}

.merchant-header {
    margin-bottom: 3rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    align-items: flex-start;
}

.header-left {
    flex: 1;
    min-width: 0;
}

.merchant-header h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.merchant-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.5;
    word-break: break-all;
}

.contact-item .material-symbols-outlined {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

a.contact-item {
    color: var(--primary-color);
    transition: opacity var(--transition-speed);
}

a.contact-item:hover {
    opacity: 0.8;
}

.merchant-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-color);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.facility-item .material-symbols-outlined {
    font-size: 1.4rem;
}

.site-rating {
    padding: 0;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5rem;
}

.site-rating .overall-score {
    font-size: 4.2rem;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 500;
    text-align: center;
    margin: 0 0 1.5rem;
    color: var(--secondary-color);
    line-height: 1;
}

.site-rating .rating-dimensions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 300px;
}

.site-rating .dimension-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-rating .dimension-label {
    min-width: 2.5rem;
    color: var(--text-color);
    font-size: 1rem;
}

.site-rating .progress-bar {
    width: 120px;
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.site-rating .progress {
    height: 100%;
    background: var(--rating-gold);
    border-radius: 4px;
    transition: width 0.3s ease-out;
}

.site-rating .dimension-score {
    min-width: 2.5rem;
    text-align: right;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 400;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.site-rating .rating-count {
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0 1.5rem;
    text-align: center;
}

.merchant-info {
    margin: 2.5rem 0;
    padding: 2.5rem 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.info-section {
    margin-bottom: 2rem;
}

.info-section:last-child {
    margin-bottom: 0;
}

.section-label {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag {
    background-color: var(--light-gray);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1rem;
    color: var(--text-color);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .merchant-header {
        margin-bottom: 2rem;
    }

    .header-content {
        flex-direction: column;
        gap: 2rem;
    }

    .merchant-header h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .merchant-contact {
        gap: 0.8rem;
    }

    .contact-item {
        font-size: 1rem;
        gap: 0.8rem;
    }

    .contact-item .material-symbols-outlined {
        font-size: 1.3rem;
    }

    .merchant-facilities {
        gap: 1rem;
        margin-top: 1.2rem;
    }

    .facility-item {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }

    .site-rating {
        width: 100%;
        margin-top: 0;
        padding: 1rem 0;
    }

    .site-rating .overall-score {
        font-size: 3.6rem;
        margin-bottom: 1.2rem;
    }

    .site-rating .rating-dimensions {
        margin: 0 auto;
        width: fit-content;
    }

    .site-rating .dimension-item {
        gap: 0.8rem;
        justify-content: center;
    }

    .site-rating .dimension-label {
        font-size: 0.95rem;
        min-width: 2.5rem;
        text-align: right;
    }

    .site-rating .progress-bar {
        width: 100px;
        height: 6px;
    }

    .site-rating .dimension-score {
        font-size: 1rem;
        min-width: 2.5rem;
        text-align: left;
    }

    .site-rating .rating-count {
        font-size: 0.85rem;
        margin: 0.4rem 0 1.2rem;
    }

    .merchant-info {
        margin: 2rem 0;
        padding: 2rem 0;
    }

    .section-label {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .tags {
        gap: 0.8rem;
    }

    .tag {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
}

/* 热门评论样式 */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    background-color: var(--light-gray);
    border-radius: 12px;
    padding: 1.2rem;
    position: relative;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.comment-user-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-name {
    font-weight: 500;
    font-size: 1rem;
    color: var(--secondary-color);
}

.comment-rating {
    color: var(--rating-gold);
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.comment-time {
    font-size: 0.85rem;
    color: #999;
}

.comment-content {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0;
}

.comment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.platform-info {
    font-size: 0.85rem;
    color: #666;
}

.like-count {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #666;
    font-size: 0.85rem;
}

.like-count .material-symbols-outlined {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .comment-item {
        padding: 1rem;
    }

    .user-name {
        font-size: 0.95rem;
    }

    .comment-rating {
        font-size: 0.85rem;
    }

    .comment-time {
        font-size: 0.8rem;
    }

    .comment-content {
        font-size: 0.9rem;
        margin: 0.8rem 0;
    }

    .platform-info {
        font-size: 0.8rem;
    }

    .like-count {
        font-size: 0.8rem;
    }
}

.platform-ratings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.rating-card {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
}

.rating-card .platform-name {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    opacity: 1;
}

.rating-card .platform-name .material-symbols-outlined {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.rating-card .overall-score {
    font-size: 2.8rem;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 500;
    text-align: center;
    margin: 1rem 0;
    color: var(--secondary-color);
}

.rating-card .rating-dimensions {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rating-card .dimension-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-card .dimension-label {
    min-width: 2.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.rating-card .progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.rating-card .progress {
    height: 100%;
    background: var(--rating-gold);
    border-radius: 3px;
    transition: width 0.3s ease-out;
}

.rating-card .dimension-score {
    min-width: 2.5rem;
    text-align: right;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
    color: var(--secondary-color);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .platform-ratings {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .rating-card {
        padding: 1.2rem;
    }

    .rating-card .platform-name {
        font-size: 1rem;
        gap: 0.6rem;
    }

    .rating-card .platform-name .material-symbols-outlined {
        font-size: 1.2rem;
    }

    .rating-card .overall-score {
        font-size: 2.4rem;
        margin: 0.8rem 0;
    }

    .rating-card .rating-dimensions {
        margin-top: 1rem;
        gap: 0.6rem;
    }

    .rating-card .dimension-item {
        gap: 0.8rem;
    }

    .rating-card .dimension-label {
        font-size: 0.85rem;
    }
}

.rating-count {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.2rem;
}

.comment-time {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .rating-count {
        font-size: 0.8rem;
        order: 3;
    }

    .comment-time {
        font-size: 0.8rem;
    }
} 