/* 2D Game Development page styles */

.game-dev-services-section .interactive-banners-box {
    background-color: #000;
    isolation: isolate;
    border: 0;
    outline: none;
    box-shadow: none;
    border-radius: 20px;
    overflow: hidden;
    /* Kill light subpixel AA fringe on rounded corners vs black page */
    -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
    mask-image: radial-gradient(#fff, #000);
}

.game-dev-services-section .interactive-banners-box-image {
    border-radius: 20px;
    overflow: hidden;
    background-color: #000;
}

.game-dev-services-section .interactive-banners-box-image img {
    display: block;
    width: 104%;
    max-width: none;
    margin-left: -2%;
    object-fit: cover;
    border-radius: inherit;
}

.game-dev-services-section .interactive-banners-box .overlay-bg {
    border-radius: inherit;
    /* Push bottom edge (incl. corners) to solid black so light art can't fringe */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 35%,
        rgba(0, 0, 0, 0.65) 70%,
        #000 100%
    ) !important;
}

.game-dev-services-section .interactive-banners-box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    z-index: 3;
    box-shadow: inset 0 0 0 2px #000;
}

.game-dev-soul-section {
    padding: 0 0 90px;
}

.game-dev-soul-visual {
    position: relative;
    max-width: 460px;
    margin: 0;
}

.game-dev-soul-image {
    width: 100%;
    height: auto;
    display: block;
}

.game-dev-soul-content p:last-child {
    margin-bottom: 0;
}

.game-development-page team-expertise-section {
    display: block;
}

.game-development-page .team-expertise-section {
    padding-top: 125px;
    padding-bottom: 125px;
    background-color: #0a0a0a;
}

/* Team tabs section */
.game-dev-team-tabs-section {
    padding: 125px 0;
    background-color: #000;
}

.game-dev-process-section {
    background-color: #0a0a0a !important;
}

.game-dev-team-tabs-header {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: start;
    margin-bottom: 70px;
}

.game-dev-team-tabs-header h2 {
    margin: 0;
    max-width: 560px;
}

.game-dev-team-tabs-intro {
    max-width: 420px;
    justify-self: end;
}

.game-dev-team-tabs-intro p {
    margin-bottom: 25px;
    line-height: 1.7;
}

.game-dev-team-tabs-intro .btn-link {
    font-size: 15px;
    margin-top: 25px;
}

.game-dev-team-tabs-panel {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 0;
    border: 0.5px solid #161616;
    /* border-radius: 16px; */
    overflow: hidden;
    background: #000;
}

.game-dev-team-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px;
    background: #0A0A0A;
    border-right: 0.5px solid #161616;
}

.game-dev-team-tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    font-family: inherit;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    padding: 8px 22px 8px 18px;
    border-radius: 0;
    width: 100%;
    cursor: pointer;
    position: relative;
    transform: translateX(0);
    transition: transform 0.3s ease, color 0.3s ease, font-weight 0.3s ease;
}

.game-dev-team-tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2ed06e;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.game-dev-team-tab:hover,
.game-dev-team-tab.is-active {
    background: transparent;
    color: #fff;
    font-weight: 700;
    transform: translateX(12px);
}

.game-dev-team-tab:hover::before,
.game-dev-team-tab.is-active::before {
    opacity: 1;
}

.game-dev-team-tabs-content {
    padding: 40px;
    min-height: 420px;
    display: flex;
    align-items: flex-start;
    background: #000;
}

.game-dev-team-tab-panel {
    display: none;
    width: 100%;
}

.game-dev-team-tab-panel.is-active {
    display: block;
}

.game-dev-team-tab-panel h3 {
    font-size: 36px;
    font-weight: 700 !important;
    line-height: 40px;
    margin: 0 0 25px;
    max-width: 680px;
}

.game-dev-team-tab-panel p {
    margin: 0 0 25px;
    max-width: 620px;
    font-size: 20px;
    font-weight: 400 !important;
    line-height: 32px;
    color: #fff;
}

.game-dev-team-tab-panel .game-dev-team-tabs-cta {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    background: #2ed06e;
    color: #000 !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
    transition: opacity 0.2s ease;
}

.game-dev-team-tab-panel .game-dev-team-tabs-cta:hover {
    opacity: 0.92;
    color: #000 !important;
}

.game-development-page .success-stories-section .success-stories-popup-link {
    font-size: 17.5px;
}

