/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #222;
    color: #fff;
}

header {
    background-color: #4CAF50;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

header nav ul {
    list-style: none;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

header nav ul li a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.auth-links {
    display: flex;
    gap: 10px;
}

.auth-btn {
    padding: 10px 20px;
    background-color: #FFD700;
    color: #222;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.auth-btn:hover {
    background-color: #FFB400;
}

.intro {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
}

.intro h1 {
    font-size: 50px;
    color: #FFD700;
}

.intro p {
    font-size: 20px;
    margin: 20px 0;
}

.btn-start {
    padding: 15px 40px;
    background-color: #FFD700;
    color: #222;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
}

.btn-start:hover {
    background-color: #FFB400;
}

.slot-game {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.slot-container {
    display: flex;
    gap: 10px;
    overflow: hidden;
    position: relative;
}

.reel {
    width: 100px;
    height: 200px;
    border: 2px solid #FFD700;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.symbol {
    font-size: 40px;
    text-align: center;
    line-height: 100px;
    height: 100px;
}

footer {
    background-color: #111;
    padding: 20px;
    text-align: center;
    color: #888;
    margin-top: 50px;
}

/* Modal Style */
.modal {
    display: none; /* Modal tersembunyi secara default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding-top: 60px;
}

.modal-content {
    background-color: #333;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(-50px);
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.modal-content h2 {
    text-align: center;
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 20px;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-content input {
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #FFD700;
    background-color: #444;
    color: #fff;
}

.modal-content input:focus {
    outline: none;
    border-color: #FFD700;
    background-color: #333;
}

.modal-content button {
    padding: 15px;
    background-color: #FFD700;
    color: #222;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
    
.modal-content button:hover {
    background-color: #FFB400;
}

.modal-content label {
    font-size: 16px;
    color: #ddd;
}

.close {
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

/* Animasi untuk modal */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styling untuk header */
header {
    background-color: #4CAF50;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

header nav ul li a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.auth-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-links span {
    color: #fff;
    font-size: 16px;
}

.auth-links a {
    color: #FFD700;
    text-decoration: none;
    font-size: 16px;
    margin-left: 20px;
}

.auth-links a:hover {
    color: #FFB400;
}

/* Styling untuk dashboard */
/* Styling untuk header */
header {
    background-color: #000; /* Ubah menjadi hitam */
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 36px;
    font-weight: bold;
    color: #fff; /* Logo tetap berwarna putih agar kontras dengan latar belakang hitam */
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    color: #fff; /* Link menjadi putih agar terlihat di atas latar belakang hitam */
    text-decoration: none;
    font-size: 16px;
}

header nav ul li a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.auth-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-links span {
    color: #fff;
    font-size: 16px;
}

.auth-links a {
    color: #FFD700;
    text-decoration: none;
    font-size: 16px;
    margin-left: 20px;
}

.auth-links a:hover {
    color: #FFB400;
}

/* Styling untuk dashboard */
.dashboard-intro {
    text-align: center;
    padding: 50px;
    background-color: #333;
    color: #fff;
}

.dashboard-intro h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.dashboard-intro p {
    font-size: 18px;
    margin-bottom: 20px;
}

.dashboard-intro button {
    padding: 10px 20px;
    background-color: #FFD700;
    color: #222;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
}

.dashboard-intro button a {
    text-decoration: none;
    color: #222;
}

.dashboard-intro button:hover {
    background-color: #FFB400;
}

/* Horizontal Scroll Styling for Game Providers */
.game-providers {
    margin-top: 30px;
    text-align: center;
}

.game-providers h2 {
    font-size: 24px;
    color: #fff;
}

.provider-logos {
    display: flex;
    overflow-x: auto; /* Enable horizontal scroll */
    gap: 20px;
    padding: 10px 0;
    justify-content: center;
}

.provider-logo {
    width: 120px; /* Ukuran logo */
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.provider-logo:hover {
    transform: scale(1.1); /* Efek hover untuk memperbesar logo */
}

/* Section untuk gambar yang bergerak */
.horizontal-scroll {
    width: 100%;
    overflow: hidden; /* Menyembunyikan gambar yang berada di luar container */
    background-color: #222; /* Latar belakang gelap untuk kontras */
    padding: 20px 0;
}

.scroll-container {
    display: flex;
    animation: scroll-left 30s linear infinite; /* Animasi bergerak ke kiri secara berkelanjutan */
}

.scroll-item {
    width: 200px; /* Lebar gambar */
    height: auto; /* Biarkan tinggi mengikuti proporsi gambar */
    margin-right: 20px; /* Jarak antar gambar */
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%); /* Mulai dari luar sebelah kanan */
    }
    100% {
        transform: translateX(-100%); /* Pindah ke luar sebelah kiri */
    }
}


/* Floating Button Chat */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* Warna hijau WhatsApp */
    color: white;
    font-size: 30px;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
}

.chat-button:hover {
    background-color: #128C7E;
}

/* Modal Chat (Popup) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding-top: 60px;
}

.modal-content {
    background-color: #333;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    color: white;
}

.close {
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    margin-top: 10px;
    background-color: #555;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    margin-top: 10px;
}

button:hover {
    background-color: #45a049;
}


/* Styling untuk Dropdown */
.auth-links .dropdown {
    position: relative;
    display: inline-block;
}

.auth-links .dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    z-index: 1;
    border-radius: 5px;
    margin-top: 10px;
}

.auth-links .dropdown:hover .dropdown-content {
    display: block;
}

.auth-links .dropdown .dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.auth-links .dropdown .dropdown-content a:hover {
    background-color: #575757;
}