@import "tailwindcss";

/* * Подключаем переменную версию шрифта Supreme.
 * Это позволяет управлять весом шрифта одной строкой, 
 * что более эффективно и современно.
 */
@font-face {
  font-family: 'Druk Wide';
  src: url('/fonts/Druk Wide Bold.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;

}



/* === FLOAT АНИМАЦИЯ === */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Анимация float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Анимация float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@theme {
    /* Ваши акцентные цвета */
    --color-m: #F09918;
    --color-m2: #5448C8;
    --color-t: #E5E5E5;
    --color-bg: #07090D;
    --color-bg2: #2E2E2E;
    --color-bg3: #181818;
    --color-bg4: #232323;

    /* Основной шрифт */
    --font-drukwide: 'Druk Wide';
    --font-satoshi: 'Satoshi';
}


/* Кастомные компоненты с новой иерархией */
@layer components {

    .GsG
    {
       @apply relative p-1  w-full 
               flex flex-col items-center justify-center 
               bg-[#0E1018]/97 rounded-3xl shadow-2xl border border-m/30 group-hover:border-m/80 group-hover:shadow-[0_0_30px_rgba(251,191,36,0.3)] transition-all duration-400
    }

    .GsGi
    {
        @apply relative z-10 w-30 -my-5 drop-shadow-xl transition-transform group-hover:scale-110 group-hover:-translate-y-7  group-hover:rotate-6 duration-300
    }
    .tg {
        @apply from-m to-amber-300

    }

    .h1h {
        @apply text-4xl lg:text-6xl font-drukwide;
    }
    
    .h2h {
        @apply text-2xl lg:text-4xl font-drukwide;
    }
    
    .h3h {
        @apply text-xl lg:text-2xl font-drukwide;
    }

    .p2p {
        @apply text-base lg:text-lg font-drukwide;
    }

    .p3p {
        @apply text-sm lg:text-base font-drukwide;
    }

    .p4p {
        @apply text-xs lg:text-sm font-drukwide;
    }

    .cent {
        @apply px-6 lg:px-16;
    }
    
     .nav-link {
    @apply relative font-bold text-gray-300 hover:text-amber-300 transition-all duration-300;
  }
  .nav-link::after {
    content: '';
    @apply absolute -bottom-1 left-0 w-0 h-0.5 bg-amber-400 transition-all duration-300;
  }
  .nav-link:hover::after { @apply w-full; }

  .nav-link-mobile {
    @apply block py-3 font-bold text-xl text-gray-200 hover:text-amber-400 transition;
  }

  /* Прозрачный при скролле */
  #maple-header.scrolled {
    @apply bg-[#03060d]/95 backdrop-blur-2xl border-b border-m/20;
  }

  @media (max-width: 767px) {
  #mobile-menu.translate-y-0 { transform: translateY(0); }
  #mobile-menu.translate-y-full { transform: translateY(-100%); }

  #mobile-menu-btn span:nth-child(2) { transition: opacity 0.2s; }
  #mobile-menu-btn.rotate-90 span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  #mobile-menu-btn.rotate-90 span:nth-child(2) { opacity: 0; }
  #mobile-menu-btn.rotate-90 span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}



  .ninja-link {
    position: relative;
    font-weight: 500;
    color: #e5e7eb;
    padding: 8px 0;
    transition: all 0.3s ease;
  }
  .ninja-link:hover {
    color: #F09918;
  }
  .ninja-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #F09918;
    transition: all 0.4s ease;
    transform: translateX(-50%);
  }
  .ninja-link:hover::after {
    width: 100%;
  }

  /* Скрытие/показ при скролле */
  #ninja-header.hide {
    transform: translateY(-100%);
  }
  #ninja-header.show {
    transform: translateY(0);
  }

  /* Фон при скролле */
  #header-bg.show {
    opacity: 1;
  }
    
  .rg-hero { background: linear-gradient(180deg, #03060d 0%, #0b0e17 100%); }
    .rg-card { @apply bg-white/5 backdrop-blur-sm border border-m/20 rounded-2xl p-8; }
    .hotline { @apply text-amber-300 font-bold text-xl; }

 @import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');



.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 10px;
}

.header {
    padding: 20px 0;
}

.header h1 {
    font-size: 42px;
    text-align: center;
}

.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
  .scrollbar-hide::-webkit-scrollbar { display: none; }
  @media (max-width: 768px) {
    footer { font-size: 0.875rem; }
    footer h4 { font-size: 1rem; }
  }


.game {

}


.game__column {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 360px;
    gap: 20px;
}

.game__column-img {
    width: 110px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game__column-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__wrapper {
    display: flex;
    justify-items: center;
    align-items: center;
    text-align: center;
    gap: 90px;
    padding-bottom: 30px;
}






/* Animations */
@keyframes spin {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}


/* Popup container */
#popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Individual popup style */
.popup {
    background-color: #000000;
    color: #F7E881;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    animation: popupIn 0.5s forwards, popupOut 3.5s 2.5s forwards;
    font-family: "Yatra One", sans-serif;
    font-weight: 700;
}

/* Popup animation */
@keyframes popupIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popupOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}


/* Reg popup */
/* Registration modal styles */
.registration-modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}

