@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: Ubuntu;
    text-align: center;
    padding-top: 80px;
    color: #E4E4E4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("/assets/images/max-back.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    z-index: -1;
}

.notice {
    width: 100%;
    overflow: hidden;
    background-color: #001b39;
    position: fixed;
    top: 0;
    z-index: 10;
}

.notice p {
    display: inline-block;
    white-space: nowrap;
    color: white   ;
    font-size: 16px;
    margin: 5px;
    font-weight: 500;
    animation: slide-left 30s linear infinite;
    padding-left: 5%;
}

@keyframes slide-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

header {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    top: 45px;
    border-radius: 150px;
    background-color: #001b39;
}

.header-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
}

.header-center {
    width: 80%; /* Increase this */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-right {
    width: 5%; /* Decrease this */
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


.logo {
    max-width: 120px;
    width: 100%;
    height: auto;
    text-align: center;
}

.menu-toggle {
    font-size: 28px;
    cursor: pointer;
    color: white;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 250px;
    height: 100vh;
    background-color: #001b39;
    color: white;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 999999;
}

.sidebar.active {
    left: 0;
}

.sidebar-logo {
    max-width: 120px;
    width: 100%;
    height: auto;
    text-align: center;
    padding: 20px;
}

.close-btn {
    position: absolute;
    padding: 10px;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 1200;
    transition: color 0.3s;
}

.close-btn:hover {
    color: red;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar li {
    margin: 10px 0;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    transition: background-color 0.3s;
}

.sidebar li a {
    color: white;
    text-decoration: none;
    display: block;
}

.sidebar li a i {
    margin-right: 8px;
    font-size: 18px;
}

.sidebar li:hover {
    background-color: #8e8e8e;
}

.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-top: 30px;
}

.auth-login-btn {
    border: white solid 1px;
    padding: 10px 20px;
    color:white;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-wrap: nowrap;
    font-size: 16px;
}
.auth-login-btn:hover {
    background-color: #E4E4E4;
    color: #001b39;
}

.auth-register-btn {
    background: linear-gradient(45deg, #9cd4fc, #3898ea);
    padding: 10px 20px;
    color: #001b39;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-wrap: nowrap;
    font-size: 16px;
}

.auth-register-btn:hover {
    background: linear-gradient(45deg, #3898ea, #9cd4fc);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 998;
}

.sidebar-overlay.active {
    display: block;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 40px;
}

.hero-banner {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    margin-top: 25px;
    transform: scale(1.0);
}

.hero-container .auth-buttons {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    padding: 10px;
    border-radius: 40px;
    width: 200px;
    font-size: 20px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.hero-container .login-button,
.hero-container .register-button {
    margin-bottom: 10px;
    min-width: 400px;
    padding: 20px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: #001b39;
    background-color: #3898ea;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hero-container .register-button {
    background-color: #9cd4fc;
    box-shadow:
        0 0 10px rgba(0, 136, 255, 0.5),
        0 0 20px rgba(0, 166, 255, 0.3);
}

.hero-container .register-button:hover {
    background-color: #0084ff;
    box-shadow:
        0 0 15px rgba(0, 170, 255, 0.7),
        0 0 30px rgba(0, 110, 255, 0.5);
    transform: scale(1.05);
}

.hero-container .login-button:hover{
    background-color: #9cd4fc;
    box-shadow:
    0 0 15px rgba(0, 149, 255, 0.7),
    0 0 30px rgba(0, 98, 255, 0.5);
transform: scale(1.05);
}

.register {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.register-btn {
    position: fixed;
    bottom: 20px;
    right: 50px;
    z-index: 9999;
    background: linear-gradient(to bottom, #00bfff, #0077ff); /* Bright glossy blue */
    padding: 12px 40px;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid white;
    box-shadow: 
        0 4px 12px rgba(0, 123, 255, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    outline: none;
}

.register-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(to bottom, #33ccff, #0057d9);
    box-shadow: 
        0 6px 20px rgba(0, 123, 255, 0.6),
        inset 0 2px 6px rgba(255, 255, 255, 0.3);
}



.register-btn:active {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.register-btn:focus {
    outline: none;
}

@keyframes pop-effect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.register-btn {
    animation: pop-effect 1.5s infinite;
}

.data {
    background-image: url("/assets/images/max-back2.png");
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.data-item {
    flex: 1;
    min-width: 150px;
}

.data-item .title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #9cd4fc;
}

.data-item .value {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.count {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.count.visible {
    opacity: 1;
    transform: translateY(0);
}

.casino-details {
    padding: 50px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.detail-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    flex: 1 1 400px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.detail-card h2 {
    font-size: 24px;
    color: #3898ea;
    margin-bottom: 40px;
    text-align: center;
}

.detail-card .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
}

.detail-card .detail-row span {
    font-size: 16px;
    color: #e4e4e4;
}

.detail-card .detail-row span.detail-value {
    font-weight: 500;
}

.why-choose {
    padding: 0 40px;
}

.why-choose-details {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 30px;
    align-items: center;
}

.why-choose .logo {
    max-width: 500px;
}

.why-choose h1 {
    color: #3898ea;
}

.why-choose h3 {
    color: #e4e4e4;
    padding-right: 60px;
    font-weight: 500;
    line-height: 1.3;
}

.why-choose-left {
    flex: 1;
    text-align: left;
    align-items: center;
    justify-content: center;
}

.why-choose-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-card {
    background-color: #001b39;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.benefit-card h4 {
    margin: 0 0 12px;
    color: #9cd4fc;
    font-size: 22px;
    font-weight: 600;
}

.benefit-card p {
    margin: 0;
    color: #e4e4e4;
    font-size: 16px;
    line-height: 1.5;
}

.benefit-card .icon {
    font-size: 32px;
    color: #007bff;
    margin-bottom: 15px;
}

.games-section {
    padding: 30px 0;
}

.games-section img {
    max-width: 120px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    padding: 40px;
}

.game-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.game-icon {
    margin-bottom: 20px;
}

.game-title {
    font-size: 20px;
    color: #3898ea;
    margin-bottom: 10px;
}

.game-description {
    color: #e4e4e4;
    font-size: 16px;
    line-height: 1.5;
}

.join-section {
    background-color: #001b39;
    padding: 50px;
    text-align: center;
}

.join-section h1 {
    font-size: 32px;
    color: #3898ea;
    margin-bottom: 40px;
}

.join-section p {
    font-size: 18px;
    padding: 0 120px;
    margin-bottom: 40px;
}

.join-section p a{
    font-size: 18px;
    text-decoration: none;
    color: #9cd4fc;
    margin-bottom: 40px;
    font-weight: bold;
}

.join-section p a:hover{
    text-decoration: underline;
}

.footer {
    color: #e4e4e4;
    padding: 20px 0;
    text-align: center;
}
  
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
  
.footer p {
    margin: 0;
    font-size: 18px;
}

.chat-button {
    position: fixed;
    bottom: 100px;
    right: 40px;
    background-color: #3898ea;
    color: #001b39;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.chat-button:hover {
    background-color: #9cd4fc;
    transform: scale(1.05);
}


@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    header {
        padding: 10px;
    }

    .header-left {
        padding-left: 5px;
    }
    
    .header-right {
        padding-right: 5px;
    }

    .logo {
        max-width: 100px;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .hero-banner {
        width: 100%;
        margin-top: 20px;            /* Space above the banner */
        border-radius: 20px;         /* Maintain rounded edges */
    }

    .hero-container .auth-buttons {
        width: 100%;
        flex-direction: column;       /* Stack buttons vertically */
        align-items: center;          /* Center buttons horizontally */
        margin-top: 20px;            /* Space above buttons */
        margin-right: 20px;
        padding: 10px;
    }

    .hero-container .login-button {
        margin-bottom: 0px;
        font-size: 16px;
        min-width: 300px;
        padding: 10px 20px;
        border-radius: 50px;
    }
    .hero-container .register-button{
        margin-bottom: 0px;
        font-size: 16px;
        min-width: 300px;
        padding: 10px 20px;
        border-radius: 50px;
    }

    .data {
        padding: 15px 15px;
    }

    .data-item {
        flex: 1;
        min-width: 10px;
    }

    .data-item .title {
        font-size: 16px;
        text-wrap: nowrap;
    }
    
    .data-item .value {
        font-size: 18px;
    }

    .casino-details {
        padding: 20px 0;
    }

    .detail-card {
        margin: 0 20px;
    }

    .detail-card h2 {
        font-size: 20px;
    }

    .detail-card .detail-row span {
        font-size: 14px;
    }

    .why-choose {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .why-choose .logo {
        max-width: 350px;
    }

    .why-choose h3 {
        padding-right: 0px;
        font-size: 16px;
    }

    .why-choose-left {
        text-align: center;
    }

    .why-choose-right {
        grid-template-columns: 1fr;
    }

    .benefit-card h4 {
        font-size: 18px;
    }
    
    .benefit-card p {
        margin: 0;
        color: #b0b0b0;
        font-size: 12px;
        line-height: 1.5;
    }

    .games-section {
        padding: 40px 0;
    }

    .games-section img {
        max-width: 100px;
    }
  
    .section-title {
        font-size: 24px;
    }
  
    .games-grid {
        grid-template-columns: 1fr;
    }
  
    .game-card {
        padding: 20px;
    }
  
    .game-title {
        font-size: 18px;
    }
  
    .game-description {
        font-size: 14px;
    }

    .join-section {
        padding: 80px 20px;
        text-align: center;
    }
    
    .join-section h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .join-section p {
        font-size: 16px;
        padding: 10px;
        line-height: 1.3;
    }

    .footer {
        padding: 10px 0;
    }
      
    .footer p {
        font-size: 14px;
    }

    .chat-button {
        bottom: 110px;
    }

    .register-btn {
        padding: 10px 20px;
        font-size: 14px;
        bottom: 50px;
        right: 40px;
    }
}

