/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; /* 默认使用现代无衬线字体 */
    background-color: #000000; /* 纯黑背景，突出 Logo */
    color: #ffffff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* 添加一点背景纹理或光晕效果，增加层次感 */
    background-image: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000000 100%);
}

/* 主容器布局 */
.container {
    text-align: center;
    padding: 2rem;
    max-width: 800px; /*稍微加宽 */
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Logo 容器 */
.logo-container {
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite; /* 添加轻微浮动动画 */
}

/* Logo 样式 */
.logo {
    max-width: 350px; /* 放大 Logo */
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(140, 198, 63, 0.2)); /* 绿色微光呼应 */
}

/* 标题样式 */
.title {
    font-family: 'Fredoka', cursive; /* 标题使用圆润字体，呼应 Logo 风格 */
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #C3E94F; /* 吸取图片中的亮绿色 */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #F5A623; /* 添加橙色阴影，撞色效果 */
}

/* 副标题样式 */
.subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* 订阅表单区域 */
.newsletter {
    display: flex;
    gap: 0; /* 紧贴在一起 */
    margin-bottom: 3rem;
    justify-content: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 50px; /* 大圆角 */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 输入框样式 */
.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px 0 0 50px; /* 左侧圆角 */
    border: none;
    background-color: transparent;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* 按钮样式 */
.notify-btn {
    padding: 1rem 2rem;
    border-radius: 50px; /* 独立圆角按钮效果 */
    border: none;
    background-color: #F5A623; /* 亮橙色 */
    color: #000000;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: -20px; /* 让按钮稍微覆盖输入框一点 */
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

.notify-btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* 页脚样式 */
.footer {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 3rem;
    font-family: 'Poppins', sans-serif;
}

/* 浮动动画关键帧 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* 移动端适配 */
@media (max-width: 640px) {
    .title {
        font-size: 2.5rem;
    }
    
    .logo {
        max-width: 250px;
    }

    .newsletter {
        flex-direction: column;
        background: transparent;
        border: none;
        gap: 1rem;
    }
    
    .email-input {
        width: 100%;
        border-radius: 50px;
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
    }
    
    .notify-btn {
        width: 100%;
        margin-left: 0;
    }
}