* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* พื้นหลัง */
body {
    min-height: 100vh;
    font-family: "Prompt", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: url("images/bg.jpg") no-repeat center top;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 10px 40px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 10;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* โลโก้ */
.logo {
    width: 120px;
    margin: 0 auto 10px;
}

.site-name {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 18px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.signup-link {
    text-decoration: none;
    display: block;
    max-width: 650px;
    margin: 0 auto 18px;
}

.signup-bar {
    background: #ffffff;
    border-radius: 999px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.signup-link:hover .signup-bar {
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.45);
}

.signup-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #4a148c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #4a148c;
    background: #f3e5f5;
    flex-shrink: 0;
}

.signup-text {
    font-size: 15px;
    font-weight: 500;
    color: #333333;
}

.signup-extra {
    margin-left: auto;
    font-size: 14px;
    color: #ff9800;
}

.block {
    margin-bottom: 20px;
}

.banner {
    width: 100%;
    max-width: 650px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    margin: 0 auto;
}

/* Fireworks Canvas */
#fireworksCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind content if content has higher z-index, but ensure clicks work. 
                   If text needs to be clickable, text needs z-index > 1. 
                   The .container is z-index: 10, so this is fine. 
                   Canvas needs pointer-events: none to allow clicking through to standard background if needed, 
                   but usually fine. Safer to add pointer-events: none. */
    pointer-events: none;
}
