:root {
    --font-primary: 'Montserrat',sans-serif;
    --color-gold: #ffcc00;
    --color-gold-hover: #ffaa00;
    --color-bg-dark: rgba(18,14,30,0.95);
    --color-text-light: #ffffff;
    --color-text-muted: #cccccc;
}

body,html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    color: var(--color-text-light);
    background: url('../uploads/energetika/theme-1-1.webp') no-repeat center top fixed;
    background-size: cover;
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.main-wrapper {
    width: 100%;
    min-height: 100vh;
    padding: 40px 0;
    box-sizing: border-box;
    background-color: rgba(0,0,0,0.35);
}

.layout-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    /* gap: 24px; */
    padding: 0 20px;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
}

.column-left {
    width: 25%;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    max-width: 240px;
}

.column-right {
    width: 25%;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    max-width: 240px;
}

.column-left img,.column-right img,.right-promo-slider {
    width: 100% !important;
    height: auto !important;
}

.column-center {
    /* flex-grow:1; */
    /* width: 50%; */
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin: 0 70px;
}

.sticky-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sticky-banner-link img {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    transition: transform 0.3s ease,filter 0.3s ease;
    border: 1px solid #fede5e;
}

.sticky-banner-link img:hover {
    transform: translateY(-4px);
    filter: brightness(1.05);
}

.social-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 56px;
    background: url('../uploads/energetika/social-facebook.png') no-repeat center;
    background-size: 100% 100%;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    transition: transform 0.2s ease,filter 0.2s ease;
    text-decoration: none;
}

.social-btn span {
    margin-left: 36px;
}

.social-btn:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.mobile-header {
    display: none;
}

.center-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin-bottom: 24px;
}

.main-logo {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
    max-height: 110px;
    max-width: max-content;
}

.main-logo:hover {
    transform: scale(1.03);
}

.cta-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 50px 0 70px;
overflow: hidden;
}
.cta-container picture{
    position : relative ;
}
.cta-container picture:before{
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    position: absolute;
    width: 999px;
    height: 999px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: conic-gradient(from 0deg, rgba(0, 0, 0, 0), #ffdf74 15%, #ffc400 75%, rgba(0, 0, 0, 0) 100%);
    animation: border-rotate 2s linear infinite;
}
.cta-container picture:after{
    content: "";
    position: absolute;
    z-index: -1;
    left: 4px;
    top: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    background: #000;
    border-radius: 50px;
}

@keyframes border-rotate {
   100% {
        transform: translate(-50%, -50%) rotate(1turn);
   }
}



.cta-img {
    transition: transform 0.2s cubic-bezier(0.175,0.885,0.32,1.275),filter 0.2s ease;
    filter: drop-shadow(0 8px 16px rgba(255,204,0,0.35));
}

.cta-img:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 12px 24px rgba(255,204,0,0.55)) brightness(1.05);
}

.games-showcase {
    width: 100%;
    margin-bottom: 30px;
}

.games-grid-desktop {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    width: 100%;
}

.game-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    transition: transform 0.3s cubic-bezier(0.25,0.8,0.25,1),filter 0.3s ease,box-shadow 0.3s ease;
}

.game-card img:hover {
    transform: scale(1.05) translateY(-4px);
    filter: brightness(1.1) contrast(1.05);
    box-shadow: 0 16px 28px rgba(0,0,0,0.6);
}

.mobile-game-slider {
    display: none;
}

.right-promo-slider img {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    border: 1px solid #fede5e;
}

.phone-contact-widget {
    display: flex;
    justify-content: center;
    width: 100%;
}

.phone-link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 56px;
    background: url('../uploads/energetika/social-phone.png') no-repeat center;
    background-size: 100% 100%;
    transition: transform 0.2s ease,filter 0.2s ease;
    text-decoration: none;
}

.phone-link-card:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.phone-number {
    color: var(--color-gold);
    font-weight: 800;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    margin-left: 36px;
}

.seo-article-content {
    width: 100%;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.seo-article-content h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-gold);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
    text-transform: uppercase;
}

.seo-article-content h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-gold);
    margin-top: 35px;
    margin-bottom: 15px;
    border-left: 4px solid var(--color-gold);
    padding-left: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.seo-article-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffb700;
    margin-top: 25px;
    margin-bottom: 12px;
}

.seo-article-content p {
    margin-bottom: 18px;
    text-align: justify;
}

.seo-article-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.seo-article-content li {
    margin-bottom: 8px;
}

.seo-article-content strong {
    color: #fff;
}

.faq-container {
    width: 100%;
    margin: 30px 0;
    box-sizing: border-box;
    background: var(--color-bg-dark) url('../uploads/energetika/faq-box.png') no-repeat center;
    background-size: 100% 100%;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 0 25px 15px;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.7);
}

.faq-box-wrapper {
    height: 400px;
    margin-right: -10px;
    padding-right: 10px;
    overflow: auto;
}
/* Scrollbar track */
.faq-box-wrapper::-webkit-scrollbar {
    width: 10px;
}

