body {
    background-color: #f8f9fa !important;
    font-family: 'Roboto', sans-serif;
}

/* Màu sắc chủ đạo */
:root {
    --primary-color: rgb(22, 160, 133);
    --secondary-color: rgb(250, 153, 118);
    --danger-color: rgb(241, 89, 92);
    --neutral-color: rgb(124, 134, 149);
    --light-color: #F0F1F7;
    --dark-color: #2c3e50;
}

.text-success {
    color: var(--primary-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

.text-warning {
    color: var(--secondary-color) !important;
}

.text-nau {
    color: var(--neutral-color) !important;
}

/* Header & Navigation */
.site-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white !important;
}

/* Game Cards */
.cards {
    border: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px !important;
    overflow: hidden;
}

.cards:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(22, 160, 133, 0.3);
}

.game-card {
    cursor: pointer;
    overflow: hidden;
}

.game-card .overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 160, 133, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.game-card:hover .overlay-hover {
    opacity: 1;
}

/* Button Styles */
.btn-success {
    background-color: var(--primary-color) !important;
    border: none !important;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: rgba(22, 160, 133, 0.85) !important;
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.4);
    transform: translateY(-2px);
}

hr {
    border-color: rgba(22, 160, 133, 0.3) !important;
    margin: 30px 0;
}

/* Thiết lập bo góc cho bảng */
.table-responsive {
    border: 1px solid rgba(22, 160, 133, 0.2) !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

/* General table styles */
.table {
    border-collapse: collapse;
    width: 100%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    border: none;
}

.table th,
.table td {
    text-align: center;
    padding: 15px;
    border: 1px solid rgba(22, 160, 133, 0.1) !important;
    vertical-align: middle;
    font-size: 0.95rem;
}

/* Header styles */
.table thead th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color) 70%, rgba(22, 160, 133, 0.8)) !important;
    color: white;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-bottom: none !important;
    padding: 15px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Zebra striping for rows */
.table tbody tr:nth-child(odd) {
    background-color: rgba(240, 241, 247, 0.5);
}

.table tbody tr:hover {
    background-color: #ddd;
    cursor: pointer;
}

/* Responsive tables */
@media screen and (max-width: 600px) {
    .table thead {
        display: none;
    }

    .table,
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }

    .table tr {
        margin-bottom: 15px;
    }

    .table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }
}

/* Adjustments for your specific table layout */
#price-table-[id] {
    margin-top: 20px;
}

/* Section Styling */
.section-title {
    position: relative;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Form Styling */
#topup-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#topup-section.visible {
    animation: fadeIn 0.5s ease-in-out;
}

.form-control,
.form-select {
    border: 1px solid rgba(124, 134, 149, 0.2);
    padding: 12px;
    border-radius: 5px;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 160, 133, 0.2);
}

.form-label {
    font-weight: 500;
    color: var(--neutral-color);
    margin-bottom: 8px;
}

/* Main Content Styling */
.main-content {
    padding: 30px 0;
}

.card {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Banner Styling */
.banner-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.banner-image img {
    width: 100%;
    height: auto;
}

/* Marquee Styling */
.announcement {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.marquee-text {
    color: var(--danger-color);
    font-weight: 500;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Game Items Section */
.item-card {
    transition: all 0.3s ease;
    border-radius: 15px !important;
    overflow: hidden;
}

.item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.item-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-primary-soft {
    background-color: rgba(67, 133, 244, 0.1);
}

.bg-danger-soft {
    background-color: rgba(241, 89, 92, 0.1);
}

.bg-warning-soft {
    background-color: rgba(250, 153, 118, 0.1);
}

.bg-success-soft {
    background-color: rgba(22, 160, 133, 0.1);
}

.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
}

.btn-outline-primary {
    color: #4385F4;
    border-color: #4385F4;
}

.btn-outline-primary:hover {
    background-color: #4385F4;
    color: white;
}

.btn-outline-danger {
    color: rgb(241, 89, 92);
    border-color: rgb(241, 89, 92);
}

.btn-outline-danger:hover {
    background-color: rgb(241, 89, 92);
    color: white;
}

.btn-outline-warning {
    color: rgb(250, 153, 118);
    border-color: rgb(250, 153, 118);
}

.btn-outline-warning:hover {
    background-color: rgb(250, 153, 118);
    color: white;
}

/* Custom Table */
.custom-table {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.custom-table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(22, 160, 133, 0.8) 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: none !important;
    padding: 15px;
}

.custom-table td {
    padding: 15px;
    vertical-align: middle;
    border-color: rgba(22, 160, 133, 0.1) !important;
}

.custom-table tr:hover {
    background-color: rgba(22, 160, 133, 0.05);
}

.progress {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin-bottom: 5px;
}

.progress-bar {
    border-radius: 10px;
}

/* Price buttons */
.price-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.price-btn {
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Footer Section */
.footer {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links li a:hover {
    color: white;
    text-decoration: none;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

#price-table-[id] .table-responsive {
    overflow-x: auto;
}

/* Article Section Styling */
.article-section {
    padding: 10px;
    transition: all 0.3s ease;
}

.article-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    position: relative;
}

.article-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
}

.article-image:hover img {
    transform: scale(1.05);
}

.article-content {
    color: #555;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.btn-primary {
    background-color: #4385F4;
    border-color: #4385F4;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3b77db;
    border-color: #3b77db;
    box-shadow: 0 5px 15px rgba(67, 133, 244, 0.3);
    transform: translateY(-2px);
}