* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes titleLineGrow {
    from { width: 0; }
    to { width: 100px; }
}

@keyframes navLinkSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes navItemDrop {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(35px);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-logo img {
        animation: none !important;
    }
}

:root {
    --primary-green: #62AB6B;
    --dark-green: #4a8c52;
    --light-green: #7bc683;
    --lighter-green: #d4f4ed;
    --bg-light: #E8FFE7;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(98, 171, 107, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #62AB6B 0%, #7bc683 100%);
    padding: 12px 0;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: padding 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: height 0.35s ease, opacity 0.3s ease;
}

.navbar.scrolled .nav-logo img {
    height: 40px;
}

.nav-logo h2 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li {
    animation: navItemDrop 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.nav-menu li:nth-child(1) { animation-delay: 0.05s; }
.nav-menu li:nth-child(2) { animation-delay: 0.12s; }
.nav-menu li:nth-child(3) { animation-delay: 0.19s; }
.nav-menu li:nth-child(4) { animation-delay: 0.26s; }
.nav-menu li:nth-child(5) { animation-delay: 0.33s; }

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 4px;
    border-radius: 0;
    display: inline-block;
    position: relative;
    transition: color 0.25s ease, transform 0.2s ease;
    letter-spacing: 0.3px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu li a:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

.nav-menu li a:hover::after {
    transform: scaleX(1);
}

.nav-menu li a.active {
    font-weight: 700;
}

.nav-menu li a.active::after {
    transform: scaleX(1);
    background: #fff;
    height: 2.5px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.hero {
    margin-top: 60px;
    background: #E8FFE7;
    padding: 60px 20px 80px;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    max-width: 450px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    animation: floatBob 4s ease-in-out infinite;
}

.hero-logo i {
    font-size: 120px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-green);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

section {
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    margin: 20px auto 0;
    border-radius: 3px;
}

.section-title.visible::after {
    animation: titleLineGrow 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.about {
    background-color: var(--white);
}

.about-card {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-image {
    flex-shrink: 0;
}

.about-image i {
    font-size: 160px;
    color: var(--primary-green);
    filter: drop-shadow(0 5px 15px rgba(17, 153, 142, 0.3));
}

.about-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(17, 153, 142, 0.3);
    border: 5px solid var(--primary-green);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.about-image img:hover {
    box-shadow: 0 15px 40px rgba(17, 153, 142, 0.4);
    transform: scale(1.04);
}

.about-content h3 {
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 10px;
}

.about-content p:first-of-type {
    font-weight: 600;
    color: var(--primary-green);
}

.about-content a {
    color: var(--primary-green);
    word-break: break-word;
}

.game {
    background-color: var(--bg-light);
}

.game-grid {
    display: grid;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.game-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.game-image-area {
    width: 100%;
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, #dff8dc 0%, #f4fff3 100%);
    padding: 32px 24px 20px;
}

.game-image {
    width: 100%;
    max-width: 420px;
    min-height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #dff8dc 0%, #f4fff3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 20px;
}

.game-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lighter-green), var(--light-green));
}

.game-placeholder i {
    font-size: 90px;
    color: var(--white);
}

.game-content {
    width: 100%;
    padding: 28px 40px 34px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    border-top: 1px solid var(--lighter-green);
}

.game-info {
    width: 100%;
}

.game-action {
    width: 100%;
    display: flex;
    justify-content: center;
}

.game-content h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.3rem);
    color: var(--primary-green);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.game-date {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 18px;
    font-weight: 500;
}

.game-date i {
    margin-right: 8px;
}

.game-desc {
    color: var(--text-dark);
    margin-bottom: 25px;
    flex: 1;
    line-height: 1.9;
    font-size: 1.05rem;
}

.game-components-preview {
    width: 100%;
    padding: 0 24px 28px;
}

.game-components-preview h4 {
    font-size: 1.15rem;
    color: var(--primary-green);
    margin-bottom: 14px;
    font-weight: 700;
    text-align: center;
}

.game-components-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 4px 0 0;
}

.game-components-grid::-webkit-scrollbar {
    height: 7px;
}

.game-components-grid::-webkit-scrollbar-track {
    background: rgba(98, 171, 107, 0.12);
    border-radius: 999px;
}

.game-components-grid::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 999px;
}

.game-components-grid::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
}

.game-component-item {
    background: #f8fdf4;
    border: 1px solid var(--lighter-green);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-width: 0;
}

.game-component-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(98, 171, 107, 0.18);
}

.game-component-item img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 8px;
}

.game-component-item span {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
}

.game-components-grid > .game-component-item:nth-last-child(2):nth-child(5) {
    grid-column: 2;
}

