/* 新启动页样式 - 灵动无框版 */

@keyframes float { 0%,100%{transform:translateY(0) rotate(-8deg)} 50%{transform:translateY(-8px) rotate(-8deg)} }
@keyframes floatB { 0%,100%{transform:translateY(0) rotate(6deg)} 50%{transform:translateY(-6px) rotate(6deg)} }
@keyframes floatC { 0%,100%{transform:translateY(0) rotate(-3deg)} 50%{transform:translateY(-10px) rotate(-3deg)} }
@keyframes floatD { 0%,100%{transform:translateY(0) rotate(12deg)} 50%{transform:translateY(-5px) rotate(12deg)} }
@keyframes btnPulse { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes pop { from{transform:scale(0.6) rotate(0deg);opacity:1} to{transform:scale(1.8) rotate(20deg);opacity:0} }

@keyframes eggCharge {
    0%   { transform: translateX(0) rotate(35deg); }
    20%  { transform: translateX(50px) rotate(15deg) scale(1.15); }
    35%  { transform: translateX(-8px) rotate(45deg) scale(0.9); }
    50%  { transform: translateX(30px) rotate(20deg) scale(1.08); }
    65%  { transform: translateX(0) rotate(35deg) scale(1); }
    100% { transform: translateX(0) rotate(35deg) scale(1); }
}

@keyframes titleSmash {
    0%,100% { transform: rotate(-3deg) translate(0,0); }
    8%  { transform: rotate(-3deg) translate(-10px, -4px) scale(1.06); }
    16% { transform: rotate(-3deg) translate(8px, 3px) scale(0.97); }
    24% { transform: rotate(-3deg) translate(-6px, -2px) scale(1.03); }
    32% { transform: rotate(-3deg) translate(4px, 1px) scale(0.99); }
    40% { transform: rotate(-3deg) translate(0,0) scale(1); }
}

@keyframes shardFly1 { 0%{transform:translate(0,0) rotate(0deg);opacity:1} 100%{transform:translate(-40px,-50px) rotate(-120deg);opacity:0} }
@keyframes shardFly2 { 0%{transform:translate(0,0) rotate(0deg);opacity:1} 100%{transform:translate(50px,-40px) rotate(90deg);opacity:0} }
@keyframes shardFly3 { 0%{transform:translate(0,0) rotate(0deg);opacity:1} 100%{transform:translate(35px,45px) rotate(150deg);opacity:0} }
@keyframes shardFly4 { 0%{transform:translate(0,0) rotate(0deg);opacity:1} 100%{transform:translate(-45px,30px) rotate(-80deg);opacity:0} }
@keyframes shardFly5 { 0%{transform:translate(0,0) rotate(0deg);opacity:1} 100%{transform:translate(15px,-60px) rotate(200deg);opacity:0} }
@keyframes shardFly6 { 0%{transform:translate(0,0) rotate(0deg);opacity:1} 100%{transform:translate(-30px,50px) rotate(-160deg);opacity:0} }

@keyframes speedLine1 { 0%{transform:scaleX(0);opacity:0} 20%{transform:scaleX(1);opacity:0.9} 50%{transform:scaleX(1);opacity:0.3} 70%{transform:scaleX(0);opacity:0} 100%{transform:scaleX(0);opacity:0} }
@keyframes speedLine2 { 0%{transform:scaleX(0);opacity:0} 25%{transform:scaleX(1);opacity:0.7} 55%{transform:scaleX(1);opacity:0.2} 75%{transform:scaleX(0);opacity:0} 100%{transform:scaleX(0);opacity:0} }

/* ================================================================
   主框体 — 缩窄，整体居中
   ================================================================ */
.ls-frame {
    position: relative;
    width: min(880px, 90vw);
    height: min(500px, 78vh);
    background-color: #FFFDF9;
    background-image:
        radial-gradient(circle at 15% 20%, #FFE1E8 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, #E0F7FA 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, #FFF9C4 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, #E8F5E9 0%, transparent 35%);
    border: 5px solid #5D4037;
    border-radius: 36px;
    box-shadow: 0 20px 40px rgba(93,64,55,0.1), inset 0 0 15px rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 32px 16px;
    z-index: 1;
    overflow: hidden;
    margin: 0 auto;
    box-sizing: border-box;
}

.ls-frame::before {
    content: "✦";
    position: absolute;
    color: #FFD166;
    font-size: 22px;
    top: 10%;
    right: 7%;
    transform: rotate(15deg);
    opacity: 0.5;
    pointer-events: none;
}
.ls-frame::after {
    content: "✿";
    position: absolute;
    color: #FF6B6B;
    font-size: 18px;
    bottom: 18%;
    left: 4%;
    transform: rotate(-20deg);
    opacity: 0.35;
    pointer-events: none;
}

/* ================================================================
   标题区域 — 居中，不伸缩
   ================================================================ */
.ls-header {
    text-align: center;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    flex-shrink: 0;
    width: 100%;
}

.ls-title-wrapper {
    position: relative;
    display: inline-block;
    padding-left: 85px;
    height: 72px;
}

.egg-mascot {
    position: absolute;
    top: -5px;
    left: 0;
    width: 68px;
    height: 84px;
    background: linear-gradient(160deg, #FFF8E8 0%, #FFEDBC 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    border: 4px solid #5D4037;
    z-index: 10;
    box-shadow: inset -4px -4px 0 rgba(255,200,100,0.3);
    animation: eggCharge 1.8s ease-in-out infinite;
    transform-origin: center center;
}

.egg-mascot::before {
    content: "";
    position: absolute;
    left: -45px;
    top: 45%;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FFD166 40%, #FF6B6B);
    border-radius: 2px;
    animation: speedLine1 1.8s ease-in-out infinite;
}
.egg-mascot::after {
    content: "";
    position: absolute;
    left: -35px;
    top: 28%;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFB74D 50%, #FF8A65);
    border-radius: 2px;
    animation: speedLine2 1.8s ease-in-out infinite;
    animation-delay: 0.15s;
}

.egg-face-text {
    position: absolute;
    top: 22px;
    left: 18px;
    font-weight: 900;
    color: #5D4037;
    font-size: 17px;
    letter-spacing: 1px;
    transform: rotate(-10deg);
}

.crash-spark {
    position: absolute;
    right: -18px;
    top: -12px;
    font-size: 22px;
    z-index: 11;
    animation: pop 0.35s infinite alternate;
}
.crash-spark-2 {
    position: absolute;
    right: -8px;
    bottom: -8px;
    font-size: 16px;
    z-index: 11;
    animation: pop 0.45s infinite alternate;
    animation-delay: 0.12s;
}

.ls-title {
    font-size: 56px;
    font-weight: 900;
    color: #FF6B6B;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 5;
    animation: titleSmash 1.8s ease-in-out infinite;
    animation-delay: 0.15s;
    display: inline-block;
    text-shadow:
        2px 2px 0 #fff,
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        5px 5px 0 #5D4037;
}

.ls-title::before {
    content: "";
    position: absolute;
    top: 5%; left: 5%;
    width: 90%; height: 90%;
    background:
        linear-gradient(47deg, transparent 45%, rgba(255,255,255,0.6) 45.5%, rgba(255,255,255,0.6) 46%, transparent 46.5%),
        linear-gradient(133deg, transparent 52%, rgba(255,255,255,0.5) 52.5%, rgba(255,255,255,0.5) 53%, transparent 53.5%),
        linear-gradient(75deg, transparent 38%, rgba(255,255,255,0.4) 38.5%, rgba(255,255,255,0.4) 39%, transparent 39.5%),
        linear-gradient(160deg, transparent 60%, rgba(255,255,255,0.35) 60.5%, rgba(255,255,255,0.35) 61%, transparent 61.5%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}
.ls-title::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        linear-gradient(23deg, transparent 48%, rgba(93,64,55,0.15) 48.5%, rgba(93,64,55,0.15) 49%, transparent 49.5%),
        linear-gradient(157deg, transparent 55%, rgba(93,64,55,0.12) 55.5%, rgba(93,64,55,0.12) 56%, transparent 56.5%),
        linear-gradient(95deg, transparent 42%, rgba(93,64,55,0.1) 42.5%, rgba(93,64,55,0.1) 43%, transparent 43.5%);
    pointer-events: none;
    z-index: 1;
}

.title-shards {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 6;
}
.shard {
    position: absolute;
    font-size: 14px;
    opacity: 0;
}
.shard:nth-child(1) { top: 10%; right: -5%; animation: shardFly1 1.8s ease-out infinite; animation-delay: 0.2s; }
.shard:nth-child(2) { top: -10%; right: 20%; animation: shardFly2 1.8s ease-out infinite; animation-delay: 0.25s; }
.shard:nth-child(3) { bottom: -5%; right: 10%; animation: shardFly3 1.8s ease-out infinite; animation-delay: 0.3s; }
.shard:nth-child(4) { top: 30%; left: -8%; animation: shardFly4 1.8s ease-out infinite; animation-delay: 0.22s; }
.shard:nth-child(5) { top: -5%; left: 40%; animation: shardFly5 1.8s ease-out infinite; animation-delay: 0.28s; }
.shard:nth-child(6) { bottom: 5%; left: 20%; animation: shardFly6 1.8s ease-out infinite; animation-delay: 0.35s; }

.ls-slogan {
    font-family: 'Zhi Mang Xing', cursive, sans-serif;
    font-size: 18px;
    color: #4ECDC4;
    transform: rotate(-2deg);
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
    margin-top: -2px;
}

/* ================================================================
   内容区域 — 居中对齐，两列等宽
   ================================================================ */
.ls-content {
    flex: 1 1 0;
    display: flex;
    gap: 40px;
    z-index: 5;
    padding: 0 12px;
    min-height: 0;
    overflow: hidden;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.ls-column {
    flex: 1;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-width: 0;
    overflow: hidden;
}

.ls-panel-title {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    display: inline-block;
    background: #FF9F1C;
    padding: 5px 16px;
    border-radius: 8px;
    border: 2px solid #5D4037;
    transform: rotate(-2deg);
    align-self: center;
    box-shadow: 2px 2px 0 #5D4037;
    white-space: nowrap;
}

.ls-column.right .ls-panel-title {
    background: #4ECDC4;
    transform: rotate(1deg);
}

.ls-highlight-note {
    background: #FFE1E8;
    color: #D93838;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    border: 2px dashed #FF6B6B;
    line-height: 1.35;
    text-align: center;
}

.ls-desc {
    font-size: 14px;
    color: #6d554e;
    font-weight: bold;
    line-height: 1.35;
    text-align: center;
}

.ls-list-item {
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}

.ls-list-item strong {
    color: #5D4037;
    font-size: 16px;
    background: linear-gradient(180deg, transparent 50%, rgba(255,209,102,0.8) 50%);
    padding: 0 4px;
    border-radius: 3px;
}

.ls-column.right .ls-list-item strong {
    background: linear-gradient(180deg, transparent 50%, rgba(145,213,255,0.8) 50%);
}

.ls-list-item span {
    display: block;
    color: #6d554e;
    margin-top: 2px;
    font-size: 13px;
}

/* ================================================================
   按钮区域 — 居中，不伸缩
   ================================================================ */
.ls-action-area {
    text-align: center;
    z-index: 10;
    flex-shrink: 0;
    padding-top: 4px;
    width: 100%;
}

.start-btn {
    background: #FF6B6B;
    color: white;
    border: 5px solid #5D4037;
    padding: 12px 56px;
    font-size: 28px;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    text-shadow: 2px 2px 0 #D93838;
    box-shadow: 0 8px 0 #5D4037;
    animation: btnPulse 2s infinite;
    transition: all 0.1s;
    white-space: nowrap;
}

.start-btn:hover {
    background: #FF8787;
    transform: translateY(-4px);
    box-shadow: 0 12px 0 #5D4037;
}

.start-btn:active {
    transform: translateY(4px);
    box-shadow: 0 4px 0 #5D4037;
}

/* ================================================================
   响应式 — 竖屏小屏
   ================================================================ */
@media (max-width: 768px) {
    .ls-frame {
        width: 94vw;
        height: auto;
        min-height: 85vh;
        padding: 16px 18px 14px;
        border-radius: 20px;
    }
    .ls-content {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .ls-column { max-width: 100%; justify-content: flex-start; gap: 8px; }
    .ls-title { font-size: 42px; }
    .ls-slogan { font-size: 17px; }
    .start-btn { font-size: 24px; padding: 10px 40px; }
    .ls-panel-title { font-size: 17px; }
    .ls-list-item { font-size: 15px; }
    .ls-list-item strong { font-size: 16px; }
    .ls-list-item span { font-size: 13px; }
    .ls-highlight-note { font-size: 14px; }
    .ls-desc { font-size: 13px; }
    .egg-mascot { width: 60px; height: 74px; }
    .ls-title-wrapper { padding-left: 72px; height: 68px; }
    .ls-action-area { padding-top: 10px; }
}

/* ================================================================
   响应式 — 横屏矮屏
   ================================================================ */
@media (orientation: landscape) and (max-height: 500px) {
    .ls-frame {
        height: calc(100dvh - 16px);
        padding: 10px 24px 10px;
    }
    .ls-header { margin-bottom: 4px; }
    .ls-title-wrapper { padding-left: 72px; height: 54px; }
    .ls-title { font-size: 42px; }
    .ls-slogan { font-size: 14px; }
    .ls-content { gap: 30px; padding: 0 4px; }
    .ls-panel-title { font-size: 16px; padding: 3px 12px; }
    .ls-highlight-note { font-size: 13px; padding: 5px 9px; }
    .ls-desc { font-size: 12px; }
    .ls-list-item { font-size: 14px; }
    .ls-list-item strong { font-size: 15px; }
    .ls-list-item span { font-size: 12px; }
    .egg-mascot { width: 54px; height: 66px; }
    .start-btn { font-size: 22px; padding: 8px 36px; }
    .ls-action-area { padding-top: 2px; }
}
