/* ============================================================
   agennomor.com — style_100.css
   Modern dark "nebula" theme
   ============================================================ */

:root {
	--bg: #0a0f1e;
	--bg-2: #0d1428;
	--surface: rgba(255, 255, 255, 0.04);
	--surface-2: rgba(255, 255, 255, 0.07);
	--border: rgba(255, 255, 255, 0.09);
	--border-strong: rgba(255, 255, 255, 0.18);
	--text: #e6eaf2;
	--text-muted: #9aa5b8;
	--primary: #6366f1;
	--secondary: #a855f7;
	--accent: #ec4899;
	--gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
	--success: #25d366;
	--danger: #ef4444;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
	--font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--font-display: 'Space Grotesk', 'Inter', 'Segoe UI', system-ui, sans-serif;
	--font-num: 'Space Grotesk', 'SF Mono', 'Consolas', 'Liberation Mono', monospace;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--text);
	background-color: var(--bg);
	background-image:
		radial-gradient(1100px 560px at 8% -10%, rgba(99, 102, 241, 0.20), transparent 60%),
		radial-gradient(900px 480px at 108% 8%, rgba(236, 72, 153, 0.14), transparent 60%),
		radial-gradient(1000px 620px at 50% 118%, rgba(168, 85, 247, 0.14), transparent 60%);
	background-attachment: fixed;
	min-height: 100vh;
}

img {
	max-width: 100%;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: color 0.2s ease;

	max-width: 100%;  	
  	flex-wrap: wrap; /* Allows text to drop below logo on tiny screens if needed */
}

a:hover {
	color: var(--secondary);
}

/* ---------- Layout ---------- */
.site-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 12px 48px;
}

/* ---------- Header ---------- */
.header-top {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 16px;
	background: rgba(10, 15, 30, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
	transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header-top.is-scrolled {
	background: rgba(10, 15, 30, 0.94);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--gradient);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.25rem;
	box-shadow: 0 4px 14px rgba(168, 85, 247, 0.45);
}

.brand-text {
	font-family: var(--font-display);
	font-weight: 800;
	
	/* clamp(MIN_SIZE, IDEAL_FLUID_SIZE, MAX_SIZE) */
  	font-size: clamp(2rem, 8vw, 5rem) !important;

	/* Prevents the text from wrapping to a new line as it shrinks */
  	white-space: nowrap; 
	
	letter-spacing: 0.04em;
	color: var(--text);
}

.brand-text span {
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wa-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 12px;
	background: rgba(37, 211, 102, 0.14);
	border: 1px solid rgba(37, 211, 102, 0.45);
	color: #4ade80;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-btn:hover {
	background: rgba(37, 211, 102, 0.24);
	color: #86efac;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

.wa-btn img {
	max-height: 1.35rem;
}

.header-banner {
	position: relative;
	background: var(--bg-2);
	text-align: center;
	overflow: hidden;
}

.header-banner img {
	display: block;
	width: 100%;
	max-width: 1200px;
	height: auto;
	margin: 0 auto;
}

.header-banner::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 70px;
	background: linear-gradient(180deg, transparent, var(--bg));
	pointer-events: none;
}

/* ---------- Search form ---------- */
.site-nav {
	padding: 0 12px;
}

.search-card {
	max-width: 920px;
	margin: 0 auto 20px;
}

.menu_top {
	text-align: center;
	padding: 13px 16px;
	border-radius: var(--radius) var(--radius) 0 0;
	background: var(--gradient);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.08rem;
	letter-spacing: 0.03em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.menu_center {
	padding: 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-top: none;
	border-radius: 0 0 var(--radius) var(--radius);
}

#formpencarian {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	align-items: end;
}

#formpencarian > * {
	display: block;
	margin: 0;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.field label {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--text-muted);
}

.field input[type="text"],
.field select {
	width: 100%;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.05);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 0.92rem;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input[type="text"]:focus,
.field select:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
	background: rgba(255, 255, 255, 0.08);
}

.field select option {
	background: #141a2e;
	color: var(--text);
}

.form-submit {
	grid-column: 1 / -1;
	text-align: center;
}

#formpencarian input[type="submit"],
.a_button {
	padding: 12px 44px;
	border: none;
	border-radius: 12px;
	background: var(--gradient);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.06em;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#formpencarian input[type="submit"]:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
	box-shadow: 0 10px 26px rgba(168, 85, 247, 0.45);
}

#formpencarian input[type="submit"]:active {
	transform: translateY(0);
}

.search-note {
	margin-top: 12px;
	font-size: 0.9rem;
	color: var(--text-muted);
	text-align: center;
}

.search-note a {
	color: var(--secondary);
	font-weight: 600;
}

