/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 15px 20px;
    z-index: 1000;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
    color: #666;
}

.cookie-content a {
    color: #0066cc;
    text-decoration: underline;
}

.cookie-btn {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.cookie-btn:hover {
    background-color: #555;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.header-search {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
}

.search-input {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f9f9f9;
}

.search-input:focus {
    outline: none;
    border-color: #999;
    background-color: #fff;
}

/* Main Wrapper */
.main-wrapper {
    display: flex;
    min-height: calc(100vh - 200px);
}

/* Sidebar */
.sidebar {
    width: 220px;
    background-color: #f8f8f8;
    border-right: 1px solid #e0e0e0;
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background-color: #f0f0f0;
    color: #333;
}

.nav-item.active {
    background-color: #e8f0fe;
    color: #0066cc;
    border-left-color: #0066cc;
    font-weight: 500;
}

.nav-icon {
    font-size: 18px;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.nav-text {
    font-size: 15px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 30px 40px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.hero-section {
    margin-bottom: 40px;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    max-height: 350px;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0 auto;
}

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

.hero-title {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 20px;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.meta-item {
    padding: 6px 15px;
    background-color: #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

.hero-actions {
    margin-top: 30px;
}

.play-button {
    display: inline-block;
    transition: transform 0.2s;
}

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

.play-button img {
    height: 60px;
    width: auto;
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.section-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.article-content h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.article-content p {
    margin-bottom: 15px;
}

.lead-text {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
    font-size: 18px;
}

.feature-list li strong {
    color: #333;
}

/* Screenshots */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.screenshot-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.screenshot-item img {
    width: 100%;
    max-height: 300px;
    height: auto;
    display: block;
    object-fit: cover;
}

.screenshot-caption {
    padding: 10px;
    background-color: #f8f8f8;
    font-size: 14px;
    color: #666;
    text-align: center;
}

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

.screenshots-gallery .screenshot-item.large {
    grid-column: span 2;
    max-width: 600px;
    margin: 0 auto;
}

.screenshots-gallery .screenshot-item.large img {
    max-width: 600px;
    max-height: 350px;
    width: 100%;
    object-fit: cover;
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.view-all-btn:hover {
    background-color: #555;
}

/* News Items */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-thumbnail {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.news-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.news-excerpt {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.news-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.news-link:hover {
    text-decoration: underline;
}

.news-article {
    margin-bottom: 40px;
}

.news-article-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 25px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-article-image img {
    width: 100%;
    max-width: 600px;
    max-height: 350px;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0 auto;
}

.news-article-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.news-article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #999;
}

.news-article-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.news-article-text p {
    margin-bottom: 15px;
}

/* Reviews */
.review-summary {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.rating-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rating-score {
    font-size: 48px;
    font-weight: bold;
    color: #333;
}

.rating-stars {
    font-size: 24px;
    color: #ffa500;
    letter-spacing: 2px;
}

.rating-count {
    font-size: 14px;
    color: #666;
}

.review-card {
    background-color: #fafafa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.review-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.review-rating {
    font-size: 20px;
    color: #ffa500;
}

.review-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #999;
}

.review-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.review-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.review-content li {
    margin-bottom: 8px;
}

/* Guide */
.guide-section {
    margin-bottom: 40px;
}

.guide-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.guide-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
}

.guide-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.guide-section li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-card p {
    margin-bottom: 10px;
    color: #666;
}

.contact-card a {
    color: #0066cc;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-form-section {
    margin-bottom: 40px;
}

.contact-form-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
}

.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #999;
}

.submit-btn {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #555;
}

.office-info {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.office-info h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.office-info p {
    margin-bottom: 8px;
    color: #666;
}

/* Legal Pages */
.last-updated {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    font-style: italic;
}

.legal-content {
    max-width: 800px;
}

.legal-content h2 {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin-top: 35px;
    margin-bottom: 15px;
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-top: 25px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #444;
}

.legal-content a {
    color: #0066cc;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    margin-top: 60px;
}

.footer-upper {
    background-color: #f8f8f8;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.footer-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #333;
}

.footer-bottom {
    background-color: #ffffff;
    padding: 25px 0;
}

.footer-bottom-content {
    text-align: center;
    font-size: 14px;
    color: #999;
}

.footer-bottom-content p {
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .sidebar {
        position: fixed;
        left: -220px;
        top: 60px;
        transition: left 0.3s;
        z-index: 99;
    }

    .sidebar.open {
        left: 0;
    }

    .main-content {
        padding: 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 26px;
    }

    .page-title {
        font-size: 28px;
    }

    .screenshots-gallery .screenshot-item.large {
        grid-column: span 1;
    }

    .news-item {
        flex-direction: column;
    }

    .news-thumbnail {
        width: 100%;
        height: 200px;
    }

    .header-search {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .play-button img {
        height: 50px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}
