/* ===== Post Page Specific Styles ===== */

/* Breadcrumb */
.breadcrumb {
    margin: 20px 0 30px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    opacity: 0.5;
}

.breadcrumb a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb [aria-current="page"] {
    color: var(--primary-color);
    font-weight: 500;
}

/* Post Header */
.post-header {
    margin-bottom: 40px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-category {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.post-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.post-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 800px;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    padding: 10px 15px;
    background-color: var(--bg-secondary);
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
}

/* Post Content Grid */
.post-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .post-content-grid {
        grid-template-columns: 1fr;
    }
}

/* Game Info Table */
.game-info-table {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-light);
}

.game-info-table h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.game-info-table h2 i {
    color: var(--primary-color);
}

.game-info-table table {
    width: 100%;
    border-collapse: collapse;
}

.game-info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.game-info-table tr:last-child {
    border-bottom: none;
}

.game-info-table th,
.game-info-table td {
    padding: 12px 15px;
    text-align: left;
}

.game-info-table th {
    width: 200px;
    font-weight: 600;
    color: var(--text-color);
    background-color: var(--bg-secondary);
}

.game-info-table td {
    color: var(--text-light);
}

/* Game Features */
.game-features {
    margin-bottom: 40px;
}

.game-features h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.game-features h2 i {
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Download Section */
.download-section {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-color);
}

.download-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.download-section h2 i {
    color: var(--primary-color);
}

/* Download Flow */
.download-flow {
    position: relative;
    min-height: 300px;
}

.download-step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.download-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.2rem;
}

.step-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

/* Countdown Timer */
.countdown-container {
    text-align: center;
    padding: 30px 0;
}

.countdown-circle {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.countdown-progress {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0deg, var(--bg-secondary) 0deg);
    transition: background 1s linear;
}

.countdown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.countdown-message {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* YouTube Button */
.btn-youtube {
    background-color: #FF0000;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.btn-youtube:hover {
    background-color: #CC0000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.youtube-timer {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    text-align: center;
}

/* Subscription Buttons */
.subscription-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
}

.btn-subscribe-yes {
    background-color: #00b894;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-subscribe-no {
    background-color: #dfe6e9;
    color: var(--text-color);
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-subscribe-yes:hover {
    background-color: #00a085;
    color: white;
}

.btn-subscribe-no:hover {
    background-color: #b2bec3;
    color: var(--text-color);
}

/* Real Download Button */
.btn-download-real {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-download-real:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.3);
    animation: none;
}

.download-info {
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 20px;
    margin: 25px 0;
}

.download-info h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.download-info ul {
    list-style: none;
    padding-left: 0;
}

.download-info li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.download-info li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.mirror-links {
    margin-top: 30px;
}

.mirror-links h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.mirror-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Installation Guide */
.installation-guide {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-light);
}

.installation-guide h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.installation-guide h2 i {
    color: var(--primary-color);
}

.guide-steps {
    display: grid;
    gap: 25px;
}

.guide-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.step-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-content p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Screenshots Gallery */
.screenshots-gallery {
    margin-bottom: 40px;
}

.screenshots-gallery h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.screenshots-gallery h2 i {
    color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-light);
}

.faq-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.faq-section h2 i {
    color: var(--primary-color);
}

.faq-list {
    display: grid;
    gap: 15px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: var(--bg-secondary);
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Sidebar Styles */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-light);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    border: none;
    padding: 0;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Related Games */
.related-games-list {
    display: grid;
    gap: 15px;
}

.related-game {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px;
    border-radius: var(--radius);
    background-color: var(--bg-secondary);
    transition: var(--transition);
}

.related-game:hover {
    background-color: var(--bg-color);
    transform: translateX(5px);
}

.related-game img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
}

.related-game-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.related-game-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Popular Downloads */
.popular-downloads {
    display: grid;
    gap: 10px;
}

.popular-download {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: var(--radius);
    background-color: var(--bg-secondary);
    transition: var(--transition);
}

.popular-download:hover {
    background-color: var(--bg-color);
}

