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

:root {
    --primary-green: #16a085;
    --secondary-blue: #3498db;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --text-dark: #2c3e50;
    --text-medium: #5a6c7d;
    --text-light: #7f8c8d;
    --border-gray: #dee2e6;
    --accent-green: #1abc9c;
    --hover-blue: #2980b9;
    --shadow-sm: rgba(0, 0, 0, 0.08);
    --shadow-md: rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Verdana', 'Arial', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.75;
    font-size: 15px;
}

.wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background-color: var(--background-white);
    border-bottom: 3px solid var(--primary-green);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: width 0.2s;
}

.nav-list a:hover {
    color: var(--secondary-blue);
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-blue) 100%);
    color: var(--background-white);
    padding: 70px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 850px;
    margin: 0 auto;
}

.header-image {
    width: 100%;
    max-width: 1200px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    max-width: 900px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.primary-content {
    min-width: 0;
}

.content-card {
    background: var(--background-white);
    padding: 42px;
    border-radius: 10px;
    margin-bottom: 32px;
    border: 1px solid var(--border-gray);
    box-shadow: 0 3px 10px var(--shadow-sm);
}

.content-card h2 {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 24px;
    font-weight: 700;
    border-bottom: 3px solid var(--secondary-blue);
    padding-bottom: 12px;
}

.content-card h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-top: 32px;
    margin-bottom: 18px;
    font-weight: 600;
}

.content-card h4 {
    font-size: 20px;
    color: var(--secondary-blue);
    margin-top: 26px;
    margin-bottom: 14px;
    font-weight: 600;
}

.content-card p {
    margin-bottom: 18px;
    color: var(--text-medium);
    text-align: justify;
}

.primary-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--background-white);
    padding: 14px 34px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 20px;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 160, 133, 0.3);
}

.secondary-content {
    min-width: 0;
}

.sidebar-card {
    background: var(--background-white);
    padding: 32px;
    border-radius: 10px;
    margin-bottom: 32px;
    border: 1px solid var(--border-gray);
    box-shadow: 0 3px 10px var(--shadow-sm);
}

.sidebar-card h3 {
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--border-gray);
    padding-bottom: 10px;
}

.sidebar-card p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 12px;
}

.sidebar-links a {
    color: var(--text-medium);
    text-decoration: none;
    display: block;
    padding: 10px 12px;
    border-left: 3px solid transparent;
    transition: border-color 0.2s, background-color 0.2s, padding-left 0.2s;
}

.sidebar-links a:hover {
    border-left-color: var(--primary-green);
    background-color: var(--background-light);
    padding-left: 18px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 35px;
}

.guide-item {
    background: var(--background-white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    transition: transform 0.2s, box-shadow 0.2s;
}

.guide-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px var(--shadow-md);
}

.guide-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.guide-body {
    padding: 26px;
}

.guide-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.guide-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.guide-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.guide-title a:hover {
    color: var(--primary-green);
}

.guide-summary {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
}

.game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
    margin-top: 35px;
}

.game-type-card {
    background: var(--background-white);
    padding: 32px 28px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid var(--border-gray);
    transition: border-color 0.2s, transform 0.2s;
}

.game-type-card:hover {
    border-color: var(--primary-green);
    transform: scale(1.03);
}

.game-type-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}

.type-icon {
    font-size: 52px;
    color: var(--secondary-blue);
    margin-bottom: 18px;
}

.game-type-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 14px;
    font-weight: 600;
}

.game-type-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
}

.contact-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 35px;
}

.contact-box {
    background: var(--background-white);
    padding: 36px 32px;
    border-radius: 10px;
    border: 1px solid var(--border-gray);
    text-align: center;
}

.contact-icon {
    font-size: 44px;
    color: var(--primary-green);
    margin-bottom: 18px;
}

.contact-box h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.contact-box p {
    color: var(--text-medium);
    font-size: 15px;
}

.map-box {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-gray);
    height: 480px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.site-footer {
    background: var(--text-dark);
    color: var(--background-white);
    padding: 60px 0 30px;
    border-top: 4px solid var(--primary-green);
    margin-top: 70px;
}

.footer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 35px;
}

.footer-block h4 {
    color: var(--accent-green);
    font-size: 19px;
    margin-bottom: 22px;
    font-weight: 600;
}

.footer-block p,
.footer-block a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    line-height: 2.3;
    display: block;
    transition: color 0.2s;
}

.footer-block a:hover {
    color: var(--accent-green);
}

.social-media {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-media a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    font-size: 17px;
}

.social-media a:hover {
    background: var(--primary-green);
    transform: translateY(-4px);
}

.footer-credits {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.not-found-section {
    text-align: center;
    padding: 100px 0;
}

.error-number {
    font-size: 140px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 25px;
    line-height: 1;
}

.error-heading {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 18px;
    font-weight: 600;
}

.error-description {
    font-size: 17px;
    color: var(--text-medium);
    margin-bottom: 35px;
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

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

    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--background-white);
        flex-direction: column;
        padding: 25px 0;
        border-top: 3px solid var(--primary-green);
        transition: left 0.3s;
        gap: 0;
        box-shadow: 0 4px 10px var(--shadow-md);
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        display: block;
        padding: 16px;
        border-bottom: 1px solid var(--border-gray);
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 16px;
    }

    .content-card {
        padding: 30px 24px;
    }

    .content-card h2 {
        font-size: 26px;
    }

    .guide-grid,
    .game-types-grid {
        grid-template-columns: 1fr;
    }

    .error-number {
        font-size: 100px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 50px 0;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .content-card {
        padding: 24px 20px;
    }

    .content-card h2 {
        font-size: 22px;
    }

    .sidebar-card {
        padding: 24px 20px;
    }
}

.guide-detail {
    background: var(--background-white);
    padding: 42px 38px;
    border-radius: 8px;
    box-shadow: 0 3px 12px var(--shadow-md);
    margin-top: 32px;
    margin-bottom: 42px;
}

.guide-header {
    margin-bottom: 32px;
}

.guide-meta-detail {
    display: flex;
    gap: 22px;
    margin-bottom: 16px;
    align-items: center;
}

.guide-date-detail {
    font-size: 14px;
    color: var(--text-gray);
}

.guide-category {
    background: var(--primary-green);
    color: var(--background-white);
    padding: 5px 16px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 600;
}

.guide-detail h1 {
    font-size: 34px;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.guide-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
}

.guide-image-wrapper {
    margin: 32px 0;
    border-radius: 8px;
    overflow: hidden;
}

.guide-detail-image {
    width: 100%;
    height: auto;
    display: block;
}

.guide-content {
    margin-top: 32px;
}

.guide-content h2 {
    font-size: 26px;
    color: var(--primary-green);
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600;
}

.guide-content h3 {
    font-size: 21px;
    color: var(--text-dark);
    margin-top: 26px;
    margin-bottom: 14px;
    font-weight: 600;
}

.guide-content p {
    margin-bottom: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    text-align: justify;
}

.guide-footer {
    margin-top: 42px;
    padding-top: 32px;
    border-top: 2px solid var(--border-gray);
}

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

.back-link:hover {
    color: var(--secondary-blue);
}

@media (max-width: 480px) {
    .guide-detail {
        padding: 28px 22px;
    }

    .guide-detail h1 {
        font-size: 26px;
    }

    .guide-subtitle {
        font-size: 16px;
    }
}

