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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: black;
    color: #e7e7e7;
    min-height: 100vh;
    line-height: 1.5;
}

.image-gradient {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: -2;
}

.layer-blur {
    position: absolute;
    top: 20%;
    right: 0;
    width: 30rem;
    height: 0;
    box-shadow: 0 0 700px 15px white;
    rotate: -30deg;
    z-index: -1;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
    z-index: 999;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 300;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: -5%;
}

nav a {
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding-bottom: 5px;
}

nav a:hover {
    color: #a7a7a7;
}

nav a.active {
    color: #7f42a7;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #7f42a7, #6600c5);
}

.btn-signing {
    background-color: #a7a7a7;
    color: black;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-signing:hover {
    background-color: white;
}

/* MAIN CONTENT */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
    padding: 2rem 0;
}

.content {
    max-width: 55rem;
    margin-left: 8%;
    z-index: 999;
    position: relative;
    padding-bottom: 2rem;
}

.tag-box {
    position: relative;
    width: 20rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    animation: animation-gradient 2.5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
}

@keyframes animation-gradient {
    to {
        background-position: 200%;
    }
}

.tag-box .tag {
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
}

.tag-box .tag:hover {
    color: #5300a0;
}

.content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 1.5rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.description {
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    max-width: 45rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* INFO SECTIONS */
.info-section {
    margin: 2.5rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #2a2a2a;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.info-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #c7c7c7;
    border-bottom: 2px solid #7f42a7;
    padding-bottom: 0.5rem;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #b0b0b0;
    text-align: justify;
}

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

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item label {
    font-size: 0.85rem;
    color: #7f42a7;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.info-item span {
    font-size: 1.05rem;
    color: #e7e7e7;
    padding: 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #6600c5;
}

/* EDUCATION CARDS */
.education-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    border-color: #7f42a7;
}

.education-card h3 {
    color: #7f42a7;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.education-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.detail-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    align-items: center;
}

.detail-row label {
    color: #a7a7a7;
    font-weight: 600;
    font-size: 0.95rem;
}

.detail-row span {
    color: #e7e7e7;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

/* ACHIEVEMENTS GRID */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(127, 66, 167, 0.3);
    border-color: #7f42a7;
}

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

.achievement-card h3 {
    color: #7f42a7;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.achievement-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* HIGHLIGHTS LIST */
.highlights-list {
    list-style: none;
    padding: 0;
}

.highlights-list li {
    padding: 1rem 1rem 1rem 1.5rem;
    margin: 0.7rem 0;
    background: rgba(127, 66, 167, 0.1);
    border-left: 4px solid #7f42a7;
    border-radius: 6px;
    transition: transform 0.2s ease, background 0.2s ease;
    position: relative;
}

.highlights-list li::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    color: #7f42a7;
    font-weight: bold;
}

.highlights-list li:hover {
    transform: translateX(10px);
    background: rgba(127, 66, 167, 0.15);
}

/* SKILLS SECTION */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: #6600c5;
}

.skill-category h3 {
    color: #7f42a7;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.skills-list {
    list-style: none;
    padding: 0;
}

.skills-list li {
    padding: 0.7rem;
    margin: 0.5rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid #6600c5;
    transition: transform 0.2s ease;
}

.skills-list li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

/* SOFT SKILLS */
.soft-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-badge {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #7f42a7, #6600c5);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(127, 66, 167, 0.3);
    transition: transform 0.2s ease;
    font-size: 0.95rem;
}

.skill-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(127, 66, 167, 0.5);
}

/* HOBBIES GRID */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.hobby-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hobby-item:hover {
    transform: translateY(-10px);
    border-color: #7f42a7;
}

.hobby-item h3 {
    color: #c7c7c7;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.hobby-item p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* INTERESTS CONTAINER */
.interests-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.interest-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    transition: transform 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-8px);
    border-color: #7f42a7;
}

.interest-card h3 {
    color: #7f42a7;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.interest-card p {
    color: #b0b0b0;
    line-height: 1.7;
}

/* SUBJECT CARDS */
.subject-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.subject-card:hover {
    border-color: #7f42a7;
    transform: translateX(5px);
}

.subject-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #3a3a3a;
    padding-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.subject-header h3 {
    color: #e7e7e7;
    font-size: 1.3rem;
    font-weight: 600;
}

.credit-badge {
    background: linear-gradient(135deg, #7f42a7, #6600c5);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.subject-details {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.8rem;
    align-items: center;
}

.subject-details label {
    color: #a7a7a7;
    font-weight: 600;
    font-size: 0.9rem;
}

.subject-details span {
    color: #e7e7e7;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

/* LEARNING GRID */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.learning-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.learning-card:hover {
    transform: translateY(-8px);
    border-color: #7f42a7;
}

.learning-card h3 {
    color: #c7c7c7;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.learning-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* BUTTONS */
.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn-get-started {
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    color: #e7e7e7;
}

.btn-get-started:hover {
    background-color: #1a1a1a;
    border-color: #7f42a7;
}

.btn-signing-main {
    text-decoration: none;
    background-color: lightgray;
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-signing-main:hover {
    background-color: white;
    transform: scale(1.05);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid #2a2a2a;
    margin-top: 4rem;
    position: relative;
    z-index: 999;
}

footer p {
    margin: 0.5rem 0;
    color: #a7a7a7;
    font-size: 0.95rem;
}

/* SPLINE VIEWER */
spline-viewer {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1400px) {
    .content {
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media (max-width: 1200px) {
    .content h1 {
        font-size: 3rem;
    }
    
    spline-viewer {
        width: 40%;
        opacity: 0.6;
    }
}

@media (max-width: 968px) {
    header {
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-left: 0;
    }
    
    .content {
        margin-left: 5%;
        margin-right: 5%;
    }
    
    .content h1 {
        font-size: 2.5rem;
    }
    
    .tag-box {
        width: 100%;
        max-width: 20rem;
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-row {
        grid-template-columns: 1fr;
    }
    
    .subject-details {
        grid-template-columns: 1fr;
    }
    
    .learning-grid {
        grid-template-columns: 1fr;
    }
    
    spline-viewer {
        display: none;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 2rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    header {
        padding: 1rem;
    }
    
    .btn-signing {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .info-section {
        padding: 1.5rem;
    }
}