/* =========================================================
   name / nama / names .crazyartzone.com — modern & cute themes
   Loaded after mystyle.css; body gets class theme-name | theme-nama | theme-names.
   Google Ads containers (.adsbygoogle) are deliberately left untouched.
   ========================================================= */

/* ---------- palettes ---------- */
body.theme-name {                 /* Bubblegum: pink + lavender */
	--primary: #ff6fae;
	--primary-deep: #e0488f;
	--accent: #a78bfa;
	--bg: #fff7fb;
	--bg-dot: rgba(255,111,174,0.10);
	--hero-a: #ffe1ef;
	--hero-b: #ece4ff;
	--girl: #ffd6e8;
	--boy: #d9e8ff;
	--ink: #3b2a3f;
	--muted: #8a7890;
	--chip: #ffffff;
}
body.theme-nama {                 /* Mint Peach */
	--primary: #1fb899;
	--primary-deep: #13967c;
	--accent: #ff9f7a;
	--bg: #f3fffb;
	--bg-dot: rgba(31,184,153,0.10);
	--hero-a: #d7f7ee;
	--hero-b: #ffe6da;
	--girl: #ffe0d3;
	--boy: #d3f4ec;
	--ink: #23403a;
	--muted: #6f8a84;
	--chip: #ffffff;
}
body.theme-names {                /* Sky Lemon */
	--primary: #3d9df5;
	--primary-deep: #1f7fd6;
	--accent: #ffc53d;
	--bg: #f4f9ff;
	--bg-dot: rgba(61,157,245,0.10);
	--hero-a: #dcecff;
	--hero-b: #fff3cc;
	--girl: #ffe3ef;
	--boy: #dbeeff;
	--ink: #1f3247;
	--muted: #6d7f93;
	--chip: #ffffff;
}

body.theme-cottoncandy {         /* Cotton Candy: candy pink + baby blue */
	--primary: #f78fb3;
	--primary-deep: #e0578f;
	--accent: #74b9ff;
	--bg: #fff8fc;
	--bg-dot: rgba(247,143,179,0.12);
	--hero-a: #ffe4f0;
	--hero-b: #dff0ff;
	--girl: #ffd9ea;
	--boy: #d6ebff;
	--ink: #43304a;
	--muted: #8b7b92;
	--chip: #ffffff;
	--font-body: 'Nunito';
	--font-head: 'Baloo 2';
}
body.theme-coral {                /* Coral Reef: coral + sea green */
	--primary: #ff7f6e;
	--primary-deep: #e85a4a;
	--accent: #2ec4a6;
	--bg: #fff8f5;
	--bg-dot: rgba(255,127,110,0.11);
	--hero-a: #ffe3dc;
	--hero-b: #d9f6ef;
	--girl: #ffe0d9;
	--boy: #d6f3ec;
	--ink: #40302c;
	--muted: #8d7a74;
	--chip: #ffffff;
	--font-body: 'Poppins';
	--font-head: 'Comfortaa';
}
body.theme-lavender {             /* Lavender Mint */
	--primary: #9b7fe6;
	--primary-deep: #7a5bd1;
	--accent: #5fd3b3;
	--bg: #faf8ff;
	--bg-dot: rgba(155,127,230,0.11);
	--hero-a: #ece6ff;
	--hero-b: #dcf7ef;
	--girl: #f1e4ff;
	--boy: #dff3fb;
	--ink: #342c4a;
	--muted: #7f7893;
	--chip: #ffffff;
	--font-body: 'Mulish';
	--font-head: 'Sniglet';
}
body.theme-sage {                 /* Sage & Blush */
	--primary: #7fa88c;
	--primary-deep: #5e8a6c;
	--accent: #e8a0a8;
	--bg: #f7faf6;
	--bg-dot: rgba(127,168,140,0.12);
	--hero-a: #e3efe5;
	--hero-b: #fbe6e8;
	--girl: #f8e1e4;
	--boy: #e0ede4;
	--ink: #2f3b33;
	--muted: #75847a;
	--chip: #ffffff;
	--font-body: 'Lato';
	--font-head: 'Lora';
}
body.theme-sunset {               /* Sunset: tangerine + plum */
	--primary: #ff9a3c;
	--primary-deep: #e5731a;
	--accent: #b0578d;
	--bg: #fffaf3;
	--bg-dot: rgba(255,154,60,0.12);
	--hero-a: #ffe8cf;
	--hero-b: #f6dcea;
	--girl: #f9dcea;
	--boy: #ffeccf;
	--ink: #402c22;
	--muted: #8c776b;
	--chip: #ffffff;
	--font-body: 'Rubik';
	--font-head: 'Righteous';
}
body.theme-ocean {                /* Ocean: teal + deep blue */
	--primary: #1aa6b7;
	--primary-deep: #0e7f8d;
	--accent: #3a5bd9;
	--bg: #f3fbfc;
	--bg-dot: rgba(26,166,183,0.11);
	--hero-a: #d5f1f4;
	--hero-b: #dfe6ff;
	--girl: #fde3ee;
	--boy: #d5f1f4;
	--ink: #16333a;
	--muted: #637f85;
	--chip: #ffffff;
	--font-body: 'Open Sans';
	--font-head: 'Raleway';
}
body.theme-caramel {              /* Caramel Latte: warm brown + cream */
	--primary: #c08552;
	--primary-deep: #9a6537;
	--accent: #d9a441;
	--bg: #fbf7f1;
	--bg-dot: rgba(192,133,82,0.12);
	--hero-a: #f3e6d6;
	--hero-b: #fbefd0;
	--girl: #f7e2dc;
	--boy: #ece3d6;
	--ink: #3d2e22;
	--muted: #87766a;
	--chip: #ffffff;
	--font-body: 'Karla';
	--font-head: 'Josefin Sans';
}

