/* 77BD Casino Website Styles */
/* Mobile First Approach */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #3BA07D;
}

/* Color Variables */
:root {
    --primary-color: #288D6A;
    --secondary-color: #55D2A7;
    --accent-color: rgb(241, 196, 15);
    --bg-color: #3BA07D;
    --text-dark: #fff;
    --text-light: #fff;
    --bg-light: #3BA07D;
    --border-color: #ddd;
}

.btn-text {
    color: #fff;
    padding: 5px 10px !important;
    border-radius: 25px !important;
}

/* Header Styles */
.header {
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    height: 50px;
    width: auto;
}

.logo img {
    height: 100%;
    width: auto;
}

/* Navigation */
.nav {
    display: none;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav a:hover, .nav a.active, .mobile-menu a:hover, .mobile-menu a.active {
    color: rgb(241, 196, 15);
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Game Card Icon Styles */
.game-card i {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #fff;
    color: #288D6A;
}

.btn-primary:hover {
    background-color: rgb(241, 196, 15);
    color: #288D6A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #288D6A;
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    border-top: 1px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 20px;
    text-align: center;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a:hover {
    color: rgb(241, 196, 15);
}

@media (max-width: 480px) {
    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px;
    } 
    
    .game-grid {
        grid-template-columns: 1fr !important;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-buttons .btn {
        width: 100%;
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: #3BA07D;
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Swiper Styles */
.swiper-container {
    width: 100%;
    height: 300px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}


/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(40, 141, 106, 0.8) !important;
    color: white !important;
    border: 1px solid #55D2A7 !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    transition: background-color 0.3s ease !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgb(241, 196, 15) !important;
    border-color: rgb(241, 196, 15) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: 900 !important;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background-color: rgba(255,255,255,0.5) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background-color: rgb(241, 196, 15) !important;
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
    padding: 40px 0;
    background: #3BA07D;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.content-section h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-section p {
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.game-card {
    background: #288D6A;
    border: 1px solid #55D2A7;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: rgb(241, 196, 15);
}

.game-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.game-card h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.game-card p {
    color: #fff;
    margin-bottom: 15px;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #288D6A;
    border: 1px solid #55D2A7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #55D2A7;
    color: #fff;
}

th {
    background-color: #3BA07D;
    color: #fff;
    font-weight: 600;
}

tr:hover {
    background-color: rgba(91, 210, 167, 0.2);
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: #288D6A;
    border: 1px solid #55D2A7;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #fff;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #55D2A7;
    border-radius: 5px;
    font-size: 16px;
    background: #3BA07D;
    color: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgb(241, 196, 15);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-content p {
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgb(241, 196, 15);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

/* Accent Link Styles */
.accent-link {
    color: rgb(241, 196, 15);
    text-decoration: none;
}

.accent-link:hover {
    color: rgb(255, 215, 50);
    text-decoration: underline;
}

/* Primary Link Styles */
.primary-link {
    color: rgb(241, 196, 15);
    text-decoration: none;
}

.primary-link:hover {
    color: rgb(241, 196, 15);
    text-decoration: underline;
}

/* Icon Styles */
.icon-large-accent {
    font-size: 3rem;
    color: rgb(241, 196, 15);
    margin-bottom: 20px;
}

.icon-large-primary {
    font-size: 3rem;
    color: rgb(241, 196, 15);
    margin-bottom: 20px;
}

/* Slide Background Classes */
.slide-bg-vip {
    background-image: url('slider/77bd-vip-membership-benefits-banner.webp');
}

.slide-bg-app {
    background-image: url('slider/77bd-app-download-task-bonus.webp');
}

.slide-bg-agent {
    background-image: url('slider/77bd-agent-program-high-commission.webp');
}

.slide-bg-referral {
    background-image: url('slider/77bd-invite-friends-referral-rewards.webp');
}

.slide-bg-bonus {
    background-image: url('slider/77bd-monthly-bonus-promotion.webp');
}

/* Form Field Styles */
.form-checkbox {
    margin-right: 10px;
}

.form-button-full {
    width: 100%;
    margin-bottom: 15px;
}

/* Star Rating Style */
.icon-star {
    font-size: 2rem;
    color: #f1c40f;
    margin-bottom: 10px;
}

/* List with margin and padding */
.list-spaced {
    margin: 20px 0;
    padding-left: 20px;
}

/* Button Icon Styles */
.btn i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Heading Icon Styles */
h4 i {
    margin-right: 10px;
    color: inherit;
}

@media (min-width:1365px) {
    .nav {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
        
    .btn-text {
        display: none;
    }

    .header-buttons {
        gap: 10px;
    }

    .logo {
        height: 35px;
    }
}

/* Responsive Design */
@media (min-width: 768px) {


    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
}

@media (max-width: 480px) {
    .swiper-container {
        height: 125px !important;
    }

    .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .header-container {
        padding: 0 40px;
    }
    
    .main-content {
        padding: 0 40px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .content-section {
        padding: 60px 40px;
    }
    
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Button Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Focus States for Accessibility */
.btn:focus,
input:focus,
select:focus {
    outline: 2px solid rgb(241, 196, 15);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}
