@charset "UTF-8";
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	padding: 20px;
	position: relative;
	overflow-x: hidden;
}

/* 背景のアニメーション */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: 
		radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
		radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
	animation: float 20s ease-in-out infinite;
	z-index: -1;
}

@keyframes float {
	0%, 100% { transform: translateY(0px) rotate(0deg); }
	33% { transform: translateY(-30px) rotate(120deg); }
	66% { transform: translateY(-60px) rotate(240deg); }
}

.container {
	max-width: 480px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.profile {
	text-align: center;
	margin-bottom: 40px;
	animation: fadeInUp 0.8s ease-out;
}

.avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	color: white;
	border: 4px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.avatar-img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.avatar::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transform: rotate(45deg);
	animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
	0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
	100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.name {
	font-size: 28px;
	font-weight: 700;
	color: white;
	margin-bottom: 8px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bio {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.5;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.links {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.link-item {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	padding: 20px 24px;
	text-decoration: none;
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	animation: fadeInUp 0.6s ease-out;
	animation-fill-mode: both;
}

.link-item:nth-child(1) { animation-delay: 0.1s; }
.link-item:nth-child(2) { animation-delay: 0.2s; }
.link-item:nth-child(3) { animation-delay: 0.3s; }
.link-item:nth-child(4) { animation-delay: 0.4s; }
.link-item:nth-child(5) { animation-delay: 0.5s; }
.link-item:nth-child(6) { animation-delay: 0.6s; }
.link-item:nth-child(7) { animation-delay: 0.7s; }
.link-item:nth-child(8) { animation-delay: 0.8s; }
.link-item:nth-child(9) { animation-delay: 0.9s; }

.link-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.5s;
}

.link-item:hover::before {
	left: 100%;
}

.link-item:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.15);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	border-color: rgba(255, 255, 255, 0.3);
}

.link-item:active {
	transform: translateY(0);
}

.link-content {
	display: flex;
	align-items: center;
	gap: 16px;
}

.link-icon {
	width: 24px;
	height: 24px;
	opacity: 0.9;
}

.link-text {
	flex: 1;
}

.link-title {
	font-weight: 600;
	font-size: 16px;
	margin-bottom: 2px;
}

.link-desc {
	font-size: 14px;
	opacity: 0.8;
}

.link-arrow {
	opacity: 0.6;
	transition: transform 0.3s ease;
}

.link-item:hover .link-arrow {
	transform: translateX(4px);
}

.footer {
	text-align: center;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
}

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

/* レスポンシブ */
@media (max-width: 480px) {
	.container {
		padding: 0 10px;
	}
	
	.name {
		font-size: 24px;
	}
	
	.link-item {
		padding: 16px 20px;
	}
}

/* ダークモード切替 */
.theme-toggle {
	z-index: calc(infinity);
	position: fixed;
	top: 20px;
	right: 20px;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50px;
	padding: 12px;
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.theme-toggle:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.1);
}