@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quando&display=swap');

/* 🌸 Reverienara — Ruma Shared Styles (Optimized & Cleaned) */

/* 🎨 Color Palette */
:root {
--bg: #fff8fa;
--card: #ffffff;
--accent: #cc7094;
--accent-2: #e7cb58;
--soft: #eeb2d1;
--ink: #786060;
--radius: 14px;
--shadow: 0 6px 18px rgba(204, 112, 148, 0.15);
}

/* 🩰 Global Reset */

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}


body {
font-family: 'Quicksand', sans-serif;
color: var(--ink);
font-size: 15px;
background: linear-gradient(180deg, #fff8fa 0%, #ffeef5 40%, #fff8fa 100%);
background-attachment: fixed;
display: flex;
flex-direction: column;
align-items: center;
max-width: 500px;
}

/* ☁️ Pastel Cloud Atmosphere */
body::before {
content: "";
position: fixed;
inset: 0;
z-index: -1;
background:
radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.8), transparent 70%),
radial-gradient(circle at 80% 60%, rgba(238, 178, 209, 0.6), transparent 70%),
radial-gradient(circle at 50% 90%, rgba(231, 203, 88, 0.25), transparent 80%);
filter: blur(50px);
}

/* 🌈 Header */
header {
max-width: 400px;
width: 90%;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(6px);
border-radius: 14px;
position: sticky;
top: 20px;
z-index: 10;
box-shadow: var(--shadow);
display: flex;
justify-content: center;
align-items: center;
padding: 8px 0;
margin-bottom: 24px;
}

/* 🌤️ Header Glow */
header::before {
content: "";
position: absolute;
inset: 0;
border-radius: 14px;
background: linear-gradient(90deg, #ffffff, #cc7094, #eeb2d1, #e7cb58);
opacity: 0.3;
filter: blur(12px);
z-index: -1;
}

/* 🧭 Navigation */
  nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  align-items: center;
  gap: 10px 10px;
  /* jarak di dalam nav */
  padding: 5px 10px 5px 5px;
}

nav a {
color: var(--ink);
text-decoration: none;
font-weight: 600;
padding: 5px 10px;
border-radius: 999px;
transition: background 0.3s ease;
text-align: center;
}

nav a:hover,
nav a.active {
background: var(--accent);
color: #fff;
}

.nav.ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* 🏞️ Banner */
.banner {
width: 90%;
max-width: 400px;
max-height: 220px;
object-fit: cover;
border-radius: 12px;
box-shadow: var(--shadow);
margin: 20px 0;
display: block;
}

/* 💫 Titles */
h1, h2, h3 {
font-family: 'Quando', serif;
color: #ffffff;
text-align: center;
font-weight: 500;
}

