* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: Arial, sans-serif;
    background: #5ba5f9;
    text-align: center;
    margin: 0;
    font-weight: bold;
}

.h3 {
    color: #485579;
}

.p {
    color: #6c7b9f;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #072f7c;
    color: #a4c6ee;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Animasi Background*/
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 150%;
    height: 150%;
    background: url('https://source.unsplash.com/1600x900/?galaxy,nebula') no-repeat center center/cover;
    filter: blur(10px);
    z-index: -2;
    animation: pulse 5s infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.02);
    }
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 150%;
    height: 300%;
    z-index: -1;
    pointer-events: none;
}

/* Loading Screen Styling */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(30, 60, 114, 1) 0%, rgba(42, 82, 152, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

#loading-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: blur(5px) brightness(0.7);
}

#game-title {
    position: absolute;
    top: 5%;
    left: 0%;
    font-size: 50px;
    background: linear-gradient(90deg, #ff7f50, #ff1493, #00ffcc);
    /* Gradient */
    background-clip: text;
    /* Clip background ke teks */
    color: transparent;
    /* Set teks jadi transparan agar gradient terlihat */
    font-weight: bold;
    text-shadow: 4px 4px 15px rgba(0, 0, 0, 0.8);
    z-index: 3;
}

#game-title1 {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3px;
    background: linear-gradient(90deg, #ff7f50, #ff1493, #00ffcc);
    background-clip: text;
    color: transparent;
    font-weight: bold;
    text-shadow: 4px 4px 15px rgba(0, 0, 0, 0.8);
    z-index: 3;
    padding: 20px 60px;
}


#game-version {
    position: absolute;
    bottom: 10%;
    right: 5%;
    font-size: 20px;
    color: #ffffff;
    z-index: 3;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

#progress-bar {
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 80%;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

#progress-bar div {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0053f8, #1689ff, #0756f0);
    background-size: 300% 100%;
    animation: load 6s linear forwards, gradient-shift 4s infinite;
}