.registration-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.registration-content h2 {
    margin-bottom: 20px;
    font-family: "Yatra One", sans-serif;
}

.registration-content label {
    display: block;
    margin: 10px 0 5px;
    text-align: left;
}

.registration-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.submit-btn {
    background-color: #66aede;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #4c8bbf;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}
.text{
    font-family: 'Black Ops One', sans-serif;
    color: #fff;
    font-size: 30px;
}
.yellow{
    color: #2196F3;
    text-shadow: 1px 1px 0 #ffffff, -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff;
}
.title{
    font-family: 'Black Ops One', sans-serif;
    color: #CD2420;    
    text-shadow: 1px 1px 0 #ffffff, -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff;
    line-height: 1;

}
.white{
    text-shadow: 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000;
}

.music-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #FFF;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: background-color 0.3s ease;
}

.music-toggle img{
    max-width: 100%;
}
.mob{
    display: none;
}
@media (max-width: 768px) {
    .game__column-img{
        width: 70px;
    }
    .footer__wrapper{
        padding-bottom: 70px;
        gap: 40px;
    }
    .text{
        font-size: 20px;
    }
    .title{
        padding-top: 45px;
    }
    .desk{
        display: none;
    }
  
    .mob{
        display: block;
    }
}
    

}

*, *::after, *::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    font-family: 'Inter', sans-serif;
}

/* Фон с блюром и затемнением */
body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("imgs/back.png") center center / cover no-repeat;
    filter: blur(3px) brightness(0.4); /* размытие + затемнение */
    z-index: -2; /* фон уходит под всё */
}

/* Тёмный полупрозрачный слой для глубины */
body::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.600);
    z-index: -1;
}


.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 10px;
}

.header {
    padding: 20px 0;
}

.header h1 {
    font-size: 42px;
    text-align: center;
}


.game {

}

.game__wrapper {
    background: rgba(23, 23, 23, 0.53);
    width: 100%;
    height: 100%;
    padding: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
}

.game__column {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 360px;
    gap: 20px;
}

.game__column-img {
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game__column-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 35px; 
    padding-bottom: 60px;
}







/* Animations */
@keyframes spin {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}


/* Popup container */
#popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Individual popup style */
.popup {
    background-color: #000000;
    color: #F7E881;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    animation: popupIn 0.5s forwards, popupOut 3.5s 2.5s forwards;
    font-family: "Yatra One", sans-serif;
    font-weight: 700;
}

/* Popup animation */
@keyframes popupIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popupOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}


/* Reg popup */
/* Registration modal styles */
.registration-modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}

.registration-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.registration-content h2 {
    margin-bottom: 20px;
    font-family: "Yatra One", sans-serif;
}

.registration-content label {
    display: block;
    margin: 10px 0 5px;
    text-align: left;
}

.registration-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.submit-btn {
    background-color: #66aede;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #4c8bbf;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}
.text{
    font-family: 'Black Ops One', sans-serif;
    color: #fff;
    font-size: 30px;
}
.yellow{
    color: #ffc008;
}
.title{
    font-family: 'Black Ops One', sans-serif;
    color: #ffc008;    
    text-shadow: 1px 1px 0 #ffffff, -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff;
    line-height: 1;

}

.music-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #FFF;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: background-color 0.3s ease;
}

.music-toggle img{
    max-width: 100%;
}
.mob{
    display: none;
}
@media (max-width: 768px) {
    .game__column-img{
        width: 80px;
    }
    .mob{
        display: block;
    }
    .desk{
        display: none;
    }
    .footer__wrapper{
        padding-bottom: 70px;
        gap: 40px;
    }
    .text{
        font-size: 20px;
    }
    .title{
        padding-top: 45px;
    }
  
}