/* --- Homepage Styles --- */

.home-container {
    padding-bottom: 4rem;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: radial-gradient(circle at center, rgba(0, 170, 255, 0.05) 0%, transparent 70%);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0rem;
    background: linear-gradient(135deg, #fff 0%, #aa6be8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-subtitle {
    font-size: 1.5rem;
    /*color: #8892b0;*/
    color: #c2cae2;
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: rgba(0, 170, 255, 0.1);
    color: #00aaff;
    border-color: rgba(0, 170, 255, 0.3);
}

.btn-primary:hover {
    background: rgba(0, 170, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
    border-color: #00aaff;
}

.btn-secondary {
    background: transparent;
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* Skills Ticker / Grid */
.skills-section {
    max-width: 1000px;
    margin: 4rem auto;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.skills-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #555;
    margin-bottom: 2rem;
}

.skills-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.skill-item {
    font-family: "JetBrains Mono", monospace;
    color: #8892b0;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.skill-item:hover {
    color: #00aaff;
    border-color: rgba(0, 170, 255, 0.3);
}

/* Latest Posts */
.latest-section {
    max-width: 800px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.section-title {
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

.view-all {
    font-size: 0.9rem;
    color: #00aaff;
}

.post-item {
    display: block;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.post-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.post-title {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin: 0 0 0.5rem 0;
}

.post-date {
    font-size: 0.85rem;
    color: #64748b;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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