.btn {
 background-color: white;
 font-size: 20px;
 border-radius: 10px;
 padding: 10px;
 color: black;
 display: block;
 text-align: center;
 margin: 30px;
 text-decoration: none;
 transition: transform 0.2s ease-in-out;
}

.btn:hover {
 background-color: rgba(255, 255, 255, 0.674);
 color: rgb(49, 49, 49);
 transform: scale(1.05);
}

@media (min-width: 768px) {
 .main-layout {
  display: flex;
  flex-direction: row; /* Places the profile on the left and news on the right */
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
 }

 .profile-section {
  flex: 1;
 }

 .btn {
  max-width: 400px;
  margin: 20px auto; /* Centers the buttons and adds vertical spacing */
 }

 .news-container {
  margin-top: 150px; /* Moves the news lower on desktop */
  flex: 1;
 }
}

img {
 width: 150px;
 margin-top: 20px;
 border-radius: 75px;
 border: 1px solid white;
}

h2 {
 font-size: 18px;
}

body {
 background-color: rgb(50,50,50);
 font-family: Trebuchet MS;
 color: white;
 text-align: center;
}

.news-container {
 background-color: white;
 margin: 60px auto; /* Increased top margin for mobile view */
 padding: 25px;
 border-radius: 15px;
 max-width: 600px;
 border: 1px solid #ccc;
 line-height: 1.6;
 color: rgb(43, 43, 43);
}

.wattpad-promo-container {
 background-color: rgba(255, 255, 255, 0.2);
 padding: 20px;
 border-radius: 15px;
 margin: 20px 30px;
 border: 1px dashed white;
}

.wattpad-promo-text {
 font-size: 16px;
 margin-bottom: 10px;
}

.wattpad-promo-description {
 font-size: 14px;
 font-style: italic;
 margin-bottom: 15px;
 text-align: left;
 color: rgba(255, 255, 255, 0.9);
}

.title-news-container {
 color: rgb(43, 43, 43);
 font-size: 28px;
 margin-bottom: 20px;
}

.news-title {
 color: rgb(43, 43, 43);
 font-size: 24px;
 margin-bottom: 15px;
}

.news-image {
 max-width: 100%;
 height: auto;
 border-radius: 10px;
 margin-bottom: 15px;
 display: block;
 margin: 0 auto;
}

.news-content {
 color: rgb(43, 43, 43);
 font-size: 16px;
 text-align: left;
}

/* About Us Container Styles */
.about-us-container {
 background-color: white;
 margin: 40px auto; /* Adjust margin as needed */
 padding: 25px;
 border-radius: 15px;
 max-width: 600px;
 border: 1px solid #ccc;
 line-height: 1.6;
 color: rgb(43, 43, 43);
 text-align: center;
}

.about-us-container h2 {
 color: rgb(43, 43, 43);
 font-size: 24px;
 margin-bottom: 15px;
}

.about-us-container p {
 color: rgb(43, 43, 43);
 font-size: 16px;
 text-align: left;
}

/* Add some margin to the end-section to separate it from the new container */
.end-section {
 margin-top: 40px;
}

/* Admin Login Page Styles */
.admin-login-container {
 background-color: white;
 margin: 80px auto;
 padding: 30px;
 border-radius: 15px;
 max-width: 400px;
 border: 1px solid #ccc;
 text-align: center;
}

.admin-login-container h1 {
 color: rgb(43, 43, 43);
 margin-bottom: 30px;
}

.form-group {
 margin-bottom: 20px;
 text-align: left;
}

.form-group label {
 display: block;
 color: rgb(43, 43, 43);
 margin-bottom: 8px;
 font-size: 16px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="file"] {
 width: 100%;
 box-sizing: border-box;
 padding: 10px;
 border-radius: 8px;
 border: 1px solid #ccc;
 background-color: rgba(255, 255, 255, 0.9);
 color: #333;
 font-size: 16px;
}

.form-group textarea {
 width: 100%;
 box-sizing: border-box;
 padding: 10px;
 border-radius: 8px;
 border: 1px solid #ccc;
 background-color: rgba(255, 255, 255, 0.9);
 color: #333;
 font-size: 14px;
 font-family: Trebuchet MS;
 resize: vertical;
 min-height: 150px;
 max-height: 31415px;
}

.admin-login-container .btn {
 margin-top: 30px;
}

.error-message {
 margin-top: 15px;
 font-weight: bold;
}

.mymine {
 display: block;
 margin-top: 10px;
 font-size: 14px;
 color: rgba(255, 255, 255, 0.9);
 text-decoration: none;
}

/* ==========================================================================
   STYLE KHUSUS HALAMAN CHANGELOG MUHA ZEN
   ========================================================================== */

/* Base Page Setup */
body.changelog-page {
    background-color: rgb(19, 43, 79);
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.changelog-container {
    width: 100%;
    max-width: 700px;
    margin: 40px 20px;
    display: flex;
    flex-direction: column;
}

/* Tombol Kembali */
.btn-back {
    align-self: flex-start;
    text-decoration: none;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-bottom: 20px;
}
.btn-back:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateX(-3px);
}

/* Header */
.changelog-header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}
.changelog-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.changelog-header h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
    letter-spacing: 1px;
}
.changelog-header p {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Timeline & Cards */
.changelog-timeline {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.changelog-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}
.changelog-card:hover {
    transform: translateY(-2px);
}

/* Penanda Spesial untuk Versi Terbaru */
.changelog-card.latest {
    border-left: 5px solid #2196F3; /* Warna biru cerah penanda versi terkini */
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.version-badge {
    background: #333;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 14px;
}
.changelog-card.latest .version-badge {
    background: #2196F3;
}

.release-date {
    font-size: 13px;
    color: #777;
    font-style: italic;
}

.version-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #222;
}

.version-description {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Kategori Pembaruan (Tags & Lists) */
.change-categories {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tag {
    align-self: flex-start;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.tag.added { background: #e8f5e9; color: #2e7d32; }
.tag.changed { background: #fff3e0; color: #ef6c00; }
.tag.fixed { background: #ffebee; color: #c62828; }

.category ul {
    margin: 0;
    padding-left: 20px;
}
.category li {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 4px;
}

/* Footer */
.changelog-footer {
    text-align: center;
    color: white;
    margin-top: 40px;
    font-size: 13px;
    opacity: 0.8;
}

.link {
    color: #000000;
    text-decoration: underline;
    font-weight: bold;
}