/* 1. Reset Dasar & Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; 
}

body {
    background: #eef1f7;
    color: #333;
    line-height: 1.6;
    padding: 30px 0;
}

/* 2. Judul Halaman */
.page-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.page-title h1 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 1.1rem;
    color: #555;
}

/* 3. Container Menu */
.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

/* 4. Item Menu (Setiap Relik) */
.menu-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent; 
    /* Tambahan: Menggunakan flexbox agar tombol selalu rata di bawah */
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =================================================
== [FIX] Tambahkan kode ini ==
=================================================
*/
/* Perbaikan agar gambar ETERNAL GENESIS tidak terpotong */
.tier-mythic .icon-box img {
    object-fit: contain;
}
/* =============================================== */


.menu-item h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1f2937;
}

/* Fitur List */
.menu-item ul {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
    padding: 0 10px;
    /* Tambahan: Mendorong harga & tombol ke bawah */
    flex-grow: 1; 
}

.menu-item ul li {
    position: relative;
    padding: 8px 0 8px 30px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #555;
    font-size: 0.95rem;
}

.menu-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981; /* Warna hijau sukses */
    font-weight: bold;
    font-size: 1.2rem;
}

.menu-item ul li:last-child {
    border-bottom: none;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #f59e0b; /* Warna harga default */
}

/* Gaya Tombol */
.btn-select {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease;
    color: #fff; 
}

/* 5. Gaya Tingkatan Relik */

/* TIER COMMON */
.tier-common { border-color: #f70a0a; }
.btn-tier-common { background: #e10909; }
.btn-tier-common:hover { background: #d10808; }

/* TIER RARE */
.tier-rare { border-color: #007bff; }
.btn-tier-rare { background: #007bff; }
.btn-tier-rare:hover { background: #0056b3; }

/* TIER EPIC */
.tier-epic { border-color: #8a2be2; }
.btn-tier-epic { background: #8a2be2; }
.btn-tier-epic:hover { background: #6a1fa8; }

/* TIER LEGENDARY (Featured) */
.tier-legendary { 
    border-color: #ff9900; 
    transform: scale(1.05); /* Sedikit membesar */
    box-shadow: 0 15px 35px rgba(255, 153, 0, 0.2);
}
.tier-legendary:hover { transform: scale(1.08); }

.btn-tier-legendary { 
    background: #ff9900; 
    box-shadow: 0 4px 10px rgba(255, 153, 0, 0.4);
}
.btn-tier-legendary:hover { background: #cc7a00; }

/* TIER MYTHIC (Promo Hot) */
.tier-mythic { 
    border-color: #dc3545; 
    animation: pulse 1.5s infinite;
}
.tier-mythic .price { color: #dc3545; }

.btn-tier-mythic { 
    background: #dc3545; 
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.4);
}
.btn-tier-mythic:hover { background: #c82333; }


/* 6. Animasi & Footer Kontak */

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); box-shadow: 0 15px 35px rgba(220, 53, 69, 0.4); }
    100% { transform: scale(1); }
}

.contact-footer {
    text-align: center;
    margin-top: 50px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border-radius: 50px;
    background-color: #1f2937;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-button:hover {
    background-color: #007bff;
    transform: scale(1.05);
}

.back-icon {
    width: 20px;
    height: 20px;
    stroke: #fff;
    margin-right: 10px;
}

/* 7. Responsif */
@media (max-width: 900px) {
    .menu-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .tier-legendary, .tier-legendary:hover {
        transform: none; 
    }
    
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.03); box-shadow: 0 15px 35px rgba(220, 53, 69, 0.4); }
        100% { transform: scale(1); }
    }

    .tier-mythic {
        animation: pulse 1.5s infinite;
    }
}

@media (max-width: 600px) {
    .menu-container {
        grid-template-columns: 1fr;
    }
    .page-title h1 {
        font-size: 2rem;
    }
}