/* ════════════════════════════════════════════════════════
   ABOUT.CSS — Origin of Cronos Styles
   ════════════════════════════════════════════════════════ */

.about-main {
    padding: 160px 4% 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

/* ─── TEXT CONTENT ─── */
.about-subtitle {
    font-family: var(--font-logo);
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 24px;
    text-shadow: 0 0 15px rgba(16, 212, 118, 0.3);
}

.about-title {
    font-family: var(--font-logo);
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.about-roles {
    font-family: var(--font-logo);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-main);
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.about-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 540px;
}

.about-description p {
    margin-bottom: 24px;
}

.btn-about {
    position: relative;
    display: inline-flex;
    padding: 18px 40px;
    color: #000;
    background: var(--accent-color);
    text-decoration: none;
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(16, 212, 118, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
}

.btn-about:hover {
    box-shadow: 0 0 40px rgba(16, 212, 118, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    background: #1efb91;
}

/* ─── INTERACTIVE VISUALS ─── */
.about-visuals {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-interactive-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/5;
    perspective: 1200px;
    transform-style: preserve-3d;
    cursor: none;
}

/* Main Image */
.profile-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    transform: translateZ(40px) scale(1.0);
    /* Default slightly popped */
}

/* Base style for 3D elements */
.graphic-element,
.glass-panel {
    position: absolute;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Glass Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(0px);
    /* No blur by default */
    -webkit-backdrop-filter: blur(0px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.glass-back {
    width: 85%;
    height: 90%;
    top: 5%;
    left: -15%;
    transform: translateZ(-60px) rotate(-4deg);
}

.glass-front {
    width: 60%;
    height: 45%;
    bottom: -10%;
    right: -10%;
    transform: translateZ(80px) rotate(6deg);
    background: rgba(16, 212, 118, 0.02);
    border-color: rgba(16, 212, 118, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(16, 212, 118, 0.05);
}

/* Graphic Tools & Texts */
.graphic-text-1 {
    font-family: var(--font-logo);
    font-size: 5.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    top: 15%;
    right: -25%;
    transform: translateZ(-100px);
    letter-spacing: -3px;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
}

.graphic-text-2 {
    font-family: var(--font-logo);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    bottom: 25%;
    left: -15%;
    transform: translateZ(90px) rotate(-90deg);
    opacity: 0.85;
    text-shadow: 0 0 25px rgba(16, 212, 118, 0.5);
    letter-spacing: 4px;
}

.graphic-circle {
    width: 250px;
    height: 250px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -10%;
    left: 10%;
    transform: translateZ(-40px);
    animation: slowSpin 30s linear infinite;
}

@keyframes slowSpin {
    0% {
        transform: translateZ(-40px) rotate(0deg);
    }

    100% {
        transform: translateZ(-40px) rotate(360deg);
    }
}

.graphic-tool-1 {
    top: 15%;
    left: -10%;
    color: var(--accent-color);
    transform: translateZ(100px) rotate(-20deg);
    filter: drop-shadow(0 0 15px rgba(16, 212, 118, 0.6));
}

.graphic-tool-2 {
    bottom: 12%;
    right: -5%;
    color: rgba(255, 255, 255, 0.9);
    transform: translateZ(70px) rotate(15deg);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

/* ─── HOVER EFFECTS ─── */
/* Pop image out further */
.profile-interactive-container.is-hovered .profile-img {
    transform: translateZ(120px) scale(1.08);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.95));
}

/* Push all overlays backwards AND explicit blur + opacity drop */
.profile-interactive-container.is-hovered .glass-panel,
.profile-interactive-container.is-hovered .graphic-element {
    opacity: 0.5;
}

.profile-interactive-container.is-hovered .glass-panel {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Individual pushed transforms */
.profile-interactive-container.is-hovered .glass-back {
    transform: translateZ(-150px) rotate(-6deg);
}

.profile-interactive-container.is-hovered .glass-front {
    transform: translateZ(-100px) rotate(10deg) translateX(30px);
}

/* Goes far behind */
.profile-interactive-container.is-hovered .graphic-text-1 {
    transform: translateZ(-200px) translateX(40px);
}

.profile-interactive-container.is-hovered .graphic-text-2 {
    transform: translateZ(-110px) rotate(-90deg) translateY(-30px);
}

.profile-interactive-container.is-hovered .graphic-tool-1 {
    transform: translateZ(-90px) rotate(-35deg) translateX(-30px);
}

.profile-interactive-container.is-hovered .graphic-tool-2 {
    transform: translateZ(-80px) rotate(35deg) translateX(30px);
}

/* ════════════════════════════════════════════════════════
   EXPLORE ORIGIN (Experience Timeline)
   ════════════════════════════════════════════════════════ */

.explore-origin {
    padding: 120px 4% 80px;
    background: var(--bg-color);
    position: relative;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-family: var(--font-logo);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 5px;
    letter-spacing: -1.5px;
}

.section-subheading {
    font-family: var(--font-logo);
    font-size: 1.1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 60px;
}

.origin-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

/* Timeline */
.timeline-container {
    position: relative;
    padding-left: 40px;
}

.timeline-line {
    position: absolute;
    left: 11px;
    top: 10px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), rgba(16, 212, 118, 0.1));
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 45px;
    z-index: 2;
}

/* Stop the timeline line exactly after the last dot */
.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:last-child::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 20px;
    bottom: -150px;
    width: 15px;
    background: var(--bg-color);
    z-index: -1;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(16, 212, 118, 0.5);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-color);
    box-shadow: 0 0 25px rgba(16, 212, 118, 0.8);
    transform: scale(1.1);
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-logo);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.timeline-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats */
.stats-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    position: relative;
    top: 0;
    transition: top 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    top: -5px;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(16, 212, 118, 0.2);
}

.stat-number {
    font-family: var(--font-logo);
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.stat-number span {
    color: var(--accent-color);
    font-size: 3rem;
    vertical-align: super;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ════════════════════════════════════════════════════════
   CRONOS AURA (Skill Bars)
   ════════════════════════════════════════════════════════ */

.cronos-aura {
    padding: 80px 4% 160px;
    background: var(--bg-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.category-title {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-bar-wrapper {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 500;
}

.skill-name {
    color: var(--text-main);
}

.skill-pct {
    color: var(--accent-color);
    font-family: var(--font-logo);
    font-weight: 600;
}

.skill-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #099451 0%, var(--accent-color) 100%);
    border-radius: 4px;
    width: 0;
    /* Animated via JS */
    position: relative;
    box-shadow: 0 0 10px rgba(16, 212, 118, 0.5);
}

.skill-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 20px;
    background: rgba(255, 255, 255, 0.4);
    filter: blur(5px);
}

.skill-subtext {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 6px;
    font-style: italic;
}

/* Add some responsive tweaks */
@media (max-width: 900px) {
    .origin-layout {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}