:root {
    --neon-blue: #00f3ff;
    --neon-purple: #bf00ff;
    --neon-pink: #ff00ff;
    --bg-dark: #0a0a0f;
    --card-bg: rgba(255, 255, 255, 0.05);
}

/* 基礎重置樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 主體樣式 */
body {
    min-height: 100vh;
    background-color: var(--bg-dark);
    font-family: 'Segoe UI', Arial, sans-serif;
    color: white;
    position: relative;
    overflow-x: hidden;
	height: auto;
}

/* 背景效果容器 */
.background-effects {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

/* 主網格 */
.cyber-grid {
    position: absolute;
    width: 200%;
    height: 200%;
	top: -50%;
    left: -50%;
    background: 
        linear-gradient(transparent 0%, rgba(0, 243, 255, 0.1) 2%, transparent 2.5%, transparent 97.5%, rgba(0, 243, 255, 0.1) 98%, transparent 100%),
        linear-gradient(90deg, transparent 0%, rgba(0, 243, 255, 0.1) 2%, transparent 2.5%, transparent 97.5%, rgba(0, 243, 255, 0.1) 98%, transparent 100%);
    background-size: 50px 50px;
    transform: rotate(45deg);
    animation: gridMove 30s linear infinite;
}

/* 動態光波紋 */
.cyber-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
	top: 0;
    left: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(191, 0, 255, 0.1) 0%,
        rgba(0, 243, 255, 0.1) 25%,
        transparent 70%);
    animation: rippleEffect 15s ease-in-out infinite;
    opacity: 0.5;
}

/* 霧化效果 */
.cyber-mist {
    position: absolute;
    width: 100%;
    height: 100%;
	top: 0;
    left: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.02) 0px,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 10px
        );
    filter: blur(3px);
    animation: mistFloat 20s linear infinite;
}

/* 星點效果 */
.cyber-stars {
    position: absolute;
    width: 100%;
    height: 100%;
	top: 0;
    left: 0;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.8) 50%, transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(0, 243, 255, 0.8) 50%, transparent),
        radial-gradient(1px 1px at 50px 160px, rgba(191, 0, 255, 0.8) 50%, transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.8) 50%, transparent);
    background-size: 200px 200px;
    animation: starTwinkle 4s ease-in-out infinite;
}

/* 發光球體 */
.orb {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    z-index: 2;
}

.orb-1 {
    background: var(--neon-blue);
    top: -150px;
    left: -150px;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
    background: var(--neon-purple);
    bottom: -150px;
    right: -150px;
    animation: orbFloat 8s ease-in-out infinite reverse;
}

/* 主要內容區域 */
.content {
	width: 90%;
    max-width: 600px;
    position: relative;
    z-index: 3;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
}

/* 個人資料區域 */
.profile {
	width: 100%;
    padding: 20px;
    position: relative;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#profilePicture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--card-bg);
    padding: 2px;
    position: relative;
	display: flex;           /* 新增 */
    justify-content: center; /* 新增 */
    align-items: center;     /* 新增 */
}

#profilePicture::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    z-index: -1;
    animation: borderRotate 3s linear infinite;
}

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

#userName {
    margin-top: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 3s ease-in-out infinite;
}

#userBio {
    margin-top: 15px;
    text-align: center;
    font-size: 1rem;
    color: white;
    max-width: 500px;
    line-height: 1.5;
	white-space: nowrap;
	display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

#userBio span {
    display: inline-block;
    text-align: center;
	white-space: nowrap;
	font-size: clamp(8px, 3vw, 16px);
}

/* 區塊容器 */
.section-container {
    width: 100%;
    margin-bottom: 40px;
}

/* 區塊標題 */
.section-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    animation: borderGlow 3s ease-in-out infinite;
}

/* 連結容器 */
.links-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* 連結按鈕 */
.link {
	width: 100%;
	max-width: 500px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 圖標樣式 */
.link-icon {
    width: 24px;
    height: 24px;
	margin-right: 10px;
    object-fit: contain;
}

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

.link:hover {
    transform: translateY(-3px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

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

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

/* 裝飾線條 */
.cyber-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0.3;
}

.cyber-line-top {
    top: 0;
}

.cyber-line-bottom {
    bottom: 0;
}

#hashtag {
    position: relative;
    padding-bottom: 20px;
    color: var(--accentColor);
    font-size: 1.15rem;
    display: block;
    font-family: var(--font);
    width: 100%;
    text-align: center;
    margin-top: 40px;
    overflow: hidden;
    background: linear-gradient(90deg, 
        var(--bg-dark), 
        rgba(255, 255, 255, 1), 
        var(--bg-dark)
    );
    background-repeat: no-repeat;
    background-size: 80%;
    animation: shine 3s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 動畫定義 */
@keyframes shine {
    0% {
        background-position: 200%;
        opacity: 0.3;
    }
    20% {
        background-position: -100%;
        opacity: 1;
    }
    80% {
        background-position: -100%;
        opacity: 1;
    }
    100% {
        background-position: 200%;
        opacity: 0.3;
    }
}

@keyframes gridMove {
    0% {
        transform: translateX(-20px) translateY(-20px) rotate(45deg);
    }
    100% {
        transform: translateX(-50px) translateY(-50px) rotate(45deg);
    }
}

@keyframes rippleEffect {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

@keyframes mistFloat {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

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

@keyframes borderRotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes textGlow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 0px var(--neon-blue));
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 10px var(--neon-blue));
    }
}

@keyframes borderGlow {
    0%, 100% { 
        opacity: 0.3; 
    }
    50% { 
        opacity: 1; 
    }
}

/* 響應式設計 */
@media screen and (max-width: 768px) {
    /* 主要內容區域 */
    .content {
        width: 95%;
        max-width: 600px;
        padding: 20px;
        margin: 0 auto;
    }

    /* 個人資料區域 */
	#profilePicture {
        width: 100px; 
        height: 100px; 
    }
	
    #profilePicture img {
        width: 100px;
        height: 100px;
    }

    #userName {
        font-size: 1.5rem;
        margin: 10px 0;
    }

    #userBio {
        width: 90%;
        padding: 0;
		display: flex;
        flex-direction: column;
        align-items: center;
    }
	
	#userBio span {
        font-size: clamp(4px, 2.5vw, 14px);
		text-align: center; 
        display: inline-block;
        white-space: nowrap;
    }
	
    /* 連結樣式 */
    .links-container {
        width: 100%;
    }

    .link {
        max-width: 100%;
        padding: 14px 20px;
        margin: 10px 0;
    }

    .link-icon {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }

    .link span {
        font-size: 0.95rem;
    }

    /* 標題樣式 */
    .section-title {
        font-size: 1.2rem;
        margin: 15px 0;
    }

    /* 背景效果調整 */
    .orb {
        width: 100px;
        height: 100px;
    }

    .cyber-line {
        height: 2px;
    }
}

/* 更小螢幕的額外調整 */
@media screen and (max-width: 480px) {
    .content {
        width: 100%;
        padding: 15px;
    }
   
   #profilePicture {
        width: 80px;
        height: 80px;
    }
    
	#profilePicture img {
        width: 80px;
        height: 80px;
    }

    #userName {
        font-size: 1.3rem;
    }
    
	#userBio {
		max-width: 90%;
        width: 90%;
        padding: 0;
		margin: 0 auto;
    }
	
    .link {
        padding: 12px 15px;
    }

    .link-icon {
        width: 20px;
        height: 20px;
    }

    .link span {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.1rem;
    }
}