@font-face {
    font-family: 'Minecraft';
    src: url('Minecraft.ttf') format('truetype');
}

header {
    position: relative;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.header-img {
    background: url('img/header.webp') no-repeat center/cover;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 2;
}


.header-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(20, 20, 20, 1), transparent);
    pointer-events: none;
}

.menutext {
	font-weight: 800;
	font-family: "Minecraft";
    padding: 10px 10px;
	border-radius: 50px;
	position: absolute;
	top: 5px; /* замість margin-top */
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 20px;
	font-size: 25px;
	list-style: none;
	justify-content: center;
	z-index: 10;
}
  
.menutext li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menutext a {
    position: relative;
    text-decoration: none;
    color: white;
    padding: 0 15px;
    box-sizing: border-box;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.menutext a:hover {
    color: #ffd900e0;
    text-shadow: 2px 0px 10px #ffa600;
    margin-right: 0vh;
}
/* Кнопка меню */
.mobile-menu-button {
    display: none; /* Приховуємо на десктопі */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    padding: 10px;

}

.hamburger {
    width: 30px;
    height: 25px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

/* Анімація кнопки при відкритті */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* Мобільне меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.98);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    padding: 80px 20px 20px;
    height: 100%;
}

.mobile-menutext {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menutext li {
    margin: 20px 0;
    text-align: center;
}

.mobile-menutext a {
    font-family: "Minecraft", sans-serif;
    font-weight: 600;
    color: white;
    text-decoration: none;
    font-size: 40px;
    display: block;
    padding: 15px;
    transition: color 0.3s ease;
}

.mobile-menutext a:hover {
    color: #ffd900e0;
}

/* Медіа-запит для мобільних пристроїв */
@media (max-width: 768px) {
    .container-text {
        display: none; /* Приховуємо десктопне меню */
    }

    .mobile-menu-button {
        display: block; /* Показуємо кнопку меню */
    }

    .mobile-menu {
        display: block;
    }
}

@media (max-width: 480px) {
    .mobile-menu-button {
        top: 15px; /* Трохи зменшено відступ зверху */
    }
}

/*-------------------------------*/

header .img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 50%;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.02);
    }
}
/* ----------------------------- */
.buttons-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    z-index: 2;
    font-weight: 600;
    margin-bottom: 20px;
    align-items: center;
    white-space: nowrap;
    min-width: max-content;

}


.custom-button:first-child {
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to top left, #FFD139 0%, #FFBD3A 50%, #FF9900 100%);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-size: 25px;
    min-width: 200px;
    text-shadow:0 1px 2px rgba(0, 0, 0, 0.3);
}

.custom-button:last-child {
    padding: 15px 40px;
    border: 4px solid white;
    border-radius: 8px;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-size: 25px;
    min-width: 200px;
}

.custom-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.custom-button:active {
    transform: translateY(0);
}

.custom-button i {
    font-size: 1.3em;
}

.custom-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none; /* Прибираємо підкреслення посилання */
    color: white; /* Колір тексту залишається білим */
    min-width: 160px;
    max-width: 300px;
    text-align: center;

}

@media (max-width: 900px) {
    .buttons-container {
        flex-direction: column;
        width: 100%;
    }

    .custom-button {
        width: 100%;
        margin: 5px 0;
    }
}