.game-components-grid > .game-component-item:last-child:nth-child(6) {
    grid-column: 3;
}

.merchandise {
    background-color: var(--white);
}

.merchandise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.merch-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.merch-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.merch-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: var(--lighter-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.merch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: transform 0.45s ease;
}

.merch-card:hover .merch-image img {
    transform: scale(1.06);
}

.merch-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lighter-green), var(--light-green));
}

.merch-placeholder i {
    font-size: 90px;
    color: var(--white);
}

.merch-content {
    padding: 30px;
}

.merch-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.merch-price {
    font-size: 1.7rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 10px;
}

.merch-stock {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 18px;
    font-weight: 500;
}

.comment {
    background-color: var(--bg-light);
}

.comment-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.comment-form {
    background: var(--white);
    padding: 45px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 50px;
    border: 2px solid var(--lighter-green);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--lighter-green);
    border-radius: 10px;
    font-size: 1.05rem;
    font-family: inherit;

}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(17, 153, 142, 0.1);
}

.comments-list {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--lighter-green);
}

.comments-list h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 30px;
    font-weight: 700;
}

.comment-item {
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 18px;
    border-left: 4px solid var(--primary-green);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.15);
    transform: translateX(4px);
}

.comments-scroll-area {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
    scroll-behavior: smooth;
}

.comments-scroll-area::-webkit-scrollbar {
    width: 5px;
}

.comments-scroll-area::-webkit-scrollbar-track {
    background: var(--lighter-green);
    border-radius: 10px;
}

.comments-scroll-area::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

.comments-scroll-area::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
}

