:root {
    --primary-color: #4A9FCA;
    --accent-color: #FFD700;
    --background-color: #F5F5F5;
    --text-color: #333333;
    --light-blue: #6BB5D8;
    --card-background: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: -1;
}

.background-decoration::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -150px;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0.8;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-color);
}

.subtitle {
    font-size: 18px;
    color: var(--light-blue);
    font-weight: 500;
}

.main-cta {
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-button {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    color: white;
    text-decoration: none;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="network" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.2)"/><line x1="10" y1="10" x2="30" y2="10" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/><line x1="10" y1="10" x2="10" y2="30" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23network)"/></svg>') center/cover;
    opacity: 0.3;
}

.cta-button:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.cta-content {
    flex-grow: 1;
    text-align: left;
}

.cta-content h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 4px;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.cta-action {
    font-size: 14px;
    opacity: 0.8;
}

.cta-icon {
    margin-left: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: var(--card-background);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out calc(0.6s + var(--index, 0) * 0.1s) both;
}

.link-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.link-item svg {
    margin-right: 16px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.link-item span {
    font-size: 16px;
    font-weight: 500;
}

.link-item.youtube {
    --index: 0;
}

.link-item.youtube svg {
    color: #FF0000;
}

.link-item.twitter {
    --index: 1;
}

.link-item.twitter svg {
    color: #000000;
}

.link-item.line {
    --index: 2;
}

.link-item.line svg {
    color: #00B900;
}

.link-item.note {
    --index: 3;
}

.link-item.note svg {
    color: #41C9B4;
}

.link-item.book {
    --index: 4;
}

.link-item.book svg {
    color: #8B4513;
}

.link-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(74, 159, 202, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.link-item:active::after {
    width: 300px;
    height: 300px;
}

.footer {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.footer-cta {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.footer-cta:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .name {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 24px;
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-icon {
        margin-left: 0;
        margin-top: 16px;
    }
    
    .link-item {
        padding: 18px 20px;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 16px;
    }
    
    .name {
        font-size: 24px;
    }
    
    .cta-content h2 {
        font-size: 20px;
    }
    
    .link-item {
        padding: 16px 18px;
    }
    
    .link-item span {
        font-size: 15px;
    }
}