/* ============================================== */
/* 1. RESET & ASAS */
/* ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    /* TUKAR DI SINI: Memasukkan background image */
    background: url('IMAGE/Background.jpeg') no-repeat center center fixed; 
    background-size: cover; 
    color: #1A1A1A;
    padding-top: 72px; 
}

/* ============================================== */
/* 2. HEADER (WARNA HITAM & TAJUK KUNING) */
/* ============================================== */
header {
    width: 100%;
    height: 72px;
    background: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 1000; 
    transition: all 0.4s ease; 
}

header.shrink {
    height: 50px; 
    padding: 0 30px; 
    background: rgba(0, 0, 0, 0.9); 
}

header.shrink .logo {
    font-size: 18px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #FFD700; 
}

.header-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px; 
}

header nav button,
.nav-btn-link { 
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    background: transparent; 
    color: #FFF; 
    text-decoration: none; 
    transition: 0.3s; 
    display: inline-block; 
}

header nav button:hover,
.nav-btn-link:hover {
    color: #FFD700; 
}

/* ============================================== */
/* 3. SLIDER SECTION */
/* ============================================== */
.slider-section {
    padding: 50px 0;
    /* Buat background lutsinar sedikit supaya nampak wallpaper body */
    background: rgba(243, 244, 246, 0.8); 
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slides-wrapper {
    overflow: hidden;
}

.slides {
    display: flex;
    transition: 0.5s ease;
}

.slide {
    flex: 0 0 25%;
    padding: 10px;
}

.slide img {
    width: 100%;
    height: 180px; 
    object-fit: cover; 
    border-radius: 14px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.slide img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.65);
    border: none;
    color: #FFF;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
    z-index: 10;
}

.arrow:hover {
    background: #FFD700; 
    color: #000;
}

.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

/* ============================================== */
/* 4. NOTA SECTION (GAMBAR DI TENGAH) */
/* ============================================== */
.nota-section {
    padding: 35px 50px;
    /* Tambah sedikit transparansi agar estetik dengan background body */
    background: rgba(232, 232, 232, 0.7); 
}

.nota {
    border: none; 
    box-shadow: 0 8px 30px rgba(0,0,0,0.1); 
    background: #FFF; 
    padding: 40px;
    border-radius: 12px;
    min-height: 450px;
    font-size: 16px;
    line-height: 1.6;
    max-width: 1100px;
    margin: 0 auto;
}

.nota-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #EEE;
}

.nota h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000; 
}

.nota p { 
    margin-bottom: 15px; 
    text-align: center; 
}

.nota img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-bottom: 20px;
}

.game-btn {
    background-color: #FFD700; 
    color: #000000; 
    font-family: 'Roboto', sans-serif;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 700; 
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.game-btn:hover {
    background-color: #000; 
    color: #FFD700; 
    transform: scale(1.05);
}

.nota ul, .nota ol { 
    margin-left: 20px; 
    margin-bottom: 15px; 
    text-align: left; 
}

/* ============================================== */
/* 5. FOOTER (WARNA HITAM) */
/* ============================================== */
footer {
    padding: 30px;
    text-align: center;
    background: #000000; 
    color: #FFF;
    font-size: 14px;
}

/* ============================================== */
/* 6. CHATBOX TOGGLE BUTTON (WARNA HITAM) */
/* ============================================== */
.chat-toggle-btn {
    position: fixed; 
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000000; 
    color: #FFD700; 
    border: none;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: 0.3s;
    z-index: 1000; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle-btn:hover {
    background: #FFD700; 
    color: #000;
    transform: scale(1.05) rotate(5deg);
}

/* ============================================== */
/* 7. GAYA SUSUNAN GAMBAR MENEGAK */
/* ============================================== */
.nota-image-vertical-stack {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 30px;
    margin-top: 20px;
    width: 100%;
}

.img-wrapper {
    width: 100%;
    display: flex;
    justify-content: center; 
}

/* ============================================== */
/* 8. RESPONSIVE STYLES */
/* ============================================== */
@media (max-width: 768px) {
    header { padding: 0 20px; }
    .slide { flex: 0 0 50%; }
    .nota-section { padding: 20px; }
    .nota { padding: 25px; }
}

@media (max-width: 480px) {
    header { height: auto; padding: 15px 20px; }
    .logo { margin-bottom: 10px; }
    .slide { flex: 0 0 100%; }
    .slides-wrapper { margin: 0 20px; }
}
/* --- SISTEM TUTORIAL DENGAN ZOOM --- */
.tuto-modal {
    display: none; 
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999; 
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Elak skrol laman web utama */
}

.tuto-content {
    position: relative;
    max-width: 60%; /* Saiz asal dikecilkan sedikit */
    max-height: 80%;
    overflow: auto; /* Membolehkan skrol DALAM gambar bila zoom */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border: 3px solid #FFD700;
    border-radius: 12px;
    background: #000;
}

.tuto-content img {
    width: 100%; /* Saiz asal ikut kotak */
    height: auto;
    cursor: zoom-in; /* Menandakan gambar boleh di-zoom */
    transition: transform 0.3s ease;
}

/* Kelas tambahan untuk zoom (akan ditambah guna JS) */
.tuto-content img.zoomed {
    width: 150%; /* Gambar jadi lebih besar dari kotak */
    cursor: zoom-out;
    transform: scale(1); /* Reset scale jika perlu */
}