/* ================ ROOT VARIABLES ================ */
:root {
    /* Color Variables */
    --nav-bar-color: #0e0650;
    --nav-bar-color-transparent: rgba(54, 18, 63, 0.8);
    --body-color: #ffffff;
    --body-color-transparent: rgba(5, 3, 5, 0.8);
    --section-color: #092f64;
    --section-color-hover: #8F37B1;
    --section-color-transparent: rgba(98, 67, 67, 0.8);
    --button-color: #8F37B1;
    --button-color-transparent: rgba(143, 55, 177, 0.8);
    --primary: #1a1a2e;
    --gold: #ffd700;
    --secondary: #16213e;

    /* Gradient Colors */
    --gradient-1: #ee7752;
    --gradient-2: #e73c7e;
    --gradient-3: #23a6d5;
    --gradient-4: #23d5ab;

    /* Text Colors */
    --text-icon: #00000000;
    --text-white: #ffffff;
    --text-black: #000000;
    --text-red: #ff0000;
    --text-gray: #666;

    /* Background Colors */
    --bg-light-gray: #f8f9fa;
    --bg-medium-gray: #e6dddd;
    --bg-dark-gray: #d3d3d3;
    --bg-red: #ff0000;

    /* Border Colors */
    --border-blue: #1100ff;
    --border-black: #000000;
    --border-light-gray: #e1e1e1;

    /* Button Colors */
    --btn-primary: #007bff;
    --btn-orange: #F85606;
    --btn-hover: #e04b05;

    /* Animation Durations */
    --animation-fast: 0.3s;
    --animation-medium: 0.5s;
    --animation-slow: 1s;
}

/* ================ GENERAL STYLES ================ */
body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--bg-dark-gray);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

a {
    text-decoration: none;
    color: var(--text-red);
}

.blog-container {
    max-width: 1150px;
    width: 100%;
    margin-left: 7rem;
    padding: 0 15px;
}

/* ================ HEADER STYLES ================ */
.header-content {
    width: 100%;
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg,
            var(--gradient-1),
            var(--gradient-2),
            var(--gradient-3),
            var(--gradient-4));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    color: var(--text-white);
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0 15px;
    width: 100%;
}

.content-wrapper i {
    margin-right: 15px;
}

.typing-container {
    display: inline-block;
    position: relative;
    height: 2rem;
    min-width: 100%;
}

.typing-text {
    position: absolute;
    white-space: nowrap;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.taxts {
    margin-top: 5px;
    margin-left: 15px;
}

.typing-text::after {
    content: "|";
    position: absolute;
    right: 0px;
    animation: blink 0.7s infinite;
}

/* ================ ANIMATIONS ================ */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ================ NAVIGATION STYLES ================ */
.navbar {
    background-color: var(--section-color) !important;
}

.nav-text {
    display: block;
    opacity: 0;
    font-size: 14px;
    margin-top: 7px;
    transition: opacity var(--animation-fast) ease, transform var(--animation-fast) ease;
    transform: translateY(10px);
}

.nav-item:hover .nav-text {
    opacity: 1;
    transform: translateY(0);
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 10px;
    color: var(--text-white);
    transition: color var(--animation-fast) ease;
}

.nav-link:hover {
    color: var(--text-black) !important;
    border-bottom: 1px solid var(--text-red);
    background: var(--bg-dark-gray);
}

.nav-link i {
    font-size: 20px;
}

.dropdown-menu {
    background-color: var(--body-color) !important;
    overflow: hidden;
    border: 1px solid var(--border-black);
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    z-index: 100;
    display: none;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #5555ff, #8dff8d, #ff6f6f, #ca4dab);
    animation: movingBorder 2s linear infinite;
}

.dropdown-item {
    color: var(--text-black) !important;
    transition: background-color var(--animation-fast) ease, color var(--animation-fast) ease;
    padding: 10px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.dropdown-item:hover {
    background-color: rgba(129, 128, 128, 0.5) !important;
    padding-left: 12px !important;
}

.nav-item.dropdown:hover .dropdown-menu,
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-toggle i.fa-caret-down {
    margin-left: 5px;
    font-size: 12px;
}

@keyframes movingBorder {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ================ CAROUSEL STYLES ================ */
.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 2px 0;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity var(--animation-slow) ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--section-color);
    color: #e92727;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color var(--animation-fast) ease;
}

.carousel-button:hover {
    background-color: rgba(255, 0, 0, 0.8);
    color: var(--text-black);
}

.prev {
    left: 0 !important;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

.next {
    right: 0 !important;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}

/* ================ LEFT SIDEBAR STYLES ================ */
.left {
    width: 100%;
    height: 400px;
    margin-top: 2px;
    background-color: var(--bg-red);
    padding: 15px;
    box-sizing: border-box;
    color: var(--text-white);
    font-family: Arial, sans-serif;
    overflow-y: auto;
}

.left h3 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--text-white);
    padding-bottom: 10px;
    text-align: center;
}