.faq-box-wrapper::-webkit-scrollbar-track {
    background: #494949;
    border-radius: 12px;
    border: 1px solid;
    border-image-source: linear-gradient(180deg, #8a6d5e 0%, #ba9786 22%, #fcd3bf 55.5%, #8a6d5e 75.5%, #80604f 100%);
    border-image-slice: 1;
}

.faq-box-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f8db24 0%, #f6ae10 100%);
    border-radius: 12px;
}

.faq-box-wrapper::-webkit-scrollbar-thumb:hover {
    opacity: 0.8;
}

.faq-box-wrapper::-webkit-scrollbar-corner {
    background: #494949;
}
.faq-container .faq-title{
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
    background: var(--gradient-1, linear-gradient(97deg, #fede5e -1.19%, #ffcc68 60.53%, #fdf8be 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    padding: 18px 0;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    /* padding: 14px 0; */
    /* background: #1f1f1f; */
    margin-bottom: 6px;
}

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

.faq-question {
    background: #1f1f1f;
    border: none;
    color: #fff;
    width: 100%;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    transition: color 0.2s ease;
}

.faq-question::after {
    content: '+';
    font-size: 22px;
    color: var(--color-gold);
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

.faq-item.active .faq-question {
    color: var(--color-gold);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0,1,0,1);
    color: var(--color-text-muted);
    font-size: 14.5px;
    line-height: 1.6;

}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in-out;
    padding: 10px;
}

.faq-answer p {
    margin: 10px 0 5px 0;
    text-align: justify;
}

.footer {
    background-color: rgba(10,8,18,0.95);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 0;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: column;
    align-items: center;
}
.footer-contact{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px !important;
    padding: 17px 0;
    border-top: 1px solid #4b2902;
    border-bottom: 1px solid #4b2902;
}
.footer-contact p{
    margin: 0;
}
.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.badge-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gold);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.support-detail {
    margin: 4px 0;
    font-size: 14px;
    color: var(--color-text-muted);
}
.support-detail a{
    font-size: 14px;
    font-weight: 700;
    background: var(--gradient-1, linear-gradient(97deg, #fede5e -1.19%, #ffcc68 60.53%, #fdf8be 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.support-email{
    margin-left: 10px;
}

.support-link {
    color: #fff;
    font-weight: 600;
    transition: color 0.2s ease;
}

.support-link:hover {
    color: var(--color-gold);
}

.dmca-badge {
    filter: grayscale(30%) brightness(0.9);
    transition: filter 0.3s ease;
}

.dmca-badge:hover {
    filter: none;
}

.footer-copyright-box {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
}

.copyright-desc {
    font-size: 13.5px;
    color: var(--color-text-muted);
    margin: 0 0 6px 0;
}

.copyright-desc-sub {
    font-size: 12px;
    color: #777777;
    margin: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 1024px) {
    body {
        background:url('../uploads/energetika/theme-1-1-mobile.webp') no-repeat center top;
        background-size: cover;
    }

    .layout-container {
        padding: 0 10px;
    }

    .column-left,.column-right {
        display: none !important;
    }

    .column-center {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        /*background: rgba(18,14,30,0.9);*/
        border: 1px solid rgba(255,255,255,0.05);
        padding: 10px 16px;
        border-radius: 12px;
        box-sizing: border-box;
        margin-bottom: 24px;
        box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    }

    .mobile-actions {
        display: flex;
        gap: 16px;
    }

    .mobile-act-btn img {
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
        transition: transform 0.2s ease;
    }

    .mobile-act-btn img:hover {
        transform: scale(1.1);
    }

    .desktop-logo-link {
        display: none !important;
    }

    .center-header {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        padding:20px 0;
    }

    .cta-img {
        width: 290px;
        height: auto;
    }

    .games-grid-desktop {
        display: none !important;
    }

    .mobile-game-slider {
        display: block !important;
        width: 100%;
        padding: 10px 0 30px 0;
    }

    .mobile-game-slider .swiper-slide {
        display: flex;
        justify-content: center;
        /*! opacity: 0.4; */
        transition: opacity 0.3s ease,transform 0.3s ease;
        transform: scale(0.9);
    }

    .mobile-game-slider .swiper-slide-active {
        opacity: 1;
        transform: scale(1.0);
    }

    .mobile-game-slider img {
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.7);
        width: 100%;
        height: 175px;
    }

    .swiper-pagination-bullet {
        background: rgba(255,255,255,0.4) !important;
    }

    .swiper-pagination-bullet-active {
        background: var(--color-gold) !important;
        width: 16px !important;
        border-radius: 4px !important;
    }

    .seo-article-content h1 {
        font-size: 20px;
    }

    .seo-article-content h2 {
        font-size: 17px;
    }
    .center-header .desktop-logo-link{
        display: block !important;
    }
    .center-header .desktop-logo-link img{
        max-height: fit-content;
        max-width: 150px;
    }

    .cta-container{
        margin: 0;
    }

    .faq-box-wrapper {
        padding: 0;
        background-size: cover;
    }

    .faq-question {
        font-size: 14.5px;
    }

    .footer-badges {
        gap: 30px;
    }
}
@media (max-width: 767px) {
    
    .cta-container{
        position: relative;
        overflow: hidden;
    }
}