header{
	border: 1px solid #253666;
	padding: 20px 20px 20px 40px;
	background-color: #101b32;
	box-shadow: 0 0 15px 0 rgba(7, 16, 39, 0.4);
	border-radius: 12px;

	.header-container{
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		gap: 10px;
		position: relative;
	}
	nav.header-nav{
		margin-left: 20px;
		margin-bottom: 0;
		border: none;
		ul{
			padding: 0;
			margin: 0;
			list-style: none;
			display: flex;
			gap: 5px;
			justify-content: flex-start;
			li{
				height: auto;
				position: relative;
				&:before{
					display: none;
				}
				a{
					font-size: 14px;
					font-weight: 600;
					color: #fff;
					text-decoration: none;
					text-transform: uppercase;
					display: flex;
					align-items: center;
					gap: 8px;
					padding: 5px 10px;
					border-radius: 8px;
					&:hover{
						color: #40f3f7;
						background-color: #15294f;
					}
				}
				
				&.dropdown{
					.dropdown-toggle{
						font-size: 14px;
						font-weight: 600;
						color: #fff;
						text-decoration: none;
						text-transform: uppercase;
						display: flex;
						align-items: center;
						gap: 8px;
						padding: 5px 10px;
						border-radius: 8px;
						cursor: pointer;
						transition: all 0.3s ease;
						
						&:hover{
							color: #40f3f7;
							background-color: #15294f;
						}
						
						.dropdown-arrow{
							transition: transform 0.3s ease;
							margin-left: 0;
							height: 12px;
							width: 12px;
						}
					}
					
					.dropdown-menu{
						position: absolute;
						top: 100%;
						left: 0;
						background-color: #1a2a4a;
						border: 1px solid #253666;
						border-radius: 8px;
						box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
						min-width: 200px;
						z-index: 1000;
						opacity: 0;
						visibility: hidden;
						transform: translateY(-10px);
						transition: all 0.2s ease;
						padding: 8px 0;
						margin-top: 5px;
						
						li{
							width: 100%;
							box-sizing: border-box;
							&:before{
								display: none;
							}
							
							a{
								display: block;
								padding: 6px 16px;
								font-size: 13px;
								font-weight: 500;
								color: #e0e6ed;
								text-decoration: none;
								text-transform: none;
								text-align: left;
								transition: all 0.2s ease;
								border-radius: 0;
								
								&:hover{
									color: #40f3f7;
									background-color: #15294f;
								}
							}

							&.add-btn-link{
								a{
									background: #1f2e55;
									color: #fcb900;
									border: .0625rem solid rgb(255 255 255 / 5%);
									text-align: center;

									border-radius: 8px;
									margin: 0 9px;

									display: flex;
									align-items: center;
									gap: 8px;
									svg{
										height: 16px;
										width: 16px;
									}
									&:hover{
										background: #fcb900;
										color: #1f2e55;
									}
								}
							}
						}
					}
					
					&.active{
						.dropdown-menu{
							opacity: 1;
							visibility: visible;
							transform: translateY(0);
						}
						
						.dropdown-toggle{
							color: #40f3f7;
							background-color: #15294f;
						}
					}
					&.mobile-lang{
						display: none;
					}
				}
			}
		}
	}
	.header-search{
		.search-toggle{
			background: none;
			border: none;
			padding: 13px 15px;
      border-radius: 8px;
			cursor: pointer;
			display: flex;
			align-items: center;
			gap: 8px;
			font-size: 14px;
      white-space: nowrap;
      color: #323c50;
			transition: all 0.3s ease;
			&:hover{
				background: #15294f;
				svg{
					fill: #40f3f7;
				}
				span{
					color: #fff;
				}
			}

			svg{
				height: 20px;
				width: 20px;
				fill: #ffffff25;
				transition: all 0.3s ease;
			}
			span{
				transition: color 0.3s ease;
			}
		}
		.search-form{
			display: none;
		}
	}
	
	.header-lang{
		li.dropdown{
			position: relative;
			.dropdown-toggle{
				font-size: 14px;
				font-weight: 600;
				color: #fff;
				text-decoration: none;
				text-transform: uppercase;
				display: flex;
				align-items: center;
				gap: 8px;
				padding: 10px 15px;
				border-radius: 8px;
				border: 1px solid #253666;
				cursor: pointer;
				transition: all 0.3s ease;
				
				&:hover{
					color: #40f3f7;
					background-color: #15294f;
				}
				
				.dropdown-arrow{
					transition: transform 0.3s ease;
					margin-left: 0;
					height: 12px;
					width: 12px;
				}
			}
			
			.dropdown-menu{
				position: absolute;
				top: 100%;
				right: 0;
				background-color: #1a2a4a;
				border: 1px solid #253666;
				border-radius: 8px;
				box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
				min-width: 140px;
				z-index: 1000;
				opacity: 0;
				visibility: hidden;
				transform: translateY(-10px);
				transition: all 0.2s ease;
				padding: 8px 0;
				margin-top: 5px;
				
				li{
					width: 100%;
					box-sizing: border-box;
					&:before{
						display: none;
					}
					
					a{
						display: flex;
						align-items: center;
						justify-content: space-between;
						padding: 6px 16px;
						font-size: 13px;
						font-weight: 500;
						color: #e0e6ed;
						text-decoration: none;
						text-transform: none;
						text-align: left;
						transition: all 0.2s ease;
						border-radius: 0;
						
						&:hover{
							color: #40f3f7;
							background-color: #15294f;
						}
					}
				}
			}
			
			&.active{
				.dropdown-menu{
					opacity: 1;
					visibility: visible;
					transform: translateY(0);
				}
				
				.dropdown-toggle{
					color: #40f3f7;
					background-color: #15294f;
				}
			}
		}
	}
	
	.mobile-menu-toggle{
		display: none;
		padding: 10px;
		border-radius: 8px;
		border: 1px solid #253666;
		cursor: pointer;
		z-index: 1001;
		transition: all 0.3s ease;
		align-items: center;
		justify-content: center;
		background: transparent;
		
		svg{
			height: 20px;
			width: 20px;
			fill: #fff;
			transition: all 0.3s ease;
		}
		&.active{
			background: #15294f;
			svg{
				fill: #40f3f7;
			}
		}
	}
	
	@media (max-width: 768px) {
		padding: 15px 20px;
		
		.header-container{
			gap: 15px;
		}
		
		.mobile-menu-toggle{
			display: flex;
		}
		
		nav.header-nav{
			display: none;
			position: absolute;
			top: 100%;
			left: 0;
			right: 0;
			background-color: #1a2a4a;
			border: 1px solid #253666;
			border-radius: 8px;
			box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
			z-index: 1000;
			margin-left: 0;
			margin-top: 10px;
			
			&.mobile-open{
				display: block;
			}
			
			ul{
				flex-direction: column;
				gap: 0;
				padding: 10px 0;
				
				li{
					width: 100%;
					
					a{
						display: block;
						padding: 12px 20px;
						font-size: 16px;
						border-radius: 0;
						text-align: left;
						
						&:hover{
							background-color: #15294f;
						}
					}
					
					&.dropdown{
						.dropdown-toggle{
							display: flex;
							justify-content: space-between;
							align-items: center;
							padding: 12px 20px;
							font-size: 16px;
							border-radius: 0;
							width: 100%;
							
							.dropdown-arrow{
								height: 16px;
								width: 16px;
							}
						}
						
						.dropdown-menu{
							position: static;
							opacity: 1;
							visibility: visible;
							transform: none;
							box-shadow: none;
							border: none;
							background-color: #15294f;
							margin: 0;
							padding: 0;
							display: none;
							
							&.mobile-open{
								display: block;
							}
							
							li{
								a{
									padding: 10px 40px;
									font-size: 14px;
									
									&:hover{
										background-color: #0f1e3a;
									}
								}
								
								&.add-btn-link{
									a{
										background: #1f2e55;
										color: #fcb900;
										margin: 5px 20px;
										border-radius: 6px;
										
										&:hover{
											background: #fcb900;
											color: #1f2e55;
										}
									}
								}
							}
						}
						
						&.active{
							.dropdown-menu{
								display: block;
							}
						}
					}
				}
			}
		}
		
		.header-search{
			display: none;
		}
		
		.search-overlay{
			display: none;
		}
		
		.desktop-lang{
			display: none;
		}
		
		.header-lang{
			li.dropdown{
				.dropdown-toggle{
					padding: 12px 20px;
					font-size: 16px;
					
					.dropdown-arrow{
						height: 16px;
						width: 16px;
					}
				}
				
				.dropdown-menu{
					position: static;
					opacity: 1;
					visibility: visible;
					transform: none;
					box-shadow: none;
					border: none;
					background-color: #15294f;
					margin: 0;
					padding: 0;
					display: none;
					
					&.mobile-open{
						display: block;
					}
					
					li{
						a{
							padding: 10px 40px;
							font-size: 14px;
							
							&:hover{
								background-color: #0f1e3a;
							}
						}
					}
				}
				
				&.active{
					.dropdown-menu{
						display: block;
					}
				}
			}
		}
	}
	
	.search-overlay{
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(7, 16, 39, 0.95);
		backdrop-filter: blur(10px);
		z-index: 9999;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
		
		&.active{
			opacity: 1;
			visibility: visible;
		}
		
		.search-overlay-content{
			height: 70vh;
			display: flex;
			flex-direction: column;
			padding: 20px;
			max-width: 1200px;
			margin: 0 auto;
		}
		
		.search-overlay-header{
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-bottom: 40px;
			padding-bottom: 20px;
			border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		}
		
		.search-logo{
			svg{
				height: 40px;
				width: auto;
			}
		}
		
		.search-close{
			background: none;
			border: none;
			cursor: pointer;
			padding: 8px;
			border-radius: 8px;
			color: #fff;
			transition: all 0.3s ease;
			
			&:hover{
				background: rgba(255, 255, 255, 0.1);
				color: #40f3f7;
			}
			
			svg{
				height: 24px;
				width: 24px;
			}
		}
		
		.search-form-container{
			flex: 1;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
		}
		
		.search-form-large{
			width: 100%;
			max-width: 600px;
			margin-bottom: 40px;
		}
		
		.search-input-wrapper{
			position: relative;
			display: flex;
			align-items: center;
			background: rgba(255, 255, 255, 0.05);
			border: 2px solid rgba(255, 255, 255, 0.1);
			border-radius: 12px;
			padding: 16px 20px;
			transition: all 0.3s ease;
			
			&:focus-within{
				border-color: #40f3f7;
				background: rgba(255, 255, 255, 0.08);
				box-shadow: 0 0 20px rgba(64, 243, 247, 0.2);
			}
		}
		
		.search-icon{
			height: 24px;
			width: 24px;
			fill: #40f3f7;
			margin-right: 12px;
		}
		
		#search-input{
			flex: 1;
			background: none;
			border: none;
			outline: none;
			color: #fff;
			font-size: 18px;
			font-weight: 500;
			
			&::placeholder{
				color: rgba(255, 255, 255, 0.5);
			}
		}
		
		.search-submit{
			background: #40f3f7;
			border: none;
			border-radius: 8px;
			padding: 8px 12px;
			cursor: pointer;
			transition: all 0.3s ease;
			margin-left: 12px;
			
			&:hover{
				background: #35d9dd;
				transform: translateY(-1px);
			}
			
			svg{
				height: 20px;
				width: 20px;
				stroke: #1a2a4a;
			}
		}
		
		.search-suggestions{
			text-align: center;
		}
		
		.search-suggestions-title{
			color: rgba(255, 255, 255, 0.7);
			font-size: 14px;
			margin-bottom: 16px;
		}
		
		.search-tags{
			display: flex;
			flex-wrap: wrap;
			gap: 12px;
			justify-content: center;
		}
		
		.search-tag{
			background: rgba(255, 255, 255, 0.1);
			color: #fff;
			padding: 8px 16px;
			border-radius: 20px;
			text-decoration: none;
			font-size: 14px;
			transition: all 0.3s ease;
			border: 1px solid rgba(255, 255, 255, 0.2);
			
			&:hover{
				background: #40f3f7;
				color: #1a2a4a;
				transform: translateY(-2px);
				box-shadow: 0 4px 12px rgba(64, 243, 247, 0.3);
			}
		}
	}
}

