:root {
    --bg-color: #0b0c10;
    --primary-color: #66fcf1;
    /* Cyber Cyan */
    --primary-dark: #45a29e;
    --secondary-color: #c5baaf;
    --neon-pink: #f900ff;
    --text-main: #e0e0e0;
    --glass-bg: rgba(15, 15, 25, 0.6);
    --glass-border: rgba(102, 252, 241, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans TC', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Background Glowing Effects */
.glow-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(102, 252, 241, 0.2);
    top: -100px;
    right: -100px;
    animation: drift 15s infinite alternate ease-in-out;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(249, 0, 255, 0.15);
    bottom: -150px;
    left: -150px;
    animation: drift 20s infinite alternate-reverse ease-in-out;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Character PNG */
.character-showcase {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Align to bottom for consistency */
}

.character-showcase img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(102, 252, 241, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Content Area */
.content-area {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
}

/* Custom Logo sizing */
.logo-container {
    text-align: left;
    margin-bottom: 1rem;
}

.logo-container img {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(102, 252, 241, 0.6));
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(102, 252, 241, 0.6);
    box-shadow: 0 8px 32px 0 rgba(102, 252, 241, 0.15);
    transform: translateY(-2px);
}

.title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(102, 252, 241, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Introduction Text */
.intro-text p {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.stats-list {
    list-style: none;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.stats-list li {
    margin-bottom: 0.5rem;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* Buttons System */
.btn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.btn-grid.mini {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(102, 252, 241, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--primary-color);
}

/* Secondary Button (Purple/Pink tone) */
.btn.secondary {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    background: rgba(249, 0, 255, 0.05);
}

.btn.secondary::before {
    background: var(--neon-pink);
}

.btn.secondary:hover {
    color: white;
    box-shadow: 0 0 15px var(--neon-pink);
}

/* Border-only subtle buttons (External sites) */
.btn.border-only {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    background: transparent;
    font-size: 0.9rem;
    padding: 0.6rem;
}

.btn.border-only::before {
    background: rgba(255, 255, 255, 0.1);
}

.btn.border-only:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Social Media Icons Bar */
.social-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--primary-color);
    transform: translateY(-4px);
}

/* Footer Section */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(102, 252, 241, 0.2);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

footer span {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- Mobile RWD (Responsive Web Design) --- */
@media screen and (max-width: 900px) {
    .container {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 2rem;
    }

    /* Move Character image to top */
    .character-showcase {
        order: -1;
    }

    .character-showcase img {
        max-height: 50vh;
        /* Don't take up too much vertical space on phone */
        transform: scale(1.1);
        margin-top: 1rem;
    }

    .logo-container {
        text-align: center;
    }

    .logo-container img {
        max-height: 90px;
    }

    .glass-panel {
        padding: 1.5rem;
    }

    .title {
        font-size: 1.3rem;
    }

    .social-bar {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .btn-grid {
        grid-template-columns: 1fr;
        /* Full width buttons on very small screens */
    }

    .character-showcase img {
        max-height: 40vh;
    }
}