h1 {
  max-width: 300px;
  margin: 0 auto;
  padding: 10px 24px;
  border-radius: 9999px;
  background-color: #cc7094;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

/* 📜 Text */
p {
padding: 20px;
margin-bottom: 20px;
line-height: 1.2;
text-align: left;
white-space: pre-line;
font-weight: 400;
}

a {
text-decoration: none;
font-weight: 400;
}

/* 📦 Layout */
main {
width: 100%;
max-width: 960px;
display: flex;
flex-direction: column;
align-items: center;
gap: 28px;
padding: 0 18px 28px;
}

section {
  position: relative;
  border-radius: 20px;
  background: transparent;
  z-index: 1;
  max-width: 400px; /* tambahkan ini */
  margin: 0 auto; /* biar tetap center */
  padding: 20px; /* supaya isi tidak nempel ke tepi */
}

section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 3px; /* tebal border */
  background: linear-gradient(135deg, rgba(238,178,209,0.5), rgba(231,203,88,0.4), rgba(204,112,148,0.5));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

section:hover {
transform: translateY(-4px);
box-shadow: 0 12px 28px rgba(204, 112, 148, 0.2);
}

/* 🔘 Buttons */
.button-below {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
margin-top: 0;
}

.btn {
display: inline-block;
padding: 10px 18px;
font-weight: 700;
border-radius: 999px;
background: var(--accent);
color: #fff;
transition: all 0.3s ease;
}

.btn:hover {
transform: translateY(-2px);
}

.btn.ghost {
background: transparent;
border: 1px solid var(--accent);
color: var(--accent);
margin-top: 0px;
}

/* 🖼️ Gallery */
.gallery {
display: grid;
grid-template-columns: repeat(2, minmax(100px, 1fr));
gap: 16px;
}

.gallery-item {
display: flex;
flex-direction: column;
align-items: center;
border-radius: 2px;
box-shadow: 0 2px 8px rgba(204, 112, 148, 0.3);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
transform: translateY(-4px);
box-shadow: 0 8px 18px rgba(204, 112, 148, 0.2);
}

.gallery-item img {
display: block;
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
border-radius: 2px;
}

.gallery-item .text {
padding: 10px;
padding-top: 2px;
width: 100%;
text-align: left;
font-weight: ;
}

.gallery-item .text t {
display: block;
padding-top: 5px;
margin: 5px 0;
font-size: 0.8rem;
color: var(--ink);
}

.gallery-item .text d {
display: block;
padding-top: 2px;
margin: 5px 0;
font-size: 0.7rem;
color: var(--ink);
}

/* 💰 Pricing */
.prices {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 24px;
max-width: 400px;
margin: 40px auto;
padding: 0 16px;
}

.tier {
background: linear-gradient(0deg, #fff8fa, rgba(255,255,255,0.1)); border-radius: 12px;
padding: 20px 0 25px;
text-align: center;
box-shadow: var(--shadow);
}

.tier h3 {
margin: 6px 0 8px;
color: #cc7094;
font-weight: 800;
}

.tier .price {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
font-weight: 500;
font-size: 1rem;
line-height: 1.2;
white-space: normal;
padding-bottom: 0;
}

.tier .assets {
  color: #cc7094;
  font-weight: 500;
  margin-top: 5px;
}

/* 📝 Forms */
.contact {
max-width: 500px;
margin: 0 auto;
text-align: center;
padding: 20px;
}

.contact form {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 10px;
}

.contact input,
.contact textarea {
border: 1px solid rgba(120,96,96,0.3);
border-radius: 8px;
padding: 10px;

font-family: inherit;
background-color: #fff8fa;
}

.contact label {
  font-weight: 500;
}



.contact button {
background-color: #cc7094;
color: white;
border: none;
border-radius: 8px;
padding: 10px;
font-weight: 600;
cursor: pointer;
transition: opacity 0.2s;
}

.contact button:hover {
opacity: 0.8;
}

.contact p {
  font-weight: 500;
}
.contact .note {
max-width: 500px; 
font-weight: 500;
margin: 0 auto;
text-align: left;
line-height: 1.2;
}

.hidden{
display: none;
}

/* 👣 Footer */
footer {
font-family: 'Georgia', serif;
color: #786060;
font-size: 0.8rem;
opacity: 0.7;
margin-top: 40px;
}

/* 📱 Responsive */
@media (max-width: 600px) {
h1 { font-size: 1.3rem; }
section { padding: 18px; }
.btn { padding: 8px 14px; font-size: 14px; }
}

strong, b {
font-weight: 620 !important;
}

/* ——— Credits ——— */
.credit {
position: relative;
background: linear-gradient(180deg, #fff8fa, #ffffff);
padding: px;
border-radius: 16px;
box-shadow: 0 10px 28px rgba(204,112,148,0.14);
max-width: 1000px;
margin: 0 auto 28px;
overflow: visible;
}

.home-text {
text-align: left;
color: #786060;
line-height: 20px;
align-items: 10px;
margin-bottom: 1px;
margin-top: -10px;
font-weight: 500;
}

.credits-list h3 {
text-align: center;
color: #786060;
}

.credits-list,
.credits-list2 {
display: grid;
padding-bottom: 10px;
gap: 10px;
flex-wrap: wrap;
line-height: 20px;
justify-content: center;
}

.credits-list li {
  font-weight: 500;
}

.credits-list2 li {
position: relative;
left: -22px;
top: 30px;
font-weight: 500;
}

.credits-list2 h3 {
text-align: center;
position: relative;
top: 30px;
color: #786060;
}

.home-text br {
display: block;
margin-bottom: 14px;
font-weight: 800;
}

.comms-tos .p br {
margin-bottom: 0px;
padding-bottom: 2px;
}

.about-ruma-text {
text-align: left;
margin-bottom: 0px;
margin-top: -10px;
font-weight: 500;
}

.button-ruma {
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
flex-wrap: wrap;
margin-top: 3px;
}

.button-ruma .btn {
padding: 8px 20px;
min-width: 110px;
text-align: center;
}

.spark-separator {
text-align: center;
background: linear-gradient(90deg, #cc7094, #fff8fa, #E7CB58);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 6px rgba(231, 203, 88, 0.3);
font-size: 18px;
letter-spacing: 2px;
margin-bottom: -30px;
}

/* ✨ Floating Magic */
.floating-separator {
position: relative;
top: -140px;
}

/* 🌷 Category Filter Buttons */

.filter-buttons {
text-align: center;
margin: -10px 0 -10px;
}

.filter-buttons button {
background: #fff8fa;
border: 1px solid #cc7094;
border-radius: 40px;
padding: 8px 14px;
margin: 0 4px;
font-family: 'Quicksand', sans-serif;
font-weight: 600;
color: #cc7094;
cursor: pointer;
transition: all 0.25s ease;
}

.filter-buttons button:hover {
background: #cc7094;
color: white;
}

.filter-buttons button.active {
background: #cc7094;
color: white;
}

/* 🌸 Success Page */
.success {
max-width: 520px;
margin: 5px auto;
text-align: center;
background: transparent;
border-radius: var(--radius);
padding: 32px 24px;
box-shadow: var(--shadow);
animation: fadeIn 0.6s ease-in-out;
}

.success h1 {
font-family: 'Quando', serif;
color: #fff;
font-size: 1.4rem;
margin-bottom: 16px;
text-shadow: 0 0 10px rgba(238, 178, 209, 0.5);
}

.success p {
font-size: 0.95rem;
line-height: 1.4;
color: var(--ink);
margin-bottom: 20px;
font-weight: 500;
}

.success a {
display: inline-block;
background: var(--accent);
color: #fff;
text-decoration: none;
padding: 10px 18px;
border-radius: 999px;
font-weight: 600;
transition: all 0.3s ease;
}

.success a:hover {
transform: translateY(-2px);
background: var(--soft);
}

/* 🌟 Smooth entrance animation */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}