/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: black; /* Light gray background for a cleaner look */
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.rounded-full {
    width:275px;

}

/* Header - Biru gelap/Ungu gelap */
header {
    background-color: #2B005F; /* Ungu gelap */
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 20px;
}
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 100%;
}
.logo {
    width: 55px;
    height: 30px;
    border-radius: 50%;
    background-color: #00BFFF; /* Biru terang */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #333;
    font-size: 1.5rem;
    margin-right: 12px;
    box-shadow: 0 0 10px rgba(0,191,255,0.5); /* Glowing effect biru */
}
.site-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.nav-icons a {
    color: #fff;
    margin-left: 20px;
    font-size: 1rem;
    transition: color 0.3s ease;
}
.nav-icons a:hover {
    color: #87CEEB; /* Biru terang saat hover */
}

/* Main Content */
main {
    flex-grow: 1;
    padding: 30px 0;
    background-color: black;
}
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
}
.hero-section {
    background-color: rgb(32, 32, 32);
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Game Display Section - Biru/Ungu */
.game-display {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    min-height: 280px;
}
.game-card {
    background-color: #A1C4FD; /* Biru muda untuk kartu */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 2px solid #87CEEB; /* Border biru muda */
}
.game-card img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}
.game-card h3 {
    color: #333;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px;
}

/* Specific card positioning for desktop-like view */
.game-card.main-card {
    width: 500px;
    height: 500px;
    position: relative;
    z-index: 20;
    background-color: #6A0DAD; /* Ungu utama */
    border: 1px solid #8A2BE2; /* Border ungu */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3), 0 0 10px rgba(138,43,226,0.4); /* Enhanced shadow/glow ungu */
}
.game-card.side-card {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0.8;
    background-color: #A75DFF; /* Ungu lebih muda untuk side cards */
    border: 2px solid #C49EFF; /* Border ungu muda */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.game-card.left-card { left: 0; }
.game-card.right-card { right: 0; }

/* Product Detail */
.product-detail {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    padding: 10px;
    width: 100%;
    max-width: 550px;
}
.product-detail h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.3;
}
.price-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1rem;
    color: black;
    font-weight: 600;
}

.button-style {
    display: inline-block; /* Membuat link berperilaku seperti blok tapi tetap sebaris */
    background: linear-gradient(to right, #6A0DAD, #4169E1); /* Gaya gradient ungu/biru */
    color: #fff;
    text-align: center;
    padding: 12px 25px; /* Sesuaikan padding */
    font-size: 1.1rem; /* Sesuaikan ukuran font */
    font-weight: bold;
    border-radius: 8px; /* Sudut tombol melengkung */
    text-decoration: none; /* Hapus garis bawah link */
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(106,13,173,0.4); /* Efek bayangan */
}

.button-style:hover {
    background: linear-gradient(to right, #4169E1, #6A0DAD); /* Efek hover kebalikan gradient */
    box-shadow: 0 6px 15px rgba(106,13,173,0.6);
    transform: translateY(-2px); /* Efek sedikit terangkat saat hover */
}

.quantity-section {
    margin-bottom: 30px;
}
.quantity-section label {
    display: block;
    font-size: 0.8rem;
    color: #444;
    margin-bottom: 10px;
    font-weight: 500;
}
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    width: 140px;
    background-color: #f9f9f9;
}
.quantity-control button {
    background-color: #e0e0e0;
    padding: 10px 15px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s ease;
}
.quantity-control button:hover {
    background-color: #c0c0c0;
}
.quantity-control input {
    width: 50px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 1.1rem;
    padding: 10px 0;
    -moz-appearance: textfield;
    background-color: #fff;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@keyframes glowing {
    0% {background-position: 0 0;}
    50% {background-position: 400% 0;}
    100% {background-position: 0 0;}
}

/* Footer - Ungu/Biru */
footer {
    background: linear-gradient(to bottom, #7B68EE 2%, #4169E1 20%, #2B005F 100%); /* Gradient biru/ungu untuk footer */
    color: #fff;
    padding: 10px 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
    position: sticky;
    bottom: 0;
    width: 100%;
    border-radius: 30px 30px 0 0;
    z-index: 50;
    margin-top: auto;
}
.footer-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px 15px;
}

.btn{
    height: 80px;
    width: 200px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 3px;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-weight: 500;
}
.footer-nav a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.footer-nav i {
    font-size: 1.4rem;
}
.footer-nav img {
    max-width: 30px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .hero-section {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
    }
    .game-display {
        flex: 1.5;
        margin-bottom: 0;
        margin-right: 40px;
        min-height: 400px;
    }
    .game-card.main-card {
        width: 350px;
        height: 350px;
        padding: 20px;
    }
    .game-card.side-card {
        width: 150px;
        height: 150px;
    }
    .product-detail {
        flex: 1;
        margin-left: 0;
    }
    .game-card.left-card { left: -5%; }
    .game-card.right-card { right: -5%; }
}

@media (min-width: 1024px) {
    .site-title {
        font-size: 2rem;
    }
    .nav-icons a {
        font-size: 1.5rem;
    }
    .product-detail h2 {
        font-size: 2.5rem;
    }
    .game-card.left-card { left: 5%; }
    .game-card.right-card { right: 5%; }
}

@media (max-width: 767px) {
    .game-card.side-card {
        display: none;
    }
    .game-card.main-card {
        width: 250px;
        height: 250px;
    }
    .game-display {
        min-height: 250px;
    }
}
