/* --- ১. বেসিক রিসেট ও কালার ভ্যারিয়েবল --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0b0f19;
    color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- ২. হেডার / ন্যাভবার --- */
.navbar {
    background-color: rgba(17, 24, 39, 0.95);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1f2937;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #a78bfa;
}

.logo span {
    color: #a78bfa;
}

.btn-login {
    background: linear-gradient(45deg, #7c3aed, #a78bfa);
    padding: 8px 16px;
    border-radius: 8px;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

/* --- ৩. মেইন কন্টেইনার --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
}

/* --- ৪. হিরো সেকশন --- */
.hero-section {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1586232730253-984f76db891f?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    padding: 60px 30px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.9), rgba(11, 15, 25, 0.7));
    border-radius: 16px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(167, 139, 250, 0.15);
    color: #d8b4fe;
    border: 1px solid rgba(167, 139, 250, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 16px;
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto;
}

/* --- ৫. শপ টাইটেল বক্স --- */
.shop-title-box {
    text-align: center;
    margin-bottom: 35px;
}

.shop-title-box h2 {
    font-size: 28px;
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.shop-title-box h2 i {
    color: #a78bfa;
}

.shop-title-box p {
    color: #9ca3af;
    font-size: 15px;
    margin-top: 8px;
}

/* --- ৬. সেকশন কমন স্টাইল --- */
.section {
    margin-bottom: 40px;
}

.section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e5e7eb;
    border-left: 4px solid #a78bfa;
    padding-left: 10px;
}

/* --- ৭. গেম গ্রিড ও কার্ড ডিজাইন (পূর্ণ বক্স জুড়ে ছবি) --- */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

.game-card {
    background-color: #161b29;
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(45deg, #7c3aed, #a78bfa, #38bdf8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    background-color: #1a2135;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card.active {
    background-color: #1a2135;
    border-color: #a78bfa;
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.5);
}

/* ছবির বক্স পুরো চওড়া এবং নির্দিষ্ট উচ্চতার করা হয়েছে */
.game-logo-box {
    width: 100%;
    height: 130px;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ছবি একদম বক্সের সাথে মিলে যাবে */
    transition: 0.4s;
}

.game-card:hover .game-logo-box img {
    transform: scale(1.05); /* হোভারে সামান্য জুম হবে */
}

.game-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

/* --- ৮. প্লেয়ার আইডি ইনপুট বক্স --- */
.input-group input {
    width: 100%;
    padding: 16px 20px;
    background-color: #161b29;
    border: 2px solid #1f2937;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #a78bfa;
    background-color: #1a2135;
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.2);
}

.input-group input::placeholder {
    color: #6b7280;
}

/* --- ৯. প্যাক গ্রিড ও প্যাক কার্ড --- */
.pack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
}

.pack-card {
    background-color: #161b29;
    border: 1px solid #1f2937;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pack-card:hover {
    transform: translateY(-5px);
    border-color: #67e8f9;
    background-color: #1a2135;
}

.pack-card.active {
    background-color: #1a273a;
    border-color: #22d3ee;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

.pack-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #f3f4f6;
    margin-bottom: 8px;
}

.pack-card .price {
    font-size: 20px;
    font-weight: 700;
    color: #22d3ee;
    margin-top: 10px;
    display: block;
}

/* --- ১০. অ্যাকশন বাটন --- */
.action-container {
    margin-top: 40px;
    text-align: center;
}

.btn-proceed {
    background: linear-gradient(45deg, #a78bfa, #7c3aed);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-proceed:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.7);
    background: linear-gradient(45deg, #b9a0fb, #8b5cf6);
}

/* --- ১১. রেসপন্সিভ ডিজাইন (মোবাইল স্ক্রিনের জন্য) --- */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 14px;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .pack-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .game-card, .pack-card {
        padding: 15px;
    }

    .game-logo-box {
        height: 100px;
    }
    
    .navbar {
        padding: 10px 5%;
    }
}