#astro {
  overflow: visible;
  margin: auto;
	height: 180px;
}
#astro *[id] {
  transform-box: fill-box;
}
#foreground {
  --bob-distance: 1px;
  animation: bob 5s ease-in-out infinite alternate;
}
#helmet {
  --rock-angle: 10deg;
  animation: rock 5s ease infinite alternate;
  transform-origin: 50% 50%;
}
#armHolding {
  --rock-angle: 10deg;
  animation: rock 3s ease-in-out infinite alternate;
  transform-origin: 10% 15%;
}
#armRight {
  --rock-angle: 10deg;
  animation: rock 3s ease-in-out infinite alternate;
  transform-origin: 50% 0%;
}
#fishingPole {
  --rock-angle: 5deg;
  animation: rock 2s ease-in-out infinite alternate;
  transform-origin: 0% 55%;
}
#catch {
  --rock-angle: -15deg;
  transform-origin: 50% 0%;
  animation: rock 2s ease-in-out infinite alternate;
}
#star1, #star2, #star3 {
  animation: twinkle 10s linear infinite;
  transform-origin: 50% 50%;
}
#star2 {
  animation-delay: 1s;
}
#star3 {
  animation-delay: -3s;
}

@keyframes twinkle {
  99% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}
@keyframes rock {
  to {
    transform: rotateZ(var(--rock-angle));
  }
}
@keyframes bob {
  to {
    transform: translateY(var(--bob-distance));
  }
}