/* Press Page Styles - Redesigned */

/* Animated Background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(100px, -100px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50px, -200px) scale(0.8);
        opacity: 0.7;
    }
    75% {
        transform: translate(150px, -150px) scale(1.1);
        opacity: 0.4;
    }
}

/* Full page animated background for Press */
.home-page {
    background: linear-gradient(-45deg, #0a0a0a, #111111, #0f0f0f, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientShift 25s ease infinite;
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    animation: floatParticle 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    left: 70%;
    top: 10%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 30%;
    top: 70%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    left: 85%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    left: 50%;
    top: 40%;
    animation-delay: 3s;
    animation-duration: 16s;
}

/* Press Articles Section */
.press-articles {
    padding: 8rem 0 4rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 50%, #0a0a0a 100%);
    min-height: 100vh;
    position: relative;
}

.press-articles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 255, 136, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.press-articles .container {
    position: relative;
    z-index: 1;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.press-article {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.press-article:hover {
    transform: translateY(-8px);
    border-color: #00ff88;
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.3);
}

a.press-article {
    color: inherit;
}

.article-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.article-image .placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.press-article:nth-child(2) .article-image .placeholder-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.press-article:nth-child(3) .article-image .placeholder-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.press-article:nth-child(4) .article-image .placeholder-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.press-article:hover .article-image .placeholder-image {
    transform: scale(1.05);
}

.article-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.8), transparent);
    pointer-events: none;
}

.article-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-badge {
    display: inline-block;
    background: #00ff88;
    color: #0a0a0a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.article-content p {
    color: #b0b0b0;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #2a2a2a;
    font-size: 0.875rem;
    color: #666;
}

.article-meta i {
    color: #00ff88;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00ff88;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.press-article:hover .read-more {
    gap: 1rem;
}

.read-more i {
    transition: transform 0.3s ease;
}

.press-article:hover .read-more i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .article-content h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .press-articles {
        padding: 6rem 0 2rem 0;
    }

    .articles-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-image {
        height: 250px;
    }

    .article-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .article-content h2 {
        font-size: 1.1rem;
    }

    .article-content p {
        font-size: 0.9rem;
    }

    .article-content {
        padding: 1.25rem;
    }
}

/* Article Detail Page */
.article-detail {
    padding: 8rem 0 4rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 50%, #0a0a0a 100%);
    min-height: 100vh;
    position: relative;
}

.article-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 60% 40%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.article-detail .container {
    position: relative;
    z-index: 1;
}

.back-link {
    margin-bottom: 3rem;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #00ff88;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.back-link a:hover {
    background: #2a2a2a;
    border-color: #00ff88;
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.2);
}

.detail-content {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.detail-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-text {
    color: #b0b0b0;
    line-height: 1.9;
    font-size: 1.05rem;
}

.detail-text p {
    margin-bottom: 1.75rem;
    color: #b0b0b0;
}

.detail-text .quote {
    font-style: italic;
    font-size: 1.25rem;
    color: #e0e0e0;
    padding: 2rem 2.5rem;
    border-left: 5px solid #00ff88;
    background: linear-gradient(135deg, #252525 0%, #1a1a1a 100%);
    margin: 2.5rem 0;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.1);
    position: relative;
}

.detail-text .quote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 4rem;
    color: #00ff88;
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Responsive for Detail Page */
@media (max-width: 768px) {
    .article-detail {
        padding: 6rem 0 2rem 0;
    }

    .detail-content {
        padding: 2rem;
    }

    .detail-content h1 {
        font-size: 2rem;
    }

    .detail-text .quote {
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .detail-content {
        padding: 1.5rem;
    }

    .detail-content h1 {
        font-size: 1.6rem;
    }

    .detail-text {
        font-size: 1rem;
    }

    .detail-text .quote {
        padding: 1.25rem 1.5rem;
        margin: 2rem 0;
    }

    .back-link a {
        font-size: 0.9rem;
        padding: 0.6rem 1.25rem;
    }
}
