:root {
    --dark-brown: #3A2715;
    --light-brown: #5D4037;
    --gold: #FFA000;
    --orange: #FF6D00;
    --dark-blue: #0A1D3F;
    --red: #9A0000;
    --cream: #EFEBE9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif SC', serif;
    background-color: var(--dark-brown);
    color: var(--cream);
    background-image: url('https://i.imgur.com/X8QJQJz.png');
    background-size: cover;
    background-attachment: fixed;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: linear-gradient(to right, var(--dark-brown), var(--light-brown));
    padding: 15px 0;
    border-bottom: 3px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 2.2rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    letter-spacing: 2px;
}

.logo i {
    margin-right: 10px;
    color: var(--orange);
    font-size: 2.5rem;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.auth-button {
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.login-btn {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--gold);
}

.login-btn:hover {
    background: var(--gold);
    color: var(--dark-brown);
}

.register-btn {
    background: linear-gradient(to right, var(--orange), var(--gold));
    color: var(--dark-brown);
    border: 2px solid transparent;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 109, 0, 0.4);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    position: relative;
    background: linear-gradient(rgba(58, 39, 21, 0.8), rgba(58, 39, 21, 0.9)), url('https://i.imgur.com/JQ6WztW.png');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-family: 'Ma Shan Zheng', cursive;
    text-align: center;
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.hero p {
    text-align: center;
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--cream);
}

.highlight {
    color: var(--orange);
    font-weight: bold;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid var(--gold);
    backdrop-filter: blur(5px);
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    background: rgba(10, 29, 63, 0.7);
    color: white;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: linear-gradient(to right, var(--orange), var(--gold));
    color: var(--dark-brown);
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.search-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 160, 0, 0.6);
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--orange), var(--gold));
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(to bottom right, rgba(93, 64, 55, 0.8), rgba(58, 39, 21, 0.9));
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--gold);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--orange);
}

.feature-card h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 10px;
}

.feature-card h3 i {
    margin-right: 10px;
    color: var(--orange);
}

.dream-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.dream-table th {
    background-color: rgba(255, 160, 0, 0.3);
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid var(--gold);
    color: var(--gold);
}

.dream-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dream-table tr:hover {
    background-color: rgba(255, 160, 0, 0.1);
}

.lucky-number {
    display: inline-block;
    background-color: rgba(255, 160, 0, 0.2);
    color: var(--gold);
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
    font-weight: bold;
    border: 1px solid var(--gold);
}

.generate-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, var(--orange), var(--gold));
    color: var(--dark-brown);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.generate-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 109, 0, 0.6);
}

.number-display {
    font-size: 2rem;
    text-align: center;
    margin: 20px 0;
    color: var(--gold);
    font-weight: bold;
    letter-spacing: 5px;
    background: rgba(10, 29, 63, 0.5);
    padding: 15px;
    border-radius: 5px;
    border: 1px solid var(--gold);
}

/* Footer */
footer {
    background: linear-gradient(to bottom, var(--dark-brown), #2A1A0F);
    padding: 50px 0 20px;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--gold);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: url('https://i.imgur.com/X8QJQJz.png') repeat-x;
    opacity: 0.3;
}

.footer-logo {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 20px;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s;
}

.footer-links a:hover::after {
    width: 100%;
}

.social-icons {
    margin-bottom: 30px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    text-align: center;
    line-height: 40px;
    color: var(--gold);
    transition: all 0.3s;
}

.social-icons a:hover {
    background: linear-gradient(to right, var(--orange), var(--gold));
    color: var(--dark-brown);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .auth-buttons {
        width: 100%;
        justify-content: center;
    }
}
/* Togel Promo Section Styles */
.togel-promo {
    margin: 40px auto 30px auto; /* Margin atas, samping auto, bawah */
    max-width: 800px; /* Lebar maksimal gambar/konten promo */
    text-align: center;
    padding: 0 20px; /* Padding samping untuk responsif */
}

.togel-promo img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 25px; /* Jarak antara gambar dan tombol */
    border: 3px solid var(--gold); /* Border emas */
}

/* Larger Register Button for Togel Promo */
.large-register-btn {
    padding: 18px 40px;
    font-size: 1.3em;
    font-weight: bold;
    border-radius: 8px;
    background-color: var(--orange); /* Warna yang menonjol */
    color: var(--cream);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: inline-block; /* Agar bisa diatur margin auto */
}

.large-register-btn:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* Togel Explanation Section Styles */
.togel-explanation-section {
    background-color: rgba(10, 29, 63, 0.9); /* Dark blue dengan transparansi */
    padding: 60px 20px;
    margin-top: 50px;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.togel-explanation-section .container {
    max-width: 900px;
    margin: 0 auto;
    color: var(--cream);
}

.togel-explanation-section h2 {
    font-family: 'Ma Shan Zheng', cursive; /* Font Cina yang artistik */
    color: var(--gold);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.togel-explanation-section h3 {
    color: var(--orange);
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.8em;
    border-bottom: 1px solid rgba(255, 160, 0, 0.3);
    padding-bottom: 5px;
}

.togel-explanation-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.togel-explanation-section ul {
    list-style: none; /* Hapus bullet default */
    padding: 0;
    margin-bottom: 30px;
}

.togel-explanation-section ul li {
    background-color: rgba(255, 255, 255, 0.05); /* Latar belakang item list */
    border-left: 5px solid var(--gold);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.togel-explanation-section ul li:hover {
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 0.08);
}

.togel-explanation-section ul li strong {
    color: var(--gold);
    font-size: 1.1em;
    display: block; /* Agar bold text punya baris sendiri */
    margin-bottom: 5px;
}

.center-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.call-to-action-btn {
    background: linear-gradient(45deg, var(--orange), var(--red)); /* Gradien untuk CTA */
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.call-to-action-btn:hover {
    background: linear-gradient(45deg, var(--red), var(--orange));
    transform: translateY(-5px);
}

/* Responsiveness for smaller screens */
@media (max-width: 768px) {
    .togel-explanation-section h2 {
        font-size: 2em;
    }
    .large-register-btn {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .togel-explanation-section h2 {
        font-size: 1.8em;
    }
    .togel-explanation-section h3 {
        font-size: 1.5em;
    }
    .large-register-btn {
        width: 90%; /* Agar tombol daftar lebih lebar di mobile */
        padding: 15px 20px;
    }
}