.left .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.left .category-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.left .category-list li:last-child {
    border-bottom: none;
}

.left .category-list a {
    display: block;
    padding: 8px 0;
    color: var(--text-white);
    text-decoration: none;
    transition: all var(--animation-fast);
    cursor: pointer;
}

.left .category-list a:hover {
    background-color: rgba(129, 128, 128, 0.4);
    padding-left: 12px;
}

.left .category-list i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
    font-size: 14px;
}

/* ================ CATEGORY SECTION STYLES ================ */
.category-section {
    margin-top: 10px;
    padding: 1rem;
    background-color: var(--bg-medium-gray);
}

.category-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-black);
    font-weight: bold;
}

/* ================ CARD STYLES ================ */
.card {
    width: 100% !important;
    border: 1px solid var(--border-black);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 3s ease;
    position: relative;
    background-color: var(--body-color);
    cursor: pointer;
    --border-color: var(--border-blue);
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 19px 28px rgba(255, 0, 0, 0.1);
}

.card-img-top {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.01);
}

.card-body {
    padding: 5px;
    text-align: center;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: var(--text-black);
    font-weight: bold;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-black);
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 2rem !important;
}

.card-texts {
    font-size: 0.9rem;
    color: var(--text-black);
    text-align: start;
    padding-bottom: 15px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity var(--animation-fast);
    z-index: 1;
}

.card:hover .overlay {
    opacity: 1;
}

.bottom-content {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    opacity: 0;
    transition: opacity var(--animation-fast);
    z-index: 2;
}

.card:hover .bottom-content {
    opacity: 1;
}

.icon {
    font-size: 18px;
    color: #0400ff;
    cursor: pointer;
    transition: transform 3s;
}

.icon:hover {
    transform: scale(1.5);
    color: var(--text-red);
}

.learn-more {
    background-color: var(--btn-primary);
    color: var(--text-white);
    width: 12rem;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color var(--animation-slow);
    border-radius: 4px;
    font-size: 0.9rem;
}

.learn-more:hover {
    background-color: var(--section-color);
}

.border-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    z-index: 2;
    pointer-events: none;
    animation: border-move 2s linear infinite;
}

@keyframes border-move {
    0% {
        border-top-color: var(--border-color);
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }

    25% {
        border-top-color: transparent;
        border-right-color: var(--border-color);
        border-bottom-color: transparent;
        border-left-color: transparent;
    }

    50% {
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: var(--border-color);
        border-left-color: transparent;
    }

    75% {
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: var(--border-color);
    }

    100% {
        border-top-color: var(--border-color);
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
}

/* ================ FOOTER STYLES ================ */
.footer {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    margin-top: 50px;
    font-family: 'Poppins', sans-serif;
    padding: 40px 0 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    border-top: 1px solid var(--border-light-gray);
}

.footer-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 21px;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-about {
    flex: 0 0 30%;
    padding-right: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
}

.footer-logo i {
    margin-right: 10px;
    color: #3498db;
}

.footer-about-text {
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f3f0f0;
    border-radius: 50%;
    color: #555;
    transition: all var(--animation-fast) ease;
}

.social-icon:hover {
    background-color: var(--gold);
    color: black;
}

.footer-links {
    flex: 0 0 65%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 0 0 30%;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #f08c8c;
    font-weight: 600;
    text-decoration: underline;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-white);
    text-decoration: none;
    transition: color var(--animation-fast) ease;
}

.footer-column a:hover {
    color: var(--gold);
    transform: translateX(5px) !important;
}

.footer-bottom {
    border-top: 1px solid var(--border-light-gray);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-gray);
}

.footer-legal-links a {
    color: var(--text-gray);
    margin: 0 5px;
    text-decoration: none;
}

