/*
////////////////////////////////////////////////////////////////////
//                          _ooOoo_                               //
//                         o8888888o                              //
//                         88" . "88                              //
//                         (| ^_^ |)                              //
//                         O\  =  /O                              //
//                      ____/`---'\____                           //
//                    .'  \\|     |//  `.                         //
//                   /  \\|||  :  |||//  \                        //
//                  /  _||||| -:- |||||-  \                       //
//                  |   | \\\  -  /// |   |                       //
//                  | \_|  ''\---/''  |   |                       //
//                  \  .-\__  `-`  ___/-. /                       //
//                ___`. .'  /--.--\  `. . ___                     //
//              ."" '<  `.___\_<|>_/___.'  >'"".                  //
//            | | :  `- \`.;`\ _ /`;.`/ - ` : | |                 //
//            \  \ `-.   \_ __\ /__ _/   .-` /  /                 //
//      ========`-.____`-.___\_____/___.-`____.-'========         //
//                           `=---='                              //
//      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        //
//             佛祖保佑       永无故障     永不修改                   //
////////////////////////////////////////////////////////////////////

DEVELOPED BY poiuasdf163 https://qiues.eu.org/
email: poiuasdf887163@outlook.com

THANKS TO:
 **
 * jQuery Ripples plugin v0.6.3 / https://github.com/sirxemic/jquery.ripples
 * MIT License
 * @author sirxemic / https://sirxemic.com/
 **
    
*/

/* General Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}


/* 背景图片 */

body {

    background-size: cover;
    /* 确保图片覆盖整个页面 */
    background-position: center;
    /* 图片居中显示 */
    position: relative;
    /* 固定背景图片 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -99;
    /* 放置于内容容器之后，但高于默认背景 */
    overflow: hidden;
}

/* Button Styling */
#switchSource {
    position: fixed;
    bottom: 60px;
    /* 距离底部 40px */
    right: 20px;
    /* 距离右边 20px */
    border-radius: 25px;
    z-index: 1000;
    background: linear-gradient(145deg, #ff9a9e, #fad0c4);
    border: none;
    box-shadow: 5px 5px 15px rgba(255, 237, 237, 0.1), -5px -5px 15px rgba(255, 255, 255, 0.7);
    /* 立体感 */
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1), 0px 0px 15px rgba(0, 0, 0, 0.15);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

#switchSource:hover {
    transform: scale(1.1) rotate(10deg);
    /* 放大并旋转 */
    box-shadow: 5px 5px 20px rgba(238, 204, 204, 0.2), -5px -5px 20px rgba(235, 235, 235, 0.9);
    /* 强化阴影 */
    filter: brightness(1.2);
    /* 提亮效果 */
}

#switchSource:active {
    transform: scale(0.95) rotate(-5deg);
    /* 点击时稍微缩小并旋转 */
}
#stopRipples {
    position: fixed;
    bottom: 60px;
    /* 距离底部 40px */
    right: 200px;
    /* 距离右边 20px */
    border-radius: 25px;
    z-index: 1000;
    background: linear-gradient(145deg, #fad0c4, #ff9a9e);
    border: none;
    box-shadow: 5px 5px 15px rgba(255, 237, 237, 0.1), -5px -5px 15px rgba(255, 255, 255, 0.7);
    /* 立体感 */
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1), 0px 0px 15px rgba(0, 0, 0, 0.15);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

#stopRipples:hover {
    transform: scale(1.1) rotate(10deg);
    /* 放大并旋转 */
    box-shadow: 5px 5px 20px rgba(238, 204, 204, 0.2), -5px -5px 20px rgba(235, 235, 235, 0.9);
    /* 强化阴影 */
    filter: brightness(1.2);
    /* 提亮效果 */
}

#stopRipples:active {
    transform: scale(0.95) rotate(-5deg);
    /* 点击时稍微缩小并旋转 */
}

/* Popup and Cake-Rain Effects */
#cake-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    /* 确保在背景下 */
    overflow: hidden;
}

/* Birthday Container */
.birthday-container {
    background: linear-gradient(145deg, #ffc7c7, #ffffff);
    box-shadow: 10px 10px 20px #ffffff, -10px -10px 20px #ffc9c9;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    width: 80%;
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Title Styling */
.birthday-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6f61;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: color 0.3s ease, transform 0.3s ease;
    /* 让标题颜色过渡 */
}

.birthday-title:hover {
    color: #ff9a9e;
    /* 悬停时标题颜色变换 */
    transform: scale(1.05);
    /* 悬停时略微放大 */
}

/* Message Styling */
.birthday-message {
    font-size: 1.2rem;
    color: #555;
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1), 0px 0px 15px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 7;
}

.birthday-message:hover {
    color: #ff9a9e;
    transform: scale(1.05);
    /* 悬停时略微放大 */
}

/* Button Styling */
.celebrate-btn {
    background: linear-gradient(145deg, #ff9a9e, #fad0c4);
    box-shadow: 5px 5px 15px rgba(255, 223, 223, 0.336), -5px -5px 15px rgba(250, 219, 219, 0.194);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.celebrate-btn:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 5px 5px 20px rgba(254, 219, 219, 0.2), -5px -5px 20px rgba(255, 255, 255, 0.9);
    filter: brightness(1.1);
    /* 提亮效果 */
}

.celebrate-btn:active {
    transform: scale(0.95);
    /* 点击时略微缩小 */
}
/* 右侧导航栏容器 */
.side-nav {
    position: fixed;
    top: 30%; /* 与浏览器顶部保持50px的距离 */
    right: -250px; /* 初始隐藏在屏幕外 */
    bottom: 30%; /* 与浏览器底部保持50px的距离 */
    width: 250px;
    height: calc(100% - 60%); /* 高度为100%减去上下的间距 */
    background: linear-gradient(145deg, #ffc7c7, #ffffff);
    box-shadow: -10px 0px 20px rgba(0, 0, 0, 0.1), 10px 10px 20px rgba(255, 201, 201, 0.6);
    border-radius: 20px 0 0 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

/* 导航栏内容样式 */
.nav-item {
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6f61;
    background: linear-gradient(145deg, #ff9a9e, #fad0c4);
    box-shadow: 5px 5px 15px rgba(248, 196, 196, 0.9), -5px -5px 15px rgba(230, 198, 198, 0.194);
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.nav-item:hover {
    transform: scale(1.1) rotate(1deg);
    box-shadow: 5px 5px 20px rgba(254, 219, 219, 0.2), -5px -5px 20px rgba(255, 255, 255, 0.9);
    filter: brightness(1.1);
}

/* 鼠标靠近时，导航栏弹出 */
.side-nav.active {
    transform: translateX(-250px);
    box-shadow: -15px 0 30px rgba(0, 0, 0, 0.2);
}