body{
    margin: 0;
    background: linear-gradient(135deg, #243c54, #5f3f7e);
    font-family: "Segoe UI", sans-serif;
    overflow-x: hidden;
    color: white;

}

h1{
    background-color: #1c2548;
    color: rgb(255, 255, 255);
    font-size: 50px;
}

a{
    display: inline-block;
    background-color: #0078d7;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    margin-top: 20px;
    transition: background-color 0.3s;
    font-size: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    text-decoration: dashed;
    margin-bottom: 40px;
}
a:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.contact{
    background-color: #ffed8a;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 50px;
    }


.title{
    margin: 0;
    font-weight: 300;
    font-family: "Space Mono", monospace;
    color: var(--gold);
    letter-spacing: 0.08em;
    
}

.floating-btn{
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: 0.3s;
    z-index: 100;
}

.floating-btn:hover{
    transform: scale(1.1);
}

/* ===== 玻璃訊息 ===== */
.glass-message {
    position: fixed;
    padding: 15px 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    z-index: 200;
}

.glass-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 爆炸粒子 ===== */
.particle {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    pointer-events: none;
    animation: explode 1.5s ease-out forwards;
    z-index: 9999;
}

@keyframes explode {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--x), var(--y)) scale(0.3); opacity: 0; }
}

/* ===== 震動 ===== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px) rotate(-1deg); }
    40% { transform: translateX(8px) rotate(1deg); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

body.shake { animation: shake 0.6s ease; }

.gallery{
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    margin-bottom: 50px;
}

.gallery-title{
    text-align: center;
    font-size: 40px;
    margin-bottom: 10px;
}

.gallery img{
    width: 300px;
    height: auto;
    border-radius: 15px;
}

main {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 32px 120px;
}

.hero {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 40px;

}

.hero-tag {
    text-align: center;
    margin: 0;
    font-weight: 300;
    font-size: 70px;
    color: orange;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    background: linear-gradient(135deg, var(--cream) 30%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.2rem;
    color: rgba(240,232,213,0.5);
    max-width: 400px;
    line-height: 1.9;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    animation: fadeUp 0.9s 0.2s ease both;
}

.card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px 24px;
    transition: transform 0.3s ease, 
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-icon { font-size: 1.7rem; margin-bottom: 12px; }

.card h3 {
    font-family: "Space Mono", monospace;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 30px;
    margin-bottom: 5px;
}

.card p {
    font-size: 0.95rem;
    color: rgba(240,232,213,0.8);
    line-height: 1.8;
}

.card p strong { color: white; }

.banner {
    margin: 60px 0;
    padding: 10px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(124,92,191,0.3), rgba(161,114,208,0.12));
    border: 3px solid rgba(161,114,208,0.4);
    text-align: center;
    animation: fadeUp 0.9s 0.35s ease both;
}

.banner blockquote {
    font-size: clamp(1rem, 3vw, 2rem);
    line-height: 1.7;
    color: var(--cream);
    font-style: italic;
}

.gold {
    padding: 30px 20px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    transition: 0.4s;
    user-select: none;
}

.gold:hover {
    transform: scale(1.05);
}

#btn {
    display: none;
    font-weight: bold;
    color: rgb(255, 196, 0);
}