:root {
	--primary: #6366f1;
	--primary-dark: #4f46e5;
	--primary-light: #818cf8;
	--secondary: #ec4899;
	--accent: #f59e0b;
	--success: #10b981;
	--dark: #1e1b4b;
	--gray-50: #f9fafb;
	--gray-100: #f3f4f6;
	--gray-200: #e5e7eb;
	--gray-300: #d1d5db;
	--gray-400: #9ca3af;
	--gray-500: #6b7280;
	--gray-600: #4b5563;
	--gray-700: #374151;
	--gray-800: #1f2937;
	--gray-900: #111827;
	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
	--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
	--radius-sm: 0.375rem;
	--radius: 0.5rem;
	--radius-md: 0.75rem;
	--radius-lg: 1rem;
	--radius-xl: 1.5rem;
	--radius-2xl: 2rem;
}

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

html {
	scroll-behavior: smooth;
}

a {
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

img {
	object-fit: cover;
	max-width: 100%;
}

body {
	font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
	background: var(--gray-50);
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: var(--primary);
	color: #fff;
}

::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
	background: var(--gray-300);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--gray-400);
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.7;
	}
}

.fade-in-up {
	animation: fadeInUp 0.6s ease-out forwards;
}

.loading {
	animation: pulse 1.5s ease-in-out infinite;
}

.de_iv_adv {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 10px 0;
}

