:root {
    --primary: #1a2a6c;
    --secondary: #0F52BA;
    --accent: #1a2a6c;
    --dark: #0a1f3c;
    --light: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #1a2a6c 0%, #0F52BA 50%, #1a2a6c 100%);
    
    .navbar-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 4px;
        object-fit: contain;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }

    .navbar-nav .nav-link span {
        font-size: 0.8rem;
        display: block;
        text-align: center;
    }

    /* Main Navigation Bar */
.main-navbar {
    background: linear-gradient(135deg, #1a2a6c 0%, #0F52BA 50%, #1a2a6c 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: 70px;
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.navbar-nav::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.nav-item {
    white-space: nowrap;
    margin: 0 0.25rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 70px;
    text-align: center;
    text-decoration: none;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    position: relative;
    overflow: hidden;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--casino-accent);

}

.navbar-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    object-fit: contain;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

/* Navbar Buttons */
.navbar .btn-outline-light {
    border: 2px solid var(--secondary);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(26, 42, 108, 0.7);
}

.navbar .btn-outline-light:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.navbar .btn-primary {
    background: var(--gradient-primary);
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.navbar .btn-primary:hover {
    background: linear-gradient(135deg, #0F52BA 0%, #1a2a6c 50%, #0F52BA 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Wallet Balance */
.wallet-balance .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.35rem 1rem;
    color: white;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wallet-balance .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Mobile Bottom Navigation */
.casino-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a2a6c 0%, #0F52BA 50%, #1a2a6c 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 8px 0;
}

.casino-bottom-nav .nav-link {
    color: white;
    text-align: center;
    padding: 5px 0;
    font-size: 0.75rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.casino-bottom-nav .nav-link i {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.casino-bottom-nav .nav-link.active {
    color: #4e73df;
}

.casino-bottom-nav .nav-link:hover {
    color: #fff;
}

/* Hide bottom nav on desktop */
@media (min-width: 768px) {
    .casino-bottom-nav {
        display: none !important;
    }
}



/* Navigation Icons */
/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: linear-gradient(135deg, #1a2a6c 0%, #0F52BA 100%);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .nav-item {
        flex: 0 0 auto;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* Active state for nav items */
.nav-link.active {
    position: relative;
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: white;
    border-radius: 50%;
}



/* Primary Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #0F52BA 0%, #1a2a6c 50%, #0F52BA 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Form Submit Buttons */
button[type="submit"],
input[type="submit"] {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

button[type="submit"]:hover,
input[type="submit"]:hover {
    background: linear-gradient(135deg, #0F52BA 0%, #1a2a6c 50%, #0F52BA 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Modal Buttons */
.modal .btn-primary {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
}

/* Casino Theme Colors */
--casino-primary: #1a2a6c;      /* Matching primary color */
--casino-secondary: #0F52BA;    /* Matching secondary color */
--casino-accent: #2DD29E;       /* Vibrant teal/mint */
--casino-dark: #0a1f3c;         /* Darker blue */
    --casino-light: #E8F5F0;        /* Light mint */
    --casino-text: #ffffff;         /* White text */
    --casino-text-secondary: #C5E5D9; /* Light green text */
    --casino-success: #10b981;      /* Green */
    --casino-warning: #f59e0b;      /* Amber */
    --casino-danger: #ef4444;       /* Red */
    --casino-gradient: linear-gradient(135deg, #44446F 0%, #333355 100%);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    color: #333;
}

/* Casino Theme Body Styles */
.casino-theme {
    padding-top: 70px; /* Height of the navbar */
    overflow-x: hidden;
    background-color: #111111;
    color: var(--casino-text);
}

.casino-theme .container {
    background-color: transparent;
}

/* Main Navbar Styles */
.main-navbar {
    background: linear-gradient(135deg, #1a2a6c 0%, #0F52BA 50%, #1a2a6c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    height: 70px;
}

.navbar-nav .nav-link {
    padding: 0.75rem 1rem;
}


.navbar>.container {
    background-color: #173581;
}

/* Mobile-friendly footer styles */
@media (max-width: 767.98px) {
    .footer-col {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    .footer-col .social-links {
        justify-content: center;
    }
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.navbar-custom {
    background-color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Main Navbar */
.main-navbar {
    background-color: #0F52BA; /* Royal blue color from the image */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
}

/* Wallet Balance in Navigation */
.wallet-balance {
    display: flex;
    align-items: center;
}

.wallet-balance .badge {
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Mobile Wallet Badges */
.wallet-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2px;
}

.wallet-badge {
    font-size: 0.7rem;
    margin-top: 2px;
}

.main-navbar {
    top: 0;
    width: 100%;
    z-index: 1030;
    height: 70px;
}

.navbar>.container, 
.navbar>.container-fluid, 
.navbar>.container-lg, 
.navbar>.container-md, 
.navbar>.container-sm, 
.navbar>.container-xl, 
.navbar>.container-xxl {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    background-color: #0F52BA;
}

.main-navbar .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
}

.content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 70px; /* Height of the bottom nav + some extra space */
    background-color: #44446F;
}

.btn-custom-primary {
    background-color: var(--secondary);
    border: none;
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

/* Casino Theme Buttons */
.btn-casino-primary {
    background-color: var(--casino-secondary);
    border-color: var(--casino-secondary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-casino-primary:hover {
    background-color: #c41a1f;
    border-color: #c41a1f;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-casino-outline {
    color: var(--casino-primary);
    border-color: var(--casino-primary);
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-casino-outline:hover {
    background-color: var(--casino-accent);
    border-color: var(--casino-accent);
    color: var(--casino-primary);
}

/* Login and Signup Buttons */
.btn-primary {
    background-color: var(--casino-accent);
    border-color: var(--casino-accent);
    color: #333355;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #25b589;
    border-color: #25b589;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    color: var(--casino-accent);
    border-color: var(--casino-accent);
    background-color: transparent;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: var(--casino-accent);
    border-color: var(--casino-accent);
    color: #333355;
}

/* Login Modal Styles */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Specific selector for modal headers to ensure consistent theming */
#loginModal .modal-header,
#welcomePopupModal .modal-header,
#signupModal .modal-header {
    background: #173581 !important; /* Match navbar color */
    color: white !important;
    border-bottom: 2px solid #0F52BA;
    padding: 15px 20px;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: white !important;
}

.modal-body {
    padding: 20px;
    background-color: white;
}

.input-group-text {
    background-color: var(--casino-primary);
    color: white;
    border-color: var(--casino-primary);
}

.toggle-password {
    cursor: pointer;
    background-color: #f8f9fa;
    border-color: #ced4da;
}

.toggle-password:hover {
    background-color: #e9ecef;
}

.form-check-input:checked {
    background-color: var(--casino-accent);
    border-color: var(--casino-accent);
}

.login-form a {
    color: var(--casino-primary);
    transition: all 0.2s ease;
}

.login-form a:hover {
    color: var(--casino-accent);
    text-decoration: underline !important;
}

.btn-custom-primary:hover {
    background-color: #c99200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 168, 3, 0.3);
}

.slider-section {
    margin-bottom: 20px;
}

/* Category Tabs */
.category-tabs {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.category-tab {
    display: block;
    color: #333;
    font-weight: 500;
    padding: 12px 5px;
    text-align: center;
    text-decoration: none;
    border-right: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.category-tab:last-child {
    border-right: none;
}

.category-tab.active {
    background-color: var(--casino-primary);
    color: white;
}

.category-tab:hover:not(.active) {
    background-color: #f8f9fa;
    color: var(--casino-primary);
}

.game-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

/* Casino Theme Cards */
.casino-card {
    background-color: white;
    border: 1px solid #C5E5D9;
    box-shadow: 0 4px 12px rgba(7, 42, 32, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.casino-card-header {
    background-color: rgba(11, 61, 46, 0.05);
    border-bottom: 1px solid #C5E5D9;
    color: var(--casino-primary);
    padding: 15px;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.game-image {
    height: 150px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-content {
    padding: 15px;
}

.game-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title {
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Casino Theme Bottom Nav */
.casino-bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1030;
    background: var(--casino-gradient);
    border-top: 1px solid var(--casino-accent);
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.casino-bottom-nav .nav-link {
    color: var(--casino-text);
    text-align: center;
    padding: 8px 0;
    transition: all 0.2s ease;
}

.casino-bottom-nav .nav-link i {
    color: var(--casino-accent);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

/* Bottom navigation icon colors */
/* Home icon */
.casino-bottom-nav .nav-link[href="/"] i,
.casino-bottom-nav .nav-link[href*="/"] i {
    color: #2DD29E; /* Teal */
}

/* Profile icon */
.casino-bottom-nav .nav-link[href*="profile"] i {
    color: #FFC107; /* Amber */
}

/* Wallet icon */
.casino-bottom-nav .nav-link[href*="deposit"] i {
    color: #4CAF50; /* Green */
}

/* Login icon */
.casino-bottom-nav .nav-link[href*="login"] i {
    color: #2196F3; /* Blue */
}

/* Sign Up icon */
.casino-bottom-nav .nav-link[href*="register"] i {
    color: #E91E63; /* Pink */
}

.casino-bottom-nav .nav-link.active {
    color: var(--casino-accent);
}

.casino-bottom-nav .nav-link.active i {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(45, 210, 158, 0.5);
}

.casino-bottom-nav .nav-link:hover i {
    transform: translateY(-2px);
}

.bottom-nav .nav-link {
    text-align: center;
    padding: 12px 0;
    color: var(--dark);
    font-size: 0.8rem;
}

.bottom-nav .nav-link i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.bottom-nav .nav-link.active {
    color: var(--primary);
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 20px 0;
    margin-top: 30px;
}

/* Casino Theme Footer */
.casino-footer {
    background: var(--casino-gradient);
    color: var(--casino-text);
    border-top: 1px solid var(--casino-accent);
    padding: 15px 0;
}

/* Welcome Page Specific Styles */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.d-block.d-md-none.mb-4 .bg-dark {
    background: linear-gradient(135deg, #1a0d4d 0%, #1e90ff 50%, #1a0d4d 100%) !important;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.providers-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}
.providers-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.provider-item {
    flex: 0 0 auto;
    width: 120px;
    margin-right: 15px;
}
.provider-item:last-child {
    margin-right: 0;
}

.category-tab {
    transition: all 0.3s ease;
}
.category-tab:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Game Cards */
.game-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}
.game-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.game-card:hover img {
    transform: scale(1.05);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}
.game-card:hover .game-overlay {
    opacity: 1;
}

.game-provider {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    position: absolute;
    top: 8px;
    left: 8px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Promotion Cards */
.promotion-card {
    overflow: hidden;
}
.promo-card-body {
    background-size: cover;
    background-position: center;
    min-height: 200px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}
.promo-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Promotion Backgrounds */
.welcome-bonus-bg {
    background-image: url('../images/promotions/welcomebonus.png');
}
.freespin-bg {
    background-image: url('../images/promotions/freespin.png');
}
.refer-friend-bg {
    background-image: url('../images/promotions/refer.png');
}

.provider-card {
    transition: transform 0.3s ease;
    cursor: pointer;
}
.provider-card:hover {
    transform: translateY(-5px);
}

.provider-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Promotion Badges */
.promotion-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.badge-new {
    background-color: #28a745;
    color: white;
}
.badge-weekly {
    background-color: #007bff;
    color: white;
}
.badge-limited {
    background-color: #ffc107;
    color: #212529;
}

/* Casino Theme Navbar Links */
.navbar-dark .navbar-nav .nav-link {
    color: var(--casino-text);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--casino-accent);
}

/* Profile Page Styles */
.profile-container {
    max-width: 800px;
    margin: 30px auto;
    background: #333355;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid #5a5a8a;
    color: white;
}

.profile-header {
    background: var(--casino-gradient);
    color: var(--casino-accent);
    padding: 20px;
    border-bottom: 2px solid var(--casino-accent);
    text-align: center;
}

.user-info {
    padding: 20px;
    border-bottom: 1px solid #5a5a8a;
    color: white;
}

.user-info h2 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--casino-accent);
    border-left: 3px solid var(--casino-accent);
    padding-left: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.user-info p strong {
    color: #a9a9d9;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px 20px;
    background-color: rgba(68, 68, 111, 0.5);
    border-bottom: 1px solid #5a5a8a;
}

.action-buttons .btn {
    text-align: center;
    padding: 12px;
    border: 1px solid var(--casino-accent);
    border-radius: 4px;
    background: #3a3a60;
    color: var(--casino-accent);
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.action-buttons .btn:hover {
    background: var(--casino-accent);
    color: #333355;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-color: var(--casino-accent);
}

.profile-footer {
    padding: 15px 20px;
    background: var(--casino-gradient);
    text-align: center;
    color: var(--casino-text);
    border-top: 1px solid var(--casino-accent);
}

/* Featured Games Section */
.featured-games {
    background-color: #f8f9fa;
}

.section-title {
    color: #333;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #ffc107;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.game-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.game-thumbnail {
    position: relative;
    padding-top: 133%; /* 3:4 aspect ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 10px;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.game-info {
    padding: 0.75rem;
}

.game-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer Styles */
.footer-section {
    background-color: #1a1a1a;
    padding: 40px 0 0;
}

.footer-heading {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-text {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-link {
    color: #ddd;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ffc107;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffc107;
    color: #000 !important;
    transform: translateY(-3px);
}

.payment-img {
    max-height: 30px;
    margin: 0 5px 10px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.payment-img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-bottom {
    color: #777;
    font-size: 0.85rem;
    border-top: 1px solid #333 !important;
}

/* Desktop specific styles */
@media (min-width: 992px) {
    .bottom-nav {
        display: none;
    }
    
    .game-card {
        margin-bottom: 30px;
    }
    
    .game-image {
        height: 180px;
    }
}

/* Mobile specific styles */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px; /* Space for bottom nav */
    }
    
    .desktop-only {
        display: none;
    }
}

/* About Us Section */
.about-section .card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.about-section .card-body {
    padding: 0 !important;
    color: #ddd !important;
}

.about-section h2,
.about-section h3,
.about-section h4,
.about-section h5,
.about-section p,
.about-section li {
    color: #ddd !important;
}

/* Preserve other text colors */
.about-section a,
.about-section .btn,
.about-section .text-success,
.about-section .text-primary,
.about-section .text-info {
    color: inherit !important;
}

/* Footer Menu Styling */
.quick-links a,
.legal-menu a {
    text-decoration: none;
    color: #ffffff !important;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.quick-links a:hover,
.legal-menu a:hover {
    color: #173581 !important;
    text-decoration: none;
}

.quick-links a::after,
.legal-menu a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #173581;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-links a:hover::after,
.legal-menu a:hover::after {
    transform: scaleX(1);
}
