* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #f5f6f5;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Hero Section */
.banner-container {
    width: 100%;
    max-width: 1440px;
    height: 450px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.5);
    z-index: 1;
}

.banner-headline {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    padding: 20px;
    letter-spacing: -0.02em;
    max-width: 80%;
}

/* Content Wrapper */
.content-wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.primary-content-block {
    flex: 2;
    min-width: 300px;
}

.secondary-content-block {
    flex: 1;
    min-width: 300px;
}

/* Share Button Column */
.share-button-column {
    margin-bottom: 24px;
}

.share-dropdown {
    position: relative;
    display: inline-block;
}

.social-share-trigger {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #333333, #666666);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-share-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #444444, #777777);
}

.social-share-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.social-share-trigger:hover::before {
    left: 100%;
}

.share-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 10;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.share-dropdown:hover .share-dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.share-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #2d3748;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease;
    cursor: pointer;
}

.share-option i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.share-option:hover {
    background: #f0f2f5;
}

.copy-popout {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(10px, -50%);
    background-color: #1a1a1a;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    white-space: nowrap;
}

.copy-popout.show {
    opacity: 1;
    visibility: visible;
}

/* Article Link List */
.article-link-list {
    list-style: none;
    margin-top: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Added box shadow */
}

.article-link-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.article-link-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.article-link {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: #1a1a1a;
    overflow: hidden;
}

.article-link-img {
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    min-width: 100px !important;
    object-fit: cover !important;
    border-radius: 8px;
    margin-right: 24px; /* Increased gap */
    flex: 0 0 100px;
    display: block;
}

.article-link-info {
    flex: 1;
    min-width: 150px;
    overflow: hidden;
}

.article-link-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-link-meta {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}

.see-now {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333333;
}

.see-now i {
    font-size: 0.9rem;
}

/* Advertisements */
.leaderboard-ad, .rectangle-ad {
    width: 100%;
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.leaderboard-ad:hover, .rectangle-ad:hover {
    transform: scale(1.02);
}

.leaderboard-ad {
    height: 100px;
}

.rectangle-ad {
    height: 260px;
}

.leaderboard-ad img, .rectangle-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article */
.feature-article {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-article:hover {
    transform: translateY(-4px);
}

.feature-article h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.feature-article p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 1.05rem;
}

.feature-article img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    object-fit: cover;
}

/* Popular Games and New Releases */
.popular-games, .new-releases {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
    position: relative;
}

.popular-games h3, .new-releases h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-list {
    list-style: none;
}

.game-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-list-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.game-list-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 16px;
    flex-shrink: 0;
}

.game-info {
    flex: 1;
}

.game-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.game-meta {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}

.game-meta span {
    display: block;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 16px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.game-list-item:hover .game-overlay {
    opacity: 1;
    transform: translateY(0);
}

.view-more {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #333333, #666666);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.view-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #444444, #777777);
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
    color: #6b7280;
    font-size: 0.9rem;
}

.loading-spinner::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #333333;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Carousel */
.event-showcase {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    margin-bottom: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.event-showcase-track {
    display: flex;
    width: 300%;
    height: 100%;
    animation: showcase-slide 15s infinite ease-in-out;
}

.event-showcase-item {
    width: 33.33%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    position: relative;
}

.event-showcase-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.event-showcase-item span {
    position: relative;
    z-index: 2;
    padding: 16px;
    text-align: center;
}

@keyframes showcase-slide {
    0%, 33.33% { transform: translateX(0); }
    33.34%, 66.66% { transform: translateX(-33.33%); }
    66.67%, 100% { transform: translateX(-66.66%); }
}

/* Comment and Ad Section */
.comment-ad-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.disqus-section {
    flex: 2;
    min-width: 300px;
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Show More Button */
.show-more {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 16px auto 0;
    background: linear-gradient(135deg, #333333, #666666);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    outline: none;
}

.show-more:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #444444, #777777);
}

.show-more:focus {
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.3);
}

.arrow-down {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.show-more.expanded .arrow-down {
    transform: rotate(180deg);
}

/* Hidden Games */
.game-list-item.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper, .comment-ad-container {
        padding: 24px;
    }

    .banner-headline {
        font-size: 2.5rem;
    }

    .feature-article h2 {
        font-size: 1.8rem;
    }

    .game-list-item img, .article-link-img {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
        min-width: 80px !important;
        margin-right: 16px; /* Reduced gap for smaller screens */
    }
}

@media (max-width: 768px) {
    .banner-container {
        height: 360px;
    }

    .banner-headline {
        font-size: 2rem;
    }

    .content-wrapper, .comment-ad-container {
        flex-direction: column;
        padding: 16px;
    }

    .leaderboard-ad {
        height: 80px;
    }

    .rectangle-ad {
        height: 200px;
    }

    .event-showcase {
        height: 180px;
    }

    .event-showcase-item {
        font-size: 1.2rem;
    }

    .game-list-item img, .article-link-img {
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        min-width: 60px !important;
        margin-right: 16px;
    }

    .game-title, .article-link-title {
        font-size: 1rem;
    }

    .game-meta, .article-link-meta {
        font-size: 0.8rem;
    }

    .see-now {
        font-size: 0.85rem;
    }

    .article-link-info {
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .banner-container {
        height: 280px;
    }

    .banner-headline {
        font-size: 1.6rem;
    }

    .leaderboard-ad {
        height: 60px;
    }

    .rectangle-ad {
        height: 160px;
    }

    .event-showcase {
        height: 140px;
    }

    .event-showcase-item {
        font-size: 1rem;
    }

    .feature-article {
        padding: 20px;
    }

    .feature-article h2 {
        font-size: 1.5rem;
    }

    .game-list-item, .article-link-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .game-list-item img, .article-link-img {
        width: 100% !important;
        height: 120px !important;
        max-width: 100% !important;
        max-height: 120px !important;
        min-width: 0 !important;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .game-title, .article-link-title {
        font-size: 0.95rem;
    }

    .article-link {
        flex-direction: column;
    }

    .article-link-info {
        min-width: 0;
        width: 100%;
    }
}