﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    color: #2c2c2c;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 20px 0;
}

.avatar-box {
    margin: 20px 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-box:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-box {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 25px;
    max-width: 650px;
    width: 90%;
    word-break: break-all;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.text-box h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.text-box p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    text-align: justify;
    color: #333;
    margin-bottom: 15px;
}

.benefit-list {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    list-style: none;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.benefit-list li {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #2c2c2c;
    position: relative;
    padding-left: 8px;
    transition: color 0.3s ease;
}

.benefit-list li:hover {
    color: #667eea;
}

.emphasis {
    font-size: 1.3em;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 2em 0;
    text-shadow: 0 2px 4px rgba(238, 90, 36, 0.2);
}

.highlight {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
}

.btn {
    display: block;
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #06c755 0%, #05a844 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::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: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover,
.btn:active {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(6, 199, 85, 0.4);
    background: linear-gradient(135deg, #05a844 0%, #048c3a 100%);
}

.btn span {
    font-size: 0.7em;
    opacity: 0.8;
}

.banner-box {
    width: 90%;
    max-width: 600px;
    margin: 30px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-box:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

.banner-box img {
    width: 100%;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.banner-box:hover img {
    transform: scale(1.05);
}

.btn-fixed {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #06c755 0%, #05a844 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(6, 199, 85, 0.4);
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

.btn-fixed:hover,
.btn-fixed:active {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 40px rgba(6, 199, 85, 0.5);
    background: linear-gradient(135deg, #05a844 0%, #048c3a 100%);
}

.btn-fixed img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.btn-fixed span div:first-child {
    font-size: 1em;
}

.btn-fixed span div:last-child {
    font-size: 0.7em;
    opacity: 0.8;
}

.privacy-link {
    font-size: 16px;
    color: #000;
    margin: 2rem 0 100px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
    color: #333;
}

.policy-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.policy-content h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 1em 0 0.5em 0;
    color: #333;
}

.policy-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0.8em;
    color: #555;
}

.disclaimer {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid rgba(255, 234, 167, 0.5);
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    font-size: 14px;
    line-height: 1.7;
    box-shadow: 0 4px 15px rgba(255, 234, 167, 0.3);
    backdrop-filter: blur(5px);
}

.disclaimer p {
    margin-bottom: 8px;
    color: #856404;
}

.disclaimer p:first-child {
    font-weight: bold;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    body {
        padding: 15px 0;
    }
    
    .avatar-box {
        width: 100px;
        height: 100px;
        margin: 15px 0;
    }
    
    .text-box {
        padding: 25px 20px;
        margin-bottom: 25px;
        max-width: 95%;
    }
    
    .text-box h1 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .text-box p {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .benefit-list {
        padding: 20px;
        margin: 20px 0;
    }
    
    .benefit-list li {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .btn {
        font-size: 16px;
        padding: 15px 20px;
        margin: 15px auto;
        width: 95%;
    }

    .btn-fixed {
        font-size: 16px;
        padding: 15px 20px;
        width: 95%;
        bottom: 15px;
    }

    .btn-fixed img {
        width: 40px;
        height: 40px;
    }
    
    .banner-box {
        margin: 25px 0;
        width: 95%;
    }
    
    .disclaimer {
        padding: 15px;
        margin: 20px 0;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .avatar-box {
        width: 80px;
        height: 80px;
    }
    
    .text-box h1 {
        font-size: 22px;
    }
    
    .text-box p {
        font-size: 15px;
    }
    
    .btn-fixed span div:first-child {
        font-size: 0.9em;
    }
    
    .btn-fixed span div:last-child {
        font-size: 0.65em;
    }
}

@keyframes float {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

/* 添加新的动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-box {
    animation: fadeInUp 0.6s ease-out;
}

.avatar-box {
    animation: fadeInUp 0.8s ease-out;
}

.benefit-list {
    animation: fadeInUp 1s ease-out;
}

.banner-box {
    animation: fadeInUp 1.2s ease-out;
}

/* 添加滚动视差效果 */
@media (prefers-reduced-motion: no-preference) {
    .text-box:nth-child(2) {
        animation-delay: 0.1s;
    }
    
    .benefit-list {
        animation-delay: 0.2s;
    }
    
    .banner-box {
        animation-delay: 0.3s;
    }
    
    .text-box:last-child {
        animation-delay: 0.4s;
    }
}

/* 添加聚焦效果 */
.btn:focus,
.btn-fixed:focus {
    outline: 3px solid rgba(6, 199, 85, 0.5);
    outline-offset: 2px;
}

/* 改进模态框样式 */
.modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* 添加页面加载动画 */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

body {
    animation: pageLoad 0.8s ease-out;
}

/* 改进链接样式 */
.privacy-link {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 2rem 0 100px;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: rgba(255, 255, 255, 1);
}

/* LINE确认框样式 */
.confirm-modal-content {
    background: rgba(255, 255, 255, 0.98);
    margin: 20% auto;
    padding: 40px 30px;
    border-radius: 25px;
    width: 85%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    animation: confirmModalIn 0.3s ease-out;
    position: relative;
}

@keyframes confirmModalIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.confirm-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

.confirm-modal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confirm-modal-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
    padding: 0 10px;
}

.confirm-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirm-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.confirm-cancel {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    border: 2px solid #dee2e6;
}

.confirm-cancel:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.confirm-ok {
    background: linear-gradient(135deg, #06c755 0%, #05a844 100%);
    color: #fff;
    border: 2px solid #05a844;
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.3);
}

.confirm-ok:hover {
    background: linear-gradient(135deg, #05a844 0%, #048c3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(6, 199, 85, 0.4);
}

.confirm-btn::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: left 0.5s;
}

.confirm-btn:hover::before {
    left: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .confirm-modal-content {
        margin: 15% auto;
        padding: 30px 20px;
        width: 90%;
        max-width: 400px;
    }
    
    .confirm-modal-content h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .confirm-modal-content p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .confirm-icon {
        font-size: 50px;
        margin-bottom: 15px;
    }
    
    .confirm-btn {
        padding: 12px 25px;
        font-size: 15px;
        min-width: 100px;
    }
    
    .confirm-buttons {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .confirm-modal-content {
        margin: 10% auto;
        padding: 25px 15px;
        width: 95%;
    }
    
    .confirm-modal-content h2 {
        font-size: 18px;
    }
    
    .confirm-modal-content p {
        font-size: 14px;
        padding: 0 5px;
    }
    
    .confirm-icon {
        font-size: 45px;
    }
    
    .confirm-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 90px;
    }
}