@media (max-width: 640px) {
    .buttons-container {
        gap: 10px;
    }

    .custom-button {
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* ----------------------------- */
body, html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
	font-family: "Ubuntu Sans", sans-serif;
    position: relative;
    margin: auto;
    background: rgb(20, 20, 20);
	background-size: 10000% 10000%;
    animation: gradient 15s ease infinite;
    height: 100vh;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


body d {
	font-family: "Ubuntu Sans", sans-serif;
	font-weight: 800;
	background: #FF9306;
    background: linear-gradient(to top left, #FF9306 0%, #CF6800 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;

}
body b {
	font-family: "Ubuntu Sans", sans-serif;
    background: #F7FF18;
    background: linear-gradient(to top left, #FFD139 0%, #FFBD3A 50%, #FF9900 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 800;
}

body h2 {
	color: white;
	font-size: 35px;
    font-family: "Ubuntu Sans", sans-serif;
}

body h3 {
	font-size: 40px;
    font-family: "Ubuntu Sans", sans-serif;
}

body p {
	color: rgb(200, 200, 200);
    font-size: 23px;
}

body .box {
    margin: 10vh 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    background: rgb(35, 35, 35);
    border-radius: 50px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    padding: 30px;
}

body .boximage {
    display: flex;
    align-items: center;
    justify-content: center;
}

body .boximage img {
    max-height: 500px; /* фіксований розмір */
    max-width: 120%;
    height: auto;
}


.boxtext {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}



/* Додаткові оптимізації для дуже маленьких екранів */
@media (max-width: 768px) {
    body .box {
        flex-direction: column-reverse;

        margin: 3vh 10px;
        padding: 15px;
    }

    body .boximage img {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .boxtext {
        padding: 5px;
    }
}

/* Додаткові оптимізації для дуже маленьких екранів */
@media (max-width: 480px) {
    body .box {
        margin: 3vh 10px;
        padding: 15px;
    }

    .boxtext {
        padding: 5px;
    }
}




.box3 {
    margin-top: 10vh;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgb(35, 35, 35);
    border-radius: 50px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 20px auto;
    max-width: 70vw;
}

.box3 > h2 {
    margin-top: 20px;
    text-align: center;
    margin-bottom: 50px;
}

.rules-container {
    display: flex;
    gap: 40px;
    justify-content: left;
    padding-bottom: 40px;
}

.rules-column {
    flex: 1;
    min-width: 0;
    text-align: left;
    background: rgb(45, 45, 45);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2);
}

.rules-column h2 {
    text-align: center;
    margin-bottom: 20px;
}

.rules-column p {
    margin: 20px 10px 20px 30px;
}

@media (max-width: 768px) {
    .rules-container {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
}
/* ----------------------------- */
.support-box {
    background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
    padding: 20px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.support-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.feature {
    text-align: left;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.2s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2em;
    color: #FFD139;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.5em;
    margin: 10px 0;
    color: white;
}

.feature p {
    font-size: 1.3em;
    color: #cccccc;
    line-height: 1.6;
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
    .support-features {
        grid-template-columns: 1fr;
    }

    .support-box {
        padding: 20px;
    }

    .feature {
        text-align: center;
    }
}
/* ----------------------------- */

body .line {
  background-color: rgb(10,10,10);
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10vw; /* змінюй як хочеш */
  padding: 40px 0;
  margin: auto;
  justify-content: center;
}

body .line .boxline {
  height: auto;
  background: rgb(35, 35, 35);
  text-align: center;
  width: 350px;
  border-radius: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

body .line .boxline:hover {
  transform: translateY(-5px); /* трохи піднімає блок вгору */
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2); /* додає світлу тінь */
}

body .line .boxline img {
    max-width: 350px;
    margin-top: -30px;
    margin-bottom: 20px;
}

body .line .boxline p, h2 {
    margin: 10px 10px 10px 10px;
}

body .line .boxline .svg-bottom {
    width: 100px; 
    margin-top: 50px;
	filter: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(1058%) hue-rotate(4deg) brightness(107%) contrast(98%);
}

body .leaderboard {
	margin: 30px 0 0 0;
	min-width: 100vw;
}

body .lb {
	
}

body .box2 {
    background: rgb(35, 35, 35);
    margin: 5vh auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    max-width: 70vw;
}

.box2 .lbheader {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 70vw;
}

.box2 .lbheader h2 {
    margin-top: 20px;
    color: white;
    font-size: 35px;
    font-family: "Ubuntu Sans", sans-serif;
    text-align: center;
}

.box2 .lbheader p {
    margin-top: 30px;
    text-align: left;
    padding-left: 6vw;
}


     .slider-container {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 40px 0;
      position: relative;
    }

    .slider-wrapper {
      position: relative;
    }

    .slider {
      width: 60vw;
      height: 600px;
      overflow: hidden;
      border-radius: 20px;
      position: relative;
    }

    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
      border-radius: 20px;
    }

    .slide.active {
      opacity: 1;
    }

    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      z-index: 2;
      border: 2px solid #ffffff;
      background-color: transparent;
      transition: transform 0.1s ease, opacity 0.1s ease;
    }

    .arrow:active {
      transform: translateY(-50%) scale(0.9);
      opacity: 0.7;
    }

    .arrow.left {
      left: -70px;
    }

    .arrow.right {
      right: -70px;
    }

    .arrow svg {
      width: 20px;
      height: 20px;
      fill: #ffffff;
    }
/* --------------- */
.cards_bg {
	padding: 40px 0 40px 0;
	background: rgb(10, 10, 10);
}
 .unique-carousel-wrapper {
    position: relative;
    width: 80vw;
    max-width: 1400px;
    margin: auto;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 12px;
	
  }


  .unique-carousel-view {
    overflow: hidden;
    flex: 1;
  }

  .unique-carousel-track {
    display: flex;
    gap: 40px; /* Відступ між карточками */
    transition: transform 0.5s ease;
    will-change: transform;
  }

.unique-carousel-card {
    position: relative;
    flex: 0 0 auto;
    aspect-ratio: 1080 / 1920;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    background: rgb(35, 35, 35);

    box-shadow: 0 4px 15px rgba(18, 18, 18, 0.2);
}

.unique-carousel-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(9, 9, 9, 0.8) 100%
    );
    pointer-events: none;
    z-index: 1;
}


.unique-carousel-nick {
    font-family: "Minecraft", sans-serif;
    background: #FFFFFF;
    -webkit-background-clip: text;
    font-weight: 800;
    position: absolute;
    top: 50px;
    width: 100%;
    left: 0;
    font-size: 1.7rem;
    pointer-events: none;
    z-index: 2;
    text-shadow: 0px 10px 30px rgba(0, 0, 0, 100%), 0 0 8px rgba(0, 0, 0, 1);;
    /* Для кращого ефекту можна додати декілька шарів тіні */
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
                   0 0 8px rgba(0, 0, 0, 0.3); */
}


  .unique-carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
  }

  .unique-carousel-btn {
      top: 50%;
      transform: translateY(-50%);
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      z-index: 2;
      border: 2px solid #ffffff;
      background-color: transparent;
      transition: transform 0.1s ease, opacity 0.1s ease;
  }
.unique-carousel-btn svg {
	width: 20px;
      height: 20px;
      fill: #ffffff;
}

  .unique-carousel-btn:active {
    transform: translateY(-50%) scale(0.9);
    opacity: 0.7;;
  }
  /* ----------------------------------*/
.join-section {
    width: 100%;
    background: rgb(10, 10, 10);
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    margin-top: 10vh;
    position: relative;
    overflow: hidden;
}

.join-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255, 209, 57, 0) 0%,
        rgba(255, 209, 57, 1) 50%,
        rgba(255, 209, 57, 0) 100%
    );
}

