* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background: #0d1117;
    color: #c9d1d9;
    line-height: 1.5;
    min-height: 100vh;
}

/* GitHub Header */
.gh-header {
    background: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 16px 32px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.gh-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.gh-logo {
    color: #f0f6fc;
    font-size: 32px;
}

.gh-search input {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 6px 12px;
    color: #c9d1d9;
    width: 300px;
    font-size: 14px;
}

.gh-search input::placeholder {
    color: #8b949e;
}

.gh-search input:focus {
    outline: none;
    border-color: #58a6ff;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

.gh-nav {
    display: flex;
    gap: 16px;
    margin-left: auto;
}

.gh-nav a {
    color: #c9d1d9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.gh-nav a:hover {
    color: #f0f6fc;
}

.gh-user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

.gh-user > i {
    font-size: 18px;
    color: #c9d1d9;
}

.gh-avatar-sm {
    width: 20px;
    height: 20px;
    color: #c9d1d9;
}

/* Container */
.gh-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px;
}

/* Profile Section */
.gh-profile {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.gh-avatar-lg {
    width: 296px;
    height: 296px;
    flex-shrink: 0;
}

.gh-avatar-lg i {
    font-size: 296px;
    color: #8b949e;
}

.gh-profile-info {
    flex: 1;
}

.gh-name-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
}

.gh-full-name {
    font-size: 32px;
    font-weight: 300;
    color: #f0f6fc;
}

.gh-username {
    font-size: 24px;
    font-weight: 300;
    color: #8b949e;
}

.gh-bio {
    font-size: 16px;
    color: #c9d1d9;
    margin-bottom: 16px;
}

.gh-meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: #8b949e;
    margin-bottom: 16px;
}

.gh-meta i {
    margin-right: 4px;
}

.gh-highlights {
    display: flex;
    gap: 16px;
}

.gh-badge {
    font-size: 14px;
    color: #c9d1d9;
}

.gh-badge i {
    margin-right: 4px;
    color: #8b949e;
}

/* Tabs */
.gh-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #30363d;
    margin-bottom: 32px;
}

.gh-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #c9d1d9;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.gh-tab i {
    font-size: 16px;
}

.gh-tab:hover {
    color: #f0f6fc;
    text-decoration: none;
}

.gh-tab.active {
    border-bottom-color: #f78166;
    color: #f0f6fc;
}

.gh-count {
    background: rgba(110, 118, 129, 0.4);
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 12px;
}

/* Sections */
.gh-section {
    margin-bottom: 32px;
}

.gh-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gh-section-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #f0f6fc;
}

.gh-section-header a {
    color: #58a6ff;
    text-decoration: none;
    font-size: 14px;
}

.gh-section-header a:hover {
    text-decoration: underline;
}

/* Repository Grid */
.gh-repo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gh-repo-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 16px;
    text-decoration: none;
    transition: 0.2s;
}

.gh-repo-card:hover {
    border-color: #8b949e;
}

.gh-repo-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.gh-repo-top i {
    font-size: 20px;
    color: #58a6ff;
}

.gh-repo-name {
    font-size: 16px;
    font-weight: 600;
    color: #58a6ff;
}

.gh-repo-desc {
    font-size: 14px;
    color: #8b949e;
    margin-bottom: 16px;
    line-height: 1.4;
}

.gh-repo-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #8b949e;
}

