.article-link {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: #d1d5db;
    transition: text-decoration-color 0.2s ease;
}
.article-link:hover {
    text-decoration-color: #000;
}
.article-card {
    transition: transform 0.3s ease;
}
.article-card:hover {
    transform: translateY(-4px);
}
.article-card.hidden {
    display: none;
}
.tag-filter {
    cursor: pointer;
    background: transparent;
}
.tag-filter:hover {
    background: #f3f4f6;
}
.tag-filter.active {
    background: #000;
    color: #fff;
    border-color: #000;
}
.article-image {
    transition: transform 0.5s ease;
}
.article-card:hover .article-image {
    transform: scale(1.05);
}
.hero-text span {
    display: block;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease, padding 0.3s ease;
    border-radius: 4px;
}
.hero-text span:nth-child(1) {
    animation-delay: 0.3s;
}
.hero-text span:nth-child(2) {
    animation-delay: 0.5s;
}
.hero-text span:nth-child(3) {
    animation-delay: 0.7s;
}
.hero-text span:nth-child(4) {
    animation-delay: 0.9s;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(80px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
html {
    scroll-behavior: smooth;
}
body {
    overflow-x: hidden;
}
section {
    min-height: 100vh;
}
.articles-section {
    min-height: auto;
    height: auto;
}
.photo-credit {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 18px 8px 8px;
    border-radius: 50px;
    z-index: 10;
    opacity: 0;
    animation: creditFadeIn 0.8s ease-out 2s forwards;
}
.photo-credit-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.6);
}
.photo-credit-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.photo-credit-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}
.photo-credit-name {
    font-size: 14px;
    color: white;
    font-weight: 500;
}
@keyframes creditFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    animation: scrollFadeIn 1.5s ease-out 1.5s both;
}
.scroll-indicator span {
    font-size: 13px;
    letter-spacing: 2px;
    color: white;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: 300;
}
.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 13px;
    position: relative;
}
.scroll-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}
.scroll-chevron {
    animation: scrollBounce 2s ease-in-out infinite;
    opacity: 0.8;
}
@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 22px; }
    100% { opacity: 1; top: 8px; }
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}
@keyframes scrollFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    clip-path: circle(0% at var(--click-x, 50%) var(--click-y, 50%));
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}
.page-transition.active {
    clip-path: circle(150% at var(--click-x, 50%) var(--click-y, 50%));
}
.page-transition .preview-header {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #dc2626 100%);
    padding: 5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.page-transition .preview-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.page-transition .preview-meta {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
.page-transition .preview-content {
    flex: 1;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.page-transition .preview-loader {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f4f6;
    border-top-color: #dc2626;
    border-radius: 50%;
    opacity: 0;
    animation: spin 1s linear infinite, fadeIn 0.4s ease-out 0.6s forwards;
}
.page-transition .preview-text {
    font-size: 0.75rem;
    color: #9ca3af;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 0.4s ease-out 0.7s forwards;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.word-yellow:hover {
    background-color: yellow;
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    padding: 0 0.2em;
}

.word-red:hover {
    background-color: red;
    color: #fff !important;
    padding: 0 0.2em;
}

.word-green:hover {
    background-color: green;
    color: #fff !important;
    padding: 0 0.2em;
}

.word-purple:hover {
    background-color: purple;
    color: #fff !important;
    padding: 0 0.2em;
}
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.2) rotate(5deg);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.3) rotate(0deg);
        opacity: 0.7;
    }
    75% {
        transform: scale(1.2) rotate(-5deg);
        opacity: 0.9;
    }
}