/* --- Basic Reset and Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a2e;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* --- Header & Footer Styles --- */
.main-header {
    padding: 20px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
	width: 100%;
    height: 100px;
    background-color: #4b4b5da1;
    border-radius: 50%;
    display: inline-block
}

.main-footer {
    padding: 60px 0 30px 0;
    text-align: center;
}

.footer-logo img {
    height: 100px;
    background-color: #4b4b5da1;
    border-radius: 50%;
    display: inline-block
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #a9a9d0;
    font-size: 14px;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-legal-text {
    font-size: 12px;
    color: #a9a9d0;
    line-height: 1.7;
    border-top: 1px solid #4a4a70;
    border-bottom: 1px solid #4a4a70;
    padding: 30px 0;
    margin-bottom: 40px;
}

.footer-copyright {
    font-size: 14px;
    color: #a9a9d0;
}


/* --- Reusable Components (Buttons, Forms, Titles) --- */
.nav-btn {
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-left: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: transparent;
    border: 1px solid #4a4a70;
}

.login-btn:hover {
    background-color: #4a4a70;
}

.register-btn {
    background-image: linear-gradient(to right, #e83e8c, #b345d2);
    border: none;
}

.register-btn:hover {
    opacity: 0.9;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 25px;
}

.section-title-left {
    font-size: 24px;
    font-weight: 600;
}

.see-all-link {
    color: #a9a9d0;
    font-weight: 500;
}

.see-all-link:hover {
    color: #fff;
}


/* --- Form Page Styles --- */
.form-page-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    min-height: 100vh;
}

.form-box {
    width: 100%;
    max-width: 450px;
}

.form-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #a9a9d0;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 15px 20px;
    background-color: #2e275d;
    border: 1px solid #4a4a70;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.input-group input::placeholder {
    color: #a9a9d0;
}

.form-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border-radius: 10px;
    margin-top: 10px;
}

.form-footer-text {
    text-align: center;
    margin-top: 20px;
    color: #a9a9d0;
}

.form-footer-text a {
    color: #e83e8c;
    font-weight: 600;
}

.form-errors {
    background-color: #ff4d4d;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.form-errors p {
    margin: 0;
}


/* --- Hero Section & Promo Banner --- */
.hero-section {
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.hero-card {
    background-color: #272953;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid #4a4a70;
}

.hero-card-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.hero-card-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-card-content p {
    font-size: 16px;
    color: #a9a9d0;
    margin-bottom: 10px;
    line-height: 1.5;
}

.hero-card .register-btn {
    padding: 12px 40px;
    font-size: 16px;
}

.promo-banner {
    margin-top: 10px;
    padding: 80px 40px;
    background-color: #2e275d;
    background-image: url('../images/bg.webp');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    text-align: center;
}

.promo-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.promo-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #a9a9d0;
}

.promo-btn {
    font-size: 18px;
    padding: 15px 50px;
    border-radius: 30px;
}


/* --- Navigation Menus (Games Nav, Icon Menu, Sticky Nav) --- */
.games-nav {
    margin-top: 5px;
    border-bottom: 1px solid #4a4a70;
}

.games-nav ul {
    list-style-type: none;
    display: flex;
    gap: 30px;
}

.games-nav a {
    display: inline-block;
    padding: 15px 5px;
    color: #a9a9d0;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 3px solid transparent;
    transition: color 0.3s ease;
}

.games-nav a:hover {
    color: #ffffff;
}

.games-nav a.active {
    color: #e83e8c;
    border-bottom-color: #e83e8c;
}

.icon-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    margin-top: 50px;
    border-bottom: 1px solid #4a4a70;
}

.icon-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    color: #a9a9d0;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.icon-menu-item:hover,
.icon-menu-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-menu-item svg {
    height: 18px;
    width: 18px;
    fill: currentColor;
}

.sticky-games-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 15px 0;
    overflow-x: auto;
    position: sticky;
    top: 0;
    background-color: #1a1a2e;
    z-index: 50;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sticky-games-nav::-webkit-scrollbar {
    display: none;
}

