html, body {
    height: 100vw;
    min-height: 100%;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: hidden;
}


@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Orbitron:wght@400;700&display=swap');

:root {
    --main-white: #fff;
    --main-border: rgba(255,255,255,0.8);
    --main-bg: #222;
    --orange: #C95527;
}

/* ------- MAIN NAVIGATION: DESKTOP ------- */
.main-nav {
    width: 100%;
    border: 1px solid var(--main-border);
    background: transparent;
    position: relative;
    z-index: 10;
    margin: 0 auto;
}
.nav-grid {
    display: grid;
    grid-template-columns: 140px 1fr 1fr 1fr 2fr 1fr 1fr;
    align-items: stretch;
    height: 60px;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
}
.nav-grid > li {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--main-border);
    border-left: 1px solid var(--main-border);
    height: 100%;
    min-width: 0;
    background: transparent;
}
.nav-grid > li:first-child {
    border-left: none;
}
.nav-grid > li:last-child {
    border-right: none;
}
.nav-grid .nav-gap {
    border: none;
    background: transparent;
    pointer-events: none;
}
.nav-grid a {
    color: #fff;
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s;
    width: 100%;
    text-align: center;
    line-height: 1;
    padding: 0 4px;
}
.nav-grid a.buy-now {
    color: var(--orange);
    font-weight: bold;
}
.nav-grid a:hover {
    color: var(--orange);
}

/* ------- MOBILE NAVIGATION ------- */
.mobile-nav-wrap {
    display: none;
}
.burger {
    display: none;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 16px 20px 0 auto;
    z-index: 200;
}
.burger span {
    display: block;
    height: 3px;
    width: 26px;
    background: var(--main-white);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
.mobile-nav {
    display: none;
    position: absolute;
    top: 60px;
    /* right: 12px; */
    width: 100%;
    background: rgba(34,34,34,0.98);
    border: 1px solid var(--main-border);
    border-radius: 10px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.18);
    z-index: 210;
    padding: 14px 0;
    transition: all 0.3s;
}
.mobile-nav.open {
    display: block;
}
.mobile-nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mobile-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a {
    display: block;
    width: 100%;
    color: #fff;
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 1.12rem;
    text-decoration: none;
    padding: 14px 28px;
    transition: background 0.18s, color 0.18s;
}
.mobile-nav a.buy-now { color: var(--orange); font-weight: bold;}
.mobile-nav a:hover { color: var(--orange); background: #282828;}
.icon-img {
    width: 40px;
    height: auto;
    fill: #fff; /* початковий колір */
    transition: fill 0.3s ease; /* плавна зміна кольору */
  }
  
  .icon-img:hover {
    fill: #C95527;
  }
/* ------- АДАПТИВ ------- */

@media (max-width: 950px) {
    .nav-grid { grid-template-columns: 100px 1fr 1fr 1fr 1fr 1fr 1fr; }
}
@media (max-width: 700px) {
    .main-nav { display: none; }
    .mobile-nav-wrap { display: block; position: relative; z-index: 22;}
    .burger { display: flex;  }
}

/* ------- Далі твій hero, footer і т.д. ------- */

/* 🎥 Відео як фон */
#background-video {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Під усім контентом */
  }
/* body {
    min-height: 100vh;
    background: var(--main-bg) no-repeat center center/cover;
    color: var(--main-white);
    font-family: 'Orbitron', Arial, sans-serif;
    position: relative;
    margin: 0;
    overflow-x: hidden;
} */
/* HERO, .tv-image, .hero-footer — залишаєш як було */
/* .hero {
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    background: url('./img/Rectangle\ 21.webp') center center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding-top: 60px;
    margin-top: -62px;
} */
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background: none; /* Прибираємо старий фон! */
    color: #fff;
    font-family: 'Orbitron', Arial, sans-serif;
    margin: 0;
    position: relative;
  }
  .hero {
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding-top: 60px;
    margin-top: -62px;
    /* background: url('./img/Rectangle 21.webp') center center/cover no-repeat; ❌ Прибери! */
  }
  
.hero-inner {
    width: 100%;
    height: 100%;
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.hero-content {
    /* margin-top: 60px; */
    width: 100%;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    z-index: 2;
}
.our_tems{
font-size: 22px;
text-decoration: none;
color: #fff;
font-weight: 600;
transition: color 0.3s ease; /* Додаємо плавний перехід для зміни кольору */
}
.our_tems:hover{
    color: #C95527;
}
.hero-content h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 27px;
    color: var(--main-white);
    line-height: 1.15;
    text-shadow: 2px 2px 4px #000;
    border-bottom: 1px solid var(--main-border);
    display: inline-block;
    padding: 16px 10px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    /* background: rgba(0,0,0,0.2); */
    /* width: 90vw; */
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    text-align: center;
    transform: scaleY(2.5);
    /* margin-top: 50px; */
}
.subtitle {
    font-family: Orbitron;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.3;
    text-align: center;    
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    margin-bottom: 16px;
    text-align: center;
    width: 100%;
    z-index: 3;
    margin-top: 55px;
    position: relative;
}
/* .tv-image {
    position: absolute;
    left: 50%;
    top: 73%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 300px;
    height: 300px;
    display: flex
;
    align-items: center;
    justify-content: center;
} */
.tv-image::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url('./img/vintage-retro-television-set-classic-1970s-design\ 1.png') center center/cover no-repeat;
}
.tv-image {
    position: absolute;
    left: 50%;
    top: 67%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 300px;
    height: 300px;
    max-width: 90vw;
    max-height: 90vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 0;
    cursor: pointer;
}