.comment-item:last-child {
    margin-bottom: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.comment-header strong {
    color: var(--primary-green);
    font-size: 1.15rem;
    font-weight: 700;
}

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.comment-text {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: box-shadow 0.3s ease, transform 0.2s ease, background 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(17, 153, 142, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-success:hover {
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.btn-success i {
    font-size: 1.2rem;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    width: 100%;
}

.btn-submit:hover {
    box-shadow: 0 5px 15px rgba(17, 153, 142, 0.3);
}

.footer {
    background: linear-gradient(135deg, #62AB6B 0%, #7bc683 100%);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 -4px 10px rgba(98, 171, 107, 0.1);
}

.footer p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.no-data {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 40px;
}

@media (max-width: 992px) {
    .nav-menu {
        gap: 12px;
    }

    .nav-menu li a {
        font-size: 0.92rem;
    }
    
    .hero {
        min-height: 85vh;
    }
    
    .hero-logo img {
        max-width: 400px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .about-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
    
    .about-image i {
        font-size: 140px;
    }
    
    .about-image img {
        width: 220px;
        height: 220px;
    }
    
    .game-components-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .game-components-grid > .game-component-item:nth-last-child(2):nth-child(5),
    .game-components-grid > .game-component-item:last-child:nth-child(6) {
        grid-column: auto;
    }

    .game-image-area {
        padding: 28px 20px 18px;
    }

    .game-image {
        max-width: 380px;
        padding: 10px;
    }

    .game-image img {
        max-width: 280px;
    }

    .game-components-preview {
        padding: 0 20px 20px;
    }
    
    .game-content {
        padding: 24px 32px 28px;
    }
    
    .merchandise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .navbar .container {
        gap: 12px;
    }

    .nav-logo {
        min-width: 0;
    }

    .nav-logo img {
        height: 40px;
    }
    
    .nav-logo h2 {
        font-size: 1.4rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: linear-gradient(160deg, #4a8c52 0%, #62AB6B 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: -6px 0 24px rgba(0, 0, 0, 0.18);
        padding: 40px 20px;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu li {
        animation: none;
        width: 100%;
        text-align: center;
    }

    .nav-menu li a {
        font-size: 1.1rem;
        padding: 12px 20px;
        display: block;
        width: 100%;
        border-radius: 10px;
    }

    .nav-menu li a:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: none;
    }

    .hero {
        padding: 40px 20px;
        min-height: 80vh;
    }
    
    .hero-logo img {
        max-width: 300px;
    }
    
    .hero-logo i {
        font-size: 80px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .about-card {
        padding: 30px 25px;
        gap: 30px;
    }
    
    .about-image i {
        font-size: 120px;
    }
    
    .about-image img {
        width: 200px;
        height: 200px;
    }
    
    .about-content h3 {
        font-size: 1.8rem;
    }
    
    .about-content p {
        font-size: 1.05rem;
    }
    
    .game-image-area {
        padding: 24px 16px 16px;
    }

    .game-image {
        max-width: 320px;
        padding: 10px;
    }

    .game-image img {
        max-width: 240px;
    }

    .game-components-preview {
        padding: 0 16px 16px;
    }

    .game-content {
        padding: 22px 24px 24px;
    }

    .game-content h3 {
        font-size: 1.7rem;
    }

    .game-components-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .game-component-item img {
        height: 135px;
    }
    
    .game-desc {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .merchandise-grid {
        grid-template-columns: 1fr;
    }

    .merch-image img {
        width: 100%;
        height: 100%;
    }
    
    .comment-form {
        padding: 30px;
    }
    
    .comments-list {
        padding: 30px;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .btn,
    .btn-back {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .game-meta,
    .game-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .meta-item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--lighter-green);
        padding: 0 0 12px 0;
    }

    .meta-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .navbar {
        padding: 10px 0;
    }

    .nav-logo img {
        height: 35px;
    }

    .hero {
        min-height: 70vh;
        padding: 30px 15px;
    }
    
    .hero-logo img {
        max-width: 250px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    section {
        padding: 50px 15px;
    }
    
    .about-card {
        padding: 25px 20px;
        gap: 20px;
    }
    
    .about-image i {
        font-size: 100px;
    }
    
    .about-image img {
        width: 180px;
        height: 180px;
        border-width: 4px;
    }
    
    .about-content h3 {
        font-size: 1.6rem;
    }
    
    .game-image-area {
        padding: 20px 14px 14px;
    }

    .game-image {
        max-width: 260px;
        padding: 8px;
    }

    .game-image img {
        max-width: 200px;
    }

    .game-components-preview {
        padding: 0 14px 14px;
    }

    .game-content {
        padding: 20px 18px 20px;
    }

    .game-date {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .game-components-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .game-component-item img {
        height: 120px;
    }

    .merch-image img {
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .comment-form {
        padding: 25px 20px;
    }
    
    .comments-list {
        padding: 25px 20px;
    }
    
    .comment-item {
        padding: 20px;
    }

    .comment-text,
    .game-description p,
    .rules-section ol li,
    .aturan-card ul li {
        word-break: break-word;
    }

    .modal-box {
        width: min(90vw, 320px);
        padding: 32px 20px 24px;
    }
}

.game-detail-section {
    margin-top: 60px;
    padding: 80px 20px;
    background-color: var(--bg-light);
    min-height: calc(100vh - 60px);
}

.back-button-wrapper {
    margin-bottom: 30px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--white);
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid var(--primary-green);
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-back:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(98, 171, 107, 0.3);
}

.game-detail-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--lighter-green);
}

.game-detail-image {
    width: 100%;
}

.game-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.game-detail-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lighter-green), var(--light-green));
    border-radius: 15px;
}

.game-detail-placeholder i {
    font-size: 120px;
    color: var(--white);
}

.game-detail-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.game-detail-title {
    font-size: 3rem;
    color: var(--primary-green);
    margin: 0;
    font-weight: 800;
    line-height: 1.2;
}

.game-detail-meta,
.game-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--lighter-green);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0 20px;
    border-right: 2px solid var(--lighter-green);
}

.meta-item:first-child {
    padding-left: 0;
}

.meta-item:last-child {
    border-right: none;
}

.meta-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.game-detail-description {
    flex: 1;
}

.game-detail-description h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 700;
}

.game-detail-description p {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
    white-space: pre-wrap;
    margin-bottom: 15px;
}

.game-detail-description ul,
.game-detail-description ol {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 30px;
}

.game-detail-description ul li,
.game-detail-description ol li {
    margin-bottom: 10px;
}

.game-detail-description strong {
    color: var(--primary-green);
    font-weight: 700;
}

.game-detail-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 2px solid var(--lighter-green);
}

.game-detail-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1.05rem;
}

@media (max-width: 992px) {
    .game-detail-container {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .game-detail-title {
        font-size: 2.5rem;
    }
    
    .game-detail-image img {
        max-width: 500px;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .game-detail-section {
        padding: 60px 20px;
    }
    
    .game-detail-container {
        padding: 30px 25px;
        gap: 30px;
    }
    
    .game-detail-title {
        font-size: 2rem;
    }
    
    .game-detail-description h3 {
        font-size: 1.5rem;
    }
    
    .game-detail-description p {
        font-size: 1.05rem;
    }
    
    .game-detail-actions {
        flex-direction: column;
    }
    
    .game-detail-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .slider-btn {
        display: none;
    }
}

.game-components-section {
    margin-top: 60px;
    padding: 50px 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--lighter-green);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.components-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 40px;
    font-weight: 700;
}

.components-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.components-slider-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.components-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.component-card {
    background: var(--white);
    padding: 0;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--lighter-green);
    overflow: hidden;
    flex: 0 0 calc((100% - 48px) / 3);
    transition: box-shadow 0.25s, transform 0.25s;
    text-decoration: none;
    color: inherit;
}

.component-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.component-image {
    width: 100%;
    height: 160px;
    position: relative;
    background: var(--white);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.component-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.component-image-card img {
    max-width: 87%;
    max-height: 87%;
}

.component-image-board img {
    max-width: 88%;
    max-height: 88%;
}

.component-placeholder {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lighter-green), var(--light-green));
    position: absolute;
    top: 0;
    left: 0;
}