.sticky-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    color: #a9a9d0;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.sticky-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.sticky-nav-item.active {
    background-color: #e8c93e;
    color: #1a1a2e;
    font-weight: 600;
    border-color: #e8c93e;
}


/* --- Game Grids & Cards --- */
.games-grid-section,
.top-games-section {
    padding: 20px 0;
}

.games-grid,
.top-games-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(6, 1fr) !important;
}

.game-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.game-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 1px solid #4a4a70;
    border-radius: 10px;
}

.new-game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 2 / 3;
    transition: transform 0.3s ease;
}

.new-game-card:hover {
    transform: scale(1.05);
}

.new-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #e83e8c;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}


/* --- "Why NLC" Section --- */
.why-nlc-section {
    padding: 60px 0;
    text-align: center;
}

.why-nlc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-nlc-item {
    background-color: #1a1a2e;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-nlc-item .why-nlc-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 25px;
}

.why-nlc-item h3 {
    color: #e83e8c;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.why-nlc-item p {
    color: #a9a9d0;
    font-size: 15px;
    line-height: 1.6;
}


/* --- Dashboard Specific Styles --- */
.dashboard-header {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.user-details {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.balance-box {
    background-color: #272953;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.balance-box span {
    font-size: 14px;
    color: #a9a9d0;
    display: block;
    margin-bottom: 5px;
}

.balance-box strong {
    font-size: 22px;
    font-weight: 600;
}

.promo-banners {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.banner-card {
    background-color: #272953;
    border-radius: 10px;
    padding: 20px;
    min-height: 120px;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://via.placeholder.com/500x150.png/E83E8C/FFFFFF?text=Daily+Bonus+Banner');
}

.banner-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://via.placeholder.com/500x150.png/B345D2/FFFFFF?text=New+Game+Banner');
}


/* --- Home Page Slider --- */
.home-slider {
    margin: 30px 0;
    width: 100%;
}

.splide__slide {
    aspect-ratio: 16 / 7;
    border-radius: 12px;
    overflow: hidden;
    background-color: #272953;
}

.splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Responsive Media Queries --- */

/* For Tablets and smaller (992px and below) */
@media (max-width: 992px) {
    .games-grid,
    .top-games-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* For Mobile devices (768px and below) */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .dashboard-header {
        flex-direction: column;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
    }

    .user-details {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .games-grid,
    .top-games-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
    }

    .why-nlc-grid {
        grid-template-columns: 1fr;
    }

    .promo-title {
        font-size: 32px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* For smaller mobile devices (480px and below) */
@media (max-width: 480px) {
    .games-grid,
    .top-games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .sticky-nav-item,
    .icon-menu-item {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .section-title, .promo-title {
        font-size: 28px;
    }
    
    .why-nlc-section {
        padding: 40px 0;
    }
    .why-nlc-item .why-nlc-icon {
        width: 60px;
        height: 60px;
    }
    .why-nlc-item h3 {
        font-size: 18px;
    }
    .why-nlc-item p {
        font-size: 14px;
    }
}

/* --- Custom Select Dropdown Styles (to match the image) --- */

.custom-select-container {
    position: relative; /* ড্রপডাউন আইটেমগুলোর পজিশনিং এর জন্য জরুরি */
    user-select: none; /* টেক্সট সিলেক্ট হওয়া বন্ধ করে */
}

/* এই ক্লাসটিই সবচেয়ে গুরুত্বপূর্ণ। এটি ড্রপডাউনের দৃশ্যমান অংশটিকে স্টাইল করে। */
.select-selected {
    background-color: #2e275d; /* Dark purple background from the image */
    border: 1px solid #4a4a70;
    border-radius: 10px;
    padding: 15px 20px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex; /* আইকন, লেখা এবং তীর চিহ্নকে এক লাইনে আনার জন্য */
    align-items: center;
    justify-content: space-between; /* তীর চিহ্নকে ডানে পাঠানোর জন্য */
}

/* ড্রপডাউনের ভেতরের অপশনগুলোর বক্স */
.select-items {
    position: absolute;
    background-color: #2e275d;
    top: 105%; /* সিলেক্ট বক্সের ঠিক নিচে দেখানোর জন্য */
    left: 0;
    right: 0;
    z-index: 99;
    border: 1px solid #4a4a70;
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.select-hide {
    display: none;
}

/* প্রতিটি অপশনের স্টাইল */
.select-option {
    color: #fff;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.select-option:hover {
    background-color: #4a4a70; /* Hover করলে রঙ পরিবর্তন হবে */
}

.option-icon {
    height: 24px;
    width: 24px;
    margin-right: 10px;
    object-fit: contain;
}

/* তীর চিহ্নের স্টাইল */
.select-arrow {
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform 0.2s;
}

/* ড্রপডাউন খোলা অবস্থায় তীর চিহ্নকে উপরের দিকে ঘোরানোর জন্য */
.arrow-up {
    transform: rotate(-135deg);
}

/* --- Deposit Step 2 & Success Page Styles --- */

.payment-details-summary {
    display: flex;
    align-items: center;
    gap: 15px; /* আইকন এবং লেখার মধ্যে দূরত্ব */
    background-color: var(--color-bg-input); /* Using CSS variable */
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

.summary-icon {
    height: 40px;
    width: 40px;
    object-fit: contain;
    flex-shrink: 0; /* আইকন যেন ছোট না হয়ে যায় */
}

.payment-details-summary p {
    margin: 0;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.payment-details-summary strong {
    color: var(--color-text-primary);
}

.form-divider {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

/* --- Custom File Input --- */
/* This will replace the default ugly file input */
.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    background-color: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 15px 20px;
    color: var(--color-text-secondary);
    font-size: 16px;
    cursor: pointer;
    text-align: left;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

.file-input-wrapper .file-name {
    margin-left: 10px;
    font-style: italic;
    color: var(--color-text-primary);
}


/* --- Deposit Success Page Styles --- */

.success-box {
    text-align: center; /* Center aligns all content inside the box */
}

.success-title {
    color: #28a745; /* Green color for success */
    font-size: 36px;
    margin-bottom: 15px;
}

.success-message {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.summary-details {
    background-color: var(--color-bg-input); /* Darker box for the summary */
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: left; /* Keep summary text left-aligned */
}

.summary-details h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--color-text-primary);
    font-weight: 600;
}

.summary-details ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.summary-details li {
    padding: 12px 0;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
}

.summary-details li:last-child {
    border-bottom: none; /* Remove border from the last item */
}

.summary-details li strong {
    color: var(--color-text-primary);
    margin-right: 15px;
}

.back-to-dashboard-btn {
    margin-top: 30px;
    display: inline-block; /* Allows it to be centered */
}

.payment-alert {
    background-color: rgba(232, 201, 62, 0.1); /* হালকা হলুদ ব্যাকগ্রাউন্ড */
    border: 1px solid #e8c93e; /* হলুদ বর্ডার */
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    color: #e8c93e; /* হলুদ লেখা */
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.payment-alert p {
    margin: 0;
}

/* --- Dashboard Specific Styles --- */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: #272953;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #4a4a70;
}

.stat-card.pending {
    border-left-color: #e8c93e; /* Yellow border for pending items */
}

.stat-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #a9a9d0;
    font-weight: 500;
}

.stat-card p {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    color: #fff;
}

.dashboard-lists-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.dashboard-list-box {
    background-color: #1a1a2e;
    border: 1px solid #4a4a70;
    border-radius: 10px;
    padding: 25px;
}

.dashboard-list-box h2 {
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #4a4a70;
    padding-bottom: 15px;
}

.dashboard-list-box .data-table {
    margin-bottom: 20px;
}

.view-all-btn {
    display: block;
    text-align: center;
    background-color: #2e275d;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: #4a4a70;
}

/* Responsive adjustments for dashboard */
@media (max-width: 992px) {
    .dashboard-lists-grid {
        grid-template-columns: 1fr;
    }
}


/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f0f1a;
    color: #e0e0f0;
    line-height: 1.6;
}

/* --- Admin Navigation --- */
.admin-nav {
    background-color: #1b1b2f;
    border-bottom: 2px solid #2d2d44;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.admin-nav .welcome-text {
    font-size: 16px;
    font-weight: 600;
    color: #f1f1f1;
}

.admin-nav a {
    margin-left: 15px;
    color: #a9a9d0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.admin-nav a:hover {
    color: #ffffff;
}

/* --- Wrapper & Content --- */
.admin-wrapper {
    padding: 30px;
}

.content-area h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: #272953;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #4a4a70;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card.pending {
    border-left-color: #e8c93e; /* Yellow border for pending */
}

.stat-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #a9a9d0;
    font-weight: 500;
}

.stat-card p {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    color: #fff;
}

/* --- Dashboard Lists --- */
.dashboard-lists-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.dashboard-list-box {
    background-color: #1a1a2e;
    border: 1px solid #4a4a70;
    border-radius: 10px;
    padding: 25px;
}

.dashboard-list-box h2 {
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #4a4a70;
    padding-bottom: 15px;
    font-size: 18px;
    color: #fff;
}

/* --- Table Styles --- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.data-table th,
.data-table td {
    border-bottom: 1px solid #2e2e50;
    padding: 10px;
    text-align: left;
    font-size: 14px;
}

.data-table th {
    background-color: #272953;
    color: #a9a9d0;
    font-weight: 600;
}

.data-table tr:hover td {
    background-color: #232347;
}

/* --- View All Button --- */
.view-all-btn {
    display: block;
    text-align: center;
    background-color: #2e275d;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: #4a4a70;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .admin-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-nav a {
        margin: 5px 10px 0 0;
        display: inline-block;
    }
}

@media (max-width: 992px) {
    .dashboard-lists-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-card p {
        font-size: 24px;
    }
}

/* For Mobile devices (768px and below) */

@media (max-width: 768px) {

    /*

     * .main-header .container এবং .hero-section এর কোড এখান থেকে মুছে ফেলা হয়েছে।

     */



    .user-details {

        flex-direction: row;

        justify-content: space-between;

        align-items: center;

        width: 100%;

    }



    .games-grid, .top-games-grid {

        grid-template-columns: repeat(5, 1fr);

        gap: 10px;

    }

 
    /* --- বাকি কোডগুলো আগের মতোই থাকবে... --- *
}/* --- Forcing 6 columns on all devices --- */
.games-grid, .top-games-grid {
    grid-template-columns: repeat(5, 1fr) !important;
}

/* --- Header এবং Hero Section কে সব ডিভাইসে ডেস্কটপের মতো দেখানোর জন্য কোড --- */

/* মোবাইল ডিভাইসের জন্য (768px এর কম প্রস্থে) */
@media (max-width: 768px) {
  
  /* ১. লোগো, লগইন এবং রেজিস্টার বাটন একই লাইনে রাখার জন্য */
  .main-header .container {
    flex-direction: row !important;
  }
}
  
  /* --- Hero Section Final Responsive Code: Side-by-Side & Smaller on Mobile --- */
@media (max-width: 768px) {

  /* --- ধাপ ১: কন্টেইনারকে পাশাপাশি ২টি কলামে রাখা --- */
  .hero-section {
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important; /* মোবাইলের জন্য গ্যাপ কমানো হলো */
  }

  /* --- ধাপ ২: কার্ডের ভেতরের কন্টেন্ট ছোট করা --- */
  .hero-card {
    padding: 15px;
  }

  .hero-card-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .hero-card-content p {
    font-size: 12px;
    margin-bottom: 15px;
  }
  
  .hero-card .register-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

}