/* Blog Page Specific Styles */

/* Blog Hero */
.blog-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(91, 33, 182, 0.9));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1" fill="rgba(255,255,255,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    animation: twinkle 15s linear infinite;
}

.blog-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.blog-hero h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--success-color);
    position: relative;
    z-index: 2;
}

.blog-hero p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Featured Win */
.featured-win {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(91, 33, 182, 0.9), rgba(16, 33, 62, 0.9));
}

.featured-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 2px solid var(--success-color);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: featuredGlow 3s ease-in-out infinite;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    animation: shine 4s linear infinite;
}

.win-amount {
    font-size: 72px;
    font-weight: 700;
    color: var(--success-color);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.featured-card img {
    width: 100%;
    max-width: 400px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

.win-details h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
    position: relative;
    z-index: 2;
}

.win-details p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.win-meta {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.win-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 500;
}

.win-meta i {
    color: var(--secondary-color);
}

/* Player Stories */
.player-stories {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(16, 33, 62, 0.9), rgba(30, 27, 75, 0.9));
}

.player-stories h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.story-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s ease;
    position: relative;
    animation: storyFloat 6s ease-in-out infinite;
}

.story-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.story-card:nth-child(even) {
    animation-delay: -3s;
}

.story-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.player-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.player-details span {
    font-size: 14px;
    color: var(--accent-color);
}

.story-header .win-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--success-color);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.story-content img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.story-card:hover .story-content img {
    transform: scale(1.05);
}

.story-content p {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 16px;
    color: var(--text-light);
}

.story-game {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 500;
}

.story-game i {
    color: var(--accent-color);
}

/* Trending Games */
.trending-games {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.9), rgba(91, 33, 182, 0.9));
}

.trending-games h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

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

.trending-item {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
}

.trending-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.rank {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.trending-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.game-info {
    flex: 1;
}

.game-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.game-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* Share Story Section */
.share-story {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(91, 33, 182, 0.9), rgba(30, 27, 75, 0.9));
}

.share-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.share-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(236, 72, 153, 0.1), transparent);
    animation: shareGlow 5s linear infinite;
}

.share-card h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    position: relative;
    z-index: 2;
}

.share-card p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.share-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.share-btn {
    background: linear-gradient(45deg, var(--success-color), #059669);
    color: white;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.winners-btn {
    background: linear-gradient(45deg, var(--secondary-color), #be185d);
    color: white;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* Animations */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes featuredGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 0 50px rgba(16, 185, 129, 0.6); }
}

@keyframes shine {
    0% { transform: rotate(0deg) translate(-50%, -50%); }
    100% { transform: rotate(360deg) translate(-50%, -50%); }
}

@keyframes storyFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes shareGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 32px;
    }
    
    .blog-hero h2 {
        font-size: 20px;
    }
    
    .featured-card {
        padding: 24px;
    }
    
    .win-amount {
        font-size: 48px;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .trending-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }

		.share-buttons a {
			font-size: .8rem;
		}
    
    .win-meta {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 60px 0;
    }
    
    .featured-card, .share-card {
        padding: 20px;
        margin: 0 10px;
    }
    
    .win-amount {
        font-size: 36px;
    }
    
    .story-card {
        margin: 0 10px;
    }
    
    .trending-item {
        padding: 16px;
    }
}