* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #e2e8f0;
    line-height: 1.5;
    padding: 1rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* БУРГЕР-МЕНЮ С ПЛАШКОЙ */
.burger-menu {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(45, 212, 191, 0.5);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.burger-icon {
    width: 28px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.burger-icon span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: #2dd4bf;
    border-radius: 2px;
    transition: 0.3s;
}
.burger-dropdown {
    position: absolute;
    top: 50px;
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 0.5rem 0;
    min-width: 140px;
    border: 1px solid rgba(45, 212, 191, 0.4);
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
}
.burger-dropdown.show {
    display: flex;
}
.burger-link {
    padding: 0.7rem 1.2rem;
    color: #cbd5e6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
    border-left: 3px solid transparent;
}
.burger-link:hover {
    background: rgba(45, 212, 191, 0.2);
    color: #2dd4bf;
}
/* глитч-эффект для активной кнопки */
.burger-link.glitch-active {
    animation: glitch 0.3s ease-in-out 3;
    color: #2dd4bf;
    border-left-color: #2dd4bf;
    background: rgba(45, 212, 191, 0.1);
}
@keyframes glitch {
    0% { text-shadow: -2px 0 #ff00c1, 2px 0 #00fff9; transform: skewX(0deg); }
    20% { text-shadow: 2px 0 #ff00c1, -2px 0 #00fff9; transform: skewX(2deg); }
    40% { text-shadow: -1px 0 #ff00c1, 1px 0 #00fff9; transform: skewX(-2deg); }
    60% { text-shadow: 1px 0 #ff00c1, -1px 0 #00fff9; transform: skewX(1deg); }
    80% { text-shadow: -2px 0 #ff00c1, 2px 0 #00fff9; transform: skewX(-1deg); }
    100% { text-shadow: none; transform: skewX(0); }
}

.container {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    border-radius: 2rem;
    padding: 1rem 1rem 1.2rem;
    border: 1px solid rgba(56, 189, 248, 0.25);
    transition: 0.3s;
}

.profile-card {
    background: rgba(20, 30, 45, 0.9);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.avatar-wrapper {
    width: 40vw;
    max-width: 160px;
    min-width: 100px;
}

.avatar-large {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #2dd4bf;
    box-shadow: 0 0 12px rgba(45, 212, 191, 0.5);
}

.profile-name {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
    text-shadow: 0 0 5px #2dd4bf;
}

.badges-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #cbd5e6;
}

.separator {
    color: #2dd4bf;
}

.badge-link {
    color: #2dd4bf;
    text-decoration: none;
}
.badge-link:hover {
    text-decoration: underline;
}

.usernames {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.usernames a {
    color: #2dd4bf;
    text-decoration: none;
    font-size: 0.85rem;
    background: rgba(0,0,0,0.5);
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
}

.usernames a:hover {
    background: #2dd4bf22;
}

.ton-block {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid #2dd4bf;
    font-size: 0.85rem;
}

.ton-address {
    font-family: monospace;
    font-weight: bold;
    color: #2dd4bf;
    cursor: pointer;
}
.copy-tip {
    font-size: 0.7rem;
    color: #90a3bf;
    cursor: pointer;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-left: 4px solid #2dd4bf;
    padding-left: 1rem;
    text-transform: lowercase;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-card {
    background: rgba(20, 30, 45, 0.9);
    border-radius: 1.25rem;
    padding: 1.2rem;
    border: 1px solid rgba(45, 212, 191, 0.4);
    cursor: pointer;
    transition: 0.2s;
}
.project-card:hover {
    border-color: #2dd4bf;
    background: rgba(30, 45, 65, 0.9);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.project-name {
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
}
.status.active {
    background: #14532d;
    color: #86efac;
}
.status.dev {
    background: #713f12;
    color: #fde047;
}

.short-desc {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.full-desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s;
}
.project-card.expanded .full-desc {
    max-height: 400px;
    opacity: 1;
    margin-top: 0.8rem;
    border-top: 1px solid #334155;
}

.full-desc ul {
    margin: 0.5rem 0 0 1rem;
    font-size: 0.85rem;
}

.project-buttons {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.proj-btn {
    background: #0f172a;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    text-decoration: none;
    color: #e2e8f0;
    font-size: 0.8rem;
    border: 1px solid #2dd4bf;
}
.proj-btn:hover {
    background: #2dd4bf;
    color: #0f172a;
}

.footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #334155;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 0.5rem 0;
}
.social-links a {
    color: #94a3b8;
    text-decoration: none;
}
.social-links a:hover {
    color: #2dd4bf;
}

@media (max-width: 550px) {
    .container {
        padding: 0.7rem;
    }
    .badges-line {
        font-size: 0.7rem;
    }
}