 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
    background: #1a0a12;
    color: #fff;
    min-height: 100vh;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部 */
.header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 105, 180, 0.2);
    margin-bottom: 20px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ff69b4;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.subtitle {
    font-size: 14px;
    color: #ffb6c1;
    margin-top: 5px;
}

/* 等级条 */
.level-bar {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 105, 180, 0.1);
}

.level-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #ffb6c1;
}

.level-info strong {
    color: #ff69b4;
    font-size: 16px;
}

.progress-wrapper {
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #ff69b4;
    border-radius: 5px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.progress-text {
    font-size: 12px;
    color: #888;
    text-align: center;
}

/* 花园 */
.garden {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    min-height: 300px;
}

.flower-slot {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 105, 180, 0.1);
    transition: all 0.3s;
    position: relative;
}

.flower-slot:hover {
    border-color: rgba(255, 105, 180, 0.3);
}

.flower-slot.empty {
    border-style: dashed;
    opacity: 0.5;
}

.flower-icon {
    font-size: 40px;
    margin-bottom: 5px;
}

.flower-name {
    font-size: 12px;
    color: #ffb6c1;
}

.flower-timer {
    font-size: 11px;
    color: #ff69b4;
    margin-top: 3px;
}

.flower-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0 0 14px 14px;
    overflow: hidden;
}

.flower-progress-bar {
    height: 100%;
    background: #ff69b4;
    transition: width 0.3s;
}

/* 操作按钮 */
.actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-primary {
    flex: 1;
    background: #ff69b4;
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.btn-primary:hover {
    background: #ff1493;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.4);
}

.btn-primary:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    flex: 1;
    background: transparent;
    color: #ff69b4;
    border: 1px solid #ff69b4;
    padding: 14px 20px;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 105, 180, 0.1);
}

/* 奖励区域 */
.reward-section {
    margin-bottom: 20px;
}

.reward-box {
    background: rgba(255, 105, 180, 0.1);
    border: 2px solid #ff69b4;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 105, 180, 0.2); }
    50% { box-shadow: 0 0 40px rgba(255, 105, 180, 0.4); }
}

.reward-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: bounce 1s infinite;
}

.reward-box h3 {
    color: #ff69b4;
    font-size: 20px;
    margin-bottom: 10px;
}

.reward-box p {
    color: #ffb6c1;
    font-size: 14px;
    margin-bottom: 20px;
}

.phone-input {
    display: flex;
    gap: 10px;
}

.phone-input input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 105, 180, 0.3);
    border-radius: 12px;
    padding: 12px 15px;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.phone-input input::placeholder {
    color: #888;
}

.phone-input input:focus {
    border-color: #ff69b4;
}

.gift-link {
    margin-top: 15px;
}

.link-box {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.link-box input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 105, 180, 0.3);
    border-radius: 12px;
    padding: 12px;
    color: #fff;
    font-size: 13px;
}

.link-hint {
    font-size: 12px !important;
    color: #888 !important;
    margin-bottom: 15px !important;
}

/* 底部 */
.footer {
    text-align: center;
    padding: 30px 0;
    font-size: 12px;
    color: #666;
}

.footer a {
    color: #ff69b4;
    text-decoration: none;
    margin: 0 8px;
}

/* 弹窗 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-content {
    background: #2d1520;
    border: 1px solid rgba(255, 105, 180, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 320px;
    width: 90%;
}

.modal-content h3 {
    color: #ff69b4;
    margin-bottom: 15px;
    text-align: center;
}

.modal-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.modal-content li {
    color: #ffb6c1;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 105, 180, 0.1);
}

.modal-content li:before {
    content: "🌸 ";
}

.modal-content button {
    width: 100%;
}

/* 动画 */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 响应式 */
@media (max-width: 360px) {
    .garden {
        gap: 10px;
    }
    .flower-icon {
        font-size: 32px;
    }
}