/* ================= RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #f3e6c9;
    color: #3b2a1a;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    padding: 18px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(60, 40, 20, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 12px 5%;
    background: rgba(60, 40, 20, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #f5d28c;
    font-weight: 700;
    font-size: 1.35rem;
}

.logo img {
    width: 48px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(8deg) scale(1.05);
}

.menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

.menu a {
    color: #f5d28c;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.menu a.active {
    color: #fff;
}

.menu a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f5d28c;
    transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}
/* ================= PION STYLE ================= */
.pion-single {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    padding: 18px 20px;
    background-color: #f3e6c9;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pion-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.pion-single img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 12px;
    background: #f9f4e8;
    padding: 8px;
}

.pion-desc strong {
    font-size: 1.15rem;
    color: #b45f2a;
    display: block;
    margin-bottom: 6px;
}

/* Card Desc Style */
.card-desc {
    background: #fff;
    padding: 16px 20px;
    margin-bottom: 14px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    border-left: 5px solid #c58b2b;
}
/* ================= CARD GAME STYLE ================= */
.card-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 18px 20px;
    background-color: #f3e6c9;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-item img {
    width: 90px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 10px;
    border: 3px solid #f5d28c;
    background: #fff8e6;
}

.card-info strong {
    font-size: 1.12rem;
    color: #b45f2a;
    display: block;
    margin-bottom: 6px;
}

.card-info {
    flex: 1;
    line-height: 1.6;
}
/* ================= ABOUT THE GAME SECTION ================= */
.about-game {
    padding: 130px 5% 100px;
    background: #f3e6c9;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 70px;
    color: #3b2a1a;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 5px;
    background: linear-gradient(to right, #c58b2b, #e2a33b);
    margin: 20px auto 0;
    border-radius: 3px;
}

/* Game Main Image */
.game-main-image {
    text-align: center;
    margin-bottom: 60px;
}

.game-main-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: 12px solid #fff;
    transition: transform 0.5s ease;
}

.game-main-image img:hover {
    transform: scale(1.03);
}

/* Game Intro */
.game-intro {
    background: #fff8e6;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 80px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.game-intro h2 {
    font-size: 2.4rem;
    color: #3b2a1a;
    margin-bottom: 20px;
}

.game-intro p {
    font-size: 1.1rem;
    color: #4b3a24;
    line-height: 1.8;
}

/* Component Section */
.component-section {
    display: flex;
    align-items: center;
    gap: 70px;
    margin-bottom: 110px;
    flex-wrap: wrap;
}

.component-section.reverse {
    flex-direction: row-reverse;
}

.component-image {
    flex: 1;
    min-width: 320px;
}

.component-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    transition: transform 0.5s ease;
}

.component-image img:hover {
    transform: scale(1.04);
}

.component-content {
    flex: 1;
    min-width: 320px;
}

.component-content h2 {
    font-size: 2.2rem;
    color: #c58b2b;
    margin-bottom: 22px;
    position: relative;
}

.component-content h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 65px;
    height: 4px;
    background: linear-gradient(to right, #c58b2b, #e2a33b);
}

.component-content p {
    font-size: 1.08rem;
    color: #4b3a24;
    line-height: 1.85;
}

/* ================= FOOTER ================= */
.footer {
    background: #3c2a14;
    color: white;
    padding: 80px 5% 30px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-left, .footer-center, .footer-right {
    flex: 1;
    min-width: 250px;
}

.footer-left img {
    width: 85px;
    margin-bottom: 15px;
}

.footer-left p {
    color: #ccc;
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-center h3, .footer-right h3 {
    margin-bottom: 20px;
    color: #f5d28c;
}

.footer-center ul {
    list-style: none;
}

.footer-center ul li {
    margin-bottom: 10px;
}

.footer-center ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-center ul li a:hover {
    color: #f5d28c;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #aaa;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .component-section,
    .component-section.reverse {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    
    .game-intro {
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .component-content h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .menu {
        gap: 18px;
    }
}
