:root {
	--night-sky: #0a192f;
	--deep-sky: #0f2a4a;
	--sky-blue: #1e3a5f;
	--snow-white: #f8f9fa;
	--ice-blue: #a8dadc;
	--frost-blue: #c7ecee;
	--star-gold: #ffd166;
	--accent-blue: #118ab2;
	--accent-teal: #06d6a0;
	--text-light: #e6f7ff;
	--text-medium: #c0e0f0;
	--shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	--transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

body {
	background: linear-gradient(135deg, var(--night-sky), var(--deep-sky));
	color: var(--text-light);
	min-height: 100vh;
	overflow-x: hidden;
	position: relative;
}

/* Snow & Star Background */
.sky-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	overflow: hidden;
}

.snowflake {
	position: absolute;
	background: var(--snow-white);
	border-radius: 50%;
	pointer-events: none;
	animation: fall linear infinite;
}

.star {
	position: absolute;
	background: var(--star-gold);
	border-radius: 50%;
	pointer-events: none;
	box-shadow: 0 0 10px var(--star-gold), 0 0 20px var(--star-gold);
	animation: twinkle infinite alternate;
}

@keyframes fall {
	to {
		transform: translateY(100vh);
	}
}

@keyframes twinkle {
	from {
		opacity: 0.3;
	}
	to {
		opacity: 1;
	}
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
header {
	padding: 10px 0;
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(10px);
	background: rgba(10, 25, 47, 0.5);
	border-bottom: 1px solid rgba(168, 218, 220, 0.2);
}

.top-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0px 0 0;
	font-size: 0.9rem;
}

.contact-info {
	display: flex;
	gap: 20px;
}

.contact-info a {
	color: var(--ice-blue);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 5px;
}

.social-links {
	display: flex;
	gap: 15px;
}

.social-links a {
	color: var(--text-light);
	font-size: 1.1rem;
	transition: var(--transition);
}

.social-links a:hover {
	color: var(--star-gold);
	transform: translateY(-3px);
}

.main-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
}

.logo-container {
	display: flex;
	align-items: center;
	gap: 15px;
}

.logo {
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, var(--star-gold), var(--accent-teal));
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.05); }
	100% { transform: scale(1); }
}

.logo-text {
	font-size: 1.8rem;
	font-weight: 700;
	background: linear-gradient(to right, var(--text-light), var(--star-gold));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.search-bar {
	flex: 1;
	max-width: 600px;
	margin: 0 30px;
	position: relative;
}

.search-input {
	width: 100%;
	padding: 12px 20px;
	border: 2px solid rgba(168, 218, 220, 0.3);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--text-light);
	font-size: 1rem;
	outline: none;
	transition: var(--transition);
}

.search-input:focus {
	background: rgba(255, 255, 255, 0.15);
	border-color: var(--star-gold);
	box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.3);
}

.search-btn {
	position: absolute;
	right: 5px;
	top: 5px;
	background: var(--star-gold);
	color: var(--night-sky);
	border: none;
	border-radius: 30px;
	padding: 7px 20px;
	cursor: pointer;
	font-weight: 600;
	transition: var(--transition);
}

.search-btn:hover {
	background: var(--ice-blue);
	transform: scale(1.05);
}

.user-actions {
	display: flex;
	gap: 20px;
}

.action-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	padding: 8px;
	border-radius: 10px;
	transition: var(--transition);
	position: relative;
}

.action-item:hover {
	background: rgba(168, 218, 220, 0.1);
	transform: translateY(-3px);
}

.action-icon {
	font-size: 1.5rem;
	color: var(--text-light);
	margin-bottom: 5px;
}

.action-text {
	font-size: 0.8rem;
	color: var(--text-light);
}

.notification-badge {
	position: absolute;
	top: 0;
	right: 0;
	background: var(--star-gold);
	color: var(--night-sky);
	border-radius: 50%;
	width: 18px;
	height: 18px;
	font-size: 0.7rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Navigation */
nav {
	background: rgba(15, 42, 74, 0.5);
	backdrop-filter: blur(5px);
	margin: 15px 0;
	border-radius: 10px;
	padding: 10px 0;
}

.nav-container {
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}

.nav-item {
	padding: 10px 20px;
	border-radius: 20px;
	cursor: pointer;
	font-weight: 500;
	transition: var(--transition);
	color: rgba(255, 255, 255, 0.8);
	position: relative;
}

.nav-item:hover, .nav-item.active {
	background: var(--star-gold);
	color: var(--night-sky);
}

.nav-item::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background: var(--star-gold);
	border-radius: 2px;
	transition: var(--transition);
}

.nav-item:hover::after, .nav-item.active::after {
	width: 70%;
}

/* Hero Section */
.hero {
	padding: 80px 0 60px;
	text-align: center;
	position: relative;
}

.hero h1 {
	font-size: 2.8rem;
	margin-bottom: 20px;
	background: linear-gradient(to right, var(--text-light), var(--star-gold));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
	font-size: 1.2rem;
	max-width: 700px;
	margin: 0 auto 30px;
	color: var(--text-medium);
	line-height: 1.7;
}

.cta-button {
	display: inline-block;
	background: var(--star-gold);
	color: var(--night-sky);
	padding: 15px 40px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: var(--transition);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	margin: 0 10px; /* Jarak antar tombol */
}

