* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #0b2b40 0%, #1c5a6a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 24px;
    transition: all 0.2s;
}

.fusion-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
    border-radius: 48px;
    padding: 30px 30px 40px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    background: rgba(255,255,255,0.03);
    border-radius: 48px;
    padding: 20px 20px 30px;
}

.img-panel {
    flex: 1.2;
    min-width: 260px;
    max-width: 380px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #45b7d1 0%, #1c5a6a 100%);
}
.img-panel:hover {
    transform: scale(1.02);
}
.img-panel img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
    transition: 0.3s;
    background: linear-gradient(135deg, #45b7d1 0%, #1c5a6a 100%);
}

.welcome-panel {
    flex: 1.8;
    min-width: 280px;
    text-align: center;
    color: white;
    padding: 10px;
}

.welcome-title {
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF, #FFE6B0);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 18px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
    letter-spacing: -0.5px;
}

.welcome-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto 30px;
    opacity: 0.92;
    font-weight: 400;
}

.quote-area {
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(12px);
    border-radius: 60px;
    padding: 12px 20px;
    margin: 20px auto 0;
    max-width: 90%;
    text-align: center;
    border: 1px solid rgba(255,215,150,0.5);
}
#hitokoto {
    font-size: 1rem;
    font-weight: 500;
    color: #FFF5E6;
    letter-spacing: 1px;
    transition: all 0.4s;
    display: inline-block;
}

.primary-btn {
    background: white;
    border: none;
    padding: 12px 38px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1c5a6a;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
    margin-top: 8px;
}
.primary-btn:hover {
    transform: translateY(-3px);
    background: #FFE6B0;
    color: #0a3b44;
    box-shadow: 0 14px 24px rgba(0,0,0,0.2);
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 40px 0 30px;
}

.nav-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(2px);
    border-radius: 28px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    border: 1px solid rgba(255,255,210,0.3);
}
.nav-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 36px rgba(0, 0, 0, 0.2);
    background: white;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1F2A44;
}
.card-content p {
    font-size: 0.85rem;
    color: #4a5568;
    opacity: 0.8;
}
.card-icon {
    font-size: 2.8rem;
}

.card-1 { border-left: 6px solid #165DFF; }
.card-2 { border-left: 6px solid #36CFC9; }
.card-3 { border-left: 6px solid #9333EA; }
.card-4 { border-left: 6px solid #F97316; }

.legal-notice {
    margin: 30px auto 20px;
    background: rgba(255, 245, 215, 0.9);
    border-radius: 32px;
    padding: 16px 24px;
    border: 1px solid #FFB347;
    backdrop-filter: blur(4px);
    text-align: center;
    max-width: 880px;
    width: 100%;
}
.legal-notice p {
    font-size: 0.85rem;
    font-weight: 600;
    color: #B95F1A;
    letter-spacing: 0.3px;
}
footer {
    text-align: center;
    margin-top: 20px;
    color: rgba(255,255,220,0.8);
    font-size: 0.75rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: white;
    padding: 30px 25px;
    border-radius: 40px;
    text-align: center;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 30px 40px rgba(0,0,0,0.3);
    transform: translateY(-10px);
    transition: transform 0.3s;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.modal-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1F2A44;
}
.contact-detail {
    background: #f0f2f5;
    border-radius: 60px;
    padding: 10px;
    margin: 16px 0;
    font-weight: 600;
    color: #F97316;
    font-size: 1.2rem;
}
.qrcode-img {
    width: 150px;
    height: 150px;
    margin: 10px auto;
    border-radius: 20px;
    border: 2px solid #FFE6B0;
    object-fit: cover;
    background: #f9f9f9;
}
.modal-btn {
    background: #165DFF;
    border: none;
    padding: 10px 25px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    margin-top: 12px;
    cursor: pointer;
    transition: 0.2s;
}
.modal-btn:hover {
    background: #0c45c4;
    transform: scale(0.97);
}
.copy-wechat-btn {
    background: #F97316;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    margin-top: 8px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.2s;
}
.copy-wechat-btn:hover {
    background: #e05f0a;
    transform: scale(0.97);
}

@media (max-width: 780px) {
    .fusion-container { padding: 20px; }
    .hero-section { gap: 20px; }
    .nav-card { padding: 18px; }
    .card-content h3 { font-size: 1.3rem; }
}
@media (max-width: 550px) {
    .nav-grid { gap: 18px; }
    .primary-btn { padding: 10px 28px; font-size: 1rem; }
}
