/* 重置默认样式，让不同浏览器显示一致 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面整体样式 */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;  /* 水平居中 */
    align-items: center;      /* 垂直居中 */
    min-height: 100vh;        /* 占满整个视口高度 */
    margin: 0;
    background: linear-gradient(120deg, #f6d5f7, #fbe9d7, #ffc3e0);
    cursor: url('images/picture3.png') 16 16 , auto;/* 16 16 是热点坐标（指针实际点击的位置） */

}

/* 内容容器 */
.container {
    text-align: center;       /* 让内部所有内容居中 */
    padding: 20px;
}

/* 图片样式 */
.center-image {
    max-width: 100%;          /* 响应式：图片不超过容器宽度 */
    height: auto;             /* 保持宽高比 */
    border-radius: 10px;      /* 圆角效果，可选 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* 阴影效果，可选 */
    margin-bottom: 30px;      /* 图片和按钮的间距 */
}


/* 按钮样式 */
.my-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #007bff;  /* 蓝色背景 */
    color: pink;               /* 白色文字 */
    text-decoration: none;      /* 去掉下划线 */
    font-size: 18px;
    border-radius: 5px;         /* 圆角 */
    transition: background-color 0.3s;  /* 悬停效果过渡 */
    border: none;
    cursor: pointer;
}

/* 鼠标悬停时的效果 */
.my-button:hover {
    background-color: #0056b3;  /* 深一点的蓝色 */
}
/* 只通过ID选择器修改特定图片 */
.picture-1 {
    width: 180px;  /* 设置固定宽度 */
    height: auto;  /* 高度自动保持比例 */
    border-radius: 50px; /*圆角程度*/
    border: 5px solid #333;
    
}
/* 左上角GIF图样式 */
.pictrue-2 {
    position: absolute;  /* 绝对定位 */
    top: 250px;           /* 距离顶部20像素 */
    left: 300px;          /* 距离左边20像素 */
    z-index: 100;        /* 确保显示在最上层 */
}

.pictrue-2 img {
    width: 150px;         /* GIF宽度，根据需要调整 */
    height: auto;        /* 高度自动保持比例 */
    border-radius: 10px; /* 可选：添加圆角 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* 可选：添加阴影 */
}
/* 导入字体 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* 按钮容器样式 */
.buttons-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
    padding: 20px;
}

/* 基础按钮样式 */
.btn-2 {
    /* 去除链接的下划线（链接默认有下划线） */
    text-decoration: none;
    /* 设置字体：首选Poppins字体，如果没有则使用系统无衬线字体 */
    font-family: 'Poppins', sans-serif;
    /* 字体粗细：600 相当于半粗体（normal=400，bold=700） */
    font-weight: 600;
    /* 字体大小：18像素 */
    font-size: 18px;
    /* 内边距：上下15像素，左右30像素（增加按钮点击区域） */
    padding:75px 120px;
    /* 边框圆角：50px（值很大，会变成椭圆形/胶囊形状） */
    border-radius: 50px;
    /* 定位方式：相对定位（让子元素可以相对于这个按钮进行绝对定位） */
    position: relative;
    /* 溢出隐藏：超出按钮范围的内容会被裁剪（用于制作闪光效果） */
    overflow: hidden;
    /* 过渡效果：所有属性变化时，0.4秒完成，缓动效果 */
    transition: all 0.4s ease;
    /* 显示方式：内联弹性盒模型（让按钮像文字一样排列，但具有弹性盒特性） */
    display: inline-flex;
    /* 弹性项对齐：垂直方向居中对齐 */
    align-items: center;
    /* 弹性项对齐：水平方向居中对齐 */
    justify-content: center;
    /* 弹性项间距：子元素（图标和文字）之间间隔12像素 */
    gap: 12px;
    /* 字符间距：增加1像素的字母间距，让文字更舒展 */
    letter-spacing: 1px;
    /* 盒子阴影：水平偏移0，垂直偏移8px，模糊半径20px，黑色半透明（0.2透明度） */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    /* 最小宽度：160像素（确保按钮不会太小） */
    min-width: 160px;
}
.btn i {
    font-size: 20px;
    transition: all 0.3s ease;
}

/* ===== 按钮2：霓虹灯效果 ===== */
.btn-2 {
    background: transparent;
    color: #fff;
    border: 4px solid #0f3dd1;
    box-shadow: 0 0 15px #f6d5f7, inset 0 0 15px #f6d5f7;
    text-shadow: 0 0 10px #0f3dd1;
}

.btn-2:hover {
    background: linear-gradient(120deg, #a6d12f, #995007, #a80654);
    color: #ffffff;
    box-shadow: 0 0 30px #3ca872, 0 0 60px #3ca872;
    transform: scale(1.05);
    border-color: #fff;
}

.btn-2:hover i {
    color: #000;
    filter: drop-shadow(0 0 5px #fff);
}

/* ===== 额外效果：按钮点击波纹 ===== */
.btn:active {
    transform: scale(0.95);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .buttons-container {
        gap: 15px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 16px;
        min-width: 140px;
    }
    
    .btn i {
        font-size: 18px;
    }
}

/* 如果你想要更花哨，可以添加背景动画 */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 为container添加上边距避免被GIF遮挡 */
.container {
    margin-top: 80px;  /* 给GIF留出空间 */
}
/* 添加到style.css */
.mouse-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: all 0.1s ease;
}
/* 可爱的鼠标指针效果 */





