/* Blog Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #0f0c29 0%, #302b63 35%, #24243e 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(120, 119, 198, 0.1) 0%, 
        transparent 25%, 
        rgba(255, 119, 198, 0.1) 50%, 
        transparent 75%, 
        rgba(120, 219, 255, 0.1) 100%);
    animation: gradientShift 15s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% {
        transform: translateX(-100%) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateX(100%) rotate(180deg);
        opacity: 0.6;
    }
}

/* Navigation Styles - Matching main page */
header {
    width: var(--width-default);
    height: 70px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.navbar {
    display: flex;
    gap: 10px;
    align-items: center;
    list-style: none;
}

.navbar li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.navbar li a:hover {
    background: #fff2;
    color: #00bcd4;
}

/* Main Blog Section */
.blog-main {
    padding: 100px 20px 50px;
    min-height: 100vh;
}

.blog-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 60px;
    animation: slideUp 0.8s ease-out;
}

.blog-header h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.blog-header h1 i {
    color: #4CAF50;
    font-size: 2.5rem;
}

.blog-header p {
    color: #e0e0e0;
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.blog-card.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.blog-card.coming-soon:hover {
    transform: translateY(-5px) scale(1.01);
}

/* Blog Card Header */
.blog-card-header {
    padding: 20px 25px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-platform {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4CAF50;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-platform i {
    font-size: 1.2rem;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #b0b0b0;
    font-size: 0.85rem;
}

/* Blog Content */
.blog-content {
    padding: 25px;
}

.blog-content h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content p {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Blog Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

/* Blog Footer */
.blog-footer {
    padding: 20px 25px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.read-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049, #4CAF50);
}

.coming-soon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Medium Profile Section */
.medium-profile {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    animation: slideUp 0.8s ease-out;
}

.medium-profile h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.medium-profile p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.medium-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #00ab6c, #00d084);
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 171, 108, 0.3);
}

.medium-follow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 171, 108, 0.4);
    background: linear-gradient(135deg, #00d084, #00ab6c);
}

.medium-follow-btn i:first-child {
    font-size: 1.3rem;
}

.medium-follow-btn i:last-child {
    font-size: 1rem;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    background: linear-gradient(45deg, rgba(120, 119, 198, 0.2), rgba(255, 119, 198, 0.1));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 10%;
    background: linear-gradient(135deg, rgba(120, 219, 255, 0.2), rgba(120, 119, 198, 0.1));
    border-radius: 50%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 85%;
    left: 15%;
    background: linear-gradient(225deg, rgba(255, 119, 198, 0.15), rgba(120, 219, 255, 0.1));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: 4s;
}

.shape-4 {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 25%;
    background: linear-gradient(315deg, rgba(120, 219, 255, 0.2), rgba(255, 119, 198, 0.1));
    border-radius: 50%;
    animation-delay: 1s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(-30px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translateY(-15px) rotate(240deg) scale(0.9);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-main {
        padding: 80px 3% 50px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    header {
        height: auto;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .navbar li a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .blog-main {
        padding: 60px 15px 30px;
    }
    
    .blog-header h1 {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .blog-header h1 i {
        font-size: 2rem;
    }
    
    .blog-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card {
        margin: 0;
    }
    
    .medium-profile {
        padding: 30px 20px;
        margin: 0;
    }
    
    .medium-profile h2 {
        font-size: 1.6rem;
    }
    
    .medium-follow-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-header {
        margin-bottom: 40px;
    }
    
    .blog-header h1 {
        font-size: 1.8rem;
    }
    
    .blog-header p {
        font-size: 0.9rem;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    .blog-content p {
        font-size: 0.9rem;
    }
    
    .blog-tags {
        gap: 6px;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    
    .blog-footer {
        padding: 15px 20px 20px;
    }
    
    .read-more-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .medium-profile {
        padding: 25px 15px;
    }
    
    .medium-profile h2 {
        font-size: 1.4rem;
    }
    
    .medium-profile p {
        font-size: 0.9rem;
    }
    
    .medium-follow-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .blog-header h1 {
        font-size: 1.6rem;
    }
    
    .blog-content {
        padding: 15px;
    }
    
    .medium-profile {
        padding: 20px 10px;
    }
}