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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(0deg,rgba(46, 44, 47, 1) 0%, rgba(25, 23, 26, 1) 70%, rgba(89, 42, 24, 1) 100%) !important;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
html, body{
    height: auto !important;
}
/* Header Styles */
.header {
    background: linear-gradient(0deg,rgba(5, 3, 2, 1) 20%, rgba(20, 15, 12, 1) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 200px;
    height: 60px;
}

.logo-image {
    width: 100%;
    height: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-text {
    font-weight: bold;
    font-size: 1.2rem;
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.auth-buttons {
    display: flex;
    gap: 0.8rem;
}

.auth-btn {
    width: max-content;
    background: linear-gradient(0deg,rgba(220, 61, 5, 1) 20%, rgba(240, 137, 7, 1) 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 8px;
    pointer-events: none;
}

.auth-btn:hover {
    background: linear-gradient(180deg, #ff9a5a 0%, #e67e22 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.4),
        0 6px 12px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.auth-btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 -2px 4px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}




.mobile-menu-toggle {
    display: none;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
}

@media (min-width: 993px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:active {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    outline: none;
    transform: scale(1.1);
}

.mobile-menu-toggle i {
    display: block;
    transition: all 0.3s ease;
}

.mobile-menu-toggle .fa-bars {
    opacity: 1;
    font-size: 1.5rem;
}

.mobile-menu-toggle .fa-times {
    opacity: 1;
    font-size: 1.4rem;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 0rem;
    min-height: calc(100vh - 200px);
}

/* Left Sidebar */
.sidebar {
    border-radius: 12px;
    padding: 0;
    height: fit-content;
    position: sticky;
    top: 100px;
    transition: transform 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sidebar.mobile-open {
    transform: translateX(0);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sidebar-header {
    background: linear-gradient(0deg,rgba(36, 34, 36, 1) 20%, rgba(50, 48, 49, 1) 100%);
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    text-align: left;
    border-bottom: 1px solid #555;
}

.sidebar-header h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    background-color: #d3d3d3;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 0.5rem;
    border-radius: 0 0 12px 12px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 0;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.sidebar-item:last-child {
    border-bottom: none;
    color: #fff;
}

.sidebar-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: none;
}

.sidebar-item i:first-child {
    font-size: 1.1rem;
    min-width: 20px;
    color: #555;
}

.sidebar-item span {
    flex: 1;
    font-size: 0.9rem;
    color: #333 ;
    text-transform: uppercase;
}

.sidebar-item i:last-child {
    font-size: 0.8rem;
    color: #999;
    margin-left: auto;
}

.popular-games-section {
    background: linear-gradient(0deg, rgba(220, 61, 5, 1) 20%, rgba(240, 137, 7, 1) 100%);
    padding: 0.4rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.popular-games-section:hover {
    background: linear-gradient(180deg, #ff9a5a 0%, #e67e22 100%);
    transform: translateY(-2px);
}

.popular-games-section i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.popular-games-section:hover i {
    transform: translateX(3px);
}

.popular-games-slider {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.popular-games-container {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease-in-out;
}

.popular-games-slide {
    position: relative;
    width: 33.333%;
    flex-shrink: 0;
    opacity: 1;
}

.popular-games-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.popular-slide-title {
    position: relative;
    color: white;
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    font-weight: normal;
    text-transform: uppercase;
    background-color: #262328;
    text-align: center;
    margin-top: -2px;
    border-radius: 0 0 12px 12px;
}

.popular-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 10px;
}

.popular-game-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.popular-game-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.popular-game-card .popular-game-title {
    position: relative;
    color: white;
    padding: 0.4rem 0.5rem;
    font-size: 0.8rem;
    font-weight: normal;
    text-transform: uppercase;
    background-color: #262328;
    text-align: center;
    margin-top: -2px;
}

.hot-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 60px;
    height: 60px;
    background-image: url('../images/home/featured-game/hot-btn.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hot-btn span {
    transform: rotate(45deg);
    display: block;
    margin-left: 20px;
    margin-bottom: 20px;
    white-space: nowrap;
    font-size: 0.6rem;
}

.sidebar-item.actived {
    background-color: rgba(255, 255, 255, 0.3);
    border-left: 3px solid #ff6b35;
}

.sidebar-item.actived i:first-child {
    color: #ff6b35;
}

.sidebar-item.actived span {
    color: #ff6b35;
    font-weight: 600;
}

/* Content Column */
.content-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.banner-container {
    position: relative;
    width: 300%;
    height: auto;
    overflow: hidden;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    position: relative;
    width: 33.333%;
    height: auto;
    flex-shrink: 0;
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}


.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 2;
    padding-right: 5rem;
}

.banner-content {
    text-align: right;
    color: white;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.banner-title {
    font-size: 4rem;
    font-weight: 900;
    margin: 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
    line-height: 1.1;
}

.banner-details {
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    opacity: 0.95;
    color: #fff;
}

.play-btn {
    background: linear-gradient(0deg,rgba(220, 61, 5, 1) 20%, rgba(240, 137, 7, 1) 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.play-btn:hover {
    background: linear-gradient(180deg, #ff9a5a 0%, #e67e22 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.play-btn:active {
    transform: translateY(0) scale(1);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dots .dot.active {
    background-color: #ff6b35;
    transform: scale(1.2);
}

.banner-dots .dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.banner-prev:hover,
.banner-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Secondary Banner Slider */
.secondary-banner-slider {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.secondary-banner-container {
    position: relative;
    width: 300%;
    height: auto;
    overflow: hidden;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.secondary-banner-slide {
    position: relative;
    width: 33.333%;
    height: auto;
    flex-shrink: 0;
    opacity: 1;
}

.secondary-banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.secondary-banner-slide {
    position: relative;
}

.promotion-overlay {
    position: absolute;
    top: 0;
    left: 4rem;
    width: calc(100% - 4rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

/* Secondary Banner Slider Overlay */
.secondary-promotion-overlay {
    position: absolute;
    top: 0;
    left: 4rem;
    width: calc(100% - 4rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Promotion Page Cards Overlay */
.promotion-card-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    padding: 1rem;
}

.promotion-content {
    text-align: center;
    color: white;
    max-width: 80%;
    position: relative;
}

.promotion-title {
    font-size: 3rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.promotion-details {
    font-size: 1.2rem;
    margin: 0 0 2rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    opacity: 0.95;
}

.claim-btn {
    position: absolute;
    bottom: 10px;
    right: 20px;
    background: linear-gradient(0deg,rgba(209, 7, 108, 1) 20%, rgba(235, 26, 112, 1) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.claim-btn:hover {
    background: linear-gradient(0deg, rgba(200, 50, 0, 1) 20%, rgba(220, 120, 0, 1) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.claim-btn:active {
    transform: translateY(0) scale(1);
}


/* Popular Casino Section */
.popular-casino {
    width: 100%;
    height: auto;
    background-color: #404247;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0rem;
    box-sizing: border-box;
}

.popular-casino h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
    font-weight: bold;
    position: relative;
}

.popular-casino h2::after {
    content: '';
    position: absolute;
    bottom: -0.1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #4f5156;
}

.popular-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-small-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.popular-small-card,
.popular-large-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.popular-small-card {
    width: 100%;
    height: auto;
}

.popular-large-card {
    width: 100%;
    height: auto;
}

.popular-small-card img,
.popular-large-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.popular-overlay {
    display: none;
}

.popular-card-title {
    position: absolute;
    top: 0rem;
    left: 0rem;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.popular-large-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.evolution-text {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.casino-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
}

.popular-small-card:hover,
.popular-large-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.popular-small-card:hover img,
.popular-large-card:hover img {
    transform: scale(1.05);
}


/* Sports Games Section */
.sports-games-section {
    width: 100%;
    height: auto;
    background-color: #404247;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0rem;
    box-sizing: border-box;
}

.sports-games-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
    font-weight: bold;
    position: relative;
}

.sports-games-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #4f5156;
}

.sports-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.sports-game-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
}

.sports-game-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.sports-game-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #ffffff;
    padding: 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sports-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

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

.sports-play-btn {
    position: relative;
    width: 100%;
    background: linear-gradient(0deg,rgba(237, 147, 31, 1) 20%, rgba(232, 178, 81, 1) 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(208, 133, 27, 0.3);
    z-index: 10;
    margin-top: 0.5rem;
}

.sports-play-btn:hover {
    background: linear-gradient(0deg, rgba(188, 113, 7, 1) 30%, rgba(202, 129, 10, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 133, 27, 0.4);
}

.sports-play-btn:active {
    transform: translateY(0);
}

/* Casino Games Section */
.casino-games-section {
    width: 100%;
    height: auto;
    background-color: #404247;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0rem;
    box-sizing: border-box;
}

.casino-games-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
    font-weight: bold;
    position: relative;
}

.casino-games-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #4f5156;
}

.casino-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.casino-game-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
}

.casino-game-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.casino-game-title {
    position: relative;
    background: #492c2c;
    color: #ffffff;
    padding: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.casino-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

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

.casino-play-btn {
    position: relative;
    width: 100%;
    background: linear-gradient(0deg,rgba(231, 188, 128, 1) 0%, rgba(202, 138, 67, 1) 45%, rgba(249, 239, 216, 1) 100%);
    color: black;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(208, 133, 27, 0.3);
    z-index: 10;
}

.casino-play-btn:hover {
    background: linear-gradient(0deg, rgba(188, 113, 7, 1) 30%, rgba(202, 129, 10, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 133, 27, 0.4);
}

.casino-play-btn:active {
    transform: translateY(0);
}

/* Slots Games Section */
.slots-games-section {
    width: 100%;
    height: auto;
    background-color: #404247;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0rem;
    box-sizing: border-box;
}

.slots-games-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
    font-weight: bold;
    position: relative;
}

.slots-games-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #4f5156;
}

.slots-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.slots-game-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
}

.slots-game-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.slots-game-title {
    position: relative;
    background: #e4e4e5;
    color: #ffffff;
    padding: 0rem 0rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slots-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(53, 134, 255, 0.3);
}

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

.slots-play-btn {
    position: relative;
    width: 100%;
    background: transparent;
    color: black;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none;
    z-index: 10;
    text-align: center;
}

.slots-play-btn:hover {
    background: linear-gradient(0deg, rgb(171, 192, 230) 30%, rgb(176, 180, 209) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 133, 27, 0.4);
}

.slots-play-btn:active {
    transform: translateY(0);
}

/* Poker Games Section */
.poker-games-section {
    width: 100%;
    height: auto;
    background-color: #404247;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0rem;
    box-sizing: border-box;
}

.poker-games-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
    font-weight: bold;
    position: relative;
}

.poker-games-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #4f5156;
}

.poker-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.poker-game-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
}

.poker-game-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.poker-game-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #ffffff;
    padding: 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.poker-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

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

.poker-play-btn {
    position: relative;
    width: 100%;
    background: linear-gradient(0deg,rgba(237, 147, 31, 1) 20%, rgba(232, 178, 81, 1) 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(208, 133, 27, 0.3);
    z-index: 10;
    margin-top: 0.5rem;
}

.poker-play-btn:hover {
    background: linear-gradient(0deg, rgba(188, 113, 7, 1) 30%, rgba(202, 129, 10, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 133, 27, 0.4);
}

.poker-play-btn:active {
    transform: translateY(0);
}

/* Cockfight Games Section */
.cockfight-games-section {
    width: 100%;
    height: auto;
    background-color: #404247;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0rem;
    box-sizing: border-box;
}

.cockfight-games-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
    font-weight: bold;
    position: relative;
}

.cockfight-games-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #4f5156;
}

.cockfight-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.cockfight-game-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
}

.cockfight-game-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.cockfight-game-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #ffffff;
    padding: 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cockfight-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

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

/* Lottery Games Section */
.lottery-games-section {
    width: 100%;
    height: auto;
    background-color: #404247;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0rem;
    box-sizing: border-box;
}

.lottery-games-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
    font-weight: bold;
    position: relative;
}

.lottery-games-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #4f5156;
}

.lottery-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.lottery-game-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
}

.lottery-game-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.lottery-game-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #ffffff;
    padding: 0.5rem;
    margin-bottom: 4rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lottery-game-title span {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.lottery-game-title p {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.5px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.2;
}

.lottery-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

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

/* Number Games Section */
.number-games-section {
    width: 100%;
    height: auto;
    background-color: #404247;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0rem;
    box-sizing: border-box;
}

.number-games-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
    font-weight: bold;
    position: relative;
}

.number-games-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #4f5156;
}

.number-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.number-game-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
}

.number-game-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.number-game-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #ffffff;
    padding: 0.5rem;
    margin-bottom: 4rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.number-game-title span {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.number-game-title p {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.5px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.2;
}

.number-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

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

/* Fishing Games Section */
.fishing-games-section {
    width: 100%;
    height: auto;
    background-color: #404247;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0rem;
    box-sizing: border-box;
}

.fishing-games-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
    font-weight: bold;
    position: relative;
}

.fishing-games-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #4f5156;
}

.fishing-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.fishing-game-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
}

.fishing-game-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.fishing-game-title {
    background: #e4e4e5;
    padding: 0rem 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fishing-play-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: none;
}

.fishing-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(53, 134, 255, 0.3);
}

.fishing-play-btn:hover {
    background: linear-gradient(0deg, rgb(171, 192, 230) 30%, rgb(176, 180, 209) 100%);
}

/* Promotion Games Section */
.promotion-games-section {
    width: 100%;
    height: auto;
    background-color: #404247;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0rem;
    box-sizing: border-box;
}

.promotion-games-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
    font-weight: bold;
    position: relative;
}

.promotion-games-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #4f5156;
}

.promotion-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.promotion-game-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
}

.promotion-game-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.promotion-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 1rem;
    text-align: right;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.promotion-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.promotion-details {
    color: #e0e0e0;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.3;
}

.promotion-apply-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 0.6rem 2rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.promotion-apply-btn:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.promotion-game-title {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.promotion-game-title span {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.promotion-play-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.promotion-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

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

.promotion-play-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* VIP Bonus Card - Special styling for large card */
.vip-bonus-card {
    grid-column: 1 / -1;
    max-width: 100%;
    margin: 0 auto;
}

.vip-bonus-card .promotion-game-title {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
}

.vip-bonus-card .promotion-game-title span {
    font-size: 1.5rem;
    font-weight: 700;
}

.vip-bonus-card .promotion-play-btn {
    font-size: 1.2rem;
    padding: 0.8rem;
}

/* VIP Bonus Overlay */
.vip-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    opacity: 1;
}

.vip-left-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.vip-right-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vip-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.vip-details {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

.vip-apply-btn {
    background: linear-gradient(0deg,rgba(225, 116, 12, 1) 19%, rgba(223, 117, 11, 1) 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(156, 103, 3, 0.4);
}

.vip-apply-btn:hover {
    background: linear-gradient(135deg, #d4680f 0%, #c05d23 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(246, 205, 92, 0.5);
}

/* Featured Games Section */
.featured-games-section {
    width: 100%;
    height: auto;
    background-color: #d6d2cf;
    border-radius: 12px;
    padding: 0.8rem;
    margin-bottom: 0rem;
    box-sizing: border-box;
}

.featured-games-title {
    color: white;
    font-size: 1.2rem;
    text-align: left;
    font-weight: bold;
    position: relative;
    background: linear-gradient(0deg,rgba(195, 17, 96, 1) 20%, rgba(224, 63, 89, 1) 100%);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.featured-games-title i {
    margin-left: 1rem;
    font-size: 1.2rem;
}

.featured-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.featured-game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
}

.featured-game-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.featured-game-link:hover {
    text-decoration: none;
    color: inherit;
}

.featured-game-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.featured-game-title {
    position: relative;
    color: white;
    padding: 0.5rem 0.8rem;
    font-size: 1.4rem;
    font-weight: normal;
    text-transform: uppercase;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
    background-color: #262328;
    text-align: center;
}

/* Large Screens */
@media (min-width: 1200px) {
    .featured-game-title {
        font-size: 1rem;
    }
    
    .sports-game-title {
        font-size: 1.4rem;
    }
    
    .casino-game-title {
        font-size: 1.4rem;
    }
    
    .slots-game-title {
        font-size: 1.4rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .poker-game-title {
        font-size: 1.4rem;
    }
    
    .cockfight-game-title {
        font-size: 1.4rem;
    }
    
    .lottery-game-title {
        margin-bottom: 4rem;
    }
    
    .lottery-game-title span {
        font-size: 1.4rem;
    }
    
    .lottery-game-title p {
        font-size: 0.9rem;
    }
    
    .number-game-title {
        margin-bottom: 4rem;
    }
    
    .number-game-title span {
        font-size: 1.4rem;
    }
    
    .number-game-title p {
        font-size: 0.9rem;
    }
    
    .fishing-games-section {
        padding: 1.5rem;
    }
    
    .fishing-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .promotion-games-section {
        padding: 1.5rem;
    }
    
    .promotion-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .vip-bonus-card {
        max-width: 100%;
    }
    
    .promotion-card-overlay {
        width: 60%;
        padding: 0.8rem;
    }
    
    .promotion-title {
        font-size: 1rem;
    }
    
    .promotion-details {
        font-size: 0.7rem;
    }
    
    .promotion-apply-btn {
        padding: 0.5rem 2rem;
        font-size: 0.8rem;
    }
    
    .vip-overlay {
        padding: 1.5rem;
    }
    
    .vip-left-content {
        align-items: flex-start;
    }
    
    .vip-right-content {
        align-items: center;
    }
    
    .vip-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .vip-details {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .vip-apply-btn {
        padding: 0.8rem 2.5rem;
        font-size: 1rem;
        border-radius: 25px;
    }
}

/* Medium Screens */
@media (max-width: 1024px) {
    .logo {
        width: 180px;
        height: 55px;
    }
    
    .featured-game-title {
        font-size: 1.3rem;
    }
    
    .featured-games-title {
        font-size: 1.3rem;
        padding: 0.4rem 0.8rem;
    }
    
    .featured-games-title i {
        font-size: 1rem;
        margin-left: 0.8rem;
    }
    
    .hot-btn {
        width: 35px;
        height: 35px;
        font-size: 0.55rem;
    }
    
    .hot-btn span {
        margin-left: 15px;
        margin-bottom: 15px;
    }
    
    .sports-games-section {
        padding: 1.2rem;
    }
    
    .sports-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
    
    .sports-game-title {
        font-size: 1.3rem;
    }
    
    .sports-play-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }
    
    .casino-games-section {
        padding: 1.2rem;
    }
    
    .casino-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
    
    .casino-game-title {
        font-size: 1.3rem;
    }
    
    .casino-play-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }
    
    .slots-games-section {
        padding: 1.2rem;
    }
    
    .slots-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
    
    .slots-game-title {
        font-size: 1.3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .slots-play-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .poker-games-section {
        padding: 1.2rem;
    }
    
    .poker-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
    
    .poker-game-title {
        font-size: 1.3rem;
    }
    
    .poker-play-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }
    
    .cockfight-games-section {
        padding: 1.2rem;
    }
    
    .cockfight-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
    
    .cockfight-game-title {
        font-size: 1.3rem;
    }
    
    .lottery-games-section {
        padding: 1.2rem;
    }
    
    .lottery-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .lottery-game-title {
        margin-bottom: 3rem;
    }
    
    .lottery-game-card {
        border-radius: 12px;
    }
    
    .number-game-card {
        border-radius: 12px;
    }
    
    .lottery-game-title span {
        font-size: 1.3rem;
    }
    
    .lottery-game-title p {
        font-size: 0.8rem;
    }
    
    .number-games-section {
        padding: 1.2rem;
    }
    
    .number-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .number-game-title {
        margin-bottom: 3rem;
    }
    
    .number-game-title span {
        font-size: 1.3rem;
    }
    
    .number-game-title p {
        font-size: 0.8rem;
    }
    
    .fishing-games-section {
        padding: 1.2rem;
    }
    
    .fishing-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
    
    .fishing-game-title {
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .fishing-play-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }
    
    .promotion-games-section {
        padding: 1.2rem;
    }
    
    .promotion-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .vip-bonus-card {
        max-width: 100%;
    }
    
    .promotion-card-overlay {
        width: 65%;
        padding: 0.7rem;
    }
    
    .promotion-title {
        font-size: 0.9rem;
    }
    
    .promotion-details {
        font-size: 0.65rem;
    }
    
    .promotion-apply-btn {
        padding: 0.4rem 2rem;
        font-size: 0.75rem;
    }
    
    .vip-overlay {
        padding: 1.2rem;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .vip-left-content {
        align-items: flex-start;
        flex: 1;
        margin-right: 1rem;
    }
    
    .vip-right-content {
        align-items: center;
        flex-shrink: 0;
    }
    
    .vip-title {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .vip-details {
        font-size: 0.9rem;
        line-height: 1.3;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .vip-apply-btn {
        padding: 0.7rem 2rem;
        font-size: 0.9rem;
        border-radius: 25px;
        white-space: nowrap;
    }
}

/* Small Screens */
@media (max-width: 768px) {
    .logo {
        width: 160px;
        height: 50px;
    }
    
    .featured-game-title {
        font-size: 1.2rem;
    }
    
    .featured-games-title {
        font-size: 1.2rem;
        padding: 0.3rem 0.6rem;
    }
    
    .featured-games-title i {
        font-size: 0.9rem;
        margin-left: 0.6rem;
    }
    
    .hot-btn {
        width: 30px;
        height: 30px;
        font-size: 0.5rem;
    }
    
    .hot-btn span {
        margin-left: 12px;
        margin-bottom: 12px;
    }
    
    .sports-games-section {
        padding: 1rem;
    }
    
    .sports-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .sports-game-title {
        font-size: 1.2rem;
    }
    
    .sports-play-btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.8rem;
    }
    
    .casino-games-section {
        padding: 1rem;
    }
    
    .casino-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .casino-game-title {
        font-size: 1.2rem;
    }
    
    .casino-play-btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.8rem;
    }
    
    .slots-games-section {
        padding: 1rem;
    }
    
    .slots-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .slots-game-title {
        font-size: 1.2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .slots-play-btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.8rem;
        text-align: center;
    }
    
    .poker-games-section {
        padding: 1rem;
    }
    
    .poker-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .poker-game-title {
        font-size: 1.2rem;
    }
    
    .poker-play-btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.8rem;
    }
    
    .cockfight-games-section {
        padding: 1rem;
    }
    
    .cockfight-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .cockfight-game-title {
        font-size: 1.2rem;
    }
    
    .lottery-games-section {
        padding: 1rem;
    }
    
    .lottery-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .lottery-game-title {
        margin-bottom: 2.5rem;
    }
    
    .lottery-game-card {
        border-radius: 10px;
    }
    
    .number-game-card {
        border-radius: 10px;
    }
    
    .lottery-game-title span {
        font-size: 1.2rem;
    }
    
    .lottery-game-title p {
        font-size: 0.75rem;
    }
    
    .number-games-section {
        padding: 1rem;
    }
    
    .number-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .number-game-title {
        margin-bottom: 2.5rem;
    }
    
    .number-game-title span {
        font-size: 1.2rem;
    }
    
    .number-game-title p {
        font-size: 0.75rem;
    }
    
    .fishing-games-section {
        padding: 1rem;
    }
    
    .fishing-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .fishing-game-title {
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .fishing-play-btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.8rem;
    }
    
    .promotion-games-section {
        padding: 1rem;
    }
    
    .promotion-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .vip-bonus-card {
        max-width: 100%;
    }
    
    .promotion-card-overlay {
        width: 70%;
        padding: 0.6rem;
    }
    
    .promotion-title {
        font-size: 0.8rem;
    }
    
    .promotion-details {
        font-size: 0.6rem;
    }
    
    .promotion-apply-btn {
        padding: 0.3rem 2rem;
        font-size: 0.6rem;
    }
    
    .vip-overlay {
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .vip-left-content {
        align-items: flex-start;
        flex: 1;
        margin-right: 0.8rem;
    }
    
    .vip-right-content {
        align-items: center;
        flex-shrink: 0;
    }
    
    .vip-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .vip-details {
        font-size: 0.8rem;
        line-height: 1.2;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .vip-apply-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
        border-radius: 20px;
        white-space: nowrap;
    }
    .center_pro{width: 100%!important;}
    .center_pro .img_part {
        width: 100%!important;
        height: 100%!important;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .center_pro{width: 100%!important;}
    .center_pro .img_part {
        width: 100%!important;
        height: 100%!important;
    }
    .header {
        padding: 0.6rem 0;
    }
    
    .header-container {
        padding: 0.8rem 0.5rem;
    }
    
    .logo {
        width: 140px;
        height: 45px;
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 1.3rem;
    }
    
    .auth-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .content-column {
        gap: 0.5rem;
    }
    
    .inner-content-column {
        gap: 0.3rem;
    }
    
    .main-content {
        gap: 0.5rem;
    }
    
    .sidebar-section {
        display: none;
    }
    
    .featured-game-title {
        font-size: 1.1rem;
    }
    
    .featured-games-title {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
        border-radius: 6px;
    }
    
    .featured-games-title i {
        font-size: 0.8rem;
        margin-left: 0.5rem;
    }
    
    .hot-btn {
        width: 25px;
        height: 25px;
        font-size: 0.45rem;
    }
    
    .hot-btn span {
        margin-left: 10px;
        margin-bottom: 10px;
    }
    
    .sports-games-section {
        padding: 0.8rem;
    }
    
    .sports-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .sports-game-title {
        font-size: 1rem;
    }
    
    .sports-play-btn {
        padding: 0.5rem 0rem;
        font-size: 0.75rem;
    }
    
    .casino-games-section {
        padding: 0.8rem;
    }
    
    .casino-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .casino-game-title {
        font-size: 1rem;
        padding: 10px 6px;
    }
    
    .casino-play-btn {
        padding: 0.5rem 0rem;
        font-size: 0.75rem;
    }
    
    .slots-games-section {
        padding: 0.8rem;
    }
    
    .slots-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .slots-game-title {
        font-size: 0.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .slots-play-btn {
        padding: 0.5rem 0rem;
        font-size: 0.75rem;
        text-align: center;
    }
    
    .poker-games-section {
        padding: 0.8rem;
    }
    
    .poker-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .poker-game-title {
        font-size: 0.8rem;
    }
    
    .poker-play-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .cockfight-games-section {
        padding: 0.8rem;
    }
    
    .cockfight-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .cockfight-game-title {
        font-size: 0.8rem;
    }
    
    .lottery-games-section {
        padding: 0.8rem;
    }
    
    .lottery-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .lottery-game-title {
        margin-bottom: 0rem;
    }
    
    .lottery-game-card {
        border-radius: 8px;
    }
    
    .number-game-card {
        border-radius: 8px;
    }
    
    .lottery-game-title span {
        font-size: 1rem;
        margin-bottom: 0rem;
    }
    
    .lottery-game-title p {
        font-size: 0.5rem;
    }
    
    .number-games-section {
        padding: 0.8rem;
    }
    
    .number-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .number-game-title {
        margin-bottom: 0rem;
    }
    
    .number-game-title span {
        font-size: 1rem;
        margin-bottom: 0rem;
    }
    
    .number-game-title p {
        font-size: 0.5rem;
    }
    
    .fishing-games-section {
        padding: 0.8rem;
    }
    
    .fishing-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .fishing-game-title {
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .fishing-play-btn {
        padding: 0.5rem 0rem;
        font-size: 0.75rem;
    }
    
    .promotion-games-section {
        padding: 0.8rem;
    }
    
    .promotion-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .vip-bonus-card {
        max-width: 100%;
    }
    
    .promotion-card-overlay {
        width: 75%;
        padding: 0.5rem;
    }
    
    .promotion-title {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
    }
    
    .promotion-details {
        font-size: 0.55rem;
        margin-bottom: 0.3rem;
    }
    
    .promotion-apply-btn {
        padding: 0.2rem 0.5rem;
        font-size: 0.55rem;
    }
    
    .vip-overlay {
        padding: 0.5rem;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .vip-left-content {
        align-items: left;
        margin-bottom: 0rem;
        margin-right: 0;
    }
    
    .vip-right-content {
        align-items: center;
        flex-shrink: 0;
    }
    
    .vip-title {
        font-size: 1rem;
        margin-bottom: 0rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .vip-details {
        font-size: 0.7rem;
        line-height: 1.2;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .vip-apply-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.7rem;
        border-radius: 20px;
        white-space: nowrap;
    }
    
    .promotion-game-title span {
        font-size: 1rem;
    }
    
    .vip-bonus-card .promotion-game-title span {
        font-size: 1.3rem;
    }
}

/* Very Small Screens */
@media (max-width: 320px) {
    .vip-overlay {
        padding: 0.6rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .vip-left-content {
        align-items: center;
        margin-bottom: 0.8rem;
        margin-right: 0;
    }
    
    .vip-right-content {
        align-items: center;
        flex-shrink: 0;
    }
    
    .vip-title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .vip-details {
        font-size: 0.6rem;
        line-height: 1.1;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .vip-apply-btn {
        padding: 0.4rem 1rem;
        font-size: 0.6rem;
        border-radius: 15px;
        white-space: nowrap;
    }
}

/* ========================================
   AUTH MODAL COMPONENT
   ======================================== */

/* CSS Variables for Modal */
:root {
    --modal-bg: rgba(0, 0, 0, 0.8);
    --modal-content-bg: #2a2d35;
    --modal-border-radius: 12px;
    --modal-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --modal-padding: 24px;
    --modal-max-width: 420px;
    --modal-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --form-input-bg: #3f4147;
    --form-input-border: #555;
    --form-input-focus: #ff6b35;
    --form-error-color: #ff4757;
    --form-success-color: #2ed573;
    --btn-primary-bg: linear-gradient(0deg, rgba(208, 133, 27, 1) 30%, rgba(222, 149, 30, 1) 100%);
    --btn-primary-hover: linear-gradient(0deg, rgba(188, 113, 7, 1) 30%, rgba(202, 129, 10, 1) 100%);
    --password-weak: #ff4757;
    --password-medium: #ffa502;
    --password-strong: #2ed573;
}

/* Modal Base Styles */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--modal-transition);
    padding: 20px;
    box-sizing: border-box;
}


.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Backdrop */
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-bg);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: var(--modal-transition);
}

.auth-modal.active .modal-backdrop {
    opacity: 1;
}

/* Modal Container */
.modal-container {
    position: relative;
    background: var(--modal-content-bg);
    border-radius: var(--modal-border-radius);
    box-shadow: var(--modal-shadow);
    width: 100%;
    max-width: var(--modal-max-width);
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.98) translateY(20px);
    transition: var(--modal-transition);
    display: flex;
    flex-direction: column;
}

.auth-modal.active .modal-container {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--modal-padding);
    border-bottom: 1px solid #3f4147;
    flex-shrink: 0;
}

.modal-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    transition: var(--modal-transition);
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--modal-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.modal-close:focus {
    outline: 2px solid var(--form-input-focus);
    outline-offset: 2px;
}

/* Modal Content */
.modal-content {
    padding: var(--modal-padding);
    overflow-y: auto;
    flex: 1;
}

/* Form Styles */
.auth-form {
    display: none;
    animation: fadeIn 300ms ease;
}

.auth-form.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--form-input-bg);
    border: 2px solid var(--form-input-border);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: var(--modal-transition);
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--form-input-focus);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input:invalid {
    border-color: var(--form-error-color);
}

.form-group input:valid {
    border-color: var(--form-success-color);
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
    font-size: 0.9rem;
    position: relative;
}

/* .checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: var(--form-input-bg);
    border: 2px solid var(--form-input-border);
    border-radius: 4px;
    margin-right: 22px;
    position: relative;
    transition: var(--modal-transition);
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--form-input-focus);
    border-color: var(--form-input-focus);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:focus + .checkmark {
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
} */

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--modal-transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: #ffffff;
    width: 100%;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(208, 133, 27, 0.3);
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 133, 27, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:focus {
    outline: 2px solid var(--form-input-focus);
    outline-offset: 2px;
}

.btn-link {
    background: none;
    color: var(--form-input-focus);
    padding: 8px 0;
    font-size: 0.9rem;
    text-decoration: underline;
    border: none;
    cursor: pointer;
    transition: var(--modal-transition);
}

.btn-link:hover {
    color: #ffffff;
}

.btn-link:focus {
    outline: 2px solid var(--form-input-focus);
    outline-offset: 2px;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer p {
    color: #888;
    margin: 8px 0;
    font-size: 0.9rem;
}

.switch-form {
    margin-top: 16px;
}

/* Error Messages */
.error-message {
    color: var(--form-error-color);
    font-size: 0.8rem;
    margin-top: 6px;
    min-height: 16px;
    opacity: 0;
    transition: var(--modal-transition);
}

.error-message.show {
    opacity: 1;
}

/* Password Strength Meter */
.password-strength {
    margin-top: 8px;
}

.strength-meter {
    width: 100%;
    height: 4px;
    background: var(--form-input-bg);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: var(--modal-transition);
    border-radius: 2px;
}

.strength-fill.weak {
    background: var(--password-weak);
    width: 33%;
}

.strength-fill.medium {
    background: var(--password-medium);
    width: 66%;
}

.strength-fill.strong {
    background: var(--password-strong);
    width: 100%;
}

.strength-text {
    color: #888;
    font-size: 0.8rem;
}

/* Terms Link */
.terms-link {
    color: var(--form-input-focus);
    text-decoration: underline;
    transition: var(--modal-transition);
}

.terms-link:hover {
    color: #ffffff;
}

/* Mobile Styles - Bottom Sheet */
@media (max-width: 768px) {
    .auth-modal {
        align-items: flex-end;
        padding: 0;
    }
    
    .modal-container {
        max-width: 100%;
        max-height: 85vh;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
        margin: 0;
    }
    
    .auth-modal.active .modal-container {
        transform: translateY(0);
    }
    
    .modal-header {
        padding: 20px 24px 16px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-content {
        padding: 0 24px 24px;
        max-height: calc(85vh - 80px);
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group input {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn-primary {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    /* Safe area for iOS */
    @supports (padding: max(0px)) {
        .modal-container {
            padding-bottom: max(24px, env(safe-area-inset-bottom));
        }
    }
}

/* Tablet Styles */
@media (max-width: 992px) and (min-width: 769px) {
    .modal-container {
        max-width: 90%;
        margin: 20px;
    }
    
    .modal-content {
        max-height: calc(90vh - 120px);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .auth-modal,
    .modal-backdrop,
    .modal-container,
    .auth-form,
    .form-group input,
    .btn,
    .error-message,
    .strength-fill {
        transition: none;
    }
    
    .auth-modal.active .modal-container {
        transform: none;
    }
    
    .auth-form {
        animation: none;
    }
    
    @keyframes fadeIn {
        from, to {
            opacity: 1;
            transform: none;
        }
    }
}

/* Focus Management */
.auth-modal:not(.active) {
    pointer-events: none;
}

.auth-modal.active {
    pointer-events: auto;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .modal-container {
        border: 2px solid #ffffff;
    }
    
    .form-group input {
        border-width: 2px;
    }
    
    .btn-primary {
        border: 2px solid #ffffff;
    }
}

/* Tiny Screens */
@media (max-width: 320px) {
    .header {
        padding: 0.4rem 0;
    }
    
    .header-container {
        padding: 0.6rem 0.3rem;
    }
    
    .logo {
        width: 120px;
        height: 40px;
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 1.2rem;
    }
    
    .auth-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .content-column {
        gap: 0.3rem;
    }
    
    .inner-content-column {
        gap: 0.2rem;
    }
    
    .main-content {
        gap: 0.3rem;
    }
    
    .sidebar-section {
        display: none;
    }
    
    .featured-game-title {
        font-size: 1rem;
    }
}

.featured-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

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

/* Contact Section */
.contact-section {
    width: 100%;
    height: auto;
    border-radius: 12px;
    padding: 0rem;
    margin-bottom: 0rem;
    box-sizing: border-box;
}

.contact-section h2 {
    color: white;
    margin-bottom: 0rem;
    font-size: 1.5rem;
    text-align: left;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    width: 100%;
}

.contact-card {
    width: 100%;
    height: auto;
    background: linear-gradient(0deg,rgba(36, 34, 36, 1) 20%, rgba(50, 48, 49, 1) 100%);
    border-radius: 12px;
    padding: 0rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0rem;
}
.contact-card a{
    display: contents;
}
.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    position: relative;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    background-color: transparent;
}


.contact-label {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Inner Content Column */
.inner-content-column {
    display: flex;
    gap: 1rem;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.banner-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.banner-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.banner-cta {
    background-color: #ff4444;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.banner-cta:hover {
    background-color: #e03e3e;
}

.banner-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-chips {
    position: absolute;
    top: -20px;
    left: -20px;
}

.chip {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.chip.red { background-color: #ff4444; top: 0; left: 0; }
.chip.blue { background-color: #2196f3; top: 10px; left: 20px; animation-delay: 0.5s; }
.chip.green { background-color: #4caf50; top: 20px; left: 10px; animation-delay: 1s; }
.chip.purple { background-color: #9c27b0; top: 5px; left: 30px; animation-delay: 1.5s; }

.playing-cards {
    display: flex;
    gap: 5px;
    transform: perspective(200px) rotateY(-15deg);
}

.card {
    width: 40px;
    height: 60px;
    background-color: white;
    color: black;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Games & Sections */
.games-sections {
    background-color: #1e1e1e;
    border-radius: 12px;
    padding: 2rem;
}

.games-sections h2 {
    margin-bottom: 2rem;
    color: #ff6b35;
}

.section-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.section-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background-color: #2a2a2a;
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.section-icon:hover {
    transform: translateY(-5px);
}

.section-icon i {
    font-size: 2rem;
    color: #ff6b35;
}

.icon-card-suits {
    font-size: 1.5rem;
    color: #ff6b35;
}

.icon-overlap {
    font-size: 2rem;
    color: #4caf50;
}

.section-icon span {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Featured Games */
.featured-games {
    background-color: #1e1e1e;
    border-radius: 12px;
    padding: 2rem;
}

.featured-games h2 {
    margin-bottom: 2rem;
    color: #ff6b35;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.game-card {
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.game-visual {
    margin-bottom: 1rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slot-machine {
    background-color: #333;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
}

.slot-display {
    background-color: #000;
    color: #0f0;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.2rem;
}

.roulette-wheel {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff4444, #000, #ff4444, #000);
    position: relative;
    animation: spin 4s linear infinite;
}

.roulette-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #ff4444;
    border-radius: 50%;
}

.casino-building {
    font-size: 3rem;
}

.card-table {
    background-color: #1a5f1a;
    border-radius: 8px;
    padding: 1rem;
}

.table-players {
    font-size: 1.5rem;
}

.city-skyline {
    font-size: 3rem;
}

.game-card h3 {
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.game-card p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Evolution Banner */
.evolution-banner {
    background-color: #4caf50;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.evolution-banner h2 {
    color: white;
    font-size: 1.8rem;
}

.people-illustration {
    display: flex;
    gap: 1rem;
    font-size: 2rem;
}

.casino-chip-green {
    width: 40px;
    height: 40px;
    background-color: #2e7d32;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    right: 20px;
}

/* Daily Bites */
.daily-bites {
    background-color: #1e1e1e;
    border-radius: 12px;
    padding: 2rem;
}

.daily-bites h2 {
    margin-bottom: 2rem;
    color: #ff6b35;
}

.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ff6b35;
}

.chip-red-small {
    width: 20px;
    height: 20px;
    background-color: #ff4444;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* Right Sidebar */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 180px;
    flex-shrink: 0;
}

.sidebar-header-section {
    width: 100%;
    padding: 0.5rem 1rem;
    background: linear-gradient(347deg,rgba(207, 121, 22, 1) 20%, rgba(211, 144, 27, 1) 100%);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.sidebar-header-section h3 {
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 0.5px;
}

.sidebar-image-section {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-image-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.sidebar-image-section img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.sidebar-image-section:hover img {
    transform: scale(1.02);
}

.progressive-number {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.progressive-number span {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.sidebar-section {
    background-color: #3f4147;
    border-radius: 12px;
    padding: 0.8rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #ff6b35;
}

.section-header h3 {
    font-size: 1.2rem;
    color: white;
}

.section-header i {
    color: white;
}

.promo-section {
    text-align: center;
}

.promo-section h4 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.best-slot {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 1rem;
}

.roulette-promo {
    margin: 1rem 0;
}

.roulette-wheel-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff4444, #000, #ff4444, #000);
    position: relative;
    margin: 0 auto;
    animation: spin 3s linear infinite;
}

.ball {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}

.gesans-list {
    list-style: none;
}

.gesans-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #333;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.gesans-list li:hover {
    color: #ff6b35;
}

.gesans-list li:last-child {
    border-bottom: none;
}

.gesans-list i {
    color: white;
    font-size: 0.8rem;
}

.sidebar-btn {
    width: 100%;
    background: linear-gradient(0deg, rgba(220, 61, 5, 1) 20%, rgba(240, 137, 7, 1) 100%);
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    background: linear-gradient(180deg, #ff9a5a 0%, #e67e22 100%);
    transform: translateY(-2px);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(36, 34, 36, 0.95) 0%, rgba(50, 48, 49, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 12px;
    min-width: 60px;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 61, 5, 0.1) 0%, rgba(240, 137, 7, 0.1) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-item:hover::before {
    opacity: 1;
    transform: scale(1.05);
}

.nav-item:hover {
    transform: translateY(-2px);
}

.nav-item.active::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(220, 61, 5, 0.3) 0%, rgba(240, 137, 7, 0.3) 100%);
}

.nav-item.active {
    transform: translateY(-3px);
}

.nav-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(220, 61, 5, 0.2) 0%, rgba(240, 137, 7, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 61, 5, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.nav-item:hover .nav-icon {
    background: linear-gradient(135deg, rgba(220, 61, 5, 0.4) 0%, rgba(240, 137, 7, 0.4) 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 61, 5, 0.4);
}

.nav-item.active .nav-icon {
    background: linear-gradient(135deg, rgba(220, 61, 5, 0.6) 0%, rgba(240, 137, 7, 0.6) 100%);
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(220, 61, 5, 0.6);
}

.nav-icon i {
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-item:hover .nav-icon i {
    color: #ff6b35;
    transform: scale(1.1);
}

.nav-item.active .nav-icon i {
    color: #ff6b35;
    transform: scale(1.2);
}

.nav-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-item:hover .nav-label {
    color: white;
    transform: translateY(-1px);
}

.nav-item.active .nav-label {
    color: #ff6b35;
    font-weight: 600;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    padding: 2rem;
    text-align: center;
    color: #666;
    margin-top: 2rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 200px 1fr;
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .sidebar {
        padding: 0.5rem;
    }
    
    .sidebar-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .header {
        padding: 0.8rem 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0.5rem;
    }
    
    .header-top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .logo {
        align-self: flex-start;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:focus,
    .mobile-menu-toggle:active {
        background: none;
        border: none;
        outline: none;
        transform: none;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .auth-buttons {
        gap: 0.6rem;
    }
    
    .auth-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        padding: 0;
        transition: right 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
        order: 2;
        visibility: hidden;
        opacity: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .sidebar.mobile-open {
        right: 0;
        visibility: visible;
        opacity: 1;
    }
    
    .sidebar-header {
        border-radius: 0;
        padding: 1.5rem 1rem;
    }
    
    .sidebar-nav {
        border-radius: 0;
        padding: 0.5rem;
    }
    
    .content-column {
        order: 1;
        gap: 0.5rem;
    }
    
    .inner-content-column {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .right-sidebar {
        order: 2;
    }
    
    .sidebar-header-section {
        padding: 0.8rem;
    }
    
    .sidebar-header-section h3 {
        font-size: 1.1rem;
    }
    
    .sidebar-image-section {
        margin-bottom: 1rem;
    }
    
    .progressive-number span {
        font-size: 1.5rem;
    }
    
    .main-content {
        order: 1;
        gap: 0.5rem;
    }
    
    .auth-buttons {
        gap: 0.5rem;
    }
    
    .auth-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-text h1 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .section-icons {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

/* Header Media Queries */

/* Large Desktop */
@media (min-width: 1400px) {
    .header {
        padding: 1.5rem 0;
    }
    
    .header-container {
        padding: 0 0rem;
    }
    
    .logo {
        width: 220px;
        height: 70px;
    }
    
    .auth-btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
}

/* Large Tablets */
@media (max-width: 1024px) {
    .header {
        padding: 1.2rem 0;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .logo {
        width: 180px;
        height: 55px;
    }
    
    .auth-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }
    .main{width: 100%!important;}
}

/* Tablets */
@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }
    
    .header-container {
        padding: 0 0.5rem;
    }
    
    .logo {
        width: 160px;
        height: 50px;
    }
    
    .header-actions {
        gap: 1rem;
    }
    
    .auth-buttons {
        gap: 0.6rem;
    }
    
    .auth-btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.8rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-layout {
        padding: 0.5rem;
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 200px;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        padding: 0;
        transform: translateX(0);
        transition: right 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
        visibility: hidden;
        opacity: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .sidebar.mobile-open {
        right: 0;
        visibility: visible;
        opacity: 1;
    }
    
    .sidebar-header {
        border-radius: 0;
        padding: 1rem;
    }
    
    .sidebar-header h3 {
        font-size: 1rem;
    }
    
    .sidebar-nav {
        border-radius: 0;
        padding: 0.3rem;
    }
    
    .sidebar-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .sidebar-item i:first-child {
        font-size: 1rem;
    }
    
    .sidebar-item span {
        font-size: 0.8rem;
    }
    
    .sidebar-item i:last-child {
        font-size: 0.7rem;
    }
    
    
    .banner-slider {
        border-radius: 8px;
    }
    
    .banner-prev,
    .banner-next {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .banner-prev {
        left: 8px;
    }
    
    .banner-next {
        right: 8px;
    }
    
    .banner-dots {
        bottom: 15px;
    }
    
    .banner-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    .secondary-banner-slider {
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .secondary-promotion-overlay {
        left: 0rem;
        width: calc(100% - 8rem);
    }
    
    .banner-overlay {
        padding-right: 1.5rem;
    }
    
    .banner-content {
        max-width: 60%;
        gap: 0rem;
    }
    
    .banner-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .banner-details {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .play-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .promotion-title {
        font-size: 1rem;
        letter-spacing: 0px;
    }
    
    .promotion-details {
        font-size: 0.8rem;
        letter-spacing: 0px;
        margin-bottom: 0rem;
    }
    
    .claim-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        bottom: 8px;
        right: 15px;
    }
    
    
    .popular-casino {
        padding: 1rem;
        margin-bottom: 0rem;
    }
    
    .popular-casino h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .popular-small-images {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
    
    .popular-small-card,
    .popular-large-card {
        border-radius: 8px;
    }
    
    .popular-small-card {
        height: auto;
    }
    
    .popular-large-card {
        height: auto;
    }
    
    .popular-card-title {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        top: 0.4rem;
        left: 0.4rem;
    }
    
    .evolution-text {
        font-size: 1.6rem;
    }
    
    .casino-text {
        font-size: 1rem;
    }
    
    .featured-games-section {
        padding: 0.6rem;
        margin-bottom: 0rem;
    }
    
    .featured-games-section h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .featured-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }
    
    .featured-game-card,
    .featured-game-link {
        border-radius: 8px;
    }
    
    .featured-game-title {
        font-size: 1.2rem;
        padding: 0.4rem 0.6rem;
        position: relative;
        background-color: #262328;
        text-align: center;
        margin-top: -2px;
    }
    
    .contact-section {
        width: 100%;
        padding: 0rem;
        margin-bottom: 0rem;
    }
    
    .contact-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-cards {
        width: 100%;
        grid-template-columns: repeat(5, 1fr);
        gap: 0.4rem;
    }
    
    .contact-card {
        width: 100%;
        padding: 0rem 0.8rem;
        min-width: 0;
        gap: 0.8rem;
    }
    
    .contact-icons {
        gap: 0.6rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.2rem;
    }
    
    .contact-label {
        font-size: 0.8rem;
    }
    
    .welcome-banner {
        padding: 2rem 1rem;
    }
    
    .banner-text h1 {
        font-size: 1.5rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .games-sections,
    .featured-games,
    .daily-bites {
        padding: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .game-card {
        padding: 1rem;
    }
    
    .game-visual {
        height: 80px;
    }
    
    .slot-display {
        font-size: 1rem;
        padding: 0.3rem 0.8rem;
    }
    
    .roulette-wheel {
        width: 60px;
        height: 60px;
    }
    
    .section-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .section-icon {
        padding: 1rem;
    }
    
    .evolution-banner {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .evolution-banner h2 {
        font-size: 1.4rem;
    }
    
    .sidebar-section {
        padding: 1rem;
        display: none;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0rem 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0.5rem;
    }
    
    .header-top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .logo {
        align-self: flex-start;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    
    .banner-prev,
    .banner-next {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .banner-prev {
        left: 5px;
    }
    
    .banner-next {
        right: 5px;
    }
    
    .banner-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    .secondary-banner-slider {
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }
    
    .secondary-promotion-overlay {
        left: 0rem;
        width: calc(100% - 4rem);
    }
    
    .banner-overlay {
        padding-right: 0.5rem;
    }
    
    .banner-content {
        max-width: 70%;
        gap: 0.6rem;
    }
    
    .banner-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
        margin-bottom: 0.8rem;
    }
    
    .banner-details {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .play-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .promotion-title {
        font-size: 0.5rem;
        letter-spacing: 0px;
        margin-bottom: 0rem;
    }
    
    .promotion-details {
        font-size: 0.4rem;
        margin-bottom: 0rem;
    }
    
    .claim-btn {
        padding: 0.2rem 0.2rem;
        font-size: 0.5rem;
        letter-spacing: 0px;
        border-radius: 2px;
        bottom: 5px;
        right: 5px;
    }
    
    .banner-overlay {
        padding-right: 0.25rem;
    }
    
    .banner-content {
        max-width: 80%;
        gap: 0rem;
    }
    
    .banner-title {
        font-size: 1rem;
        letter-spacing: 0px;
        margin-bottom: 0.5rem;
    }
    
    .banner-details {
        font-size: 0.6rem;
        letter-spacing: 0px;
        margin-bottom: 0.8rem;
    }
    
    .play-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
    }
    
    
    .popular-casino {
        padding: 0.8rem;
        margin-bottom: 0rem;
    }
    
    .popular-casino h2 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .popular-small-images {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }
    
    .popular-small-card,
    .popular-large-card {
        border-radius: 2px;
    }
    
    .popular-small-card {
        height: auto;
    }
    
    .popular-large-card {
        height: auto;
    }
    
    .popular-card-title {
        font-size: 0.65rem;
        padding: 0.0rem 0.0rem;
        top: 0.0rem;
        left: 0.2rem;
    }
    
    .evolution-text {
        font-size: 1.4rem;
    }
    
    .casino-text {
        font-size: 0.9rem;
    }
    
    .featured-games-section {
        padding: 0.5rem;
        margin-bottom: 0rem;
    }
    
    .featured-games-section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .featured-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .featured-game-card,
    .featured-game-link {
        border-radius: 6px;
    }
    
    .featured-game-title {
        font-size: 0.7rem;
        padding: 0.35rem 0.5rem;
        position: relative;
        background-color: #262328;
        text-align: center;
        margin-top: -2px;
    }
    
    .contact-section {
        width: 100%;
        padding: 0rem;
        margin-bottom: 0rem;
    }
    
    .contact-section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }
    
    .contact-cards {
        width: 100%;
        grid-template-columns: repeat(5, 1fr);
        gap: 0rem;
    }
    
    .contact-card {
        width: 100%;
        padding: 0rem 0.6rem;
        min-width: 0;
        gap: 0rem;
    }
    
    .contact-icons {
        gap: 0.4rem;
    }
    
    .contact-icon {
        width: 20px;
        height: 20px;
        min-width: 20px;
        font-size: 0.7rem;
    }
    
    .contact-label {
        font-size: 0.6rem;
    }
    
    .welcome-banner {
        padding: 1.5rem 1rem;
    }
    
    .banner-text h1 {
        font-size: 1.3rem;
    }
    
    .banner-text p {
        font-size: 0.9rem;
    }
    
    .banner-cta {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .section-icons {
        grid-template-columns: 1fr;
    }
    
    .sidebar-item {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .sidebar-item i {
        font-size: 1.1rem;
    }
    
    .game-visual {
        height: 60px;
    }
    
    .slot-display {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
    
    .roulette-wheel {
        width: 40px;
        height: 40px;
    }
    
    .roulette-center {
        width: 12px;
        height: 12px;
    }
    
    .card {
        width: 30px;
        height: 45px;
        font-size: 0.7rem;
    }
    
    .chip {
        width: 20px;
        height: 20px;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        padding: 2rem 1.5rem;
        transform: translateX(0);
        transition: right 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
        order: 1;
        visibility: hidden;
        opacity: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .sidebar.mobile-open {
        right: 0;
        visibility: visible;
        opacity: 1;
    }
    
    .main-content {
        order: 2;
    }
    
    .right-sidebar {
        display: none;
    }
    
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card {
        border: 1px solid #ddd;
    }
    
    .chip {
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Large Screens */
@media (min-width: 1200px) {
    .contact-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.8rem;
    }
}

/* Extra Small Screens */
@media (max-width: 320px) {
    .popular-casino {
        padding: 0.6rem;
    }
    
    .popular-casino h2 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .popular-small-images {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
    }
    
    .popular-small-card,
    .popular-large-card {
        border-radius: 4px;
    }
    
    .popular-small-card {
        height: auto;
    }
    
    .popular-large-card {
        height: auto;
    }
    
    .popular-card-title {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
        top: 0.25rem;
        left: 0.25rem;
    }
    
    .evolution-text {
        font-size: 1.2rem;
    }
    
    .casino-text {
        font-size: 0.8rem;
    }
    
    .featured-games-section {
        padding: 0.4rem;
    }
    
    .featured-games-section h2 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .featured-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
    }
    
    .featured-game-card,
    .featured-game-link {
        border-radius: 2px;
    }
    
    .featured-game-title {
        font-size: 1rem;
        padding: 0.3rem 0.4rem;
        position: relative;
        background-color: #262328;
        text-align: center;
        margin-top: -2px;
    }
    
    .contact-section {
        padding: 0rem;
    }
    
    .contact-cards {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
    
    .contact-card {
        padding: 0rem 0.4rem;
        min-width: 0;
        gap: 0.4rem;
    }
    
    
    .contact-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 0.7rem;
    }
    
    .contact-label {
        font-size: 0.6rem;
    }
}

/* Print styles */
@media print {
    .header,
    .sidebar,
    .right-sidebar {
        display: none;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .welcome-banner,
    .evolution-banner {
        background: none;
        border: 2px solid #000;
    }
}

/* Mobile Bottom Navigation - Show on mobile devices */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    body {
        padding-bottom: 80px;
    }
    
}
.fa-facebook-f,
.fa-telegram-plane,
.fa-instagram,
.fa-weixin,
.fa-envelope {
    font-size: 1.8rem; /* Desktop */
}

/* Mobile */
@media (max-width: 768px) {
    .fa-facebook-f,
    .fa-telegram-plane,
    .fa-instagram,
    .fa-weixin,
    .fa-envelope {
        font-size: 1rem;
    }
    .footer {
    margin-bottom: 5rem;
}
.main{width: 100%!important;}
}
/* lang */
 #header .icon-btn {
  background-color: #434343;
  backdrop-filter: blur(22px) brightness(1.15);
  border: none;
  padding: 5px 8px;
  height: 100%;
  margin-left: 5px;
  border-radius: 30px;
  transition: transform 0.3s ease-in-out;
  padding-right: 40px;
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 3px;
  height: 40px;
}

@media (max-width: 1024px) {
  #header .icon-btn {
    padding: 5px;
    justify-content: center;
    width: 30px;
    height: 30px;
  }
}

#header .icon-btn span {
  color: #fff;
}

@media (max-width: 1024px) {
  #header .icon-btn span {
    display: none;
  }
}

#header .icon-btn img {
  max-width: 30px;
  aspect-ratio: 1/1;
}

@media (max-width: 1024px) {
  #header .icon-btn img {
    max-width: 18px;
  }
}

#header .icon-btn:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 10px;
  height: 10px;
  background: url("../images/arrow-down-white.png") no-repeat center center;
  background-size: contain;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

@media (max-width: 1199px) {
  #header .icon-btn:after {
    display: none;
  }
}

#header .icon-btn:focus:after {
  transform: translateY(-50%) rotate(180deg);
}

#header .header-dropdown {
  position: relative;
}

@media (max-width: 1024px) {
  #header .header-dropdown {
    aspect-ratio: 1/1;
  }
}

#header .header-dropdown:focus-within .dropdown-body {
  display: block;
}

#header .header-dropdown .dropdown-body {
  position: absolute;
  background: #282828e0;
  background: #282828;
  width: 230px;
  list-style: none;
  display: none;
  -webkit-backdrop-filter: blur(22px) brightness(1.15);
  backdrop-filter: blur(22px) brightness(1.15);
  padding: 0;
  top: 76%;
  right: 0px;
  margin-top: 11px;
  border-radius: 10px;
}

#header .header-dropdown .dropdown-body ul {
  padding: 10px 0px;
  list-style: none;
}

#header .header-dropdown .dropdown-body ul li {
  padding: 0px 10px;
}

#header .header-dropdown .dropdown-body ul li a {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  font-size: 14px;
  color: #fff;
  font-weight: 300;
  position: relative;
  border-radius: 10px;
  padding: 10px 20px;
}

#header .header-dropdown .dropdown-body ul li a.active,
#header .header-dropdown .dropdown-body ul li a:hover {
  /* background: #393319; */
  -webkit-backdrop-filter: blur(22px) brightness(1.15);
  backdrop-filter: blur(22px) brightness(1.15);
  color: #fff;
}

#header .header-dropdown .dropdown-body ul li a.red-dot p {
  position: relative;
}

#header .header-dropdown .dropdown-body ul li a.red-dot p:after {
  content: "";
  position: absolute;
  background: red;
  top: 0px;
  right: -20px;
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
}

#header .header-dropdown .dropdown-body ul li a .total-notification {
  padding: 5px;
  background: red;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#header .header-dropdown .dropdown-body ul li a .total-notification span {
  color: #fff;
  font-size: 12px;
}

#header .header-dropdown .dropdown-body ul li a img {
  width: 30px;
  aspect-ratio: 1/1;
}
/* acc */
.header-dropdown .dropdown-body .icon-dropdown {
  width: 30px;
  height: 30px;
}

.header-dropdown .dropdown-body .icon-profile {
  background: url(../images/auth/my-profile.png) center no-repeat;
  background-size: 100%;
}

.header-dropdown .dropdown-body .icon-deposit {
  background: url(../images/auth/deposit.png) center no-repeat;
  background-size: 100%;
}

.header-dropdown .dropdown-body .icon-withdraw {
  background: url(../images/auth/withdraw.png) center no-repeat;
  background-size: 100%;
}

.header-dropdown .dropdown-body .icon-history {
  background: url(../images/auth/history.png) center no-repeat;
  background-size: 100%;
}

.header-dropdown .dropdown-body .icon-top-vip {
  background: url(../img/header/auth/profile-menu/vip.png) center no-repeat;
  background-size: 100%;
}

.header-dropdown .dropdown-body .icon-referral {
  background: url(../img/header/auth/profile-menu/referral.png) center no-repeat;
  background-size: 100%;
}

.header-dropdown .dropdown-body .icon-inbox {
  background: url(../img/header/auth/profile-menu/inbox.png) center no-repeat;
  background-size: 100%;
}

.header-dropdown .dropdown-body .icon-logout {
  background: url(../images/auth/logout.png) center no-repeat;
  background-size: 100%;
}
.header-dropdown .dropdown-body .icon-password {
  background: url(../images/auth/password.png) center no-repeat;
  background-size: 100%;
}
.header-dropdown .dropdown-body .icon-transfer {
  background: url(../images/auth/transfer.png) center no-repeat;
  background-size: 100%;
}
.header-dropdown .dropdown-body .icon-turnover {
  background: url(../images/auth/turnover.png) center no-repeat;
  background-size: 100%;
}
#header .header-actions>* {
  flex: 1;
}

#header .user-wallet-actions {
  display: flex;
  flex-flow: row nowrap;
  gap: 10px;
  max-width: 300px;
  align-items: center;
  padding-right: 50px;
  margin-right: 10px;
  position: relative;
}
@media (max-width: 767px) {
  .user-wallet-actions .btn-theme{
    padding: 9px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  #header .user-wallet-actions {
    padding-right: 0px;
    margin-right: 0px;
  }
}

#header .user-wallet-actions::after {
  content: "";
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 50%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  height: 100%;
  width: 1px;
  right: 0;
  top: 0;
}

@media (max-width: 1024px) {
  #header .user-wallet-actions::after {
    display: none;
  }
}

#header .user-wallet-actions .header-wallet {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  font-size: 14px;
  color: #fff;
  width: 250px;
  text-wrap: nowrap;
  background: linear-gradient(to bottom, #0a2f28 0%, #0c4937 100%);
  background: #434343;
  border: 1px solid #434343;
  border-radius: 8px;
  padding: 4px 10px;
  flex: 2;
  height: 100%;
}

@media (max-width: 1024px) {
  #header .user-wallet-actions .header-wallet {
    max-width: 200px;
    width: 100%;
    gap: 5px;
    font-size: 12px;
  }
}

#header .user-wallet-actions .header-wallet .icon {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#header .user-wallet-actions .header-wallet .icon img {
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  #header .user-wallet-actions .header-wallet .icon img {
    width: 15px;
    height: 15px;
  }
}

#header .user-wallet-actions button {
  flex: 1;
}
.btn-theme {
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  padding: 18px 24px;
  line-height: 15px;
  text-align: center;
  width: 100%;
  outline: unset;
  box-shadow: unset;
  text-decoration: none;
  display: block;
  color: var(--btn-color);
  --btn-color: #fff;
  /* background: linear-gradient(to right, #fadd56, #feb80c); */
  background: linear-gradient(0deg,rgba(220, 61, 5, 1) 20%, rgba(240, 137, 7, 1) 100%);
  border: 1px solid rgba(240, 137, 7, 1);
  white-space: nowrap;
  box-shadow: 0 0 5px 1px rgba(240, 137, 7, 1);
}
p.mb-0 {
    color: #fff;
}
input[type=checkbox] {
    width: 20px;
    height: 14px !important;
}