.footer-legal-links a:hover {
    text-decoration: underline;
}

/* ================ YOUTUBE SIDEBAR STYLES ================ */
.youtube-style-sidebar {
    position: fixed;
    left: 0;
    top: 3.5rem;
    width: 120px;
    height: calc(100vh - 3rem);
    background: #202020;
    color: var(--text-white);
    z-index: 1000;
    transform: translateX(-180px);
    transition: transform var(--animation-slow) ease;
    overflow: hidden;
    border-right: 1px solid #383838;
}

.youtube-style-sidebar.show {
    transform: translateX(0);
}

.sidebar-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #ff0000, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    opacity: 0.3;
    z-index: -1;
}

.sidebar-header {
    padding: 12px 8px;
    border-bottom: 1px solid #383838;
    background: rgba(32, 32, 32, 0.8);
    backdrop-filter: blur(5px);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding: 8px;
}

.logo-container i {
    color: var(--text-red);
    font-size: 18px;
    flex-shrink: 0;
}

.sidebar-menu {
    padding: 8px 0;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    gap: 3px;
    position: relative;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--text-red);
    transform: translateX(-100%);
    transition: transform 0.2s;
}

.menu-item:hover::before {
    transform: translateX(0);
}

.menu-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.menu-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: calc(100% - 32px);
}

.menu-item.active {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 500;
}

.menu-item.active::before {
    transform: translateX(0);
}

.sidebar-menu::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: #383838;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: var(--text-red);
    border-radius: 2px;
}