/* ---------- base ---------- */
body[class*="theme-"] {
	background-color: var(--bg);
	background-image: radial-gradient(var(--bg-dot) 1.5px, transparent 1.5px);
	background-size: 22px 22px;
	color: var(--ink);
	font-family: var(--font-body, 'Quicksand'), 'Quicksand', 'Nunito', helvetica, arial, sans-serif;
}
body[class*="theme-"] h1,
body[class*="theme-"] h2,
body[class*="theme-"] h3 {
	font-family: var(--font-head, 'Fredoka'), 'Fredoka', 'Quicksand', sans-serif;
	color: var(--ink);
	font-weight: 600;
	letter-spacing: 0.2px;
}
body[class*="theme-"] h1 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.2; margin: 10px 0 8px; }
body[class*="theme-"] h2 { font-size: 1.35rem; }
body[class*="theme-"] a,
body[class*="theme-"] a:link,
body[class*="theme-"] a:visited { color: var(--primary-deep); }
body[class*="theme-"] a:hover { color: var(--accent); }

/* ---------- top navigation ---------- */
body[class*="theme-"] .header {
	background: rgba(255,255,255,0.85);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
body[class*="theme-"] .topnav {
	background: transparent;
	padding: 6px 10px;
	overflow: visible;
}
body[class*="theme-"] .topnav::after { content: ""; display: block; clear: both; }
body[class*="theme-"] .topnav a {
	color: var(--ink);
	font-weight: 600;
	font-size: 13px;
	padding: 7px 11px;
	margin: 3px 1px;
	border-radius: 999px;
	transition: background .2s, color .2s, transform .2s;
}
body[class*="theme-"] .topnav a:hover {
	background: var(--hero-a);
	color: var(--primary-deep);
	transform: translateY(-1px);
}
body[class*="theme-"] .topnav .active,
body[class*="theme-"] .topnav .active:hover {
	background: var(--primary);
	color: #fff;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 40%, transparent);
}
body[class*="theme-"] .topnav a[href*="shopee"] {
	background: var(--accent) !important;
	color: #fff !important;
}
body[class*="theme-"] .mobmenu {
	background: var(--primary);
	border-radius: 999px 0 0 999px;
}
body[class*="theme-"] .mobmenu b { color: #fff !important; }
body[class*="theme-"] .contentfull { padding: 64px 16px 10px; max-width: 1280px; margin: 0 auto; }

/* ---------- hero: title + search (cariform) ---------- */
body[class*="theme-"] .contentfull > div:first-child {
	background: linear-gradient(135deg, var(--hero-a), var(--hero-b)) !important;
	border-radius: 28px !important;
	padding: 18px 12px 14px;
	position: relative;
	isolation: isolate;               /* keeps the decorative blob behind the text */
	box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
body[class*="theme-"] .contentfull > div:first-child::after {       /* soft decorative blob */
	content: "";
	position: absolute;
	right: -40px; top: -40px;
	width: 180px; height: 180px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(255,255,255,0));
	pointer-events: none;
	z-index: -1;
}
body[class*="theme-"] .texto {
	background: #fff;
	border: 2px solid transparent;
	border-radius: 999px;
	padding: 13px 52px 13px 20px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.08);
	width: 100%;
	box-sizing: border-box;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}
body[class*="theme-"] .texto:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 18%, transparent);
}
body[class*="theme-"] form:has(.texto) { position: relative; }
body[class*="theme-"] .submito {
	position: absolute; right: 6px; bottom: 6px;
	width: 40px; height: 40px;
	margin-left: 0;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	font-size: 110%;
	vertical-align: middle;
}

/* ---------- A-Z letters as round chips ---------- */
body[class*="theme-"] a[href*="-huruf-"] {
	width: 34px; height: 34px;
	line-height: 34px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: var(--chip) !important;
	color: var(--ink) !important;
	font-weight: 700;
	font-size: 15px !important;
	box-shadow: 0 3px 8px rgba(0,0,0,0.07);
	transition: transform .15s, background .15s;
}
body[class*="theme-"] a[href*="-huruf-"]:hover {
	background: var(--primary) !important;
	color: #fff !important;
	transform: translateY(-2px) scale(1.06);
}

