/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}

:root {
    --primary: #7c3aed;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --dark: #1a1a2e;
    --darker: #0f0f1e;
    --light: #f8fafc;
    --gray: #475569;
    --border: #e2e8f0;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 25px 80px rgba(0, 0, 0, 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Hero Section */
.hero-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1e293b;
    text-shadow: 2px 2px 10px rgba(102, 126, 234, 0.3);
    position: relative;
}

/* 个性：标题上方彩色标签与下划线装饰 */
.hero-title::before {
    content: "Editor's Picks";
    position: absolute;
    top: -2.25rem;
    left: 0;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.hero-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 86px;
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

.hero-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 16 / 9; /* 保持横向比例，宽度变窄时按比例缩小 */
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 始终填充容器并裁切溢出部分 */
}

@media (min-width: 1024px) {
    .hero-image {
        min-height: 500px; /* 桌面端维持足够的视觉高度 */
    }
}

/* Section Styles */
.featured-section,
.latest-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--darker);
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.view-all:hover {
    gap: 1rem;
}

/* Featured Games */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.featured-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.featured-card:hover .card-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    /* 当 play-button 为 <a> 时的默认样式 */
    text-decoration: none;
    color: var(--primary);
    line-height: 1;
    font-size: 1.5rem; /* 使 ▶ 等文本图标具有合适尺寸 */
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button i {
    color: var(--primary);
    font-size: 1.5rem;
}

.play-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.25), 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(1.06);
}

.card-content {
    padding: 1.5rem;
}

.game-genre {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--darker);
}

.game-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray);
}

.game-stats i {
    color: var(--accent);
    margin-right: 0.25rem;
}

.game-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.game-link:hover {
    gap: 1rem;
}

/* Latest Updates */
.latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.latest-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.latest-item:hover {
    transform: translateY(-5px);
}

.latest-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.latest-content {
    padding: 1.5rem;
}

.update-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.update-badge.HOT {
    background: var(--secondary);
}

.update-badge.UPDATE {
    background: var(--primary);
}

.latest-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--darker);
}

.latest-content p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.update-date {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Newsletter */
.newsletter-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: white;
    border: none;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

/* Footer */
.main-footer {
    background: var(--darker);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-col h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-col ul li i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 8rem 0;
    text-align: center;
    color: white;
}

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

.page-hero p {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* About Section */
.about-content-section {
    padding: 6rem 0;
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.block-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--darker);
    font-weight: 800;
}

.block-text p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.block-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--gray);
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.5);
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--gray);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .content-block {
        grid-template-columns: 1fr;
    }
}

/* Detail Page */
.game-detail-header {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.5);
}

.detail-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
}

.game-main-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.game-main-info h1 {
    font-size: 3rem;
    margin: 1rem 0;
}

.game-rating-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stars {
    color: var(--accent);
}

.game-description {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.game-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.play-now-btn,
.wishlist-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.play-now-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.wishlist-btn {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.game-detail-content {
    padding: 4rem 0;
}

.content-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--border);
}

.tab-button {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2,
.tab-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.125rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.req-box {
    background: white;
    padding: 2rem;
    border-radius: 16px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshots-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.review-form-box {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.rating-input-large {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-input-large i {
    font-size: 2rem;
    color: var(--border);
    cursor: pointer;
}

.submit-review {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.reviewer-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.stars-small {
    color: var(--accent);
}

.review-date {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Search Page */
.search-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.search-hero h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.search-box-large {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.search-box-large i {
    color: var(--gray);
    font-size: 1.5rem;
}

.search-box-large input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.125rem;
}

.search-box-large button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.search-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.5);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.result-count {
    color: var(--gray);
    font-weight: 600;
}

.filter-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

.sidebar {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    height: fit-content;
    box-shadow: var(--shadow);
}

.filter-group h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.filter-group label {
    display: block;
    padding: 0.5rem 0;
    cursor: pointer;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.search-result-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.search-result-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.result-content {
    padding: 1.5rem;
}

.result-genre {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.result-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.result-rating {
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.result-content p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.result-button {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: var(--shadow);
}

/* Categories Page */
.categories-section {
    padding: 6rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--darker);
}

.category-card p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.game-count {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Contact Page */
.contact-section {
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-box,
.contact-form-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-info-box h2,
.contact-form-box h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--darker);
    font-weight: 800;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary);
    width: 50px;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--darker);
}

.info-item p {
    color: var(--gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

/* Legal Pages */
.legal-page {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.5);
}

.legal-page h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.update-date {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--darker);
    font-weight: 800;
}

.legal-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}