@keyframes load {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

#start-button {
    display: none;
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 60px;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #072f7c, #1689ff);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    z-index: 3;
    text-transform: uppercase;
    box-shadow: 0 12px 40px rgba(102, 112, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fade-in 1.5s ease-out 6s;
}

#start-button:hover {
    box-shadow: 0px -10px 40px rgba(102, 122, 255, 0.9);
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Splash Effect Styling */
.splash {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(8, 153, 244, 0.7);
    border-radius: 50%;
    pointer-events: none;
    animation: splash-animation 1s ease-out;
}

@keyframes splash-animation {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.banner {
    background-color: #0756f0;
    color: #fff;
    padding: 40px;
}

.logo img {
    height: 50px;
}

.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    padding: 10px 20px;
}

.website-name {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu>div {
    position: relative;
    color: white;
    padding: 10px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #072f7c;
    min-width: 150px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content div {
    padding: 10px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    transition: background 0.3s;
}

.dropdown-content div:hover {
    background: #0756f0;
}

.dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.container {
    display: none;
    padding: 20px;
}

/* toko */

#beranda {
    display: block;
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background: #1689ff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 200px;
    position: relative;
}

.detail-container {
    display: none;
    position: absolute;
    background: #a4c6ee;
    border-radius: 10px;
    padding: 20px;
    width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    align-items: center;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9;
}

.cover img {
    width: 200px;
    height: auto;
    border-radius: 10px;
}

.title {
    margin-top: 10px;
}

.detail-content {
    margin-left: 20px;
    flex: 1;
    text-align: left;
    position: relative;
}

.detail-container.active {
    display: none;
    transform: scale(1.2);
}

.tokobutton {
    margin-top: 7px;
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.tokobutton:hover {
    color: red;
}

.author {
    margin-top: 5px;
    margin-bottom: 5px;
}

.btn,
.cart {
    background: #a4c6ee;
    color: blue;
    border: none;
    padding: 10px;
    margin-top: 4px;
    cursor: pointer;
    width: 150px;
    border-radius: 5px;
}

.harga {
    margin-top: 7px;
    /* Memastikan chapters selalu di bawah */
    color: #1689ff;
    background-color: #a4c6ee;
    padding: 8px;
    width: 150px;
    border-radius: 2px;
    border-color: #007bff;
    box-shadow: none;
    font-size: 16px;
    /* Ukuran teks lebih besar */
    font-weight: bold;
    /* Teks menjadi tebal */
    margin: 0 auto;
    display: block;
}


.baca-container {
    display: none;
    /* Awalnya disembunyikan */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #a4c6ee;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    overflow-y: auto;
    /* Agar bisa discroll jika isi panjang */
    z-index: 1000;
}

/* Header */
.header1 {
    text-align: center;
    padding: 20px;
}

/* Animasi Warna pada Judul */
.judul-novel {
    font-size: 40px;
    font-weight: bold;
    background: linear-gradient(90deg, #00bfff, #0756f0, #5c00ff);
    background-size: 200% auto;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s infinite linear;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Informasi Novel */
.info-novel {
    margin-top: 10px;
    font-size: 16px;
    color: gray;
}

.info-novel span {
    font-weight: bold;
    color: black;
}

/* Sinopsis */
.sinopsis {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    font-size: 18px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Scrollable Chapter List */
.chapter-list {
    margin-top: 20px;
    max-height: 200px;
    overflow-y: auto;
    background: #a4c6ee;
    padding: 10px;
    border-radius: 10px;
    box-shadow: inset 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.chapter-list ul {
    list-style: none;
    padding: 0;
}

.chapter-list li {
    padding: 12px;
    margin: 5px 0;
    background: linear-gradient(135deg, #3366ff, #00c6ff);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    transition: 0.3s;
}

.chapter-list li:hover {
    background: linear-gradient(135deg, #00c6ff, #3366ff);
    transform: scale(1.05);
}

/* Platform Section */
.platform-section {
    margin-top: 30px;
    text-align: center;
}

.platform-section h3 {
    color: black;
    font-size: 22px;
}

.platform-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.platform-box {
    width: 200px;
    background: linear-gradient(135deg, #00c6ff, #3366ff);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.platform-box:hover {
    transform: scale(1.1);
}

.platform-box img {
    max-width: 140px;
    height: auto;
}

.karakter-section {
    text-align: center;
    margin-top: 30px;
}

.karakter-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.karakter-card {
    width: 180px;
    background: #00c6ff;
    border: 4px solid #5c00ff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.karakter-card img {
    width: 100%;
    border-radius: 5px;
}

.karakter-name {
    background: #3366ff;
    color: white;
    padding: 8px 0;
    margin-top: 10px;
    font-weight: bold;
    border-radius: 5px;
}

.karakter-card h4 {
    margin: 10px 0 5px;
    color: #ffcc00;
}

.karakter-card p {
    font-size: 14px;
    color: #ddd;
}

/* Tombol kembali */
.btn-back {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #00c6ff, #3366ff);
    color: white;
    padding: 12px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-back:hover {
    background: linear-gradient(135deg, #3366ff, #00c6ff);
    transform: scale(1.05);
}

/* beranda */

.bannerslide1 {
    background: linear-gradient(135deg, #3366ff, #0756f0, );
    padding: 20px;
    border-radius: 200px;
    box-shadow: 0 10px 30px rgba(37, 106, 244, 0.863);
    width: 80vw;
    /* Lebar maksimal 80% dari layar */
    max-height: 350px;
    max-width: 1650px;
    /* Biar di layar besar gak terlalu gede */
    aspect-ratio: 16 / 6;
    /* Rasio 16:6 tetap terjaga */
    margin: 10px auto 0 auto;
    /* Jarak dari atas dan center */
    position: relative;
    border: 5px solid #1689ff;
}

#message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0756f0;
    color: #072f7c;
    text-align: center;
    padding: 23px 0;
    font-size: 40px;
    font-family: monospace;
    display: none;
    z-index: 9999;
    border-bottom: 5px solid #072f7c;
}

.carousel {
    right: 15px;
    position: relative;
    width: 90vw;
    max-height: 400px;
    max-width: 1650px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide1-container {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.slide1 {
    display: inline-block;
    cursor: pointer;
    position: absolute;
    width: 20%;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    transform: scale(0.8);
    border: 10px solid #1689ff;
    border-radius: 53px;
    overflow: hidden;
    z-index: 1;
}

.slide1 img {
    border-radius: 50px;
    width: 100%;
    display: block;
}

.left1 {
    left: 5%;
    opacity: 0.5;
    transform: scale(0.6);
    z-index: 0;
}

.left1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.center1-left {
    left: 28%;
    transform: scale(1);
    opacity: 1;
    z-index: 3;
}

.center1-right {
    left: 52%;
    transform: scale(1);
    opacity: 1;
    z-index: 3;
}

.right1 {
    left: 75%;
    opacity: 0.8;
    transform: scale(0.7);
    z-index: 2;
}

.dot1-container {
    margin-top: 20px;
    text-align: center;
}

.dot1 {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 5px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.dot1.active {
    transform: scale(1.5);
    background-color: #007BFF;
}

.buttons1 {
    left: 25px;
    position: absolute;
    top: 50%;
    width: 95%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 5;
}

.buttons1 button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
}

.discover-btn,
.explore-btn {
    background-color: #5ba5f9;
    color: #0756f0;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.discover-btn:hover,
.explore-btn:hover {
    background-color: #a4c6ee;
}

.mainhome {
    margin-top: 50px;
}

.headline {
    font-size: 3rem;
    font-weight: bold;
}

.description {
    font-size: 1.2rem;
    color: #bbb;
    max-width: 600px;
    margin: 10px auto;
}

.top-sectionhome {
    margin: 20px auto;
    padding: 20px;
    background-color: #1689ff;
    border-radius: 10px;
    width: 80%;
}

.novelhome-list,
.authorhome-list {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.novel-card,
.author-card,
.review-card {
    background-color: #a4c6ee;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 250px;
}

.reviewshome {
    margin: 30px auto;
    padding: 20px;
    background-color: #0756f0;
    color: #a4c6ee;
    border-radius: 10px;
    width: 80%;
}

.footer {
    background: #072f7c;
    color: #a4c6ee;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    font-family: Arial, sans-serif;
}

.official-x {
    margin-bottom: 20px;
}

.official-x h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 15px;
    border: 2px solid white;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
}

.social-btn img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.social-btn .text-container {
    display: flex;
    flex-direction: column;
}

.social-btn .text-container span {
    font-size: 14px;
}

.social-btn .text-container .username {
    font-size: 12px;
    opacity: 0.8;
}

.social-btn:hover {
    background: white;
    color: blue;
}

.share-links p {
    margin-top: 10px;
}

.share-links img {
    width: 40px;
    height: 40px;
    margin: 10px;
}

.footer-logo img {
    width: 150px;
    margin: 10px 0;
}

.footer-links a {
    color: #a4c6ee;
    text-decoration: none;
    margin: 0 10px;
}

.copyright {
    margin-top: 10px;
    font-size: 0.8em;
    opacity: 0.7;
}

nav {
    display: flex;
    justify-content: center;
    /* Centers the nav horizontally */
    align-items: center;
    /* Centers the nav vertically */
    height: auto;
    /* Ensures nav only takes as much height as necessary */
}

/* news */

.news {
    display: flex;
    gap: 20px;
    /* Space between the menu items */
    text-align: center;
}

.news div {
    cursor: pointer;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.news div:hover {
    background-color: #f0f0f0;
    /* Hover effect */
}

.news-container {
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px;
}

.news-card {
    background: #1689ff;
    margin: 20px;
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: scale(1.05);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-content p {
    font-size: 14px;
    color: #555;
}

.news-content a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    text-align: center;
}

.modal img {
    width: 50%;
    border-radius: 10px;
}

/* about */
.containerabout {
    width: 80%;
    margin: 80px auto;
    background: #1689ff;
    padding: 80px;
    border-radius: 30px;
    box-shadow: 0 0 50px #072f7c;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

.containerabout:hover {
    box-shadow: 0 0 80px #072f7c;
}

.glowing-borderabout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    box-shadow: 0 0 30px #072f7c;
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px #072f7c(255, 215, 0, 0.7);
    }

    to {
        box-shadow: 0 0 50px #072f7c(255, 215, 0, 1);
    }
}

.h1about {
    color: #fff;
    font-size: 4.5rem;
    text-transform: uppercase;
    border-bottom: 5px solid #a4c6ee;
    padding-bottom: 15px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px #a4c6ee;
    animation: fadeIn 2s ease-in-out;
}

.descriptionabout {
    font-size: 1.9rem;
    font-style: italic;
    margin-bottom: 50px;
    color: #a4c6ee;
    animation: fadeIn 2.5s ease-in-out;
}

.about-content {
    font-size: 1.5rem;
    line-height: 2.5;
    text-align: justify;
    padding: 30px;
    background: #a4c6ee;
    border-left: 8px solid #072f7c;
    border-radius: 20px;
    box-shadow: 10px 10px 30px rgba(255, 255, 255, 0.3);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.about-content:hover {
    transform: scale(1.05);
}

.highlightabout {
    color: #1689ff;
    font-weight: bold;
    font-size: 1.7rem;
}

.animated-icon {
    font-size: 3.5rem;
    margin: 20px;
    color: #1689ff;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

/* baca novel */
.searchbacanomik-box input {
    background-color: #a4c6ee;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 200px;
}

.searchbacanomik-box button,
.filtersbacanomik button {
    background-color: #a4c6ee;
    box-shadow: none;
    border: #ccc;
    width: 50px;
    height: 30px;
}

.menubacanomik-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1689ff;
    padding: 10px 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.menubacanomik {
    display: flex;
    gap: 20px;
}

.menubacanomik a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.filtersbacanomik {
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    background-color: #1689ff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin: 15px;
    border-radius: 8px;
}

.filtersbacanomik select {
    background-color: #a4c6ee;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 150px;
}

.contentbacanomik {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.itembacanomik {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 180px;
    /* Perbesar ukuran agar lebih luas */
    height: 330px;
    /* Sesuaikan tinggi agar lebih besar */
    background-color: #1689ff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.itembacanomik img {
    width: 100;
    /* Pastikan gambar selalu memenuhi lebar */
    height: 160px;
    /* Tinggi gambar agar proporsional */
    object-fit: cover;
    /* Memastikan gambar tetap rapi */
    border-radius: 10px;
    align-self: center;
    /* Memastikan gambar di tengah */
}

.itembacanomik .titlebacanomik {
    font-weight: bold;
    margin-top: 10px;
    min-height: 50px;
    /* Sesuaikan tinggi agar semua titlebacanomik setara */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    /* Sedikit diperbesar */
}

.itembacanomik .infobacanomik {
    margin-bottom: 10px;
    font-size: 12px;
    color: red;
    font-weight: bold;
    margin-top: auto;
    /* Mendorong infobacanomik ke bawah jika titlebacanomik bervariasi */
}

.itembacanomik .chaptersbacanomik {
    margin-top: auto;
    /* Memastikan chapters selalu di bawah */
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.chapterbacanomik {
    color: black;
    background-color: #a4c6ee;
    padding: 5px;
    border-radius: 0;
    border-color: #007bff;
    box-shadow: none;
    font-size: 12px;
}

/* event */
.headernovel {
    color: #fff;
    background: linear-gradient(90deg, #007bff, #1689ff);
    padding: 40px;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 18px;
    font-weight: 300;
}

.countdown-container {
    margin: 30px 0;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.5);
}

.eventnovels {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 30px;
}

.eventnovel-card {
    background: linear-gradient(90deg, #1689ff, #5daeff);
    margin: 20px;
    padding: 25px;
    width: 400px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: left;
    overflow: hidden;
    position: relative;
}

.eventnovel-card:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.eventnovel-card img {
    width: 100%;
    border-radius: 15px;
}

.eventnovel-btn {
    background: #0756f0;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.eventnovel-btn:hover {
    background: linear-gradient(45deg, #0059b3, #002F6C);
    transform: scale(1.1);
}

.location,
.date,
.description {
    margin-top: 10px;
}

/* Hover effect for text inside eventnovel card */
.eventnovel-card:hover .location {
    font-weight: bold;
    background: linear-gradient(to right, #efefef, #f7f7f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: color 0.3s ease-in-out;
    font-size: 16px;
}

.eventnovel-card:hover .date {
    font-weight: bold;
    background: linear-gradient(270deg, #4d77c6, #072f7c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: color 0.3s ease-in-out;
    font-size: 16px;
}

.eventnovel-card:hover h2 {
    font-weight: bold;
    background: linear-gradient(to right, #efefef, #f7f7f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: color 0.3s ease-in-out;
    font-size: 25px;
}

.eventnovel-card:hover .description {
    background: linear-gradient(135deg, #4d77c6, #072f7c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: color 0.3s ease-in-out;
}

/* modalevent styles */
.modalevent {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modalevent-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
    color: black;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 28px;
}

/* web developer */

.containercreator {
    color: white;
    max-width: 900px;
    margin: 80px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px);
    animation: fadeIn 1s ease-in-out;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 10;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profilecreator-pic {
    margin-top: 10px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 6px solid rgb(75, 132, 254);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s;
}

.containercreator h1,
.bio,
.containercreator p {
    margin-top: 10px;
}

.containercreator p {
    background: linear-gradient(270deg, #4d77c6, #072f7c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.profilecreator-pic:hover {
    transform: scale(1.2) rotate(8deg);
    box-shadow: 0 0 40px rgba(66, 130, 248, 0.8);
}

.socialcreator-links a {
    margin-top: 10px;
    color: white;
    font-size: 32px;
    margin: 0 15px;
    text-decoration: none;
    transition: transform 0.4s, color 0.4s;
}

.socialcreator-links a:hover {
    margin-top: 10px;
    color: #ffd700;
    transform: translateY(-8px) scale(1.3);
}

.glowcreator-text {
    margin-top: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Testimoni */
/* Testimonial Styles */
#Testimonial {
  padding: 30px 15px;
}

.testimonial-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.testimonial-row-scroll {
  display: flex;
  flex-wrap: wrap; /* Biar pindah ke bawah */
  gap: 16px;
  padding-bottom: 10px;
}

.testimonial-card-horizontal {
  display: flex;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 10px;
  min-width: 260px;
  max-width: 280px;
  flex: 1 1 auto; /* Biar fleksibel */
  align-items: center;
}


.testimonial-img {
  width: 90px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 12px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.testimonial-img:hover {
  transform: scale(1.03);
}

.testimonial-content {
  flex: 1;
}

.testimonial-label {
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: #555;
}

/* Popup Styles */
.popup-overlay {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 999;
  flex-direction: column;
}

.popup-overlay img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  background: rgba(255,255,255,0.2);
  padding: 8px 14px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.close-btn:hover {
  background: rgba(255,255,255,0.4);
}
