* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #0d1117;
    color: #c9d1d9;
    overflow: hidden;
    font-size: 13px;
}

.vscode-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.titlebar {
    height: 40px;
    background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid #21262d;
}

.titlebar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #58a6ff;
    font-size: 13px;
}

.titlebar-center {
    font-size: 12px;
    color: #8b949e;
    font-weight: 500;
}

.main-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.sidebar {
    width: 56px;
    background: #161b22;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8px;
    border-right: 1px solid #21262d;
}

.sidebar-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    color: #6e7681;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px 0;
}

.sidebar-icon:hover {
    color: #58a6ff;
    background: rgba(88, 166, 255, 0.1);
}

.sidebar-icon.active {
    color: #58a6ff;
    background: rgba(88, 166, 255, 0.15);
}

.sidebar-icon.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: #58a6ff;
    border-radius: 0 3px 3px 0;
}

.explorer-panel {
    width: 280px;
    background: #0d1117;
    border-right: 1px solid #21262d;
    display: none;
    flex-direction: column;
}

.explorer-panel.active {
    display: flex;
}

.explorer-header {
    height: 40px;
    padding: 0 12px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    text-transform: uppercase;
    color: #8b949e;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #21262d;
}

.explorer-actions {
    display: flex;
    gap: 4px;
}

.explorer-action-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
    color: #8b949e;
    border-radius: 4px;
    font-size: 11px;
}

.explorer-header:hover .explorer-action-btn {
    opacity: 1;
}

.explorer-action-btn:hover {
    background: rgba(88, 166, 255, 0.15);
    color: #58a6ff;
}

.explorer-content {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.explorer-content::-webkit-scrollbar {
    width: 10px;
}

.explorer-content::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 10px;
}

.explorer-content::-webkit-scrollbar-track {
    background: transparent;
}

.folder {
    user-select: none;
}

.folder-header {
    display: flex;
    align-items: center;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s ease;
    border-radius: 6px;
    margin: 1px 8px;
}

.folder-header:hover {
    background: rgba(88, 166, 255, 0.1);
}

.folder-arrow {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    transition: transform 0.2s ease;
    fill: #8b949e;
    flex-shrink: 0;
}

.folder.expanded .folder-arrow {
    transform: rotate(90deg);
}

.folder-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}

.folder-content {
    display: none;
    padding-left: 0;
}

.folder.expanded .folder-content {
    display: block;
}

.file {
    display: flex;
    align-items: center;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s ease;
    border-radius: 6px;
    margin: 1px 8px;
}

.file:hover {
    background: rgba(88, 166, 255, 0.1);
}

.file.active {
    background: rgba(88, 166, 255, 0.2);
    color: #58a6ff;
}

.file-indent {
    width: 16px;
    flex-shrink: 0;
}

.file-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}

.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0d1117;
}

.tabs-bar {
    height: 40px;
    background: #161b22;
    display: flex;
    align-items: flex-end;
    overflow-x: auto;
    border-bottom: 1px solid #21262d;
    padding-left: 8px;
}

.tabs-bar::-webkit-scrollbar {
    height: 0;
}

.tab {
    height: 40px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border-right: 1px solid transparent;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    color: #8b949e;
    position: relative;
    max-width: 220px;
    border-radius: 6px 6px 0 0;
    transition: all 0.15s ease;
}

.tab:hover {
    background: rgba(88, 166, 255, 0.08);
    color: #c9d1d9;
}

.tab:hover .tab-close {
    opacity: 1;
}

.tab.active {
    background: #0d1117;
    color: #58a6ff;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #58a6ff 0%, #a371f7 100%);
    border-radius: 2px 2px 0 0;
}

.tab-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.tab-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tab-close {
    margin-left: auto;
    opacity: 0;
    font-size: 18px;
    line-height: 1;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.tab-close:hover {
    background: rgba(248, 81, 73, 0.2);
    color: #f85149;
}

.tab.active .tab-close {
    opacity: 0.7;
}

.editor-area {
    flex: 1;
    background: #0d1117;
    overflow: hidden;
    position: relative;
}

.editor-content {
    display: none;
    height: 100%;
    overflow: auto;
}

.editor-content.active {
    display: block;
}

.editor-content::-webkit-scrollbar {
    width: 12px;
}

.editor-content::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 10px;
    border: 3px solid #0d1117;
}

.editor-content::-webkit-scrollbar-track {
    background: transparent;
}

.editor-page {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.editor-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

.breadcrumb {
    height: 28px;
    background: #0d1117;
    border-bottom: 1px solid #21262d;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 12px;
    color: #6e7681;
}

.statusbar {
    height: 26px;
    background: linear-gradient(135deg, #58a6ff 0%, #a371f7 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 12px;
    color: #ffffff;
}

.statusbar-left, .statusbar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.statusbar-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.statusbar-item:hover {
    opacity: 0.85;
}

/* Content Styles */
h1 {
    font-size: 56px;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #58a6ff 0%, #a371f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 36px;
    color: #ffffff;
    margin: 40px 0 20px;
    font-weight: 600;
}

h3 {
    font-size: 22px;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
}

p {
    line-height: 1.7;
    margin-bottom: 16px;
    color: #8b949e;
    font-size: 15px;
}

.page-subtitle {
    color: #6e7681;
    font-size: 16px;
    margin-bottom: 32px;
}

.hero-section {
    padding: 80px 0;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(88, 166, 255, 0.15);
    color: #58a6ff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(88, 166, 255, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: #58a6ff;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-desc {
    font-size: 16px;
    color: #c9d1d9;
    max-width: 600px;
}

.hero-footer {
    margin-top: 60px;
    color: #6e7681;
    font-size: 14px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.project-card {
    background: #161b22;
    border: 1px solid #30363d;
    padding: 28px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #58a6ff 0%, #a371f7 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    border-color: #58a6ff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(88, 166, 255, 0.15);
}

.project-card:hover::before {
    opacity: 1;
}

.project-icon {
    width: 48px;
    height: 48px;
    background: rgba(88, 166, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #58a6ff;
    font-size: 20px;
    margin-bottom: 16px;
}

.project-title {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 600;
}

.project-desc {
    color: #8b949e;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #58a6ff;
    font-weight: 500;
}

.skill-category {
    margin-bottom: 40px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.skill-item {
    background: #161b22;
    border: 1px solid #30363d;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c9d1d9;
}

.skill-item i {
    font-size: 18px;
    color: #58a6ff;
}

.skill-item:hover {
    border-color: #58a6ff;
    background: rgba(88, 166, 255, 0.1);
    transform: translateY(-2px);
}

.job-entry {
    margin-bottom: 40px;
    padding: 24px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.job-entry:hover {
    border-color: #58a6ff;
    box-shadow: 0 4px 16px rgba(88, 166, 255, 0.1);
}

.job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.job-title {
    font-size: 20px;
    color: #ffffff;
    margin: 0;
}

.job-badge {
    padding: 4px 12px;
    background: rgba(46, 160, 67, 0.15);
    color: #3fb950;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(46, 160, 67, 0.3);
}

.job-date {
    color: #6e7681;
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 500;
}