*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
background:#030712;
color:#fff;
font-family:
"Microsoft JhengHei",
sans-serif;
overflow-x:hidden;
}

.hero{
min-height:100vh;
position:relative;
display:flex;
align-items:center;
justify-content:center;
padding:80px 16px;
}

.hero video{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
}

.overlay{
position:absolute;
inset:0;
background:
linear-gradient(
rgba(0,0,0,.82),
rgba(3,7,18,.92)
);
}

.hero-content{
position:relative;
z-index:10;
width:100%;
max-width:1200px;
text-align:center;
}

.brand{
position:relative;
display:inline-block;

font-size:clamp(3rem,12vw,7rem);
font-weight:900;
line-height:1.1;

background:
linear-gradient(
180deg,
#fff0bf 0%,
#f8dc8f 25%,
#e4b95a 55%,
#b8822f 100%
);

-webkit-background-clip:text;
-webkit-text-fill-color:transparent;

margin-bottom:18px;
}

.brand span{
position:absolute;
right:-28px;
top:-2px;

font-size:.18em;
font-weight:700;

letter-spacing:1px;

-webkit-text-fill-color:#f7d98e;
}

.subtitle{
font-size:1.05rem;
color:#cbd5e1;
margin-bottom:40px;
}

.portal-grid{
display:grid;
grid-template-columns:1fr;
gap:16px;
}

.portal{
background:
rgba(8,18,45,.85);

backdrop-filter:blur(16px);

padding:24px;

border-radius:22px;

text-decoration:none;
color:white;

border:
1px solid rgba(255,255,255,.08);
}

.portal h2{
font-size:1.8rem;
margin-bottom:8px;
}

.portal span{
color:#cbd5e1;
}

.section{
max-width:1200px;
margin:auto;
padding:26px 16px 60px;
}

.banner{
width:100%;
display:block;
border-radius:24px;
}

.text{
padding:20px 8px;
}

.text h2{
margin-bottom:12px;
font-size:2rem;
}

footer{
text-align:center;
padding:60px 20px;
background:#020617;
}

.seal{
width:160px;
border-radius:20px;
margin-bottom:20px;
}

@media(min-width:900px){

.portal-grid{
grid-template-columns:
repeat(4,1fr);
}

.portal{
padding:36px;
}

.brand span{
right:-40px;
top:6px;
font-size:.15em;
}

}

#cc01{
position:fixed;
left:0;
top:0;
z-index:99999;
display:flex;
flex-direction:column;
align-items:center;
}

#cc01-avatar{
width:84px;
cursor:pointer;
user-select:none;
filter:
drop-shadow(0 0 20px #00d4ff)
drop-shadow(0 0 40px #ff00cc);
}

#cc01-bubble{
margin-bottom:10px;
padding:12px 14px;
max-width:220px;
border-radius:16px;
font-size:.9rem;
text-align:center;
background:rgba(5,10,30,.92);
backdrop-filter:blur(14px);
border:1px solid rgba(0,212,255,.35);
color:#fff;
}

@media(max-width:768px){

#cc01-avatar{
width:68px;
}

#cc01-bubble{
font-size:.8rem;
max-width:150px;
}

}

#cc01{
position:fixed;
left:0;
top:0;
z-index:99999;
pointer-events:auto;
will-change:transform;
}

#cc01-avatar{
width:88px;
cursor:pointer;
user-select:none;
filter:
drop-shadow(0 0 25px #00d4ff)
drop-shadow(0 0 45px #ff00cc);
transition:.25s;
}

#cc01-avatar:hover{
transform:scale(1.08);
}

#cc01-bubble{
position:absolute;
bottom:100%;
left:50%;
transform:translateX(-50%);
margin-bottom:10px;

padding:12px 14px;
max-width:220px;

font-size:.9rem;

text-align:center;

border-radius:18px;

background:
rgba(5,10,30,.95);

border:
1px solid rgba(0,212,255,.3);

backdrop-filter:
blur(14px);

color:white;

white-space:normal;
}

@media(max-width:768px){

#cc01-avatar{
width:72px;
}

#cc01-bubble{
max-width:150px;
font-size:.8rem;
}

}


#cc01{
position:fixed;
left:0;
top:0;
z-index:99999;
pointer-events:auto;
will-change:transform;
}

#cc01-avatar{
width:84px;
cursor:pointer;
user-select:none;
transition:.25s;
animation:
ccBreath 3s ease-in-out infinite;
filter:
drop-shadow(0 0 25px #00d4ff)
drop-shadow(0 0 40px #ff00aa);
}

#cc01-avatar:hover{
transform:scale(1.12);
}

#cc01-bubble{
position:absolute;
bottom:100%;
left:50%;
transform:translateX(-50%);
margin-bottom:12px;
padding:12px 14px;
max-width:220px;
border-radius:18px;
font-size:.9rem;
text-align:center;
background:rgba(5,10,30,.92);
backdrop-filter:blur(14px);
border:1px solid rgba(0,212,255,.35);
color:white;
}

@keyframes ccBreath{

0%{
transform:translateY(0) scale(1);
}

50%{
transform:translateY(-8px) scale(1.05);
}

100%{
transform:translateY(0) scale(1);
}

}

@media(max-width:768px){

#cc01-avatar{
width:64px;
}

#cc01-bubble{
font-size:.8rem;
max-width:150px;
}

}