/* ================ NAVIGATION GRID STYLES ================ */
.navigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-column {
    background: var(--body-color);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.column-title {
    color: var(--text-black);
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ee7070;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-black);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-items i {
    width: 20px;
    text-align: center;
    color: var(--text-black);
}

.nav-items:hover {
    background-color: #f5f5ff;
    color: #5b4dd6;
    transform: translateX(3px);
}

/* ================ BUTTON CONTAINER STYLES ================ */
.buttons {
    background-color: var(--section-color);
    display: flex;
    width: 100%;
    justify-content: center;
}

.btns {
    display: flex;
    width: 100%;
    justify-content: center;
}

.inner-buttons {
    justify-content: center;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.outer-buttons {
    justify-content: center;
    display: flex;
    width: 70px;
    height: auto;
    min-height: 3rem;
    position: relative;
    overflow: hidden;
    background-color: var(--section-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
}

.outer-buttons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--text-black);
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.outer-buttons a i {
    font-size: 1rem;
    margin-bottom: 2px;
}

.outer-buttons a span {
    font-size: 0.9rem;
    text-align: center;
}

.outer-buttons::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.outer-buttons:hover::before {
    border-color: var(--border-black);
    animation: borderAnimation 1.5s infinite linear;
}

@keyframes borderAnimation {
    0% {
        border-top-color: var(--border-black);
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }

    25% {
        border-top-color: transparent;
        border-right-color: var(--border-black);
        border-bottom-color: transparent;
        border-left-color: transparent;
    }

    50% {
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: var(--border-black);
        border-left-color: transparent;
    }

    75% {
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: var(--border-black);
    }

    100% {
        border-top-color: var(--border-black);
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
}

.outer-buttons:hover {
    background-color: #f8f8f8;
}

.outer-buttons.has-dropdown {
    position: relative;
    overflow: visible;
}

.dropdown-menus {
    display: none;
    position: absolute;
    width: 7rem;
    top: 100%;
    left: -1px;
    background-color: rgb(209, 206, 206);
    border: 2px solid var(--border-black);
    border-top: none !important;
    z-index: 100;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menus li {
    padding: 8px 5px;
    border-bottom: 1px solid rgb(216, 150, 150);
}

.dropdown-menus li:last-child {
    border-bottom: none;
}

.dropdown-menus a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-black);
    text-decoration: none;
    font-weight: bold;
}

.dropdown-menus li:hover {
    background-color: rgb(110, 106, 106);
    transition: all var(--animation-slow) ease;
}

.dropdown-menus i {
    font-size: 0.9rem;
    margin-bottom: 2px;
    margin-right: 5px;
}

.outer-buttons.has-dropdown:hover .dropdown-menus {
    display: block;
}

/* ================ DARAZ NAVBAR STYLES ================ */
.daraz-navbar {
    font-family: 'Roboto', Arial, sans-serif;
    width: 100%;
    background: var(--section-color);
    z-index: 1000;
    transition: all 5s ease;
}

.daraz-navbar.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    background: #2f00ff !important;
    box-shadow: 0 2px 15px rgba(228, 0, 0, 0.1);
    animation: smoothSlideDown 2s ease-out;
}

@keyframes smoothSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.top-nav {
    color: var(--text-white);
    padding: 10px 0;
    font-size: 15px;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.top-nav-left,
.top-nav-right {
    display: flex;
    align-items: center;
}

.top-nav a {
    color: var(--text-white);
    text-decoration: none;
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    padding: 5px 0;
    transition: opacity var(--animation-fast);
}

.top-nav a:hover {
    color: #1eff00;
}

.top-nav a i {
    margin-right: 8px;
    font-size: 14px;
}

.navbar-brand {
    font-size: 20px;
    font-weight: bold;
    margin-right: 30px;
    color: var(--text-white) !important;
}

.main-nav {
    background-color: #1A3E72;
    padding: 2px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-nav .container {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.search-container {
    flex-grow: 1;
    max-width: 100%;
}

.search-box {
    display: flex;
    border: 2px solid var(--btn-orange);
    border-radius: 4px;
    overflow: hidden;
    height: 50px;
}

.search-box input {
    flex-grow: 1;
    border: none;
    padding: 0 15px;
    font-size: 14px;
    outline: none;
}

.search-btn {
    background-color: var(--btn-orange);
    height: 100%;
    color: var(--text-white);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color var(--animation-fast);
}

.search-btn:hover {
    background-color: var(--btn-hover);
}

.cart {
    position: relative;
}

.cart a {
    color: var(--text-white);
    font-size: 22px;
    text-decoration: none;
    display: block;
    transition: color var(--animation-fast);
}

.cart a:hover {
    color: var(--btn-orange);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--btn-orange);
    color: var(--text-white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================ IMAGE TEXT SECTION STYLES ================ */
.custom {
    overflow: hidden;
    width: 100%;
}

.img-tex {
    background-color: var(--bg-light-gray);
    height: auto;
    padding: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.img-tex .image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform var(--animation-slow) ease;
}

.img-tex .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--animation-slow) ease;
}

.img-tex .texts {
    width: 100%;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.texts .btn {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--animation-slow);
    background-color: var(--btn-primary);
    color: var(--text-white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    height: 2rem;
    width: 100%;
}

.texts .btn i {
    color: var(--text-white);
}

.texts .btn:hover {
    background-color: var(--section-color);
    transition: var(--animation-slow);
}

.img-tex:hover .btn {
    opacity: 1;
    transform: translateY(0);
}

.img-tex:hover .image img {
    transform: scale(1.05);
}

.img-tex:hover .image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: background var(--animation-fast) ease;
}

.texts h2 {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.texts p {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.img-tex:hover .texts h2,
.img-tex:hover .texts p {
    transform: translateY(0);
    opacity: 1;
}

.img-tex .texts h2,
.img-tex .texts p {
    opacity: 1;
    transform: translateY(0);
}

/* ================ RIGHT SIDEBAR STYLES ================ */
.right {
    width: 100%;
    padding: 1rem;
    position: relative;
    background-color: var(--bg-light-gray);
    border-radius: 8px;
    margin-left: 0;
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.right::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.1) 20%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.1) 80%,
            transparent 100%);
}

.right h3 {
    color: #333;
    border-bottom: 2px solid var(--btn-primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.widget {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget {
    padding: 1rem;
    margin-bottom: 1.25rem;
    background: var(--body-color);
    border-radius: 8px;
    border-left: 3px solid #e9ecef;
    transition: all var(--animation-medium) ease;
}

.widget:hover {
    border-left-color: #28a745;
    background-color: var(--bg-light-gray);
}

.widget h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.widget p {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.right h3 {
    color: #212529;
    font-size: 1.2rem;
    border-bottom: 1px dashed #adb5bd;
    padding-bottom: 0.5rem;
    margin: 1.5rem 0 1rem;
}

.widget p strong {
    color: #d63384;
    font-weight: 600;
}

/* ================ SEARCH BUTTON STYLES ================ */
.search-btn {
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>') no-repeat center;
    background-size: 24px;
    background-color: #4285f4;
    border: none;
    outline: none;
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.2s;
}

.search-btn:hover {
    transform: scale(1.1);
}

.search-container {
    display: none;
    position: fixed;
    top: 0;
    background: var(--section-color);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999999999;
    width: 100%;
    border: 1px dotted var(--border-black);
}

.search-container input {
    padding: 10px 15px;
    width: 100%;
    border: 1px solid #b1b0b0;
    border-radius: 24px;
    font-size: 16px;
    outline: none;
}

.search-container.active {
    display: block;
    animation: fadeIn var(--animation-slow);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================ MAIN CONTENT STYLES ================ */
.mains {
    padding: 20px 0;
    background-color: var(--bg-light-gray);
    /* margin-left: 6rem; */
}

.section-header {
    border-bottom: 2px solid #d9232e;
    padding-bottom: 10px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.view-all {
    color: #d9232e;
    font-weight: bold;
    text-decoration: none;
}

.view-all:hover {
    text-decoration: underline;
}

.featured-article {
    background: var(--body-color);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.featured-article img {
    border-radius: 5px;
}

.article-category {
    color: #d9232e;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    margin: 10px 0 5px;
}

.article-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.article-excerpt {
    color: #555;
    margin-bottom: 20px;
}

.article-card {
    background: var(--body-color);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.article-card img {
    border-radius: 5px;
}

.article-title-sm {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.article-excerpt-sm {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 0;
}

.quick-facts-widget {
    background: var(--body-color);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.widget-title {
    color: #d9232e;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.fact-item {
    margin-bottom: 10px;
}

.fact-item h6 {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.fact-item p {
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 0;
}

/* ================ UTILITY CLASSES ================ */
.onit {
    border: 2px solid var(--text-white);
    padding: 8px 15px !important;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.onit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 3px rgba(255, 255, 255, 0.3);
}

/* ================ MEDIA QUERIES ================ */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .carousals {
        flex-direction: row;
    }

    .carousel {
        width: 70%;
    }

    .left {
        width: 30%;
    }

    .img-tex {
        flex-direction: row;
        height: 15rem;
    }

    .img-tex .image {
        width: 40%;
        height: 100%;
    }

    .img-tex .texts {
        width: 60%;
    }

    .right {
        width: 30%;
        margin-left: 2rem;
    }

    .card {
        width: 50% !important;
    }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .header-title {
        font-size: 2.2rem;
    }

    .header-subtitle {
        font-size: 1.1rem;
    }

    .carousals {
        flex-direction: row;
    }

    .carousel {
        width: 65%;
    }

    .left {
        width: 35%;
    }

    .img-tex {
        flex-direction: row;
        height: auto;
    }

    .img-tex .image {
        width: 40%;
        height: 100%;
    }

    .img-tex .texts {
        width: 60%;
    }

    .right {
        width: 30%;
        margin-left: 2rem;
    }

    .card {
        width: 50% !important;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .header-title {
        font-size: 2rem;
    }

    .header-subtitle {
        font-size: 1rem;
    }

    .top-nav a {
        font-size: 0.8rem;
        margin-right: 10px;
    }

    .carousals {
        flex-direction: column;
    }

    .carousel,
    .left {
        width: 100%;
    }

    .left {
        height: auto;
        margin-top: 20px;
    }

    .img-tex {
        flex-direction: row;
        height: auto;
    }

    .img-tex .image {
        width: 40%;
        height: 100%;
    }

    .img-tex .texts {
        width: 60%;
    }

    .custom {
        width: 100%;
    }

    .right {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .card {
        width: 50% !important;
        margin-bottom: 20px;
    }

    .footer-container {
        flex-direction: column;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .header-title {
        font-size: 1.8rem;
    }

    .header-subtitle {
        font-size: 0.9rem;
    }

    .top-nav {
        flex-direction: column;
        padding: 5px 0;
    }

    .top-nav-left,
    .top-nav-right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .top-nav a {
        font-size: 0.7rem;
        margin: 0 5px;
        padding: 3px 0;
    }

    .main-nav {
        padding: 10px 0;
    }

    .search-box {
        height: 40px;
    }

    .carousals {
        flex-direction: column;
    }

    .carousel,
    .left {
        width: 100%;
    }

    .left {
        height: auto;
        margin-top: 20px;
    }

    .img-tex {
        flex-direction: column;
        height: auto;
    }

    .img-tex .image,
    .img-tex .texts {
        width: 100%;
    }

    .custom {
        width: 100%;
    }

    .right {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .card {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .footer-container {
        flex-direction: column;
    }

    .buttons {
        display: none;
    }

    .daraz-navbar {
        display: none;
    }

    .buttons.d-none {
        display: flex !important;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .header-title {
        font-size: 1.5rem;
    }

    .header-subtitle {
        font-size: 0.8rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .top-nav {
        flex-direction: column;
        padding: 5px 0;
    }

    .top-nav-left,
    .top-nav-right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .top-nav a {
        font-size: 0.7rem;
        margin: 0 5px;
        padding: 3px 0;
    }

    .main-nav {
        padding: 10px 0;
    }

    .search-box {
        height: 35px;
    }

    .search-box input {
        padding: 0 10px;
        font-size: 0.8rem;
    }

    .search-btn {
        padding: 0 15px;
    }

    .carousals {
        flex-direction: column;
    }

    .carousel,
    .left {
        width: 100%;
    }

    .left {
        height: 20rem;
        overflow-y: auto;
        margin-top: 20px;
    }

    .carousel-slide .carousel-text h2 {
        font-size: 1.2rem;
    }

    .carousel-slide .carousel-text p {
        font-size: 0.8rem;
    }

    .img-tex {
        flex-direction: column;
        height: auto;
    }

    .img-tex .image,
    .img-tex .texts {
        width: 100%;
    }

    .custom {
        width: 100%;
    }

    .right {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .card {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.8rem;
    }

    .footer-container {
        flex-direction: column;
    }

    .buttons {
        display: none;
    }

    .daraz-navbar {
        display: none;
    }

    .buttons.d-none {
        display: flex !important;
    }

    .category-title {
        font-size: 1.5rem;
    }

    /* Hide YouTube sidebar on mobile */
    .youtube-style-sidebar {
        display: none;
    }
}

/* Special cases for very small screens */
@media (max-width: 400px) {
    .header-title {
        font-size: 1.3rem;
    }

    .header-subtitle {
        font-size: 0.7rem;
    }

    .top-nav a {
        font-size: 0.6rem;
    }

    .outer-buttons {
        width: 60px;
        padding: 5px;
    }

    .outer-buttons a span {
        font-size: 0.7rem;
    }

    .dropdown-menus {
        width: 6rem;
    }
}

/* Adjustments for landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .header-content {
        padding: 1rem;
    }

    .header-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .header-subtitle {
        font-size: 0.8rem;
    }

    .carousel {
        height: 300px;
    }
}

/* Print styles */
@media print {

    .buttons,
    .swatch,
    .carousel-button {
        display: none !important;
    }

    body {
        background-color: var(--body-color);
        color: var(--text-black);
        font-size: 12pt;
    }

    a {
        color: var(--text-black) !important;
        text-decoration: underline !important;
    }
}

/* Responsive Design section inner div */
@media (max-width: 768px) {
    .img-tex {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    .img-tex .image {
        width: 100%;
        height: 200px;
    }

    .img-tex .texts {
        width: 100%;
        height: auto !important;
        padding: 1.5rem;
    }
}

/* Responsive adjustments right div */
@media (max-width: 992px) {
    .right {
        width: 100%;
        margin-left: 0;
        margin-top: 2rem;
    }

    .right::before {
        display: none;
    }
}

/* ================ QUICK LINKS SECTION ================ */
.quick-links-section {
    padding: 20px 0;
    background-color: #f5f7fa;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.quick-link {
    display: block;
    padding: 10px 12px;
    background: white;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-link:hover {
    background: #eef2ff;
    color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quick-link i {
    margin-right: 8px;
    color: #4f46e5;
    width: 18px;
    text-align: center;
}

@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .quick-link {
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* ================ FACTS SECTION ================ */
.facts-section {
    background: linear-gradient(135deg, #0f172a 0%, #1a202c 100%);
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    color: white;
}

.facts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.facts-title {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.facts-title i {
    color: #f59e0b;
}

.facts-header span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.fact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s ease;
}

.fact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.fact-card h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fact-card p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* ================ NEWSLETTER SECTION ================ */
.newsletter-section {
    background: #b9b9b9;
    color: black;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.newsletter-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000000;
}

.newsletter-description {
    color: #000000;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 16px 24px;
    border: 1px solid #ad3939;
    border-radius: 12px 0 0 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: #4f46e5;
}

.newsletter-button {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0 28px;
    border-radius: 0 12px 12px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: #4338ca;
}

/* Responsive Design */
@media (max-width: 768px) {
    .facts-section {
        padding: 32px 24px;
    }

    .facts-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .newsletter-section {
        padding: 40px 24px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-input,
    .newsletter-button {
        width: 100%;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .newsletter-title {
        font-size: 1.8rem;
    }

    .newsletter-description {
        font-size: 1rem;
    }
}

/* ================ BACK TO TOP BUTTON ================ */
.fabs {
    position: fixed;
    bottom: 97px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2b6777, #52ab98);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    opacity: 1;
    transform: translateY(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.fabs.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fabs:hover {
    background: linear-gradient(135deg, #52ab98, #2b6777);
    transform: translateY(-1px) scale(1.09);
    box-shadow: 0 6px 25px rgba(43, 103, 119, 0.4);
}

.fabs:active {
    transform: scale(0.98);
}

/* Animation when scrolling appears */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fabs {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        bottom: 100px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .fabs {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        bottom: 100px;
        right: 22px;
    }
}

/* ================ GAMES SECTION STYLES ================ */
.games {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    border-radius: 12px;
    margin: 2rem auto;
    margin-left: 94px;
    max-width: 1200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.games h2 {
    width: 100%;
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.games h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #4f46e5, #7c3aed);
    border-radius: 3px;
}

.games-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.games li {
    transition: transform 0.3s ease;
}

.games li:hover {
    transform: translateX(5px);
}

.games a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.2rem;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #4f46e5;
    height: 100%;
}

.games a:hover {
    background: #4f46e5;
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
    transform: translateY(-2px);
}

.games a i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.games a:hover i {
    transform: scale(1.2);
}

/* Mobile Toggle Button */
.games-toggle {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: #4f46e5;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.games-toggle:hover {
    width: 55px;
    background: #3a36b3;
}

.games-toggle i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.games-toggle:hover i {
    transform: rotate(15deg);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .games {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        padding: 1.5rem;
        z-index: 999;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.2);
        margin: 0;
        border-radius: 0;
    }

    .games.active {
        left: 0;
    }

    .games h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .games-toggle {
        display: flex;
    }

    .game-list {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .games a {
        padding: 0.8rem 1rem;
    }
}

/* Dark Mode Support */
.dark-mode .games {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.dark-mode .games h2 {
    color: #f8f9fa;
}

.dark-mode .games a {
    background: #2d3748;
    color: #f8f9fa;
    border-left-color: #7c3aed;
}

.dark-mode .games a:hover {
    background: #7c3aed;
    color: white;
}

.dark-mode .games-toggle {
    background: #7c3aed;
}

.dark-mode .games-toggle:hover {
    background: #6b21a8;
}




/* Loading Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.ink-drop {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.2);
    filter: blur(20px);
    animation: drop 3s infinite ease-in-out;
}

.ink-drop:nth-child(2) {
    width: 200px;
    height: 200px;
    background: rgba(226, 74, 213, 0.15);
    animation-delay: 0.5s;
}

.ink-drop:nth-child(3) {
    width: 150px;
    height: 150px;
    background: rgba(74, 226, 144, 0.1);
    animation-delay: 1s;
}

@keyframes drop {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-50px) scale(1.1);
        opacity: 0.4;
    }
}

.loading-container {
    text-align: center;
    z-index: 10;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 3rem;
    color: #4a90e2;
    margin-right: 15px;
    animation: float 2s infinite ease-in-out;
}

.logo-text {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, #4a90e2, #e24ad5, #4ae290);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #4a90e2, #e24ad5, #4ae290);
    transform: scaleX(0);
    transform-origin: left;
    animation: underline 2s infinite;
}

.progress-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.progress {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #4a90e2, #e24ad5);
    animation: progress 2.5s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes underline {
    0% {
        transform: scaleX(0);
    }

    50% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

@keyframes progress {
    0% {
        width: 0;
        transform: translateX(0);
    }

    50% {
        width: 100%;
        transform: translateX(0);
    }

    100% {
        width: 100%;
        transform: translateX(100%);
    }
}