@media (max-width: 991px) {
    .game-development-page .success-stories-section .success-stories-primary-cta {
        grid-column: 1 !important;
        grid-row: 4 !important;
        justify-self: start;
        align-self: start;
        font-size: 12px;
        padding: 8px 14px;
        line-height: 1.2;
    }

    .game-development-page .success-stories-section .success-stories-link {
        font-size: 13.75px;
        font-weight: 800 !important;
        line-height: 1.4;
        text-underline-offset: 6px;
    }

    .game-dev-process-section .game-dev-process-sticky p {
        margin-bottom: 16px;
    }

    .game-dev-process-section .game-dev-process-sticky .btn-link {
        display: inline-block;
        margin-bottom: 24px;
    }

    .game-dev-soul-section {
        padding-bottom: 70px;
    }

    .game-dev-soul-visual {
        margin-bottom: 40px;
    }

    .game-development-page .team-expertise-section {
        padding-top: 125px;
        padding-bottom: 125px;
    }

    .game-dev-team-tabs-section {
        padding: 90px 0;
    }

    .game-dev-team-tabs-header {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 36px;
    }

    .game-dev-team-tabs-intro {
        justify-self: start;
    }

    .game-dev-team-tabs-panel {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .game-dev-team-tabs-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        border-right: 0;
        border-bottom: 0.5px solid #161616;
        padding: 16px 20px;
        background: #0A0A0A;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .game-dev-team-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .game-dev-team-tab {
        width: auto;
        flex-shrink: 0;
        white-space: nowrap;
        text-align: center;
        padding: 10px 18px;
    }

    .game-dev-team-tabs-content {
        padding: 28px 24px;
        min-height: 0;
        background: #000;
    }

    .game-dev-team-tab-panel h3 {
        font-size: 22px;
        line-height: 32px;
    }

    .game-dev-team-tab-panel p {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 25px;
    }
}

@media (max-width: 767px) {
    .game-dev-team-tabs-section {
        padding: 70px 0;
    }

    .game-dev-team-tab {
        font-size: 18px;
        padding: 12px 16px;
    }

    .game-dev-team-tab-panel h3 {
        line-height: 28px;
    }
}

/* Estimate project section */
.game-dev-estimate-section {
    position: relative;
    padding: 0;
    background-color: #000;
    overflow: hidden;
}

.game-dev-estimate-bg {
    display: block;
    width: 100%;
    height: auto;
}

.game-dev-estimate-section .container {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.game-dev-estimate-section--plain {
    padding: 125px 0;
    overflow: visible !important;
    background-color: #000;
    background-image:
        radial-gradient(circle at 104% 50%, rgba(14, 48, 30, 0.55) 0%, rgba(10, 30, 20, 0.25) 18%, transparent 42%);
}

.game-dev-estimate-section--plain .container {
    position: relative;
    inset: auto;
    display: block;
    align-items: unset;
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible;
}

.game-dev-estimate-row {
    width: 100%;
    align-items: stretch !important;
    overflow: visible;
}

.game-dev-estimate-section--plain .game-dev-estimate-sticky {
    position: sticky !important;
    top: 70px;
    z-index: 2;
    padding-right: 40px;
}

.game-dev-estimate-section--plain .game-dev-estimate-sticky p {
    margin: 0 0 32px;
    max-width: 460px;
}

.game-dev-estimate-cta {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    background: #2ed06e;
    color: #000 !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.game-dev-estimate-cta:hover {
    opacity: 0.92;
    color: #000 !important;
}

.game-dev-estimate-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.game-dev-estimate-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 30px;
    border: 1px solid #222222;
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.72);
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
}

.game-dev-estimate-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2ed06e;
    flex-shrink: 0;
}

.game-dev-estimate-section--plain .game-dev-estimate-list li {
    background:
        linear-gradient(to top right, rgba(46, 208, 110, 0.06) 0%, transparent 45%),
        #161616;
}

.game-dev-faq-section .accordion-style-02 .panel .panel-body {
    padding-top: 15px;
}

@media (max-width: 991px) {
    .game-dev-estimate-section--plain .game-dev-estimate-sticky {
        position: relative !important;
        top: auto;
        padding-right: 0;
        margin-bottom: 36px;
    }
}

@media (max-width: 767px) {
    .game-dev-estimate-section--plain .game-dev-estimate-sticky p {
        margin-bottom: 24px;
    }

    .game-dev-estimate-list li {
        font-size: 14px;
        padding: 18px 30px;
    }
}