.postionFixed {
	width: 100%;
	min-height: 60px;
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(12px);
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 9999;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.footer {
	width: 100%;
	margin-bottom: 60px;
	text-align: center;
	background: linear-gradient(135deg, var(--dark) 0%, #312e81 100%);
	color: #fff;
	font-size: 14px;
	line-height: 1.6;
	padding: 40px 20px;
	position: relative;
	overflow: hidden;
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer > div:first-child {
	font-size: 15px;
	margin-bottom: 10px;
	opacity: 0.9;
}

.about {
	width: 100%;
	display: flex;
	margin: 15px auto 0;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.about>a {
	color: rgba(255, 255, 255, 0.7);
	text-align: center;
	padding: 8px 20px;
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
	font-weight: 500;
}

.about>a:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

@media (max-width:1000px) {
	.header {
		width: 100%;
		background: #fff;
		position: relative;
		box-shadow: var(--shadow-md);
	}

	.hb {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 12px 20px;
	}

	.title {
		width: 50%;
		display: flex;
		justify-content: center;
	}

	.title img {
		width: 100%;
		max-width: 180px;
		height: 45px;
		object-fit: contain;
		cursor: pointer;
	}

	.g-name {
		margin-left: 5%;
		font-size: 28px;
		font-weight: 700;
		color: var(--dark);
		line-height: 1.8;
	}

	.g-count {
		margin-left: 5%;
		font-size: 15px;
		color: var(--gray-500);
		line-height: 1.5;
	}

	.menu,
	.seach {
		width: 28px;
		height: 28px;
		cursor: pointer;
		transition: all 0.3s;
		opacity: 0.8;
	}

	.menu:hover,
	.seach:hover {
		opacity: 1;
		transform: scale(1.1);
	}

	.seach2 {
		display: none;
	}

	.menu-box {
		width: 100%;
		height: calc(100vh - 60px);
		background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
		transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		transform: translateX(-100vw);
		position: absolute;
		left: 0;
		top: 60px;
		z-index: 9999;
		overflow-y: auto;
		padding: 20px;
	}

	.search-box {
		width: 100%;
		height: calc(100vh - 60px);
		background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
		transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		display: none;
		position: absolute;
		top: 60px;
		left: 0;
		z-index: 9999;
		padding: 20px;
	}

	.menu_list {
		width: 100%;
		padding: 10px 0;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.menu_list a.menu-item {
		display: flex;
		align-items: center;
		width: 100%;
		line-height: 1;
		font-size: 15px;
		font-weight: 600;
		color: var(--gray-700);
		padding: 14px 16px;
		border-radius: var(--radius-lg);
		background: #fff;
		box-shadow: var(--shadow-sm);
		border: 1px solid var(--gray-100);
	}

	.menu_list a.menu-item:hover {
		background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
		color: #fff;
		transform: scale(1.02);
		box-shadow: var(--shadow-lg);
		border-color: transparent;
	}

	.menu_list .menu-emoji {
		font-size: 20px;
		margin-right: 10px;
	}

	.menu_list .menu-text {
		flex: 1;
	}

	.menu_list img {
		width: 24px;
		height: 24px;
		vertical-align: middle;
	}

	.seachdiv {
		width: 100%;
		display: flex;
		padding: 10px 0;
		position: relative;
	}

	#seach {
		display: block;
		border: none;
		outline: 0;
		cursor: pointer;
		height: 50px;
		width: calc(100% - 60px);
		font-size: 15px;
		text-indent: 20px;
		background-color: #fff;
		border: 2px solid var(--gray-200);
		border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
		transition: all 0.3s;
	}

	#seach:focus {
		border-color: var(--primary);
		box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
	}

	.seach-img {
		width: 60px;
		height: 50px;
		display: flex;
		justify-content: center;
		align-items: center;
		border: none;
		border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0;
		background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
		cursor: pointer;
		transition: all 0.3s;
		box-shadow: var(--shadow-md);
	}

	.seach-img:hover {
		transform: scale(1.02);
		box-shadow: var(--shadow-lg);
	}

	.seach-img img {
		width: 22px;
		height: 22px;
	}
}

@media (min-width:1000px) {
	.header {
		position: sticky;
		top: 0;
		width: 100%;
		background: #fff;
		backdrop-filter: blur(12px);
		border-bottom: 1px solid var(--gray-200);
		box-shadow: var(--shadow-sm);
		z-index: 100;
	}

	.h-box {
		width: 100%;
		max-width: 1400px;
		margin: 0 auto;
		padding: 10px 40px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.hb {
		width: 200px;
		display: flex;
		justify-content: flex-start;
		align-items: center;
	}

	.title {
		width: 100%;
	}

	.title img {
		width: 100%;
		max-width: 200px;
		height: 50px;
		object-fit: contain;
		cursor: pointer;
	}

	.menu,
	.seach {
		display: none;
	}

	.menu_list {
		display: flex !important;
		text-align: center;
		justify-content: center;
		gap: 6px;
		padding: 0px 0 20px;
	}

	.menu_list a.menu-item {
		line-height: 1;
		text-align: center;
		font-size: 14px;
		font-weight: 600;
		display: inline-flex;
		align-items: center;
		color: var(--gray-600);
		padding: 8px 16px;
		border-radius: 50px;
		position: relative;
		overflow: hidden;
		background: var(--gray-100);
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.menu_list a.menu-item::before {
		content: '';
		position: absolute;
		inset: 0;
		opacity: 0;
		transition: opacity 0.3s;
		border-radius: 50px;
	}

	.menu_list a.menu-item:hover {
		color: #fff;
		transform: translateY(-2px);
		box-shadow: var(--shadow-md);
		background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	}

	.menu_list a.menu-item:hover::before {
		opacity: 1;
	}

	.menu_list a.menu-item span {
		position: relative;
		z-index: 1;
	}

	.menu_list .menu-emoji {
		font-size: 16px;
		margin-right: 6px;
	}

	.menu_list .menu-text {
		white-space: nowrap;
	}

	.menu_list img {
		width: 24px;
		height: 24px;
		vertical-align: middle;
	}

	.g-name {
		width: 90%;
		line-height: 2;
		font-size: 30px;
		margin-left: 3%;
	}

	.g-count {
		width: 90%;
		font-size: 18px;
		color: var(--gray-600);
		line-height: 2;
		margin-left: 3%;
	}

	.seach2 {
		display: none;
	}

	.search-box {
		width: 280px;
	}

	.seachdiv {
		width: 100%;
		height: 48px;
		display: flex !important;
		justify-content: flex-start;
		align-items: center;
	}

	#seach {
		display: block;
		border: none;
		outline: 0;
		cursor: pointer;
		height: 100%;
		width: calc(100% - 50px);
		font-size: 14px;
		text-indent: 18px;
		background-color: var(--gray-100);
		border: 2px solid transparent;
		border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
		transition: all 0.3s;
	}

	#seach:focus {
		background-color: #fff;
		border-color: var(--primary);
		box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
	}

	.seach-img {
		width: 50px;
		height: 48px;
		border: none;
		border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0;
		display: flex;
		justify-content: center;
		align-items: center;
		background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
		cursor: pointer;
		transition: all 0.3s;
		box-shadow: var(--shadow-md);
	}

	.seach-img:hover {
		transform: scale(1.02);
		box-shadow: var(--shadow-lg);
	}

	.seach-img img {
		width: 20px;
		height: 20px;
	}
}