
/* ===============================
            登入頁面
   =============================== */

.login-section {
    display: grid;
    place-items: center;
}

.auth-card {
    width: 100%;
	max-width: 600px;
	position: relative;
	z-index: 1;
	backdrop-filter: blur(15px);
	border: 1px solid rgba(0, 217, 255, .35);
	border-radius: 20px;
	padding: 40px;
	transition: all 0.3s ease;
	box-shadow: 0 15px 40px rgba(0, 0, 0, .5), 0 0 25px rgba(0, 217, 255, .3);
	animation: modalUp .3s ease;
}

.auth-card:hover {
	border-color: rgba(0, 217, 255, 0.2);
	box-shadow: 
		0 20px 60px rgba(0, 0, 0, 0.4),
		0 0 100px rgba(0, 217, 255, 0.1);
}

/* ===============================
            特效動畫
   =============================== */



/* 波動線條環繞動畫 */
.rotate-card {
    position: relative;
    isolation: isolate;
}

.rotate-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 3px;
    background: conic-gradient(from var(--angle, 0deg) at 50% 50%,
            transparent 0deg,
            rgba(0, 217, 255, .7) 45deg,
            rgba(100, 147, 250, .9) 90deg,
            rgba(0, 217, 255, .7) 135deg,
            transparent 180deg,
            transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate-border 3s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes rotate-border {
    0% {
        --angle: 0deg;
    }

    100% {
        --angle: 360deg;
    }
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}


/* ===============================
   標題
   =============================== */

.auth-header {
	text-align: center;
	margin-bottom: 35px;
}

.auth-logo {
	width: 100px;
	height: 100px;
	margin-bottom: 20px;
	filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.3));
}

.auth-header h2 {
	font-size: 1.8rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
	background: linear-gradient(135deg, #fff, #00d9ff);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.auth-header p {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.6;
}



/* ===============================
   分隔線
   =============================== */

.auth-divider {
	position: relative;
	text-align: center;
	margin: 25px 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.5);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 147, 250, .35), rgba(0, 217, 255, .5), transparent);
    box-shadow: 0 0 10px rgba(0, 217, 255, .15);
}