/* ---------- Home page ---------- */
.home-title {
	text-align: center;
	font-family: var(--font-display);
	font-size: 1.55rem;
	font-weight: 800;
	margin: 10px 0 22px;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.home-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.operator-section {
	grid-column: 1 / -1;
	padding: 16px;
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(143, 143, 143, 0.4), rgba(255, 255, 255, 0.01));
	border: 1px solid var(--border);
}

.box-operator-logo {
	text-align: center;
	padding: 4px 0 14px;
}

.box-operator-logo a {
	display: inline-block;
}

.op-logo {
	max-height: 44px;
	/* filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45)); */
	filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
	transition: transform 0.2s ease;
}

.box-operator-logo a:hover .op-logo {
	transform: scale(1.07);
}

.operator-numbers {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px;
}

/* ---------- Number cards ---------- */
.x {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 16px 10px;
	border-radius: 14px;
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
	border: 1px solid var(--border);
	text-align: center;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.x:hover {
	transform: translateY(-4px);
	border-color: rgba(139, 92, 246, 0.55);
	background: linear-gradient(165deg, rgba(99, 102, 241, 0.16), rgba(236, 72, 153, 0.08));
	box-shadow: 0 10px 28px rgba(99, 102, 241, 0.28);
}

.x-op-label {
	font-size: 0.64rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.x .best_number {
	font-family: var(--font-num);
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--text);
	text-decoration: none;
	word-break: break-all;
	transition: color 0.2s ease;
}

.x:hover .best_number {
	color: #fff;
}

/* ---------- Search results ---------- */
.nomor-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 10px 5px;
	padding: 2px;
	margin: 2.0rem 0;
}

.result-info {
	text-align: center;
	padding: 12px 16px;
	margin: 8px 0;
	border-radius: var(--radius-sm);
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text);
	font-weight: 600;
}

.price-label {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 14px;
	margin: 4px 0;
	border-radius: var(--radius-sm);
	background: var(--gradient);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.02rem;
	box-shadow: 0 4px 18px rgba(168, 85, 247, 0.28);
}

.td_price {
	grid-column: 1 / -1;
	text-align: center;
	padding: 10px 14px;
	margin: 4px 0;
	border-radius: var(--radius-sm);
	background: var(--gradient);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.05rem;
	box-shadow: 0 4px 18px rgba(168, 85, 247, 0.28);
}

.urut_link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: var(--radius-sm);
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
	background: var(--surface);
	border: 1px solid var(--border);
	transition: all 0.2s ease;
}

.urut_link:hover {
	background: var(--gradient);
	color: #fff;
	border-color: transparent;
}

/* ---------- Detail page ---------- */
.detail-card {
	max-width: 660px;
	margin: 0.5rem auto;
	padding: 26px 24px;
	border-radius: var(--radius);
	background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
}

.detail-operator {
	text-align: center;
	margin-bottom: 14px;
}

.detail-operator-name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.1rem;
	margin-top: 8px;
	color: var(--text);
}

.detail-nomor {
	text-align: center;
	font-family: var(--font-num);
	font-size: 2.4rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	margin: 14px 0;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	word-break: break-all;
}

.detail-price {
	text-align: center;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	background: var(--gradient);
	border-radius: 12px;
	padding: 10px 18px;
	margin: 0 auto 16px;
	max-width: 340px;
	box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
}

.sold-notice {
	text-align: center;
	background: rgba(239, 68, 68, 0.14);
	color: #fca5a5;
	border: 1px solid rgba(239, 68, 68, 0.4);
	border-radius: var(--radius-sm);
	padding: 10px;
	margin: 12px 0;
	font-weight: 600;
}

.detail-table {
	width: 100%;
	border-collapse: collapse;
	margin: 14px 0;
	font-size: 0.95rem;
}

.detail-table td {
	padding: 10px 12px;
	border: 1px solid var(--border);
	vertical-align: top;
}

.detail-table td:first-child {
	width: 38%;
	color: var(--text-muted);
	font-weight: 600;
	background: rgba(255, 255, 255, 0.03);
}

.seller-box {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 14px;
	margin: 14px 0;
	text-align: center;
}

.seller-box .seller-name {
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 6px;
}

.seller-box .seller-line {
	color: var(--text-muted);
	font-size: 0.92rem;
}

.buy-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 16px 0 4px;
}

.buy-btn {
	display: inline-block;
	padding: 12px 20px;
	border-radius: 12px;
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.buy-btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
	color: #fff;
}

.buy-wa {
	background: #25d366;
	box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.buy-tokopedia {
	background: #42b549;
	box-shadow: 0 6px 18px rgba(66, 181, 73, 0.35);
}

.buy-shopee {
	background: #ee4d2d;
	box-shadow: 0 6px 18px rgba(238, 77, 45, 0.35);
}

/* ---------- Pagination ---------- */
.pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 16px 0;
	padding: 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.pagination-label {
	font-weight: 600;
	color: var(--text-muted);
	margin-right: 6px;
}

.jump_page_link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	padding: 6px 10px;
	border-radius: 8px;
	color: var(--text);
	text-decoration: none;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	transition: all 0.2s ease;
}

