/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
    color: var(--text-main);
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #080c14;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: #04070d;
}

.btn-secondary {
    color: var(--text-main);
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--glass-border-hover);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.btn-lang {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-weight: 600;
    font-family: var(--font-mono);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.btn-lang:hover {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Cards */
.project-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--glass-border);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.1);
    border-color: var(--glass-border-hover);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
    background: #0d1321;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-info {
    padding: 1.8rem;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(16, 185, 129, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--primary-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.projects-note {
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

/* Achievement Card */
.achievement-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--glass-border);
}

@media (min-width: 768px) {
    .achievement-card {
        flex-direction: row;
        align-items: center;
    }
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
}

.achievement-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
    background: #0d1321;
}

@media (min-width: 768px) {
    .achievement-image {
        width: 45%;
        height: 100%;
        min-height: 320px;
        border-right: 1px solid var(--glass-border);
        border-bottom: none;
    }
}

.achievement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.achievement-card:hover .achievement-image img {
    transform: scale(1.04);
}

.achievement-info {
    padding: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .achievement-info {
        width: 55%;
        padding: 3rem;
    }
}

.achievement-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.achievement-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Contact Card */
.contact-card {
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    border: 1px solid var(--glass-border);
}

.contact-card h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Social Buttons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.social-btn {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.6);
}

.social-btn:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}