.download-rank {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.download-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.download-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Social Share Widget */
.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter { background-color: #1da1f2; }
.share-btn.telegram { background-color: #0088cc; }
.share-btn.whatsapp { background-color: #25d366; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Note Styling */
.note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
    padding: 10px 15px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary-color);
}

.note i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .post-title {
        font-size: 2rem;
    }
    
    .post-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-buttons {
        flex-direction: column;
    }
    
    .game-info-table th {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.7rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .game-info-table th,
    .game-info-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .btn-download-real {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
}

/* ===== Article Content Area ===== */
.article-content {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-light);
    line-height: 1.8;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.article-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-top: 40px;
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.article-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.article-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--primary-dark);
}

/* ===== Optional Download Buttons ===== */
.optional-downloads {
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.optional-download-button {
    display: none; /* Hidden by default */
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 15px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.optional-download-button.active {
    display: block; /* Show only when link is added */
}

.optional-download-button:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.btn-optional {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-optional:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.optional-info {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin: 0;
}

/* Hide empty optional download containers */
.optional-download-button:empty,
.optional-download-button[data-link=""],
.optional-download-button[data-link="#"],
.optional-download-button[data-link*="ADD_YOUR_LINK"] {
    display: none !important;
}

/* ===== Enhanced Download Real Button ===== */
.btn-download-real {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    animation: pulse 2s infinite;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-download-real:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.3);
    animation: none;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .optional-downloads {
        grid-template-columns: 1fr;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .btn-download-real {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
}

/* ===== Join Channels Section ===== */
.join-channels {
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary-color);
}

.join-channels h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.join-channels h2 i {
    color: var(--primary-color);
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.channel-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.channel-card.telegram {
    background: linear-gradient(135deg, #0088cc, #26a5e4);
    color: white;
}

.channel-card.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: white;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.channel-card:hover::before {
    transform: translateX(100%);
}

.channel-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.channel-content {
    flex: 1;
}

.channel-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: white;
}

.channel-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 10px;
    line-height: 1.5;
}

.channel-members {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.channel-action {
    margin-left: 15px;
}

.join-btn {
    display: inline-block;
    background-color: white;
    color: #333;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.channel-card:hover .join-btn {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.channel-note {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin: 0;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.channel-note i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* ===== Enhanced Social Share Widget ===== */
.social-share-widget {
    text-align: center;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.share-btn {
    width: 100%;
    height: 50px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.share-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.share-btn:hover::after {
    transform: translateX(100%);
}

.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter { background-color: #1da1f2; }
.share-btn.whatsapp { background-color: #25d366; }
.share-btn.telegram { background-color: #0088cc; }
.share-btn.reddit { background-color: #ff4500; }
.share-btn.pinterest { background-color: #bd081c; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.share-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 992px) {
    .channels-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .join-channels {
        padding: 20px;
    }
    
    .channel-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .channel-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .channel-action {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .share-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .share-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .share-btn {
        height: 45px;
        font-size: 1.2rem;
    }
    
    .channel-content h3 {
        font-size: 1.1rem;
    }
    
    .channel-content p {
        font-size: 0.85rem;
    }
}

/* ===== Related Games Loading State ===== */
.loading-related {
    text-align: center;
    padding: 20px;
}

.spinner-small {
    width: 30px;
    height: 30px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

.loading-related p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== Enhanced Related Games Styles ===== */
.related-games-list {
    display: grid;
    gap: 15px;
}

.related-game {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 12px;
    border-radius: var(--radius);
    background-color: var(--bg-secondary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.related-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-game:hover {
    background-color: var(--bg-color);
    transform: translateX(5px);
}

.related-game:hover::before {
    opacity: 1;
}

.related-game img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    transition: var(--transition);
}

.related-game:hover img {
    transform: scale(1.05);
}

.related-game-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-game-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Genre badges for related games */
.related-game[data-genre="action"]::before { background-color: #e84118; }
.related-game[data-genre="sports"]::before { background-color: #00b894; }
.related-game[data-genre="racing"]::before { background-color: #0984e3; }
.related-game[data-genre="adventure"]::before { background-color: #a29bfe; }
.related-game[data-genre="rpg"]::before { background-color: #fd79a8; }
.related-game[data-genre="fighting"]::before { background-color: #d63031; }
.related-game[data-genre="strategy"]::before { background-color: #fdcb6e; }

/* Responsive related games */
@media (max-width: 768px) {
    .related-games-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .related-game {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .related-game img {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }
    
    .related-game-info h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .related-games-list {
        grid-template-columns: 1fr;
    }
}