.tv-image dotlottie-player {
    width: 100% !important;
    height: 100% !important;
    /* max-width: 300px;
    max-height: 300px; */
    margin: 0 auto;
    display: block;
    background: transparent !important;
}

@media (max-width: 500px){
    .tv-image {
        width: 180px;
        height: 180px;
    }
    .tv-image dotlottie-player {
        /* max-width: 180px;
        max-height: 180px; */
    }
}

.hero-footer {
    position: absolute;
    left: 0; right: 0;
    bottom: 66px;
    display: flex;
    justify-content: space-between;
    /* width: 100%; */
    max-width:100%;
    margin: 0 auto;
    padding: 0 40px;
    color: #eee;
    font-size: 1rem;
    z-index: 4;
}
.copyright { font-size: 1rem; opacity: 0.8; }
.contract { text-align: -webkit-right; }
.copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    background: transparent;
    color: #fff;
    border: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.18);
    cursor: pointer;
    font-size: 1.05rem;
    padding: 6px 0 4px 0;
    outline: none;
    transition: border-color 0.18s, color 0.18s;
    box-shadow: none;
    text-decoration: none;
    min-width: 0;
    border-bottom: 1.5px solid #fff;
    justify-content: flex-end; 
}

.copy-btn:hover, .copy-btn:focus {
    border-bottom: 1.5px solid #fff;
    color: #C95527;
}

.copy-btn .copy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 3px;
}
.copy-btn svg {
    display: block;
}

@media (max-width: 1265px)  {
.hero-content h1 {
    font-size: 22px;
}
}
@media (max-width: 1043px) {
    .hero-content h1 {
        font-size: 18px;
} 
}
@media (max-width: 928px) {
    .hero-content h1 {
        font-size: 16px;
} 
.subtitle {
    font-size: 20px;
 
}
.nav-grid a {

    font-size: 13px;

}
}
@media (max-width: 815px) {
    .hero-content h1 {
        font-size: 13px;
        
} 
.subtitle {
    font-size: 18px;
    margin-top: 20px;
}
}
@media (max-width: 756px) {
    .hero-footer {
        position: static; /* Щоб футер не перекривав контент */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 24px 8px 16px 8px;
        font-size: 0.97rem;
        max-width: 100vw;
        background: rgba(0,0,0,0.18); /* за бажанням, можна прибрати */
        border-top: 1px solid rgba(255,255,255,0.12);
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        text-align: center;
        padding: 24px 8px 77px 8px;
    }
    .tv-image {
        width: 250px;
        height: 250px;
    }
    .copyright,
    .contract {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    .contract {
        margin-top: 0;
        display: flex
        ;
                align-items: center;
                flex-direction: column;
    }
    .subtitle {
        font-size: 14px;
        margin-top: 20px;
    }
}
@media (max-width: 673px) {
    .hero-content h1 {
        font-size: 12px;
} 
}
@media (max-width: 616px) {
    .hero-content h1 {
        font-size: 9px;
} 
}
@media (max-width: 480px){
    .hero-content h1 {
        font-size: 6px;
        margin-top: 20px;
    }
    .tv-image {
        width: 200px;
        height: 200px;
    }
    .subtitle {
        font-size: 12px;
        margin-top: 20px;
    }
}



/* -----modal------- */
/* СТИЛІ ДЛЯ МОДАЛЬНОГО ВІКНА */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .modal.open {
    display: flex;
  }
  
  .modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }
  
  .close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 36px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: none;
    border: none;
  }

  /* ----------new-style-------- */
    
  .social-icons {
    position: absolute;
    top: 300px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 999;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    transition: all 0.3s ease;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Іконки соціальних мереж */
.social-icon.twitter {
    background-image: url('./img/twitter.png');
}

.social-icon.telegram {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/82/Telegram_logo.svg');
}

.social-icon.dexscreener {
    /* background-image: url('./img/logo_telegram_airplane_air_plane_paper_airplane_icon_143169.png');  */
}

.social-icon.tiktok {
    background-image: url('./img/tik-tok_3046126\ \(1\).png');
}

.social-icon.instagram {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png');
}

.social-icon:hover {
    filter: brightness(1.2); /* Світлішання при ховері */
}


.video-left {
    position: absolute;
    top: 270px;
    left: 100px;
    width: 35%;
    height: 100%;
    z-index: -1; /* Щоб відео або GIF було на фоні */
}

.background-gif {
    width: 50%;
    height: 50%;
    object-fit: cover; /* Дозволяє GIF зайняти весь простір */
}
.video-right {
    position: absolute;
    top: 270px;
    right: -200px;
    width: 35%;
    height: 100%;
    z-index: -1; /* Щоб відео або GIF було на фоні */
}

.background-gif-right {
    width: 50%;
    height: 50%;
    object-fit: cover; /* Дозволяє GIF зайняти весь простір */
}

@media (max-width: 1100px) {
    .video-right {

        right: -150px;
      
    }
}
@media (max-width: 920px){
    .video-left {
        position: absolute;
        width: 35%;
        height: 80%;
    }
    .video-right {
        width: 35%;
        height: 80%;
        right: -100px;

    }
}
@media (max-width: 700px){
    .video-left {
     display: none;
    }
    .video-right {
        display: none;

    }
}