:root {
    --primary-color: #010f1b;
    --second-color: #00396c;
    --third-color: #0363ff;
    --main-header-img: url('/assets/img/gallery/header-pingone.jpg');
    --main-header-img-height: 828px;
    --secondary-color: #8d8d8d;
}

@font-face {
    font-family: "Vazir";
    src: url('/assets/fonts/vazir.ttf') format('truetype');
}

@font-face {
    font-family: "VazirBold";
    src: url('/assets/fonts/vazir-bold.ttf') format('truetype');
}

body {
    background: var(--primary-color);
    margin: 0;
    overflow-x: hidden;
    font-family: "Vazir", sans-serif;
}

* {
    box-sizing: border-box;
}


img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

@keyframes slideIn {
    0% {
        transform: translateX(150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.header-menu {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: background-color 0.3s, padding 0.3s;
    z-index: 1000;
    background-color: transparent;
    padding: 20px 50px;
    box-sizing: border-box;
}

.header-menu.scrolled {
    background-image: linear-gradient(to top, var(--primary-color), var(--second-color));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 50px;
}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.logo img {
    height: 80px;
    width: auto;
    margin: 0;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.menu ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.menu ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.menu ul li a.active {
    background-color: rgba(255, 255, 255, 0.3);
}

.main-header {
    display: flex;
    flex-direction: row;
    direction: rtl;
    align-items: center;
    justify-content: flex-end;
    height: var(--main-header-img-height);
    background-image: var(--main-header-img);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 0 50px;
    box-sizing: border-box;
}

.main-header-content {
    background: linear-gradient(135deg, rgba(1, 15, 27, 0.95), rgba(0, 57, 108, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(3, 99, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 35px;
    width: clamp(300px, 35%, 580px);
    margin: 0 50px 200px 300px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.main-header-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.content {
    margin: 0;
}

.content h1 {
    font-family: "VazirBold", sans-serif;
    font-size: 52px;
    margin: 0 0 20px 0;
    background: linear-gradient(135deg, #ffffff, var(--third-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(3, 99, 255, 0.3);
    letter-spacing: 1px;
}

.content p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}


.btn-dl {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--third-color), var(--second-color));
    border: 2px solid transparent;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-dl::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-dl:hover::before {
    left: 100%;
}

.btn-dl:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(3, 99, 255, 0.5);
}


.game-list-section {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
}

.game-list-section::before,
.game-list-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 20;
    pointer-events: none;
}

.game-list-section::before {
    left: 0;
    background: linear-gradient(to right, rgba(1, 15, 27, 1), rgba(1, 15, 27, 0));
}

.game-list-section::after {
    right: 0;
    background: linear-gradient(to left, rgba(1, 15, 27, 1), rgba(1, 15, 27, 0));
}


.games-list .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.games-list img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}


.separator {
    height: 50px;
    background-color: var(--second-color);
}

.line {
    margin: 10px auto auto auto;
    border-bottom: 1px solid white;
    width: 50%;
    color: white;
}

.pingone {
    font-family: "VazirBold", sans-serif;
    color: var(--third-color);
}



@media (max-width: 1800px) {
    .main-header-content {
        margin: 0 50px 150px 300px;
        width: clamp(280px, 40%, 500px);
    }
}

@media (max-width: 1650px) {
    .main-header-content {
        margin: 0 50px 150px 150px;
        width: clamp(280px, 40%, 500px);
    }
}

@media (max-width: 1350px) {
    .main-header-content {
        margin: 0 50px 100px 70px;
        width: clamp(280px, 45%, 480px);
    }

    .content h1 {
        font-size: 42px;
    }

    .content p {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .main-header-content {
        margin: 0 40px 80px 0px;
        width: clamp(260px, 50%, 450px);
    }

    .content h1 {
        font-size: 38px;
    }

    .content p {
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 10px;
    }

    .menu ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .main-header {
        padding: 0 20px;
        height: auto;
        background-position: right center;
    }

    .main-header-content {
        width: 100%;
        margin: 20px 0 0 0;
        padding: 15px;
    }

    .content h1 {
        font-size: 32px;
    }

    .content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 10px;
    }

    .menu ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .main-header {
        padding: 0 20px;
        height: auto;
    }

    .main-header-content {
        width: 100%;
        margin: 20px 0 0 0;
        padding: 15px;
    }

    .content h1 {
        font-size: 32px;
    }

    .content p {
        font-size: 18px;
    }
}