.cta-button:hover {
	background: var(--ice-blue);
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Categories */
.categories {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	margin: 30px 0;
}

.category-item {
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(168, 218, 220, 0.2);
	border-radius: 12px;
	padding: 15px 25px;
	text-align: center;
	cursor: pointer;
	transition: var(--transition);
	min-width: 120px;
	text-decoration: none;
    color: inherit;
    flex-direction: column;
    align-items: center;
}

.category-item:hover {
	background: rgba(168, 218, 220, 0.2);
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	border-color: var(--star-gold);
}

.category-icon {
	font-size: 24px;
	margin-bottom: 10px;
	color: var(--star-gold);
}

.category-name {
	font-size: 0.9rem;
	font-weight: 500;
	
}

/* App Grid */
.app-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 25px;
	margin: 50px 0;
}

.app-card {
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(168, 218, 220, 0.15);
	border-radius: 16px;
	padding: 25px;
	transition: var(--transition);
	cursor: pointer;
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow);
}

.app-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(to right, var(--star-gold), var(--ice-blue));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}

.app-card:hover::before {
	transform: scaleX(1);
}

.app-card:hover {
	transform: translateY(-10px) scale(1.03);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 209, 102, 0.4);
}

.app-icon {
	width: 70px;
	height: 70px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 30px;
	transition: var(--transition);
}

.app-card:hover .app-icon {
	background: linear-gradient(135deg, var(--star-gold), var(--ice-blue));
	transform: scale(1.1) rotate(5deg);
}

.app-title {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--text-light);
}

.app-desc {
	font-size: 0.95rem;
	color: var(--text-medium);
	margin-bottom: 20px;
	line-height: 1.5;
	height: 70px;
	overflow: hidden;
}

.app-link {
	display: inline-block;
	padding: 12px 25px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(168, 218, 220, 0.2);
	border-radius: 8px;
	color: var(--text-light);
	text-decoration: none;
	font-weight: 500;
	transition: var(--transition);
	width: 100%;
	text-align: center;
}

.app-link:hover {
	background: linear-gradient(135deg, var(--star-gold), var(--ice-blue));
	border-color: transparent;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Promotional Banner */
.promo-banner {
	background: linear-gradient(135deg, var(--deep-sky), #0c2035);
	border-radius: 16px;
	padding: 40px;
	margin: 50px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	overflow: hidden;
	position: relative;
}

.promo-content {
	flex: 1;
	padding-right: 30px;
}

.promo-title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 15px;
	background: linear-gradient(to right, var(--star-gold), var(--text-light));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.promo-subtitle {
	font-size: 1.1rem;
	margin-bottom: 20px;
	opacity: 0.9;
}

.promo-btn {
	background: var(--star-gold);
	color: var(--night-sky);
	border: none;
	padding: 14px 30px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1.1rem;
	cursor: pointer;
	transition: var(--transition);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.promo-btn:hover {
	background: var(--ice-blue);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.promo-image {
	width: 300px;
	height: 200px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 5rem;
	color: var(--star-gold);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Dropdown Section for Library */
.library-dropdown,
.social-dropdown {
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(168, 218, 220, 0.15);
	border-radius: 16px 30px;
	margin: 30px 0;
	box-shadow: var(--shadow);
	display: none; 
	padding: 30px;
}

.library-dropdown.active,
.social-dropdown.active {
	display: block; 
}

.dropdown h2 {
	font-size: 1.8rem;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.dropdown p {
	font-size: 1rem;
	color: var(--text-medium);
	margin-bottom: 25px;
}

.library-menu-grid,
.social-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.library-menu-item,
.social-item {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	cursor: pointer;
	transition: var(--transition);
	text-decoration: none;
	color: inherit;
}

.library-menu-item:hover,
.social-item:hover {
	background: rgba(168, 218, 220, 0.2);
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.library-menu-icon,
.social-icon {
	font-size: 28px;
	color: var(--star-gold);
	margin-bottom: 10px;
}

.library-menu-title,
.social-title {
	font-size: 1.1rem;
	font-weight: 500;
	margin-bottom: 5px;
}

.library-menu-desc,
.social-desc {
	font-size: 0.85rem;
	color: var(--text-medium);
}

/* Responsive */
@media (max-width: 768px) {
	.top-bar {
		flex-direction: column;
		gap: 10px;
	}
	
	.main-header {
		flex-wrap: wrap;
		gap: 15px;
	}
	
	.search-bar {
		order: 3;
		margin: 15px 0 0;
		max-width: 100%;
	}
	
	.hero h1 {
		font-size: 2.2rem;
	}
	
	.app-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	}
	
	.nav-container {
		gap: 8px;
	}
	
	.nav-item {
		padding: 8px 15px;
		font-size: 0.9rem;
	}
	
	.dropdown h2 {
		font-size: 1.5rem;
	}
}

@media (max-width: 576px) {
	.main-header {
		flex-direction: column;
		text-align: center;
	}
	
	.user-actions {
		justify-content: center;
		width: 100%;
	}
	
	.hero h1 {
		font-size: 1.8rem;
	}
	
	.app-grid {
		grid-template-columns: 1fr;
	}
	
	.contact-info {
		flex-direction: column;
		align-items: center;
		gap: 5px;
	}
	
	.social-links {
		justify-content: center;
	}
	
	.cta-button {
		display: block; 
		margin: 10px auto;
	}
}

.ripple {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	transform: scale(0);
	animation: ripple-animation 0.6s linear;
	pointer-events: none;
}

@keyframes ripple-animation {
	to {
		transform: scale(4);
		opacity: 0;
	}
}