* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(135deg, #ffd100 0%, #ff672b 50%, #ffd100 100%);
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    padding: max(15px, env(safe-area-inset-top)) max(15px, env(safe-area-inset-right)) max(15px, env(safe-area-inset-bottom)) max(15px, env(safe-area-inset-left));
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.benefit-container {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.deco-dot-1 {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background: #ffd100;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(12px);
}

.deco-dot-2 {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: #ff672b;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(15px);
}

.benefit-title {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
}

.benefit-title h1 {
    font-size: 24px;
    color: #333;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.benefit-title p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 18px;
}

.tip-box {
    position: relative;
    background: #fff8e8;
    border-radius: 12px;
    padding: 14px 14px 12px;
    border: 1px solid rgba(255, 184, 0, 0.35);
}

.tip-title {
    font-size: 13px;
    font-weight: 600;
    color: #b36b00;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tip-list {
    margin: 0;
    padding-left: 18px;
    color: #666;
    font-size: 12px;
    line-height: 1.7;
}

.tip-list li + li {
    margin-top: 2px;
}

.jump-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
}

.jump-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.meituan-button {
    background: linear-gradient(135deg, #ffd100 0%, #ffb800 100%);
    color: #333;
}

.dianping-button {
    background: linear-gradient(135deg, #ff672b 0%, #ff4500 100%);
}

.mobile-guide-modal {
    width: min(320px, calc(100vw - 40px));
    padding: 28px 22px 22px;
}

.mobile-guide-modal h2 {
    font-size: 20px;
    color: #333;
    margin: 4px 0 10px;
}

.mobile-guide-modal > p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 14px;
}

.guide-link {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12px;
    color: #555;
    word-break: break-all;
    text-align: left;
    margin-bottom: 14px;
    max-height: 72px;
    overflow: auto;
}

.guide-copy-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: linear-gradient(135deg, #ffd100 0%, #ffb800 100%);
    cursor: pointer;
}

.guide-copy-btn:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    body {
        align-items: flex-start;
        padding-top: max(24px, env(safe-area-inset-top));
    }

    .benefit-container {
        max-width: 100%;
        border-radius: 18px;
        padding: 26px 16px 20px;
    }

    .benefit-title {
        margin-bottom: 22px;
    }

    .benefit-title h1 {
        font-size: 21px;
    }

    .benefit-title p {
        font-size: 13px;
    }

    .jump-button {
        padding: 16px;
        font-size: 16px;
        border-radius: 12px;
    }

    .button-group {
        gap: 12px;
        margin-bottom: 14px;
    }

    .tip-box {
        padding: 12px;
    }

    .tip-title {
        font-size: 12px;
    }

    .tip-list {
        font-size: 11px;
        padding-left: 16px;
    }
}

@media (min-width: 768px) {
    .benefit-container {
        max-width: 400px;
    }
}