.jump_page_link:hover {
	background: var(--gradient);
	color: #fff;
	border-color: transparent;
}

.page-current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--gradient);
	color: #fff;
	font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
	margin-top: 30px;
	border-top: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005));
	padding: 32px 16px 26px;
}

.footer-grid {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 26px;
}

.footer-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid;
	border-image: var(--gradient) 1;
	color: var(--text);
}

.footer-body {
	color: var(--text-muted);
	font-size: 0.92rem;
	line-height: 1.65;
}

.footer-body p {
	margin: 6px 0;
}

.footer-body a {
	color: var(--text);
}

.footer-body a:hover {
	color: #fff;
}

.wa-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #4ade80 !important;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.wa-link:hover {
	color: #86efac !important;
}

.wa-link img {
	max-height: 1.4rem;
}

.footer-body .ext img {
	max-height: 58px;
	margin: 6px 8px 6px 0;
	border-radius: 8px;
	transition: transform 0.2s ease;
}

.footer-body .ext img:hover {
	transform: scale(1.05);
}

.footer-credit {
	text-align: center;
	color: var(--text-muted);
	font-size: 0.85rem;
	margin-top: 26px;
}

/* ---------- Back to top ---------- */
.back-to-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	width: 46px;
	height: 46px;
	border: none;
	border-radius: 50%;
	background: var(--gradient);
	color: #fff;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
	box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4);
	z-index: 200;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* ---------- Image download mode (html2canvas) ---------- */
.box {
	height: 300px;
	width: 300px;
	font-size: 2.5rem;
	color: #000;
	background-color: #fff;
	display: flex;
	flex-flow: column nowrap;
	border: 0 solid #000;
	margin: 1px;
}

.x-seller {
	font-size: 1.8rem;
	color: #fff;
	text-shadow: 3px 3px 5px #000;
	background-color: #813772;
	text-align: center;
	vertical-align: middle;
	display: block;
	width: 100%;
	padding: 10px;
	font-weight: bold;
	border-bottom: 2px solid #000;
}

.x-seller:before {
	content: 'agennomor.com';
}

.x-nomor {
	font-size: 1.7rem;
	color: #000;
	background-color: #fff;
	text-align: center;
	vertical-align: middle;
	display: block;
	width: 100%;
	padding: 30px 0 0 0;
	flex: 8 1 auto;
}

.x-op {
	padding: 10px;
	color: #000;
	background-color: #fff;
	text-shadow: 0 0 0 #000;
	text-align: center;
}

.x-contact {
	font-size: 1.1rem;
	color: #fff;
	text-shadow: 3px 3px 5px #000;
	background-color: #813772;
	text-align: center;
	vertical-align: middle;
	display: block;
	width: 100%;
	padding: 10px;
	border-top: 2px solid #000;
}

.x-contact:before {
	content: 'HUB TELP: 0877 0877 8000';
}

.download-btn {
	display: block;
	width: 100%;
	margin: 6px 0;
	padding: 8px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--text);
	font-family: var(--font-body);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.download-btn:hover {
	background: var(--gradient);
	color: #fff;
	border-color: transparent;
}

.nomor {
	color: #9c9eff;
	font-weight: bold;
}
.operator {
	font-size: 0.9rem;
	font-weight: normal;
	color: gray;
}
.price {
	font-size: 0.9rem;
	font-weight: normal;


	/* 1. Apply the gradient as a background */
  	background: linear-gradient(to right, hotpink, pink);
  
	/* 2. Clip the background so it only shows through the text */
	-webkit-background-clip: text;
	background-clip: text;
  
	/* 3. Make the default text color transparent so the gradient shows through */
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.animated-arrow-down {
  font-size: 24px;
  color: rgba(230, 168, 50, 0.7);
  animation: bounceDown 1.5s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.animated-arrow-up {
  font-size: 24px;
  color: rgba(230, 168, 50, 0.7);
  animation: bounceDown 1.5s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}


/* ---------- Responsive ---------- */
@media (max-width: 500px) {
	.site-main {
		padding: 2px;
	}

	#formpencarian {
		grid-template-columns: 1fr;
	}

	.detail-nomor {
		font-size: 1.9rem;
	}

	.header-top {
		padding: 8px 12px;
	}

	.wa-btn .wa-text {
		display: none;
	}

	.wa-btn {
		padding: 9px 12px;
	}

	.home-title {
		font-size: 1.25rem;
	}

	.operator-section {
		padding: 12px;
	}

	.header-banner a {
		margin: 1.5rem !important; /* Scale down the large 3rem margin */
		gap: 0.5rem !important;
	}
	
	.header-banner img {
		height: 6rem !important; /* Scale down the logo height */
	}
	
}