*{
    margin: 0;
    padding: 0;
    user-select: none;   /* 禁止選取 */
    -webkit-user-select: none; /* Safari/Chrome */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    overflow: auto;  
-ms-overflow-style: none; 
scrollbar-width: none; 
}

/* 隱藏input元素 */
input[name="page"] {
    display: none;
}

/* 頁面淡入淡出動畫 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page {
  display: none;
}

#p1:checked ~ .content .page1,
#p2:checked ~ .content .page2,
#p3:checked ~ .content .page3,
#p4:checked ~ .content .page4,
#p5:checked ~ .content .page5 {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.pagination label {
  padding: 8px 14px;
  border: 1px solid #ddd;
  cursor: pointer;
  margin: 10px;
  transition: all 0.3s ease;
      backdrop-filter: blur(10px); 
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.574);
        -webkit-tap-highlight-color: transparent;
        outline: none;
}

.pagination label:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.71);
}

/* remove focus highlight when tapping labels on mobile */
.pagination label:focus{ outline: none; }

/* force checked radio's label to look like unselected (prevent UA blue) */
#p1:checked ~ header.pagination label[for="p1"],
#p2:checked ~ header.pagination label[for="p2"],
#p3:checked ~ header.pagination label[for="p3"],
#p4:checked ~ header.pagination label[for="p4"],
#p5:checked ~ header.pagination label[for="p5"] {
    background: rgba(255,255,255,0.574);
    box-shadow: none;
}

/* Stronger overrides to remove UA blue highlight */
.pagination label,
.pagination label:active,
.pagination label:focus,
.pagination label:focus-visible,
.pagination label:visited{
    background: rgba(255,255,255,0.574) !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Also ensure the hidden radio can't show a native focus ring */
input[name="page"]:focus{ outline: none !important; }
.info{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    border: 1px solid rgb(0, 0, 0); 
    width: 100%;
    max-width: 900px;
    margin: 25px auto;
    animation: slideUp 0.6s ease-out;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px); 
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.264);
}

.info:hover {
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.71);
    transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.751);
}
body{
    background-image: url(./img/01.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
main{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.img1{
    width: 250px;
    border-radius: 50%;
    margin: 25px auto;
    animation: scaleIn 0.6s ease-out;
    transition: transform 0.3s ease;
}
.img1:hover {
    transform: scale(1.05);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}  
.info li img{
    width: 20px;
    margin: 5px;
}
li{
    list-style: none;
    display: flex;
    align-items: center;
}

li a:hover{
    text-decoration: underline;
}
header{
    display: flex;
    justify-content: center;
    align-items: center;
}
.content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.sc1{
    display: flex;
    align-items: center;
    margin: 15px;
    height: auto;
    width: 100%;
    max-width: 900px;
    border-radius: 50px;
    border: 1px solid rgb(0, 0, 0); 
    animation: slideIn 0.6s ease-out;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px); 
        background: rgba(255, 255, 255, 0.19);
}

.sc2{
    display: flex;
    align-items: center;
    margin: 15px;
    height: auto;
    width: 100%;
    max-width: 900px;
    border-radius: 50px;
    border: 1px solid rgb(0, 0, 0); 
    animation: slideIn 0.6s ease-out;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px); 
        background: rgba(255, 255, 255, 0.19);
}
.sc2:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.71);
    border-color: #666;
    background: rgba(255, 255, 255, 0.778);
}
.sc1:hover {
    transform: translateY(-8px);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.71);
    border-color: #666;
    background: rgba(255, 255, 255, 0.778);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.sc1 div{
    width: 60%;
    margin: 20px;
}
.sc2 div{
    width: 100%;
    margin: 20px;
}
footer{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
}
footer p{
    color: rgba(0, 0, 0, 0.716);
}