.join-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255, 153, 0, 0) 0%,
        rgba(255, 153, 0, 1) 50%,
        rgba(255, 153, 0, 0) 100%
    );
}

.join-content {
    text-align: center;
    max-width: 70vw;
    margin: 0 auto;
    position: relative;
    padding: 60px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.join-content h2 {
    color: white;
    font-size: 45px;
    font-family: "Ubuntu Sans", sans-serif;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 209, 57, 0.3);
}

.join-content p {
    color: white;
    font-size: 22px;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.join-button {
    background: linear-gradient(to top left, #FFD139 0%, #FFBD3A 50%, #FF9900 100%);
    border: none;
    border-radius: 10px;
    color: white;
    padding: 20px 50px;
    font-size: 22px;
    font-weight: bold;
    font-family: "Ubuntu Sans", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 30%);
}
.join-button:hover {
    background: linear-gradient(to top left, #FFD139 0%, #FFBD3A 50%, #FF9900 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.4);
}

/* ----------------------------------*/
.site-footer {
    background-color: #000000;
    padding: 60px 0 30px;
    position: relative;
    color: white;
}

.footer-content {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.server-icon {
    width: 50px;
    height: 50px;
}

.server-name {
    font-size: 24px;
    font-weight: bold;
    font-family: "Ubuntu Sans", sans-serif;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 25px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #FF9900;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: white;
    font-size: 40px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #FF9900;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: transparent;  /* колір Discord */
    border: 4px solid white;
    border-radius: 8px;
    color: white;
    font-size: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-button i {
    font-size: 20px;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(104, 104, 104, 0.4);
}

@media (max-width: 768px) {
    .contact-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .contact-button i {
        font-size: 18px;
    }
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 25px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
/* ----------------------------------*/
@media (max-width: 1200px) {
    header .img img {
        max-width: 60%;
    }

    nav {
        width: 60vw;
    }

    body .box {
        margin-left: 10%;
        margin-right: 10%;
    }

    #SliderWrapper {
        width: 80vw;
        height: 400px;
    }

    #Slider img {
        width: 80vw;
        height: 400px;
    }
}

@media (max-width: 768px) {
    header .img img {
        max-width: 70%;
    }

    nav {
        width: 80vw;
    }

    body .box {
        margin-left: 5%;
        margin-right: 5%;
    }

    #SliderWrapper {
        width: 90vw;
        height: 350px;
    }

    #Slider img {
        width: 90vw;
        height: 350px;
    }

    #Arrows i {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    header .img img {
        max-width: 80%;
    }

    nav {
        width: 90vw;
    }

    body .box {
        margin-left: 2%;
        margin-right: 2%;
    }

    #SliderWrapper {
        width: 100vw;
        height: 300px;
    }

    #Slider img {
        width: 100vw;
        height: 300px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.2em;
    }
}
/*-------------------------*/
.support-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}


