/* Server Story - Narrative Design */

/* Page Layout */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
    overflow-y: auto;
    padding: 100px 20px 80px;
    text-align: center;
}

main {
    width: min(900px, 96%);
    animation: fadeInUp 0.8s ease;
    margin-top: 20px;
}

/* Hero Story Section */
.story-hero {
    padding: 60px 40px;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(0, 217, 255, .05) 0%, rgba(255, 0, 110, .03) 50%, rgba(10, 14, 39, .15) 100%);
    border: 1px solid rgba(0, 217, 255, .15);
    box-shadow: 0 20px 60px rgba(0, 217, 255, .08);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.story-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00d9ff, #ff006e, transparent);
}

.story-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #00d9ff 0%, #ff006e 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 8px 40px rgba(0, 217, 255, .3);
}

.story-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 30px;
    opacity: 0.9;
}

.story-intro {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.divider-story {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d9ff, transparent);
    margin: 30px auto;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(0, 217, 255, .5) 10%, rgba(0, 217, 255, .5) 90%, transparent);
}

.timeline-item {
    position: relative;
    padding: 30px 40px;
    margin-bottom: 30px;
    animation: slideIn 0.8s ease backwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

.timeline-content {
    background: linear-gradient(135deg, rgba(0, 217, 255, .06) 0%, rgba(255, 0, 110, .03) 100%);
    border: 1px solid rgba(0, 217, 255, .2);
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    transition: all 0.4s ease;
    position: relative;
}

.timeline-content:hover {
    border-color: #00d9ff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, .15);
}

.timeline-year {
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(135deg, #00d9ff, #ff006e);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: #00d9ff;
    margin: 15px 0 12px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Passion Section */
.passion-section {
    padding: 60px 40px;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(255, 0, 110, .08) 0%, rgba(0, 217, 255, .04) 100%);
    border: 1px solid rgba(255, 0, 110, .2);
    margin-bottom: 40px;
}

.passion-section h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, #ff006e, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    font-weight: 800;
}

.goals-section h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, #00d9ff, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    font-weight: 800;
}


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

.passion-card {
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(0, 217, 255, .15);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.4s ease;
}

.passion-card:hover {
    border-color: #ff006e;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 110, .15);
}

.passion-card h3, .goal-content h3 {
    font-size: 1.2rem;
    color: #00d9ff;
    margin-bottom: 12px;
    font-weight: 700;
}

.passion-card p, .goal-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Goals Section */
.goals-section {
    padding: 60px 40px;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(0, 217, 255, .06) 0%, rgba(10, 14, 39, .15) 100%);
    border: 1px solid rgba(0, 217, 255, .15);
    margin-bottom: 40px;
}

.goals-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.goal-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(0, 217, 255, .1);
    border-radius: 14px;
    padding: 25px;
    text-align: left;
    transition: all 0.3s ease;
}

.goal-item:hover {
    border-color: #00d9ff;
    transform: translateX(10px);
}

.goal-number {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00d9ff, #ff006e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
}

.goal-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Quote Section */
.quote-section {
    padding: 50px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .03) 0%, rgba(0, 217, 255, .05) 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 40px;
    position: relative;
}

.quote-section::before, .quote-section::after {
    content: '"';
    font-size: 6rem;
    color: rgba(0, 217, 255, .15);
    position: absolute;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-section::before {
    top: 20px;
    left: 30px;
}

.quote-section::after {
    bottom: -20px;
    right: 30px;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 1rem;
    color: #00d9ff;
    font-weight: 600;
}

/* Footer */
.page-story footer {
    margin-top: 40px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding-bottom: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .story-hero, .passion-section, .goals-section, .quote-section {
        padding: 40px 25px;
    }

    .story-subtitle {
        font-size: 1.1rem;
    }

    .story-intro {
        font-size: 1rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding: 20px 10px 20px 40px;
    }

    .timeline-year {
        left: 20px;
    }

    .passion-section h2, .goals-section h2 {
        font-size: 1.6rem;
    }

    .quote-text {
        font-size: 1.2rem;
    }

    .quote-section::before, .quote-section::after {
        font-size: 4rem;
    }

    .goal-item {
        flex-direction: column;
        text-align: center;
    }

    .goal-number {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    body {
        padding: 80px 15px 60px;
    }

    .story-hero, .passion-section, .goals-section, .quote-section {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .timeline-content {
        padding: 25px 20px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

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