:root {
    --primary-color: #f94d41;
    --secondary-color: #ffffff;
    --text-color: #f1f1f1;
    --background-color: #f8f8f8;
    --border-radius: 25px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
background: linear-gradient(158deg,rgba(161, 35, 47, 1) 0%, rgba(10, 8, 32, 1) 16%, rgba(10, 8, 32, 1) 71%, rgba(33, 78, 155, 1) 100%);
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,h2,h3{
    line-height: 1.2;
}

.jackWrapper {
    max-width: 1200px;
    margin: 20px auto;
    background: #0e0b22 url('../images/bg.png') center top no-repeat;
    background-size: 100%;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}


.jackContainer {
    position: relative;
    z-index: 1;
}


.jackHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 30px;
}

.jackLogo{
    text-decoration: none;
    line-height: 0;
}

.jackLogo img {
    height: 30px;
}

.jackNav {
    display: flex;
    align-items: center;
}

.jackMenu {
    display: flex;
    list-style: none;
    margin-right: 20px;
}

.jackMenuItem {
    margin: 0 15px;
}

.jackMenuLink {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.jackMenuLink:hover {
    color: var(--primary-color);
}

.jackButton {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: transform 0.3s;
}

.jackButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s;
}

.jackButton:hover::before {
    left: 100%;
}

.jackButton:hover {
    transform: translateY(-3px);
}

.left{
    max-width: 600px;
    width: 100%;
}

.jackBanner img{
    max-width: 500px;
    width: 100%;
}

.jackBanner {
    padding: 40px 0;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jackBannerTitle {
    font-size: 54px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 650px;
    width: 100%;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.jackBannerText {
    font-size: 16px;
    max-width: 700px;
    margin-bottom: 30px;
    color: #ccc;
}


.jackFeaturedGame {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
}

.jackFeaturedGame .jackButton{
    font-size: 20px;
    margin-top: 30px;
}

.jackSectionTitle {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.jackGameCard {
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.jackGameCard:hover {
    transform: translateY(-10px);
}

.jackGameImage {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;

}

.jackGameName {
    font-size: 1.5rem;
    margin-bottom: 15px;
}


.jackAbout {
    display: flex;
    align-items: center;
    padding: 40px 0;
    margin-bottom: 40px;
}


.jackAbout h2{
    text-align: left;
}
.jackAboutContent {
    flex: 1;
    padding-right: 30px;
}

.jackAboutImage {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.jackAboutImage img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.jackAboutImage:hover img {
    transform: scale(1.05);
}

.jackList {
    list-style: none;
    margin: 20px 0;
}

.jackListItem {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.jackListItem::before {
    content: '★';
    color: var(--primary-color);
    margin-right: 10px;
}


.jackFaq {
    padding: 40px 0;
    margin-bottom: 40px;
}

.jackFaqContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.jackFaqItem {
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s;
}

.jackFaqItem:hover {
    transform: translateY(-5px);
}

.jackFaqQuestion {
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
}


.jackTestimonials {
    padding: 40px 0;
    margin-bottom: 40px;
}

.jackTestimonialsContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.jackTestimonial {
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.jackTestimonial:hover {
    transform: translateY(-10px);
}

.jackTestimonialHeader {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.jackTestimonialAvatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.jackTestimonialName {
    font-weight: 600;
}

.jackTestimonialRating {
    color: gold;
    margin-top: 5px;
}


.jackFooter {
    padding: 40px 0 20px;
    border-top: 1px solid #2a3967;
}

.jackFooterContent {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.jackFooterLogo img {
    height: 30px;
    margin-bottom: 15px;
}

.jackFooterDescription p{
    margin-bottom: 10px;
}

.jackFooterLinksTitle {
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffcb37;
}

.jackGame{
    padding: 80px 0;
}

.jackGame iframe{
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    border-radius: 15px;
    display: block;
    height: 550px;
}

.jackFooterLinks {
    list-style: none;
}

.jackFooterLinkItem {
    margin-bottom: 10px;
}

.jackFooterLink {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.jackFooterLink:hover {
    color: var(--primary-color);
}

.jackFooterBottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #2a3967;
    font-size: 0.9rem;
}

.jackFooterLegal {
    display: flex;
}

.jackFooterLegalLink {
    margin-right: 20px;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.jackFooterLegalLink:hover {
    color: var(--primary-color);
}


@media (max-width: 992px) {
    .jackFaqContainer,
    .jackTestimonialsContainer {
        grid-template-columns: 1fr;
    }

    .jackAbout {
        flex-direction: column;
    }

    .jackAboutContent {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .jackFooterContent {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .jackBanner img{
        max-width: 300px;
    }
}

@media (max-width: 768px) {


    .jackMenu{
        display: none;
    }


    .jackMenuItem {
        margin: 10px 0;
    }

    .jackBannerTitle {
        font-size: 2.2rem;
    }

    .jackFooterBottom {
        flex-direction: column;
        text-align: center;
    }

    .jackFooterLegal {
        justify-content: center;
        margin-top: 15px;
    }
    .jackBanner img{
        display: none;
    }
}


.jackLegal{
    padding: 60px 0;
}

.jackLegal a{
    color: #fff;
}

.jackLegal h2, .jackLegal h3{
    margin: 20px 0 16px 0;
}

.jackLegal ul{
    padding-left: 20px;
    margin: 20px 0;
}














@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.jackShape {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
}

.jackShapeOne {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: float 5s ease-in-out infinite;
}

.jackShapeTwo {
    top: 20%;
    right: 5%;
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 7s ease-in-out infinite;
}

.jackShapeThree {
    bottom: 20%;
    left: 7%;
    width: 120px;
    height: 120px;
    background-color: #ffcb37;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}


.jackContact {
    padding: 40px 0;
    margin-bottom: 40px;
}

.jackContactContainer {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.jackContactForm {
    background: #0a0820;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.jackFormGroup {
    position: relative;
    margin-bottom: 25px;
}

.jackFormGroup input,
.jackFormGroup textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: transparent;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    color: #fff;
}

.jackFormGroup label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
}

.jackFormGroup input:focus,
.jackFormGroup textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(249, 77, 65, 0.2);
}

.jackFormGroup input:focus + label,
.jackFormGroup textarea:focus + label,
.jackFormGroup input:valid + label,
.jackFormGroup textarea:valid + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background-color: white;
    padding: 0 5px;
    color: var(--primary-color);
}

.jackFormButton {
    width: 100%;
    font-size: 16px;
    padding: 15px;
}

.jackContactSuccess {
    text-align: center;
    display: none;
}

.jackContactSuccess.active {
   display: block;
}

.jackContactSuccess .material-icons {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.jackContactSuccess h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.jackContactSuccess p {
    color: #fff;
}

@media(max-width: 480px){
    .jackGameImage{
        height: 300px;
    }
    .jackAbout h2, .jackSectionTitle{
        font-size: 26px;
    }
}