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

/* Main Background - Nude (sáng hơn, vẫn đậm, tone mới) */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;  /* Giữ màu chữ cũ */
    background-color: #E8D5B7 !important;  /* Sáng hơn, vẫn đậm, tone mới */
    background: #E8D5B7 !important;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    color: #2c2c2c;  /* Màu tối thay vì trắng */
    padding: 60px 20px;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 900;  /* Cực đậm */
    color: #1a1a1a;  /* Màu tối */
    text-shadow: 2px 2px 4px rgba(255,255,255,0.3);  /* Shadow sáng hơn */
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 600;  /* In đậm hơn */
    color: #2c2c2c;  /* Màu tối */
    opacity: 1;  /* Bỏ opacity để rõ hơn */
}

main {
    background: transparent;  /* Transparent để hiện background nude */
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: none;  /* Bỏ shadow để hòa hợp với background */
}

section {
    margin-bottom: 50px;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    color: #333;  /* Giữ màu chữ cũ */
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #9b59b6;  /* Purple border */
    padding-bottom: 10px;
}

.intro p {
    font-size: 1.1rem;
    color: #2c2c2c;  /* Màu tối hơn */
    line-height: 1.8;
    font-weight: 500;  /* In đậm hơn */
}

code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #e83e8c;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    color: #2c2c2c;  /* Màu tối thay vì trắng */
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(155, 89, 182, 0.4);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 800;  /* In đậm hơn */
    color: #1a1a1a;  /* Màu tối */
}

.feature-card p {
    font-weight: 500;  /* In đậm */
    color: #2c2c2c;  /* Màu tối */
    opacity: 1;  /* Bỏ opacity */
}

.contact {
    text-align: center;
}

.contact p {
    font-size: 1.1rem;
    color: #666;
}

footer {
    text-align: center;
    color: #1a1a1a;  /* Màu tối */
    padding: 30px 20px;
    font-weight: 500;  /* In đậm */
    opacity: 1;  /* Bỏ opacity */
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    main {
        padding: 20px;
        margin: 20px 0;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Courses Page Styles ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #9b59b6;  /* Purple */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.theme-toggle {
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #666;
}

.lang-switch button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
    color: inherit;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}

.hero-section {
    padding: 120px 20px 60px;
    text-align: center;
    color: #1a1a1a;  /* Màu tối */
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.courses-hero {
    padding: 120px 20px 60px;
    text-align: center;
    color: #1a1a1a;  /* Màu tối */
}

.courses-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 900;  /* Cực đậm */
    color: #1a1a1a;  /* Màu tối */
    text-shadow: 2px 2px 4px rgba(255,255,255,0.3);
}

.courses-subtitle {
    font-size: 1.3rem;
    font-weight: 600;  /* In đậm */
    color: #2c2c2c;  /* Màu tối */
    opacity: 1;  /* Bỏ opacity */
}

.courses-section {
    padding: 60px 20px;
    background: white;
    min-height: 100vh;
}

