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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}


.container {
    width: 100%;
    max-width: 1200px;
    z-index: 1;
    margin: 0 auto;
    padding: 0 20px;
}

.main-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

.profile-card {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37),
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    flex: 0 0 450px;
    max-width: 450px;
    /* animation: slideUp 0.8s ease-out; */
}

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

/* Profile Image */
.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3px;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #111;
}

/* Name */
.name {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #c0cadf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Info */
.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #fff;
}

.contact-item i {
    font-size: 0.9em;
}

.share-btn {
    background: linear-gradient(135deg, #6b7a9b 0%, #8e9bb8 100%);
    border: none;
    border-radius: 12px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 122, 155, 0.3);
}

.share-btn:hover {
    background: linear-gradient(135deg, #8e9bb8 0%, #a8b3cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 122, 155, 0.4);
}

.share-btn i {
    color: white;
    font-size: 1.1em;
}
q {
  font-style: italic;
  color: #555;
}
/* Bio */
.bio {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.bio a.link {
    color: #8e9bb8;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.bio a.link:hover {
    color: #a8b3cc;
}

.bio a.link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6b7a9b, #8e9bb8);
    transition: width 0.3s ease;
}

.bio a.link:hover::after {
    width: 100%;
}

/* Links */
.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-item {
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.link-item:hover {
    background: rgba(40, 40, 40, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


.link-content {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.link-content i {
    font-size: 1.3em;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.8), rgba(50, 50, 50, 0.8));
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.link-content h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 3px;
}

.link-content p {
    font-size: 0.9em;
    color: #999;
}

.link-menu {
    color: #666;
    font-size: 1.2em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.link-item:hover .link-menu {
    color: #999;
}

.link-item .link-content i {
    color: #8e9bb8;
}
.link-item:hover .link-content i {
    color: #c0cadf;
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(107, 122, 155, 0.3), rgba(142, 155, 184, 0.3));
}

/* Icon specific colors
.link-item:nth-child(1) .link-content i {
    color: #4CAF50;
}

.link-item:nth-child(2) .link-content i {
    color: #FF9800;
}

.link-item:nth-child(3) .link-content i {
    color: #5865F2;
}

.link-item:nth-child(4) .link-content i {
    color: #fff;
} */

/* RSS Sidebar */
.rss-sidebar {
    position: absolute;
    right: 20px;
    top: 0;
    width: 300px;
    max-width: 340px;
}

.rss-title {
    font-size: 1em;
    font-weight: 500;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    letter-spacing: 0.3px;
}

.rss-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loading {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85em;
    font-style: italic;
    padding: 12px 0;
}

.rss-item {
    background: rgba(26, 26, 26, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.rss-item:hover {
    background: rgba(35, 35, 35, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.rss-item-title {
    margin-bottom: 6px;
}

.rss-item-title a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.2s ease;
    display: block;
}

.rss-item-title a:hover {
    color: #8e9bb8;
}

.rss-item-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75em;
    font-weight: 400;
}

.rss-error,
.rss-empty {
    text-align: center;
    padding: 16px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85em;
}

.rss-error i {
    color: #ff6b6b;
    font-size: 1em;
    margin-bottom: 6px;
    display: block;
}

.visit-substack {
    display: inline-block;
    margin-top: 8px;
    color: #8e9bb8;
    text-decoration: none;
    font-size: 0.8em;
    padding: 6px 12px;
    border: 1px solid rgba(142, 155, 184, 0.2);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.visit-substack:hover {
    color: #fff;
    background: rgba(142, 155, 184, 0.1);
    border-color: rgba(142, 155, 184, 0.3);
}

/* Responsive */
@media (max-width: 1400px) {
    .rss-sidebar {
        position: relative;
        right: auto;
        top: auto;
        width: auto;
        max-width: 340px;
        margin-top: 24px;
    }
    
    .main-layout {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 450px;
    }
    
    .main-layout {
        flex-direction: column;
        gap: 24px;
    }
    
    .profile-card {
        flex: none;
        max-width: none;
    }
    
    .rss-sidebar {
        min-width: auto;
        max-width: none;
        margin-top: 0;
    }
    
    .rss-title {
        font-size: 0.95em;
        margin-bottom: 12px;
    }
    
    .rss-item {
        padding: 10px;
    }
    
    .rss-item-title a {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .profile-card {
        padding: 30px 20px;
    }
    
    .name {
        font-size: 1.7em;
    }
    
    .contact-info {
        flex-wrap: wrap;
    }
    
    .bio {
        font-size: 1em;
    }
    
    .link-item {
        padding: 15px;
    }
    
    .main-layout {
        gap: 20px;
    }
    
    .rss-feed {
        gap: 10px;
    }
}