.component-placeholder i {
    font-size: 60px;
    color: var(--primary-green);
}

.component-card h3 {
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 8px 8px;
    font-weight: 700;
    background: var(--lighter-green);
    text-decoration: none;
}

.slider-btn {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    background: var(--white);
    color: var(--primary-green);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
}

.slider-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(98,171,107,0.35);
}

.slider-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lighter-green);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary-green);
    transform: scale(1.3);
}

@media (max-width: 992px) {
    .component-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
    .components-slider-track {
        gap: 20px;
    }
    .component-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 768px) {
    .game-components-section {
        padding: 40px 20px;
    }
    .components-title {
        font-size: 2rem;
    }
    .components-slider-wrapper {
        gap: 10px;
    }
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    .component-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
    .components-slider-track {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .component-card {
        flex: 0 0 100%;
    }
    .components-slider-track {
        gap: 0;
    }
}

.game-description,
.how-to-play {
    padding: 25px 0;
    border-bottom: 2px solid var(--lighter-green);
}

.how-to-play {
    border-bottom: none;
    padding-bottom: 0;
}

.game-description h2,
.how-to-play h2 {
    font-size: 1.8rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 15px;
}

.game-description p {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    text-align: justify;
}

.rules-section ol,
.rules-section ul {
    padding-left: 22px;
    margin-top: 10px;
}

.rules-section ul {
    list-style-type: disc;
}

.rules-section ul li::marker {
    color: #000;
}

.rules-section ol li,
.rules-section ul li {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 6px;
    text-align: justify;
}

.rules-section li > ul {
    margin-top: 8px;
    padding-left: 18px;
}

.rules-section h3 {
    font-size: 1.7rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 12px;
}

.aturan-bermain-section {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid var(--lighter-green);
}

.aturan-bermain-section h2 {
    font-size: 1.8rem;
    font-family: 'Georgia', serif;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.aturan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.aturan-card {
    background: #f8fdf4;
    border: 1px solid var(--lighter-green);
    border-radius: 12px;
    padding: 20px;
}

.aturan-icon {
    font-size: 1.6rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.aturan-card h4 {
    font-size: 1.1rem;
    font-family: 'Georgia', serif;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.aturan-card ul {
    padding-left: 18px;
    margin: 0;
}

.aturan-card ul li {
    font-size: 0.95rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .aturan-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .game-components-section {
        margin-top: 40px;
        padding: 40px 20px;
    }
    
    .components-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .components-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .component-image {
        height: 200px;
    }

    .component-image-card img {
        max-width: 68%;
        max-height: 68%;
    }

    .component-image-board img {
        max-width: 84%;
        max-height: 84%;
    }
    
    .component-card h3 {
        font-size: 0.92rem;
        padding: 8px 8px;
    }

    .game-detail-section {
        padding: 50px 15px;
        margin-top: 60px;
    }
    
    .back-button-wrapper {
        margin-bottom: 20px;
    }
    
    .btn-back {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
    
    .game-detail-container {
        padding: 25px 20px;
        gap: 25px;
    }
    
    .game-detail-title {
        font-size: 1.8rem;
    }
    
    .game-detail-description h3 {
        font-size: 1.4rem;
    }
    
    .game-detail-description p {
        font-size: 1rem;
    }
    
    .meta-item {
        font-size: 0.95rem;
    }
    
    .game-detail-actions .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .meta-item {
        font-size: 0.9rem;
        padding: 6px 12px;
        gap: 6px;
    }

    .game-detail-title {
        font-size: 1.6rem;
    }

    .game-description h2,
    .how-to-play h2 {
        font-size: 1.4rem;
    }

    .rules-section ol li {
        font-size: 0.98rem;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 32px;
    text-align: center;
    width: 280px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    animation: modalPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.modal-icon svg {
    width: 90px;
    height: 90px;
}

.modal-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    margin: 0;
}

.btn-modal-ok {
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 0;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-modal-ok:hover {
    background: #43a047;
}
