/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #121212;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    scroll-behavior: smooth;
    touch-action: manipulation;
}


/* width */
::-webkit-scrollbar {
    width: 8px;
    border-radius: 20px;
}



/* Handle */
::-webkit-scrollbar-thumb {
    background: #ff8800;
    border-radius: 20px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #ff8000;
}





.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}



/* Hero Section */
.hero {
    padding: 40px 0;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}

/* Videos Page Styles */
.videos-header {
    padding: 20px 0;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}

.videos-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.videos-categories ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.videos-categories li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.videos-categories li.active a {
    color: #ff8800;
    border-bottom: 2px solid #ff8800;
}

.videos-categories li a:hover {
    color: #ff8800;
}

/* Featured Video Section */
.featured-video {
    padding: 40px 0;
    background: #121212;
    border-bottom: 1px solid #333;
}

.featured-video-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}



.video-player {
    height: 350px;
    width: 95%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16/9;
}

.video-player img,
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 136, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}



.play-button i {
    color: #fff;
    font-size: 30px;
    margin-left: 5px;
    /* Offset for play icon */
}

.play-button:hover {
    background: rgba(255, 136, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.featured-video-info {
    padding: 0 10px;
}

.featured-video-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    color: #b0b0b0;
    font-size: 14px;
}

.video-description {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 16px;
}

/* Videos Grid Section */
.videos-grid {
    padding: 40px 0;
    background: #121212;
}

.videos-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.videos-grid-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.videos-filter select {
    background: #222222;
    border: 1px solid #333;
    color: #e0e0e0;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.video-item {
    background: #222222;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 136, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.play-icon i {
    color: #fff;
    font-size: 18px;
    margin-left: 3px;
    /* Offset for play icon */
}

.video-item:hover .play-icon {
    opacity: 1;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.4;
}

.video-info .video-meta {
    font-size: 13px;
    color: #b0b0b0;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: #ff8800;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #e67a00;
    transform: translateY(-2px);
}

/* Video Categories Section */
.video-categories {
    padding: 40px 0;
    background: #1a1a1a;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.video-categories h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-item {
    background: #222222;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    border-color: #ff8800;
}

.category-icon {
    font-size: 30px;
    color: #ff8800;
    margin-bottom: 15px;
}

.category-item h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

/* Subscribe Section */
.subscribe-section {
    padding: 60px 0;
    background: #121212;
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.subscribe-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.subscribe-content p {
    color: #b0b0b0;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    margin-bottom: 30px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #333;
    background: #222222;
    color: #fff;
    border-radius: 6px 0 0 6px;
    outline: none;
}

.subscribe-form button {
    background: #ff8800;
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-form button:hover {
    background: #e67a00;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #222222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.social-link:hover {
    background: #ff8800;
    transform: translateY(-3px);
}


/* SeeMore */

.see-more-container {
    text-align: center;
    margin-top: 20px;
}

.see-more-btn {
    background: linear-gradient(135deg, #ff8800, #cc6600);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.see-more-btn:hover {
    background: linear-gradient(135deg, #e67a00, #b95e00);
    transform: translateY(-2px);
}


/* Responsive Styles for Videos Page */
@media (max-width: 1024px) {
    .videos-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-video-wrapper {
        grid-template-columns: 1fr;
    }

    .videos-grid-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .videos-filter select {
        width: 100%;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input {
        border-radius: 6px;
        margin-bottom: 10px;
    }

    .subscribe-form button {
        border-radius: 6px;
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .videos-container {
        grid-template-columns: 1fr;
    }

    .videos-categories ul {
        flex-direction: column;
        gap: 10px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 24px;
    }

    .featured-video-info h2 {
        font-size: 20px;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.hero-article {
    background: #222222;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.hero-article:hover {
    transform: translateY(-5px);
}

.article-image {
    position: relative;
    overflow: hidden;
}

.article-image img,
video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-image video {
    height: 400px;
}


.hero-article:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff8800;
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.article-content {
    padding: 25px;
    height: 170px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #fff;
}

.article-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #888;
}

.author {
    font-weight: 500;
}

/* Hero Sidebar */
.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-article {
    background: #222222;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    border: 1px solid #333;
    height: 280px;
}

.sidebar-article:hover {
    transform: translateY(-3px);
}

.sidebar-article .article-image img {
    height: 150px;
}

.sidebar-article .article-content {
    padding: 20px;
}

.sidebar-article h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #fff;
}

/* Main Content */
.main-content {
    padding: 40px 0;
    background: #121212;
}

.content-grid {
    display: grid;
    /* grid-template-columns: 2fr 1fr; */
    gap: 40px;
}

/* Content Section */
.content-section {
    background: #222222;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    height: max-content;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.view-all {
    color: #ff8800;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #cc6600;
}

/* Articles Grid */
.articles-grid {
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); */
    gap: 22px;
    margin-bottom: 10px;
    /* min-width: 0; */
    flex-wrap: wrap;
}

.article-card {
    background: #222222;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
    width: 23%;
    /* width: 31%; */
    min-width: 0;
    box-sizing: border-box;
    height: auto;
}

.article-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
    transform: translateY(-3px) scale(1.01);
}

.article-card .article-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.article-card .article-content {
    padding: 18px 16px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: 100px;
}

.article-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.3;
}

.article-card a {
    text-decoration: none;
}

.article-card a:hover {
    text-decoration: underline;
    cursor: pointer;
    text-decoration-color: #fff;
}

.article-card p {
    color: #b0b0b0;
    font-size: 0.97rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.article-meta {
    font-size: 0.88rem;
    gap: 10px;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 400px;
}

.sidebar-widget {
    background: #222222;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.sidebar-widget h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

/* Trending List */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-number {
    background: #ff8800;
    color: #000;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}


.trending-item .trending-image {
    width: 170px;
    height: 80px;
    border-radius: 10px;
}

.trending-item .trending-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.trending-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
    color: #fff;
}

.trending-content a {
    text-decoration: none;
}

.trending-content a:hover {
    text-decoration: underline;

    text-decoration-color: #fff;
}

.trending-category {
    font-size: 12px;
    color: #ff8800;
    font-weight: 500;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #ff8800, #cc6600);
    color: #000;
}

.newsletter-widget h3 {
    color: #000;
}

.newsletter-widget p {
    margin-bottom: 20px;
    opacity: 0.9;
    color: #000;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    min-height: 44px;
    /* Minimum touch target size */
    -webkit-appearance: none;
    /* Remove default styling on iOS */
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    box-sizing: border-box;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
    /* Focus indicator for accessibility */
}

.newsletter-form input::placeholder {
    color: #666;
}

.newsletter-form button {
    background: linear-gradient(135deg, #000000, #333333);
    color: #ff8800;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    /* Minimum touch target size */
    -webkit-tap-highlight-color: transparent;
    /* Remove tap highlight on mobile */
    user-select: none;
    /* Prevent text selection on buttons */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-form button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.newsletter-form button:active::after {
    animation: ripple 0.6s ease-out;
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, #222222, #444444);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.newsletter-form button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


/* Infinite News Card */

.infinite-news {
    /* height: 800px; */
    width: max-content;
    /* overflow-y: auto; */
    border-radius: 10px;
    scroll-behavior: smooth;
    padding: 10px;
    background-color: #171616;
    display: flex;
    /* Firefox scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #121212 transparent;
    margin-top: 20px;
    gap: 40px;
}

/* Chrome, Edge, Safari */
.infinite-news::-webkit-scrollbar {
    width: 6px;
}

.infinite-news::-webkit-scrollbar-thumb {
    background-color: red;
    border-radius: 10px;
}

.infinite-news::-webkit-scrollbar-track {
    background: transparent;
}



.card {
    display: flex;
    background-color: #2c2c2c;
    color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    /* margin: auto; */
    transition: transform 0.3s;
    margin-bottom: 20px;
    height: 200px;
}

.card:hover {
    transform: translateY(-4px);
}

.card-image {
    position: relative;
    width: 30%;
    min-width: 250px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.card-content {
    padding: 20px;
    flex: 1;
}

.time {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 10px;
}

.title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: none;
    color: #fff;
}

.card a {
    text-decoration: none;
}

.card a:hover {
    text-decoration: underline;
    text-decoration-color: #fff;
    text-decoration-thickness: bold;
}

.description {
    font-size: 16px;
    color: #dddddd;
    margin-bottom: 16px;
}

.author {
    font-size: 15px;
}

.author span {
    color: #47a3ff;
    font-weight: bold;
}

@media (max-width: 768px) {

    .infinite-news {
        width: 100%;
        margin: auto;
        display: block;
    }

    .card {
        flex-direction: column;
        height: auto;
    }

    .card-image {
        width: 100%;
        min-height: 200px;
    }
}



@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(100, 100);
        opacity: 0;
    }
}

/* Games List */
.games-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.game-item:last-child {
    border-bottom: none;
}

.game-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.game-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.game-rating {
    font-size: 12px;
    color: #ff8800;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 60px;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ff8800;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
}

.footer-section p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff8800;
}

.footer-section .social-links {
    display: flex;
    gap: 15px;
}

.footer-section .social-links a {
    color: #b0b0b0;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-section .social-links a:hover {
    color: #ff8800;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #888;
}




/* Discord Design */



/* Responsive Design */
/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktops and Laptops (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }

    .hero-article .article-image img {
        height: 350px;
    }

    .article-content h2 {
        font-size: 22px;
    }
}

/* Tablets and Small Laptops (768px to 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .articles-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 22px;
        margin-bottom: 10px;
    }

    .article-card {
        width: 47%;
    }

    .hero-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .news-tab {
        display: inline-block;
        margin-right: 10px;
        padding: 8px 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Medium Tablets (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }

    .header-main-content {
        justify-content: space-between;
    }

    .logo img {
        width: 70px;
        height: 60px;
    }

    .hero-article .article-image img {
        height: 300px;
    }


    .sidebar-article .article-image img {
        height: 150px;
    }

    .hero-sidebar {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .articles-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 22px;
        margin-bottom: 10px;
    }

    .article-card {
        width: 100%;
    }

    .section-header {
        flex-direction: row;
        align-items: center;
        margin-bottom: 20px;
    }

    .news-tab {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .search-content input {
        padding: 10px;
    }

    .search-content button {
        padding: 10px 15px;
    }

    .article-content {
        padding: 15px;
    }

    .article-content h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .article-content p {
        margin-bottom: 15px;
    }
}

/* Mobile Phones (575px and below) */
@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 12px;
    }

    /* Header improvements */
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        padding: 5px 0;
    }

    .header-actions {
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    /* Larger touch targets */
    .subscribe-btn,
    .login-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-height: 40px;
    }

    .social-links a {
        margin-right: 18px;
        font-size: 16px;
        padding: 8px;
    }

    .logo img {
        width: 60px;
        height: 50px;
    }

    .search-toggle {
        font-size: 18px;
        padding: 8px;
        min-height: 40px;
        min-width: 40px;
        position: relative;
        left: 114px;

    }

    .menu-toggle {
        font-size: 18px;
        padding: 8px;
        min-height: 40px;
        min-width: 40px;
    }

    /* Content spacing */
    .hero {
        padding: 20px 0;
    }

    .hero-article .article-image img {
        height: 200px;
    }

    .article-content {
        padding: 15px;
    }

    .article-content h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .article-content p {
        font-size: 0.9rem;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .article-meta {
        font-size: 0.8rem;
        gap: 10px;
    }

    /* Improved section headers */
    .section-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    /* Better scrolling for tabs */
    .news-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        margin-bottom: 15px;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
        scrollbar-width: none;
        /* Hide scrollbar on Firefox */
        -ms-overflow-style: none;
        /* Hide scrollbar on IE/Edge */
    }

    .news-tabs::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar on Chrome/Safari */
    }

    .news-tab {
        padding: 8px 14px;
        font-size: 0.8rem;
        margin-right: 5px;
        min-height: 36px;
        white-space: nowrap;
    }

    /* Widget improvements */
    .sidebar-widget {
        padding: 15px;
        width: 100%;
    }

    .sidebar-widget h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    /* Better touch targets */
    .trending-item {
        gap: 10px;
        padding: 12px 0;
    }

    .trending-content h4 {
        font-size: 14px;
        line-height: 1.4;
    }



    /* Form improvements */
    .newsletter-form input,
    .newsletter-form button {
        padding: 12px;
        font-size: 0.9rem;
        min-height: 44px;
    }

    /* Game items */
    .game-item {
        padding: 12px 0;
    }

    .game-item img {
        width: 55px;
        height: 55px;
    }

    /* Footer improvements */
    .footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section h3 {
        font-size: 20px;
    }

    .footer-section h4 {
        font-size: 16px;
    }

    .footer-section ul li {
        margin-bottom: 12px;
    }

    .footer-section ul li a {
        padding: 5px 0;
        display: inline-block;
    }

    /* Search improvements */
    .search-content {
        flex-direction: column;
        gap: 10px;
    }

    .search-content input {
        padding: 12px;
        font-size: 14px;
    }

    .search-content button {
        width: 100%;
        padding: 12px;
    }

    /* General touch improvements */
    a,
    button,
    .btn,
    input[type="submit"] {
        min-height: 44px;
        min-width: 44px;
    }

    /* Improve touch targets for mobile */
    .main-nav a,
    .footer-section ul li a,
    .view-all,
    .article-card,
    .sidebar-article,
    .trending-item,
    .game-item {
        padding: 8px 0;
    }

    /* Adjust spacing for mobile */
    .main-content {
        padding: 20px 0;
    }

    .content-section {
        padding: 20px 15px;
        width: 100%;
    }

    .articles-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .article-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin: 0;
    }

    .article-card .article-image img,
    .article-card .article-content {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .sidebar {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin: 0;
    }

    .container,
    .main-content {
        overflow-x: hidden !important;
    }
}

/* Section header tweaks for tablets */
@media (max-width: 991px) and (min-width: 576px) {
    .articles-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .article-card .article-image img {
        height: 120px;
    }

    .article-card .article-content {
        padding: 14px 12px 10px 12px;
    }

    .article-card h3 {
        font-size: 1.05rem;
    }

    .news-tabs {
        gap: 8px;
    }

    .news-tab {
        padding: 8px 14px;
        font-size: 0.93rem;
    }


}

/* Ensure touch targets are large enough */
.news-tab,
.view-all {
    min-height: 40px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ripple Effect Animation */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.7;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* FAQ Ripple Animation - Slightly different for better visibility */
@keyframes faq-ripple {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }

    100% {
        transform: scale(6);
        opacity: 0;
    }
}

/* Ripple Effect Styling */
.ripple-effect {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    animation: ripple 0.6s ease-out;
    pointer-events: none;
    z-index: 1;
}

/* FAQ-specific ripple effect */
.faq-question .ripple-effect {
    background: rgba(255, 136, 0, 0.3);
    /* Orange color to match theme */
    animation: faq-ripple 0.8s ease-out;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
}

/* Touch Active State */
.touch-active {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.article-card,
.sidebar-widget,
.hero-article {
    animation: fadeIn 0.6s ease-out;
}

/* Hover Effects */
.article-card:hover .article-image img,
.hero-article:hover .article-image img,
.sidebar-article:hover .article-image img {
    transform: scale(1.05);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #ff8800;
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .header,
    .footer,
    .sidebar {
        display: none;
    }

    .main-content {
        padding: 0;
    }

    .content-section {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* News Tabs */
.news-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-tabs::-webkit-scrollbar {
    display: none;
}

.news-tab {
    background: #232323;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 7px;
    padding: 9px 18px;
    font-size: 0.98rem;
    cursor: pointer;
    outline: none;
    transition: background 0.2s, color 0.2s;
    min-width: 90px;
    text-align: center;
    white-space: nowrap;
}

.news-tab.active {
    background: #ff8800;
    color: #222;
    border: 2px solid #ff8800;
}

.news-tab:hover:not(.active) {
    background: #444;
    color: #ff8800;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #1a1a1a;
    border-top: 1px solid #333;
    margin-top: 40px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #222222;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Hide the checkbox */
.faq-toggle {
    display: none;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    overflow: hidden;
    /* Added to contain ripple effect */
    width: 100%;
}

.faq-question:hover {
    background-color: #2a2a2a;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

.faq-icon {
    color: #ff8800;
    font-size: 18px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CSS-only accordion functionality */
.faq-toggle:checked+.faq-question .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.3s ease;
    display: block;
}

.faq-toggle:checked~.faq-answer {
    padding: 0 25px 20px;
    max-height: 1000px;
    opacity: 1;
}

.faq-answer p {
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Responsive Styles */
@media (max-width: 767px) {
    .faq-section {
        padding: 40px 0;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 16px;
        padding-right: 30px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 15px;
    }
}

/* Hamburger menu button styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #e0e0e0;
    cursor: pointer;
    margin-left: 10px;
    z-index: 1100;
}

/* Mobile Menu Styles */
@media (max-width: 900px) {
    .header-main-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    /* Hide desktop navigation */
    .main-nav {
        display: none;
    }

    /* Videos Page Responsive */
    .videos-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .featured-video-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Remove min-width from .articles-grid for all screens */
.articles-grid {
    min-width: 0 !important;
}

.container,
.main-content {
    overflow-x: hidden;
}

/* Videos Page Responsive - Tablet */
@media (max-width: 768px) {
    .videos-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .videos-categories ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .videos-categories ul::-webkit-scrollbar {
        display: none;
    }

    .videos-categories li {
        flex: 0 0 auto;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 24px;
    }
}

/* Videos Page Responsive - Mobile */
@media (max-width: 576px) {
    .videos-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .video-player {
        width: 100%;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .videos-grid-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .videos-filter {
        width: 100%;
    }

    .videos-filter select {
        width: 100%;
    }

    .play-button {
        width: 50px;
        height: 50px;
        background-color: red;
    }

    .play-button i {
        font-size: 20px;
    }

    .featured-video-info h2 {
        font-size: 20px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 6px;
    }

    .subscribe-form button {
        width: 100%;
        border-radius: 6px;
    }
    .video-player-embedded {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-player-embedded iframe,
.video-player-embedded video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-item.playing {
    position: relative;
}

.close-video {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.close-video:hover {
    background: rgba(0,0,0,0.9);
}
}