/* ---------- name cards ---------- */
body[class*="theme-"] .figurein {
	background: #fff !important;
	border-radius: 20px;
	box-shadow: 0 6px 16px rgba(0,0,0,0.06);
	border-left: 6px solid var(--boy);
	transition: transform .18s, box-shadow .18s;
}
body[class*="theme-"] .dash_50p:has(.figurein[style*="255,188,217"]) .figurein { border-left-color: var(--girl); }
body[class*="theme-"] .figurein[style*="255,188,217"] { background: color-mix(in srgb, var(--girl) 45%, #fff) !important; }
body[class*="theme-"] .figurein[style*="135,206,250"] { background: color-mix(in srgb, var(--boy) 45%, #fff) !important; }
body[class*="theme-"] .figurein:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.09); }
body[class*="theme-"] .quotes { background: transparent; padding: 14px 16px; }
body[class*="theme-"] .quotes h3 a { color: var(--ink); }
body[class*="theme-"] .quotes h3 a:hover { color: var(--primary-deep); }
body[class*="theme-"] .quotes ul { padding-left: 18px; margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
body[class*="theme-"] .quotes li::marker { color: var(--primary); }

/* ---------- name page: the name card ---------- */
body[class*="theme-"] #capbox.namebox {
	/* plain colours only: this box is turned into an image by html2canvas, which can't draw gradients */
	background: #fff;
	border: 4px solid var(--hero-a);
	outline: 2px dashed color-mix(in srgb, var(--primary) 35%, transparent);
	outline-offset: -14px;
	border-radius: 28px;
}
body[class*="theme-"] #capture { border-radius: 28px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,0.08); }
body[class*="theme-"] #capture img { display: block; border-radius: 28px; }
body[class*="theme-"] .namemean { color: var(--muted); font-size: 15px; }
body[class*="theme-"] .namebox[style*="max-width:360px"] {          /* custom baby-clothes button */
	background: var(--primary);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 35%, transparent);
}
body[class*="theme-"] .namebox[style*="max-width:360px"] a { color: #fff !important; }

/* name / meaning tables (A-Z lists, related names): see-through, tinted with the theme colour */
body[class*="theme-"] div[style*="overflow-x:auto; border:1px solid"] {
	border: 0 !important;
	border-radius: 18px;
	overflow: hidden;
	background: rgba(255,255,255,0.45);
	box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}
body[class*="theme-"] div[style*="background:rgba(0,0,0,0.15)"] {          /* header row */
	background: color-mix(in srgb, var(--primary) 20%, transparent) !important;
	border-bottom: 0 !important;
}
body[class*="theme-"] div[style*="background:rgba(0,0,0,0.15)"] b { color: var(--primary-deep); }
body[class*="theme-"] div[style*="background:rgba(0,0,0,0.03)"] {          /* striped rows */
	background: color-mix(in srgb, var(--primary) 7%, transparent) !important;
}
body[class*="theme-"] div[style*="border-bottom:1px solid rgba(0,0,0,0.2)"] {
	border-bottom-color: color-mix(in srgb, var(--primary) 16%, transparent) !important;
}

/* ---------- chips: popular names / variations ---------- */
body[class*="theme-"] ul.cloud a {
	background: #fff;
	color: var(--ink);
	border: 0;
	border-radius: 999px;
	padding: 4px 12px;
	margin: 3px;
	box-shadow: 0 3px 8px rgba(0,0,0,0.06);
	transition: background .15s, color .15s;
}
body[class*="theme-"] ul.cloud a:hover { background: var(--primary); color: #fff; border: 0; }

/* ---------- right column ---------- */
body[class*="theme-"] .dash_30p h3 {
	border-bottom: 0 !important;
	display: inline-block;
	background: var(--hero-a);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 8px;
}
body[class*="theme-"] .dash_30p div[style*="border-bottom:1px solid"] {
	border-bottom: 1px dashed color-mix(in srgb, var(--primary) 30%, transparent) !important;
}

/* ---------- footer ---------- */
body[class*="theme-"] .footer {
	background: #fff;
	border-top: 0;
	border-radius: 28px 28px 0 0;
	margin-top: 30px;
	padding: 22px 16px;
	color: var(--muted);
	box-shadow: 0 -6px 20px rgba(0,0,0,0.04);
}

/* ---------- mobile ---------- */
@media only screen and (max-width: 720px) {
	body[class*="theme-"] .contentfull { padding: 12px 10px 10px; }
	body[class*="theme-"] .topnav { background: rgba(255,255,255,0.97); box-shadow: 0 10px 24px rgba(0,0,0,0.1); }
	body[class*="theme-"] .topnav a { width: calc(50% - 6px); box-sizing: border-box; }
	body[class*="theme-"] .contentfull > div:first-child { border-radius: 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
	body[class*="theme-"] * { transition: none !important; }
}