.join-button {
    padding: 20px 50px;
    background: linear-gradient(to top left, #FFD139 0%, #FFBD3A 50%, #FF9900 100%);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 22px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 30%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.copy-button {
    position: relative;
    padding: 20px 50px;
    background: transparent;
    border: 4px solid white;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 22px;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 30%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    height: 75px;         /* Фіксована висота */
    min-width: 300px;     /* Мінімальна ширина */
    overflow: hidden;     /* Приховуємо вміст, що виходить за межі */
}

.copy-button .button-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: inherit;
    white-space: nowrap;  /* Запобігає переносу тексту */
}


.join-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.4);
}

.copy-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4); /* змінено колір тіні */
    background: rgba(255, 255, 255, 0.1);
}

.join-button i, .copy-button i {
    font-size: 1.3em;
}
/* -----------------------------*/
.launcher-box {
    margin: 10vh 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    background: rgb(35, 35, 35);
    border-radius: 50px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    padding: 30px;
}

.launcher-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 60%;
}

.launcher-info h2 {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 20px;
}

.launcher-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.launcher-text a {
    text-decoration: none;
    color: white;
    font-weight: 600;
}

.launcher-text p {
    color: rgb(200, 200, 200);
    line-height: 1.6;
}


.launcher-image {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.launcher-image img {
    max-height: 1080px;
    max-width: 1920px;
    width: auto;
    height: auto;
    border-radius: 20px;
}

/* Медіа-запит для маленьких екранів */
@media (max-width: 768px) {
    .launcher-box {
        margin: 5vh 15px;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        overflow: visible;
    }

    .launcher-info {
        width: 100%;
        order: 1;
    }

    .launcher-image {
        order: -1;
        width: 100%;
        margin-bottom: 20px;
    }

    .launcher-image img {
        max-height: 1080px;
        width: auto;
    }

}

/* Додаткові оптимізації для дуже маленьких екранів */
@media (max-width: 480px) {
    .launcher-box {
        margin: 3vh 10px;
        padding: 15px;
    }

    .launcher-info h2 {
        font-size: 2em;
    }
}

w {
    color: red;
}
r {
    color: forestgreen;
}