.course-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #9b59b6;  /* Purple */
    background: white;
    color: #9b59b6;  /* Purple */
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #9b59b6;  /* Purple */
    color: #1a1a1a;  /* Màu tối */
    font-weight: 700;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);  /* Nude + Purple */
    color: white;
    border-color: transparent;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.course-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.course-header {
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    padding: 2rem;
    position: relative;
    color: white;
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.course-badge.completed {
    background: rgba(76, 175, 80, 0.3);
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.course-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.tag {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #d4a574;
    font-weight: 500;
}

.course-progress {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
}

.course-link {
    color: #9b59b6;  /* Purple */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.course-link:hover {
    color: #d4a574;  /* Nude */
}

.learning-path {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #f0f0f0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.path-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.path-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #d4a574 0%, #9b59b6 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #9b59b6;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.timeline-content p {
    color: #666;
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.9rem;
    color: #d4a574;
    font-weight: 600;
}

.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 20px 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .courses-title {
        font-size: 2rem;
    }

    .courses-subtitle {
        font-size: 1rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .path-timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }
}

/* ===== New Pages Styles ===== */

/* Page Hero (for About, Projects, Contact pages) */
.page-hero {
    padding: 120px 20px 60px;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Hero Section (Home page) */
.hero-content {
    color: #1a1a1a;  /* Màu tối */
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
}

.title-greeting {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #6a1b9a;  /* Tím đậm */
}

.title-name {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: #1a1a1a;  /* Màu tối */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #1a1a1a;
    background-clip: unset;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c2c2c;  /* Màu tối */
    font-weight: 600;
    opacity: 1;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 100%;
    color: #333;  /* Màu tối */
    font-weight: 500;
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Hero Image với khung đẹp */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-frame {
    position: relative;
    width: 300px;
    height: 300px;
    padding: 20px;
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(106, 27, 154, 0.3);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    color: #1a1a1a;
    backdrop-filter: blur(10px);
}

/* Khung trang trí */
.frame-decoration {
    position: absolute;
    border: 3px solid;
    border-radius: 20px;
    z-index: 1;
}

.frame-1 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-color: #6a1b9a;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.frame-2 {
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-color: #d4a574;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite 0.5s;
}

.frame-3 {
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border-color: #9b59b6;
    opacity: 0.2;
    animation: float 3s ease-in-out infinite 1s;
}

.frame-4 {
    top: -30px;
    left: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    border-color: #c9a882;
    opacity: 0.15;
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Hero */
@media (max-width: 968px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-frame {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .title-name {
        font-size: 3rem;
    }
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #d4a574;
}

/* About Preview Section */
.about-preview {
    padding: 80px 20px;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.skills-preview {
    margin-top: 2rem;
}

.skills-preview h3 {
    margin-bottom: 1rem;
    color: #333;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #d4a574;
    font-weight: 500;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Featured Projects Section */
.featured-projects {
    padding: 80px 20px;
    background: #f8f9fa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 4rem;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.project-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #d4a574;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-link {
    color: #d4a574;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #9b59b6;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Learning Preview Section */
/* Learning Journey Title - Tím đậm */
.learning-journey-title {
    color: #6a1b9a !important;  /* Tím đậm */
    font-weight: 900 !important;  /* Cực đậm */
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #6a1b9a !important;
    background: none !important;
    background-clip: unset !important;
}

/* Learning Journey Text trong hero description */
.learning-journey-text {
    color: #6a1b9a !important;  /* Tím đậm */
    font-weight: 700 !important;  /* In đậm */
}

.learning-preview {
    padding: 80px 20px;
    background: white;
}

.courses-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-preview-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.course-preview-card:hover {
    transform: translateY(-5px);
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.course-preview-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.course-preview-card p {
    color: #666;
    margin-bottom: 1rem;
}

.course-progress-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar-mini {
    flex: 1;
    height: 6px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill-mini {
    height: 100%;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    border-radius: 10px;
    transition: width 1s ease;
}

/* Contact Preview Section */
.contact-preview {
    padding: 80px 20px;
    background: #f8f9fa;
    text-align: center;
}

.contact-preview p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* Projects Page Styles */
.projects-section {
    padding: 60px 20px;
    background: white;
    min-height: 100vh;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.projects-grid-full {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

.project-card-full {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.project-image-full {
    position: relative;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.project-placeholder-full {
    font-size: 5rem;
    color: white;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image-full:hover .project-overlay {
    opacity: 1;
}

.project-demo-btn,
.project-code-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    color: #d4a574;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.project-demo-btn:hover,
.project-code-btn:hover {
    transform: scale(1.05);
}

.project-content-full {
    padding: 2rem;
}

.project-header-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-title-full {
    font-size: 1.8rem;
    color: #333;
}

.project-year {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #d4a574;
    font-weight: 600;
}

.project-description-full {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.project-features {
    margin-bottom: 1.5rem;
}

.project-features h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.project-features ul {
    list-style: none;
    padding-left: 0;
}

.project-features li {
    color: #666;
    margin-bottom: 0.3rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4a574;
    font-weight: bold;
}

.project-links-full {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-link-full {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f0f0f0;
    color: #d4a574;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link-full:hover {
    background: #d4a574;
    color: white;
    transform: translateY(-2px);
}

/* About Page Styles */
.about-section {
    padding: 60px 20px;
    background: white;
    min-height: 100vh;
}

.about-main {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro {
    margin-bottom: 4rem;
}

.about-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.skills-section {
    margin-bottom: 4rem;
}

.skills-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-item {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #d4a574;
    font-weight: 500;
    border: 1px solid #e0e0e0;
}

.journey-section {
    margin-bottom: 4rem;
}

.journey-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.journey-timeline {
    position: relative;
    padding-left: 3rem;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #d4a574 0%, #9b59b6 100%);
}

.journey-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.journey-year {
    position: absolute;
    left: -3.5rem;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #9b59b6;
}

.journey-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.journey-content p {
    color: #666;
    line-height: 1.8;
}

.interests-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.interest-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-5px);
}

.interest-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.interest-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.interest-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 60px 20px;
    background: white;
    min-height: 100vh;
}

.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.method-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-info h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.method-info p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #d4a574;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Responsive for new pages */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .project-card-full {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .title-name {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .title-name {
        font-size: 2.5rem;
    }

    .title-greeting {
        font-size: 1.5rem;
    }

    .projects-grid-full {
        gap: 2rem;
    }
}

/* ===== Courses Categories Styles ===== */
.courses-categories-section {
    padding: 60px 20px;
    background: white;
    min-height: 100vh;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.category-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.category-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #d4a574;
    font-weight: 600;
}

/* ===== Roadmaps Styles ===== */
.roadmaps-section {
    padding: 60px 20px;
    background: white;
    min-height: 100vh;
}

.roadmaps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.roadmap-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.roadmap-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.roadmap-header {
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    padding: 2rem;
    position: relative;
    color: white;
}

.roadmap-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.roadmap-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.roadmap-content {
    padding: 2rem;
}

.roadmap-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.roadmap-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.roadmap-details {
    margin-bottom: 1.5rem;
}

.roadmap-detail-item {
    display: flex;
    margin-bottom: 0.8rem;
    align-items: flex-start;
}

.detail-label {
    font-weight: 600;
    color: #333;
    min-width: 80px;
    margin-right: 0.5rem;
}

.detail-value {
    color: #666;
    flex: 1;
}

.roadmap-progress {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .categories-grid,
    .roadmaps-grid {
        grid-template-columns: 1fr;
    }

    .category-card,
    .roadmap-card {
        padding: 1.5rem;
    }
}

/* ===== Learning Schedule Styles ===== */
.schedule-nav-section {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
}

.schedule-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.schedule-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    color: #d4a574;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #d4a574;
}

.schedule-tab:hover,
.schedule-tab.active {
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    color: white;
    border-color: transparent;
}

.today-schedule-section {
    padding: 60px 20px;
    background: white;
    min-height: 100vh;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.date-display {
    font-size: 1.2rem;
    color: #d4a574;
    font-weight: 600;
}

.today-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-box {
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
}

.stat-icon {
    font-size: 3rem;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.today-tasks {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tasks-header h3 {
    font-size: 1.5rem;
    color: #333;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.task-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.task-item:hover {
    transform: translateX(5px);
}

.task-item.completed {
    opacity: 0.7;
    background: #f0f0f0;
}

.task-item.completed .task-title {
    text-decoration: line-through;
    color: #999;
}

.task-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.task-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.task-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.task-course {
    font-size: 0.9rem;
    color: #d4a574;
}

.task-time {
    color: #666;
    font-weight: 600;
}

.learning-log {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.learning-log h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.log-form {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.logs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.log-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.log-course {
    font-weight: 600;
    color: #d4a574;
}

.log-time {
    background: #d4a574;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.log-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.log-time-display {
    font-size: 0.85rem;
    color: #999;
}

.no-logs {
    text-align: center;
    color: #999;
    padding: 2rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .today-stats {
        grid-template-columns: 1fr;
    }

    .schedule-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tasks-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ===== Roadmap Detail Styles ===== */
.roadmap-detail-section {
    padding: 60px 20px;
    background: white;
    min-height: 100vh;
}

.roadmap-overview {
    margin-bottom: 3rem;
}

.overview-card {
    background: linear-gradient(135deg, #d4a574 0%, #9b59b6 100%);
    padding: 2.5rem;
    border-radius: 15px;
    color: white;
}

.overview-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.overview-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.overview-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.overview-stat {
    display: flex;
    flex-direction: column;
}

.overview-stat .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.overview-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.roadmap-levels {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.roadmap-level {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #667eea;
}

.level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.level-header h2 {
    font-size: 1.8rem;
    color: #333;
}

.level-progress {
    background: #d4a574;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.level-topics {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.topic-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.topic-item:hover {
    transform: translateX(5px);
}

.topic-item.completed {
    border-left: 4px solid #4caf50;
}

.topic-check {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #d4a574;
    flex-shrink: 0;
}

.topic-item.completed .topic-check {
    background: #4caf50;
    color: white;
}

.topic-content {
    flex: 1;
}

.topic-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.topic-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.topic-link {
    color: #d4a574;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.topic-link:hover {
    color: #9b59b6;
}

/* ===== Resources Styles ===== */
.resources-section {
    padding: 60px 20px;
    background: white;
    min-height: 100vh;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-category-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.resource-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.resource-category-card .category-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.resource-category-card .category-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.resource-category-card .category-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.category-count {
    color: #d4a574;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .roadmap-level {
        padding: 1.5rem;
    }

    .level-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Articles List Styles ===== */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #667eea;
}

.article-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.article-date {
    color: #999;
}

.article-category {
    background: #f0f0f0;
    color: #d4a574;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.85rem;
}

.article-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.article-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.article-link {
    color: #d4a574;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-link:hover {
    color: #9b59b6;
}

/* ===== Development Process Page Styles ===== */
.development-page {
    background: #0a0a0a;
    min-height: 100vh;
}

.dev-process-section {
    padding: 100px 20px 20px;
    min-height: 100vh;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        #0a0a0a;
    position: relative;
    overflow: hidden;
}

.dev-process-container {
    max-width: 100%;
    height: calc(100vh - 120px);
    position: relative;
}

.diagram-controls {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-btn {
    width: 45px;
    height: 45px;
    background: rgba(102, 126, 234, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(102, 126, 234, 1);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.control-btn.active {
    background: rgba(118, 75, 162, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
}

.diagram-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 15px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 50px rgba(102, 126, 234, 0.3),
        inset 0 0 50px rgba(102, 126, 234, 0.1);
    overflow: hidden;
}

#skillTreeCanvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

#skillTreeCanvas:active {
    cursor: grabbing;
}

.detail-box {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 300px;
    background: rgba(102, 126, 234, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    z-index: 200;
    display: none;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.detail-header h3 {
    font-size: 1.3rem;
    margin: 0;
    color: white;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.detail-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.detail-attributes {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.detail-attr {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.attr-label {
    font-weight: 600;
    opacity: 0.8;
}

.attr-value {
    font-weight: 700;
    color: #f0f0f0;
}

.minimap {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 150px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(102, 126, 234, 0.5);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    z-index: 100;
}

#minimapCanvas {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .diagram-controls {
        left: 10px;
        top: 10px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .detail-box {
        width: calc(100% - 40px);
        right: 20px;
        top: auto;
        bottom: 80px;
    }

    .minimap {
        width: 150px;
        height: 100px;
        bottom: 10px;
        right: 10px;
    }
}

