:root {
    --bg-light: #ffffff;
    --text-light: #000000;
    --card-bg-light: #f4f4f4;
    --hover-light: #e0e0e0;

    --bg-dark: #0e0e0e;
    --text-dark: #ffffff;
    --card-bg-dark: #1a1a1a;
    --hover-dark: #222;

    --gold: #ffd700;
    --radius: 12px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --bg: var(--bg-dark);
    --text: var(--text-dark);
    --card-bg: var(--card-bg-dark);
    --hover: var(--hover-dark);
}

[data-theme="light"] {
    --bg: var(--bg-light);
    --text: var(--text-light);
    --card-bg: var(--card-bg-light);
    --hover: var(--hover-light);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0.5rem;
    transition: var(--transition);
}

.container {
    max-width: 480px;
    width: 100%;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: var(--transition);
}

.logo-img {
    max-width: 100%;       /* menyesuaikan container */
    height: auto;          /* otomatis tinggi, sesuai rasio asli */
    aspect-ratio: 640 / 120; /* jaga rasio tetap 640:120 */
    margin-bottom: 1rem;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.bio {
    font-size: 1rem;
    color: #888;
    margin: 0.5rem;
}

.links {
display: grid;
grid-template-columns: repeat(2, 1fr); /* default 2 kolom */
gap: 10px; /* jarak antar tombol */
}

.link {
min-width: 130px;
height: 40px;
color: #fff;
padding: 5px 10px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
display: inline-block;
outline: none;
border-radius: 5px;
z-index: 0;
background: #111;
overflow: hidden;
border: 2px solid #ffd819;
color: #ffd819;
}
.link:hover {
color: #fff;
}
.link:hover:after {
height: 100%;
}
.link:after {
content: "";
position: absolute;
z-index: -1;
transition: all 0.3s ease;
left: 0;
bottom: 0;
height: 0;
width: 100%;
background: #ffd819;
}

.link:hover {
    opacity: 0.8;
}
.link.full {
grid-column: span 2;
}
.link,
.link:hover,
.link:focus,
.link:active {
text-decoration: none;
}

.footer {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #666;
}

.credit {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #777;
}

.credit a {
    color: var(--text);
    text-decoration: underline;
    transition: var(--transition);
}

.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    opacity: 0.8;
}
.review-sldr .swiper-slide {
aspect-ratio: 1 / 1;   /* kotak persegi */
width: 100%;           /* penuh lebar */
display: flex;
justify-content: center;
padding-bottom: 10px;
align-items: center;
overflow: hidden;       /* biar gambar tidak keluar */
}

.review-sldr .swiper-slide img {
width: 100%;
height: 100%;
object-fit: cover;      /* isi penuh kotak, crop kalau perlu */
}
.list-group {
display: flex;
flex-direction: column;
gap: 10px; /* jarak antar item */
}

.list-item {
position: relative; /* supaya pseudo-element nempel */
display: flex;
justify-content: space-between;
align-items: center;
background: #111;
color: #fff;
font-weight: bold;
border-radius: 6px;
padding: 0.8em 1em;
overflow: hidden; /* biar border tidak keluar */
z-index: 0;
}

/* Border animasi RGB */
.list-item::before {
content: "";
position: absolute;
inset: 0; /* full size */
padding: 1px; /* ketebalan border */
border-radius: 6px;
background: linear-gradient(
    90deg,
    red,
    orange,
    yellow,
    lime,
    cyan,
    blue,
    violet,
    red
);
background-size: 400% 400%;
animation: rgb-border 8s linear infinite;
-webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
z-index: -1;
}

/* Animasi gradient */
@keyframes rgb-border {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}


/* tombol gradient */
.button {
width: fit-content;
display: flex;
align-items: center;   
justify-content: center;
padding: 0.6em 1.2em;
gap: 0.4rem;
border: none;
font-weight: bold;
border-radius: 30px;
cursor: pointer;
text-shadow: 2px 2px 3px rgb(136 0 136 / 50%);
background: linear-gradient(
    15deg,
    #880088,
    #aa2068,
    #cc3f47,
    #de6f3d,
    #f09f33,
    #de6f3d,
    #cc3f47,
    #aa2068,
    #880088
    )
    no-repeat;
background-size: 300%;
background-position: left center;
transition: background 0.3s ease;
color: #fff;
text-decoration: none; /* hilangkan underline */
}

.button:hover {
background-size: 320%;
background-position: right center;
opacity: 0.9;
}

.falling-favicon {
position: fixed;
top: -50px;
pointer-events: none;
z-index: 9999;
opacity: 0.9;
animation: fall linear forwards;
}

/* Keyframes untuk jatuh + goyang */
@keyframes fall {
0% {
    transform: translateX(0) translateY(0) rotate(0deg);
    opacity: 1;
}
25% {
    transform: translateX(20px) translateY(25vh) rotate(45deg);
}
50% {
    transform: translateX(-20px) translateY(50vh) rotate(90deg);
}
75% {
    transform: translateX(15px) translateY(75vh) rotate(135deg);
}
100% {
    transform: translateX(-15px) translateY(100vh) rotate(180deg);
    opacity: 0.7;
}
}

/* Bottom fixed navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: linear-gradient(to right, #000, #000, #000); /* hijau → merah */
  padding: 4px 0;
  z-index: 9999;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.5);
}

/* Setiap menu item */
.bottom-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  text-align: center;
  flex: 1;
}

/* Container ikon bulat */
.bottom-nav .menu-icon {
  background: #1976d2; /* biru */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 4px auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Logo di dalam bulatan */
.bottom-nav .menu-icon img {
  width: 20px;
  height: 20px;
}

/* Teks bawah ikon */
.bottom-nav span {
  display: block;
  font-weight: bold;
  font-size: 12px;
}
