.post, .bio-section, .project-card, .social-item, .game-card {
    background: rgba(255, 255, 255, 0.54);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    color: #2b425a;
    font-size: 1.125rem;
    line-height: 1.4;
    border-radius: 30px;
    padding: 35px;
    margin-bottom: 15px;
    box-shadow: 
        0 20px 40px rgba(0, 40, 50, 0.08),
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    isolation: isolate; 
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.post::after, .project-card::after, .social-item::after, .game-card::after, .bio-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
        ellipse at top, 
        rgba(255, 255, 255, 0.54) 0%, 
        rgba(255, 255, 255, 0.15) 40%,
        rgba(255, 255, 255, 0) 70%
    );
    background-size: 100% 250px; 
    background-repeat: no-repeat;
    
    z-index: -1;
    pointer-events: none;
    border-radius: inherit; 
    filter: blur(2px);
}

.post p a, 
.project-description a, 
.bio-content a,
.fact-item a {
    color: #007791;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.post p a:hover, 
.project-description a:hover, 
.bio-content a:hover,
.fact-item a:hover {
    color: #00a8cc;
    text-decoration-thickness: 2px;
    background: rgba(0, 168, 204, 0.05);
    border-radius: 4px;
}

.game-card::after {
    background: radial-gradient(
        ellipse at top, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 80%
    );
    background-size: 100% 100%;
}

.post h3 {
    color: #1e5a58;
    font-size: 1.8rem;
    margin: 0 0 25px 0;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8); 
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.post p {
    color: #2b425a;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.post img {
    border-radius: 16px;
    margin: 35px auto;
    display: block;
    max-width: 100%;
    height: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border: 5px solid rgba(255, 255, 255, 0.9); 
    position: relative;
    z-index: 2;
}

.post blockquote {
    background: rgba(255, 255, 255, 0.45); 
    border-left: 4px solid rgba(30, 90, 88, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: #2b425a; 
    font-weight: 500; 
    font-size: 1.15rem;
    margin: 25px 15px;
    padding: 20px 25px;
    border-radius: 15px;
    font-style: italic;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.03), 
        0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.projects-container h2, .social-container h2, .games-container h2 {
    font-family: 'Varela Round', sans-serif;
    color: #1e5a58;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.social-list, .projects-list, .games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.games-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
}

.social-list li a, .projects-list li a, .games-list li a {
    text-decoration: none;
    display: block;
}

.social-list li a:hover .social-item,
.projects-list li a:hover .project-card,
.games-list li a:hover .game-card {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 24px rgba(0, 80, 100, 0.1);
    background: rgba(255, 255, 255, 0.65);
}

.social-item {
    display: flex;
    align-items: center;
    gap: 15px; 
    padding: 15px 20px;
    margin-bottom: 0;
}

.social-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #e0fff6 0%, #b8fce9 50%, #8ef5d8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #004d40;
    box-shadow: 
        0 4px 10px rgba(0, 80, 100, 0.08), 
        inset 0 1.5px 1px rgba(255, 255, 255, 1), 
        inset 0 -2px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.social-icon-wrapper i, 
.social-icon-wrapper svg {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    display: flex;
}

.social-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 12px 12px 50% 50% / 12px 12px 10px 10px;
    pointer-events: none;
    z-index: 3;
}

.social-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.social-text {
    font-weight: 800;
    color: #1e5a58;
    font-size: 1.1rem;
    line-height: 1.1;
}

.username {
    font-size: 0.85rem;
    color: #576d80;
    font-family: 'Lato', sans-serif;
    line-height: 1.1;
}

.project-title {
    display: block;
    color: #1e5a58;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.project-title::after {
    content: ' ↗';
    font-size: 1rem;
    opacity: 0.5;
}

.project-description {
    display: block;
    color: #34495e;
    font-size: 1.1rem;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.game-card {
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: auto;
    border-radius: 20px;
    margin-bottom: 0;
    cursor: pointer; 
}

.game-card iframe {
    border-radius: 8px;
    max-width: 100%;
    pointer-events: none;
}

.bio-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
    align-items: start;
}

.profile-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
    padding: 30px 20px;
    position: sticky;
    top: 20px;
}

.profile-pic-frame {
    width: 160px;
    height: 160px;
    background: linear-gradient(180deg, #ffffff 0%, #d4f1f4 100%);
    border: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 10px 20px rgba(0, 40, 50, 0.08),
        inset 0 0 20px rgba(0, 150, 200, 0.1);
    border-radius: 40px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-pic-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; 
    margin: 0; 
    border: none;
    box-shadow: none; 
}

.bioname {
    font-family: 'Varela Round', sans-serif;
    color: #1e5a58;
    font-size: 2.2rem;
    margin: 0 0 5px 0;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.connect-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 15px;
}

.connect-btn {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e5a58;
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.connect-btn:hover {
    background: #fff;
    transform: translateY(-3px) scale(1.1);
    color: #00a8cc;
    box-shadow: 0 6px 12px rgba(0, 80, 100, 0.15);
}

.connect-btn i {
    font-size: 1.6rem;
}

.subscribestar-icon {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

.bio-content {
    position: relative;
    padding: 40px;
}

.bio-content::before {
    content: '';
    position: absolute;
    top: 60px;
    left: -14px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.54);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    transform: rotate(45deg);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.bio-header {
    border-bottom: 2px solid rgba(30, 90, 88, 0.15);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.bio-header h2 {
    font-family: 'Varela Round', sans-serif;
    color: #1e5a58;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
}

.fact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.fact-item {
    background: rgba(255, 255, 255, 0.45); 
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 12px;
    color: #2b425a;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.fact-item strong {
    color: #1e5a58;
    font-family: 'Varela Round', sans-serif;
    min-width: 150px;
    font-size: 1.2rem;
}

.tools-section {
    margin-top: 40px;
    padding-top: 30px;
}

.section-label {
    font-family: 'Varela Round', sans-serif;
    color: #1e5a58;
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: block;
    font-weight: 800;
    border-bottom: 2px solid rgba(30, 90, 88, 0.15);
    padding-bottom: 15px;
}


.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
}

.tool-icon {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 15px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.tool-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #2b425a;
    margin-top: 8px;
    line-height: 1.1;
}

.tool-category {
    font-size: 0.9rem;
    color: #00a8cc;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.8px;
}

@media (max-width: 768px) {
    .post, .social-item, .project-card, .game-card {
        padding: 20px;
        border-radius: 20px;
    }
    .game-card {
        width: 100%;
        max-width: 280px;
    }
    .social-icon-wrapper {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .bio-container { grid-template-columns: 1fr; }
    .profile-card { position: static; margin-bottom: 20px; }
    .bio-content::before { display: none; }
    .tools-grid { grid-template-columns: repeat(3, 1fr); }

    .fact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .fact-item strong {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
}