/* --- General & Body Styling --- */
body {
    background-color: #e9e9e9;
    background-image: url('../img/bg.jpg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    text-align: center;
}

h1 {
    color: #1c2533;
    font-size: 22px;
    margin-bottom: 30px;
    font-weight: 700;
}

h2 {
    font-size: 18px;
    color: #555;
    margin-top: 0;
}

h3 {
    text-align: left;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    margin-top: 30px;
}

strong, b {
    color: #dc3545;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Header & Navigation --- */
.header-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo-container {
    background-color: #1c2533;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo-img {
    max-width: 250px;
    height: auto;
    transition: max-width 0.3s ease;
}

.header-container {
    padding: 10px;
    background-color: #1c2533;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffc107;
    color: #1c2533;
    border: none;
    padding: 12px 15px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: #ffca2c;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nav-button svg {
    width: 20px;
    height: 20px;
    fill: #1c2533;
}

/* --- Promo Section & Cards --- */
.promo-section {
    padding: 0 15px;
}

.semua-promo {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promo-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #eee;
    border-top: 5px solid #f31212;
}

.promo-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.promo-item:hover .promo-image {
    transform: scale(1.05);
}

.promo-details {
    display: none;
    padding: 18px;
    border: 1px solid #f31212;
    border-radius: 5px;
    margin-bottom: 5px;
    text-align: left;
    line-height: 1.2;
    background-color: #ffca2c;
}

.promo-details h3 {
    color: #d83b5b;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.promo-details ul {
    list-style: none;
    padding: 0;
}

.promo-details ul li {
    margin-bottom: 6px;
    padding-left: 24px;
    position: relative;
}

.promo-details ul li::before {
    content: '➤';
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- Hashtag & Info Boxes --- */
.hashtag-examples, .hashtag-stake, .hashtag-info {
    margin-top: 10px;
    padding: 15px;
    background-color: #f1f3f5;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    font-weight: bold;
}

.hashtag-examples p {
    margin: 0 0 10px 0;
    font-weight: bold;
}

.sah { color: #28a745; }
.sah ul li::before { content: '✔'; }

.tidak-sah { color: #dc3545; }
.tidak-sah ul li::before { content: '✘'; }

/* --- Floating Contact Buttons (Mobile Only) --- */
.floating-contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none; /* Hidden by default */
    flex-direction: column;
    gap: 12px;
}

.contact-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.btn-whatsapp { background-color: #25D366; }
.btn-telegram { background-color: #0088cc; }
.btn-livechat { background-color: #f39c12; }


/* --- Table Styling --- */
.table-container {
    overflow-x: auto;
    padding-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

th, td {
    border: 1px solid maroon;
    padding: 6px;
}

.header-row {
    background-color: #ffffff;
    color: #333;
    text-align: center;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    background-color: #333;
    color: #fff;
}

/* --- Miscellaneous --- */
.note {
    font-style: italic;
    color: #777;
    margin-top: 20px;
    border-top: 2px solid #eee;
    padding-top: 15px;
}

.final-decision {
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    color: red;
}

/* --- Responsive Media Queries --- */
@media screen and (max-width: 768px) {
    .floating-contact-buttons {
        display: flex;
    }
}

@media screen and (max-width: 480px) {
    .logo-img {
        max-width: 180px;
    }
}