.gh-lang {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gh-lang i {
    color: #e4d81c;
}

.gh-repo-meta i {
    margin-right: 4px;
}

/* Timeline */
.gh-timeline {
    border: 1px solid #30363d;
    border-radius: 6px;
    overflow: hidden;
}

.gh-contribution {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #30363d;
}

.gh-contribution:last-child {
    border-bottom: none;
}

.gh-dot {
    width: 10px;
    height: 10px;
    background: #238636;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.gh-contrib-content {
    flex: 1;
}

.gh-contrib-text {
    font-size: 14px;
    color: #c9d1d9;
    margin-bottom: 4px;
}

.gh-contrib-text a {
    color: #58a6ff;
    text-decoration: none;
}

.gh-contrib-text a:hover {
    text-decoration: underline;
}

.gh-contrib-time {
    font-size: 12px;
    color: #8b949e;
}

/* Support & Donations Block */
.gh-support-block {
    background: linear-gradient(135deg, #1a1f26 0%, #161b22 100%);
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 24px;
}

.gh-support-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #30363d;
}

.gh-support-header > i {
    font-size: 48px;
    color: #f85149;
}

.gh-support-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #f0f6fc;
    margin: 0;
}

.gh-support-header p {
    font-size: 14px;
    color: #8b949e;
    margin: 4px 0 0 0;
}

.gh-donate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.gh-donate-card {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    gap: 12px;
    transition: all 0.2s;
}

.gh-donate-card:hover {
    border-color: #58a6ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(88, 166, 255, 0.15);
}

.gh-donate-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(88, 166, 255, 0.1);
    border-radius: 6px;
    flex-shrink: 0;
}

.gh-donate-icon i {
    font-size: 24px;
    color: #58a6ff;
}

.gh-donate-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gh-donate-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #f0f6fc;
    margin: 0;
}

.gh-donate-code {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 6px 10px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #79c0ff;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gh-btn-copy {
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 6px 12px;
    color: #c9d1d9;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
}

.gh-btn-copy:hover {
    background: #30363d;
    border-color: #58a6ff;
}

.gh-btn-copy i {
    font-size: 12px;
}

.gh-support-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #30363d;
}

.gh-support-footer p {
    font-size: 14px;
    color: #8b949e;
    margin: 0;
}

/* Telecom News Block */
.gh-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.gh-news-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 20px;
    transition: all 0.2s;
    position: relative;
}

.gh-news-card:hover {
    border-color: #58a6ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(88, 166, 255, 0.15);
}

.gh-news-badge {
    display: inline-block;
    background: #da3633;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gh-news-badge.trending {
    background: #f78166;
}

.gh-news-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.gh-news-title a {
    color: #f0f6fc;
    text-decoration: none;
    line-height: 1.4;
}

.gh-news-title a:hover {
    color: #58a6ff;
}

.gh-news-excerpt {
    font-size: 14px;
    color: #8b949e;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.gh-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #8b949e;
    padding-top: 16px;
    border-top: 1px solid #30363d;
}

.gh-news-source,
.gh-news-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gh-news-source i,
.gh-news-date i {
    font-size: 12px;
}

/* Footer */
.gh-footer {
    border-top: 1px solid #30363d;
    padding: 40px 0;
    margin-top: 48px;
}

.gh-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gh-footer-links {
    display: flex;
    gap: 24px;
    font-size: 12px;
    color: #8b949e;
}

.gh-footer-links a {
    color: #58a6ff;
    text-decoration: none;
}

.gh-footer-links a:hover {
    text-decoration: underline;
}

.gh-footer-social {
    display: flex;
    gap: 16px;
}

.gh-footer-social a {
    color: #8b949e;
    font-size: 24px;
    text-decoration: none;
}

.gh-footer-social a:hover {
    color: #c9d1d9;
}

/* Responsive */
@media (max-width: 768px) {
    .gh-header {
        padding: 16px;
    }

    .gh-header-inner {
        flex-wrap: wrap;
    }

    .gh-search {
        order: 3;
        width: 100%;
        margin-top: 8px;
    }

    .gh-search input {
        width: 100%;
    }

    .gh-nav {
        display: none;
    }

    .gh-container {
        padding: 16px;
    }

    .gh-profile {
        flex-direction: column;
    }

    .gh-avatar-lg {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
    }

    .gh-avatar-lg i {
        font-size: 120px;
    }

    .gh-repo-grid {
        grid-template-columns: 1fr;
    }

    .gh-footer-inner {
        flex-direction: column;
        gap: 16px;
    }

    .gh-footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
