/* Adjust the right-area icons */
.right-area {
    margin-right: 20px;
    padding-right: 15px;
}

.right-area .single-item {
    margin-left: 10px;
}

.right-area .icon-area {
    transform: scale(1.1);
}

.right-area .mat-icon.fs-four,
.right-area .fa.fs-four {
    font-size: 20px !important;
}

/* Mobile Menu Button */
.menu-toggle-btn {
    display: none;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 4px;
}

.menu-toggle-btn span {
    margin-left: 5px;
}

/* Sidebar Menu Styles */
.sidebar-menu {
    position: fixed;
    height: 100vh;
    width: 280px;
    top: 0;
    left: -300px;
    background-color: #131c25;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h5 {
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.sidebar-header .close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu-items li {
    margin-bottom: 15px;
}

.sidebar-menu-items li a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.sidebar-menu-items li a:hover {
    color: #00c4f4;
}

.sidebar-menu-items li.dropdown {
    position: relative;
}

.sidebar-menu-items li.dropdown > button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    padding: 10px 0;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.sidebar-menu-items li.dropdown > button:hover {
    color: #00c4f4;
}

.sidebar-menu-items li.dropdown > button:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: all 0.3s ease;
}

.sidebar-menu-items li.dropdown.open > button:after {
    transform: rotate(180deg);
}

.sidebar-menu .dropdown {
    position: relative;
}

.sidebar-menu .dropdown-menu {
    display: none;
    position: relative;
    background-color: var(--n800);
    margin: 5px 0;
    border-radius: 4px;
    width: 100%;
    z-index: 1;
}

.sidebar-menu .dropdown.open .dropdown-menu {
    display: block;
}

.sidebar-menu .dropdown-menu li {
    padding: 0;
}

.sidebar-menu .dropdown-menu a {
    color: var(--n0) !important;
    padding: 8px 15px;
    display: block;
}

.sidebar-menu .dropdown-menu a:hover {
    background-color: var(--p500);
}

.sidebar-menu .dropdown > button {
    position: relative;
    padding-right: 20px;
}

.sidebar-menu .dropdown > button::after {
    content: "▸";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.sidebar-menu .dropdown.open > button::after {
    content: "▾";
}

.sidebar-social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sidebar-social-icons a {
    color: #00c4f4;
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0,196,244,0.1);
    transition: all 0.3s ease;
}

.sidebar-social-icons a:hover {
    background-color: #00c4f4;
    color: #131c25;
}

.sidebar-language {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.sidebar-language span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Media Queries */
@media (max-width: 1199px) {
    .menu-toggle-btn {
        display: flex;
    }
    
    .navbar-brand {
        padding-left: 0 !important;
    }
}

/* Responsive Logo Adjustments */
@media (max-width: 575px) {
    .logo-text {
        max-width: 140px;
    }
}

/* Fix for navbar on mobile to match Image 1 */
.header-section .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    display: block !important;
}

/* Fix for navbar on mobile to match Image 1 */
.header-section .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* News Section Styles */
.news-section {
    background-color: #0f1923;
    position: relative;
    width: 100%;
    margin-top: 0;
    padding-top: 120px; /* Increased padding */
    padding-bottom: 100px; /* Increased padding */
}

.news-section .container {
    max-width: 1600px; /* Increased from 1400px for a wider display */
    width: 100%;
}

.news-section .section-text h4.sub-title {
    font-size: 2.5rem; /* Increased font size */
    margin-bottom: 15px;
}

.news-section .section-text .heading {
    font-size: 3rem; /* Increased font size */
    margin-bottom: 2rem;
    font-weight: 700;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
}

.news-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
}

/* Main News Container */
.main-news-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; /* Slightly larger radius */
    overflow: hidden;
    background-color: #151f28;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
    transition: all 0.3s ease;
    height: 100%;
}

.main-news {
    display: none;
}

.main-news.active {
    display: block;
}

.main-news .news-img {
    position: relative;
    overflow: hidden;
    height: 380px; /* Increased height */
}

.main-news .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-news:hover .news-img img {
    transform: scale(1.05);
}

.main-news .news-content {
    background-color: #151f28;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px !important; /* Override the p-4 class */
}

.main-news .news-date {
    color: #00c4f4;
    font-size: 16px; /* Increased size */
}

.main-news .news-title {
    color: #ffffff;
    font-size: 28px; /* Increased font size */
    font-weight: 600;
    line-height: 1.3;
}

.main-news .news-excerpt {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 16px; /* Added font size */
    line-height: 1.6; /* Added line height */
    margin-top: 15px; /* Added margin top */
}

.main-news .read-more {
    color: #00c4f4;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px; /* Increased size */
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 20px !important; /* Increased margin and override */
    display: inline-block;
}

.main-news .read-more:after {
    content: '→';
    margin-left: 5px;
    transition: all 0.3s ease;
}

.main-news .read-more:hover {
    color: #ffffff;
    text-decoration: none;
}

.main-news .read-more:hover:after {
    margin-left: 10px;
}

/* Recent News List */
.recent-news-list {
    background-color: #151f28;
    border-radius: 12px; /* Slightly larger radius */
    padding: 30px; /* Increased padding */
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.recent-news-list h4 {
    color: #ffffff;
    font-size: 24px; /* Increased font size */
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px; /* Added margin */
}

.news-item {
    display: flex;
    align-items: center;
    padding: 18px 0; /* Increased padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover, .news-item.active {
    background-color: rgba(0, 196, 244, 0.1);
    padding-left: 10px;
    border-radius: 5px;
}

.news-item.active {
    border-left: 3px solid #00c4f4;
}

.news-thumb {
    flex: 0 0 100px; /* Increased size */
    height: 75px; /* Increased height */
    overflow: hidden;
    border-radius: 6px; /* Slightly larger radius */
    margin-right: 20px; /* Increased margin */
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-brief {
    flex: 1;
}

.news-brief h5 {
    font-size: 17px; /* Increased font size */
    color: #ffffff;
    margin-bottom: 8px; /* Increased margin */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-brief .news-date {
    color: #00c4f4;
    font-size: 14px; /* Increased font size */
}

/* Games Section Styles */
.games-section {
    padding: 100px 0;
    background-color: var(--n900);
}

.game-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s;
    height: 500px; /* Fixed height for 16:9 ratio */
}

.game-card:hover {
    transform: translateY(-15px);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.game-card:hover img {
    transform: scale(1.03);
}

.game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
}

.game-info h4 {
    font-size: 28px;
    margin-bottom: 8px;
}

.game-genre {
    font-size: 18px;
    color: var(--p300);
}

.mb-6 {
    margin-bottom: 40px !important;
}

/* Games Showcase Section */
.games-showcase {
    padding: 80px 0;
    background-color: var(--n900);
}

.game-showcase-item {
    background: var(--n800);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.game-showcase-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.game-description {
    padding: 40px;
}

.game-description h3 {
    color: var(--p300);
    margin-bottom: 20px;
    font-size: 28px;
}

.game-description p {
    color: var(--n100);
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.play-btn {
    display: inline-block;
    color: var(--p300);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-btn:hover {
    color: var(--n0);
}

.play-btn i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.play-btn:hover i {
    transform: translateX(5px);
}

.mb-8 {
    margin-bottom: 60px !important;
}