
.page-shell {
    min-height: 100vh;
	width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2vh 0;
    box-sizing: border-box;
	pointer-events: none;
}

.center-panel {
	pointer-events: all;

    position: relative;

    width: var(--panel-width);
    max-width: var(--max-width-desktop);
    height: var(--panel-height);
	max-height: 96vh;
	
    background: var(--panel-bg);
	backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);

    color: #fff;
    padding: var(--panel-padding);
    box-sizing: border-box;
    border-radius: var(--panel-radius);
    overflow: auto;

	transition: width 0.3s ease, height 0.3s ease;
}

@media (max-width: 900px) {
	:root {
		--panel-padding: 24px;
	}

    .page-shell { 
		padding: 0; 
	}

    .center-panel {
        width: 95vw;
        height: 94vh;
        border-radius: 12px;
        padding: 20px;
        padding-top: 70px;
    }

	.hero-content {
		width: 100%;
		margin-bottom: 20px;
	}

	.bio {
		width: 100%;
	}

	.top-header {
		padding: 0 16px;
	}

	.menu-container {
		position: absolute;
		top: 56px;
		left: 0;
		right: 0;
		flex-direction: column;
		background: rgba(0, 0, 0, 0.5);
		backdrop-filter: blur(8px);
		gap: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
		padding: 0;
	}

	.menu-container.active {
		max-height: 300px;
	}

	.menu-list {
		flex-direction: column;
		gap: 0;
		padding: 12px 0;
	}

	.menu-link {
		border: none;
		border-radius: 0;
		padding: 12px 16px;
		width: 100%;
		text-align: left;
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	}

	.menu-link:hover {
		background: rgba(255,255,255,0.08);
	}

	.menu-toggle {
		display: flex !important;
		order: -1;
		z-index: 11;
	}
}

.top-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--panel-padding);
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-container {
    flex: 1;
    display: flex;
    gap: 20px;
}

.menu-list {
    list-style: none;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.menu-item {
    display: flex;
}

.menu-link {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.menu-link:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.24);
}

.lang-buttons {
    display: flex;
    gap: 8px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.lang {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}
.lang:hover { background: rgba(255,255,255,0.04); }

.hero-content {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.profile {
    width: 180px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
    flex-shrink: 0;
}

.bio {
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
}

.intro {
    margin-bottom: 14px;
    color: #ddd;
}

@media (max-width: 700px) {
    .hero-content { flex-direction: column; align-items: center; text-align: center; }
    .profile { width: 160px; height: 160px; margin-bottom: 12px; }
    
	.top-header {
		padding: 0 12px;
	}

	.lang-buttons {
		gap: 4px;
	}

	.lang {
		padding: 4px 8px;
		font-size: 12px;
	}
}

@media (min-width: 1200px) {
    .page-shell { 
		padding-left: var(--panel-padding-1200);
		padding-right: var(--panel-padding-1200); 
	}
    .center-panel { max-width: var(--panel-max-width-1200); }
}