
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Malgun Gothic', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    max-width: 400px;
    width: 100%;
    background: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 25px;
    background: linear-gradient(45deg, #f0f2f5, #e4e7ea);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: bold;
    color: #667eea;
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.title {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
    animation: fadeInDown 1s ease-out 0.3s both;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.title-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.subtitle {
    font-size: 16px;
    color: #667eea;
    margin-bottom: 25px;
    font-weight: 500;
    animation: fadeInDown 1s ease-out 0.5s both;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
}

.cta-button {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin: 20px 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    animation: breathe 2.5s ease-in-out infinite, fadeInUp 1s ease-out 0.9s both;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
    position: relative;
    overflow: hidden;
}

.button-icon {
    width: 20px;
    height: 20px;
    
    animation: iconSpin 4s linear infinite;
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.cta-button:active {
    transform: translateY(-1px);
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stock-image {
    width: 100%;
    max-width: 400px;
    height: 200px;
    background: url('../image/1.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 15px;
    margin: 25px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: bold;
    animation: fadeInUp 1s ease-out 1.1s both;
    position: relative;
    overflow: hidden;
}

.image-subtitle {
    font-size: 16px;
    margin-top: 8px;
    opacity: 0.9;
    font-weight: 500;
}

.footer-note {
    margin-top: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    animation: fadeInUp 1s ease-out 1.7s both;
}

.footer-note p {
    font-size: 12px;
    color: #666;
    margin: 3px 0;
    line-height: 1.4;
}

.fixed-bottom-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 400px;
    width: calc(100% - 40px);
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 16px 30px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
    animation: fixedButtonPulse 2s ease-in-out infinite;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 50px;
    white-space: nowrap;
}

.fixed-button-icon {
    width: 18px;
    height: 18px;
    
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.fixed-bottom-btn:hover {
    background: linear-gradient(45deg, #0d9488, #047857);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.fixed-bottom-btn:active {
    transform: translateX(-50%) translateY(-1px);
}

@keyframes fixedButtonPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: translateX(-50%) scale(1.02);
        box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
    }
}

/* 为主体内容添加底部间距，避免被固定按钮遮挡 */
.container {
    margin-bottom: 80px;
}

.stock-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
    animation: slide 3s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(-20px);
    }
    100% {
        transform: translateX(20px);
    }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-elements::before,
.floating-elements::after {
    content: '📈';
    position: absolute;
    font-size: 20px;
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
}

.floating-elements::before {
    top: 20%;
    right: 20px;
    animation-delay: 0s;
}

.floating-elements::after {
    top: 60%;
    left: 20px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.kakao-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    animation: fadeInUp 1s ease-out 1.3s both;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.feature-item {
    background: linear-gradient(45deg, #f8f9ff, #e8f2ff);
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
    animation: slideInLeft 0.8s ease-out;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.kakao-title {
    color: #2c3e50;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.kakao-info .text {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.kakao-info .number {
    font-size: 28px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(231, 76, 60, 0.3);
}

.benefit {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-top: 10px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
    }
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.indicator {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
    padding: 5px 0;
    text-align: center;
}

/* PC端样式 */
@media (min-width: 768px) {
    .container {
        max-width: 450px;
        padding: 50px 40px;
    }

    .title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 18px;
    }

    .description {
        font-size: 17px;
    }

    .cta-button {
        font-size: 20px;
        padding: 20px 50px;
    }

    .trust-indicators {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .indicator {
        flex: 1;
        min-width: 120px;
    }

    .fixed-bottom-btn {
        max-width: 450px;
        font-size: 18px;
        padding: 18px 40px;
    }
}

/* 移动端优化 */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 30px 25px;
    }

    .avatar {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .title {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
    }

    .title-icon {
        width: 28px;
        height: 28px;
    }

    .description {
        font-size: 15px;
    }

    .cta-button {
        padding: 16px 35px;
        font-size: 16px;
    }

    .button-icon {
        width: 18px;
        height: 18px;
    }

    .fixed-button-icon {
        width: 16px;
        height: 16px;
    }
}
