/* ==================== FONTS ==================== */
@font-face {
    font-family: 'Gogh';
    src: url('fonts/Gogh-ExtraBold.woff2') format('woff2'),
         url('fonts/Gogh-ExtraBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* ==================== BASE STYLES ==================== */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Gogh, sans-serif;
    background-color: black;
    color: white;
    line-height: 1.6;
}

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

/* ==================== HEADER & NAVIGATION ==================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: black;
    font-family: Gogh, sans-serif;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    font-family: Gogh, sans-serif;
}

.logo-img {
    width: 25px;
    height: auto;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: black;
    padding: 10px;
    border-radius: 5px;
    z-index: 1;
}

nav ul li:hover .dropdown {
    display: block;
}

nav ul li a {
    font-size: 14px;
    color: white;
    text-decoration: none;
    position: relative;
    padding: 5px 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: grey;
    transition: color 0.3s;
}

/* Dropdown menu styles */
.menu-item {
    position: relative;
    display: inline-block;
}

.menu-item button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: white;
    padding: 5px 10px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    transition: color 0.3s;
}

.menu-item button:hover {
    color: grey;
    transition: color 0.3s;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(-145deg, #00fffb, #A327F5);
    min-width: 160px;
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.dropdown-content a {
    position: relative;
    display: block;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    padding: 12px 16px;
    overflow: hidden;
    transition: color 0.3s ease;
}

.dropdown-content a:hover {
    color: black;
}

.dropdown-content a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    transition: all 0.3s ease;
}

.dropdown-content a:hover::after {
    background: rgba(0, 0, 0, 0.35);
    filter: blur(2px);
}

.show {
    display: block;
}

/* ==================== HERO SECTION ==================== */
.hero {
    text-align: center;
    align-items: center;
    padding: 100px 20px;
    background-image: url('pht/logo2.png');
    background-size: 35%;
    background-position: calc(100% + 200px) 35%;
    background-repeat: no-repeat;
    width: 98.89vw;
    height: 90vh;
    margin: 0;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    filter: blur(8px);
    opacity: 0.6;
    transition: filter 1s ease, opacity 1s ease;
}

.hero-content.loaded {
    filter: none;
    opacity: 1;
}

.logo-img1 {
    width: 75px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 1))
            drop-shadow(0 0 15px rgba(255, 255, 255, 0.8))
            drop-shadow(0 0 25px rgba(255, 255, 255, 0.5));
    transition: filter 1s ease;
}

.logo-img1.nonen {
    filter: none;
}

.glowing-text {
    font-size: 100px;
    font-weight: bold;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 1),
        0 0 15px rgba(255, 255, 255, 0.8),
        0 0 25px rgba(255, 255, 255, 0.5),
        0 0 50px rgba(255, 255, 255, 0.3);
    transition: text-shadow 1s ease;
}

.glowing-text.nonen {
    text-shadow: none;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom:15px;
    padding: 1px 20px;
}

.buttons button {
    padding: 10px 70px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    color: white;
    background: linear-gradient(45deg, blue, #2AC0B4, #A3E500, green);
    background-size: 400% 400%;
    border-radius: 5px;
    animation: gradient 6s ease infinite;
    animation-play-state: paused;
    font-family: Gogh, sans-serif;
}

.buttons button:hover {
    animation-play-state: running;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ==================== ABOUT SECTIONS ==================== */
.about {
    text-align: center;
    padding: 25px 20px;
}

.about1 {
    text-align: justify;
    padding: 10px 150px;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-family: Gogh, sans-serif;
}

.ton {
    background: linear-gradient(45deg, #2787F5, #2AC0B4);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradient-animation 6s linear infinite;
}

.gradient-text {
    font-size: 36px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradient-animation 6s linear infinite;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.about p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* About sections with gradient borders */
#about,
#about1,
#about2 {
    position: relative;
    margin: 40px auto;
    max-width: 800px;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    overflow: hidden;
}

#about::before,
#about1::before,
#about2::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 10px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    pointer-events: none;
}

#about h2,
#about1 h2,
#about2 h2 {
    margin-bottom: 20px;
    font-size: 32px;
    position: relative;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

#about h2::after,
#about1 h2::after,
#about2 h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
}

#about {
    text-align: center;
}

#about1,
#about2 {
    text-align: justify;
}

#about p,
#about1 p,
#about2 p {
    font-size: 18px;
    line-height: 1.7;
    color: #ddd;
    margin-bottom: 15px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-ton {
    background: linear-gradient(45deg, #2787F5, #2AC0B4);
    -webkit-background-clip: text;
    color: transparent;
    animation: gradient-animation 6s linear infinite;
}

.special-phrase {
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    color: transparent;
    animation: gradient-animation 6s linear infinite;
}

/* ==================== SOCIALS SECTION ==================== */
.socials {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(270deg, #00fffb, #A327F5);
    color: black;
}

.socials h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-family: Gogh, sans-serif;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.social-icon i {
    font-size: 20px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.social-icon:hover {
    transform: none;
}

/* ==================== CRYPTO PRICES SECTION ==================== */
.crypto-prices {
    text-align: center;
    padding: 50px 20px;
    background-color: #000;
    color: white;
}

.crypto-prices h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    width: 195px;
    height: 285px;
    background: #313131;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.2s ease-in-out;
    position: relative;
    margin: 20px;
}

.img {
    height: 50%;
    position: absolute;
    transition: 0.2s ease-in-out;
    z-index: 1;
}

.textBox {
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: 0.2s ease-in-out;
    z-index: 2;
}

.textBox > .text {
    font-weight: bold;
}

.textBox > .head {
    font-size: 20px;
}

.textBox > .price {
    font-size: 17px;
}

.textBox > span {
    font-size: 12px;
    color: lightgrey;
}

.card:hover > .textBox {
    opacity: 1;
}

.card:hover > .img {
    height: 65%;
    filter: blur(7px);
    animation: anim 3s infinite;
}

@keyframes anim {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.card:hover {
    transform: scale(1.04) rotate(-1deg);
}

/* ==================== OUR TEAM SECTION ==================== */
.our-team {
    text-align: center;
    padding: 50px 20px;
    background-color: #000;
    color: white;
}

.our-team h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card-link {
    display: inline-block;
    text-decoration: none;
}

.container {
    position: relative;
    width: 190px;
    height: 254px;
    transition: transform 200ms;
}

.container:active {
    transform: scale(0.95);
}

#card {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    transition: 700ms;
    background: linear-gradient(45deg, #1a1a1a, #262626);
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3),
                inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.card-content {
    position: relative;
    width: 100%;
    height: 100%;
}

#prompt {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: 300ms ease-in-out;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.title {
    opacity: 0;
    transition: 300ms ease-in-out;
    position: absolute;
    z-index: 25;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 4px;
    text-align: center;
    width: 100%;
    padding-top: 20px;
    background: linear-gradient(45deg, #00ffaa, #00a2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 255, 170, 0.3));
    text-shadow: 0 0 10px rgba(92, 103, 255, 0.5),
                 0 0 20px rgba(92, 103, 255, 0.3);
}

.card-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
    z-index: 15;
    border-radius: 15px;
}

.subtitle {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    letter-spacing: 2px;
    transform: translateY(30px);
    color: rgba(255, 255, 255, 0.6);
}

.highlight {
    color: #00ffaa;
    margin-left: 5px;
    background: linear-gradient(90deg, #5c67ff, #ad51ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.glowing-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.glow-1,
.glow-2,
.glow-3 {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 255, 170, 0.3) 0%, rgba(0, 255, 170, 0) 70%);
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-1 {
    top: -20px;
    left: -20px;
}
.glow-2 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
}
.glow-3 {
    bottom: -20px;
    left: 30%;
}

.card-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00ffaa;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card-particles span:nth-child(1) {
    --x: 1; --y: -1;
    top: 40%; left: 20%;
}
.card-particles span:nth-child(2) {
    --x: -1; --y: -1;
    top: 60%; right: 20%;
}
.card-particles span:nth-child(3) {
    --x: 0.5; --y: 1;
    top: 20%; left: 40%;
}
.card-particles span:nth-child(4) {
    --x: -0.5; --y: 1;
    top: 80%; right: 40%;
}
.card-particles span:nth-child(5) {
    --x: 1; --y: 0.5;
    top: 30%; left: 60%;
}
.card-particles span:nth-child(6) {
    --x: -1; --y: 0.5;
    top: 70%; right: 60%;
}

#card::before {
    content: "";
    background: radial-gradient(circle at center, rgba(0, 255, 170, 0.1) 0%, rgba(0, 162, 255, 0.05) 50%, transparent 100%);
    filter: blur(20px);
    opacity: 0;
    width: 150%;
    height: 150%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.tracker:hover ~ #card::before {
    opacity: 1;
}

.tracker {
    position: absolute;
    z-index: 200;
    width: 100%;
    height: 100%;
}
.tracker:hover {
    cursor: pointer;
}
.tracker:hover ~ #card #prompt {
    opacity: 0;
}
.tracker:hover ~ #card {
    transition: 300ms;
    filter: brightness(1.1);
}
.container:hover #card::before {
    transition: 200ms;
    opacity: 80%;
}

.canvas {
    perspective: 800px;
    inset: 0;
    z-index: 200;
    position: absolute;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 0;
    grid-template-areas:
        "tr-1 tr-2 tr-3 tr-4 tr-5"
        "tr-6 tr-7 tr-8 tr-9 tr-10"
        "tr-11 tr-12 tr-13 tr-14 tr-15"
        "tr-16 tr-17 tr-18 tr-19 tr-20"
        "tr-21 tr-22 tr-23 tr-24 tr-25";
}

.tr-1 { grid-area: tr-1; }
.tr-2 { grid-area: tr-2; }
.tr-3 { grid-area: tr-3; }
.tr-4 { grid-area: tr-4; }
.tr-5 { grid-area: tr-5; }
.tr-6 { grid-area: tr-6; }
.tr-7 { grid-area: tr-7; }
.tr-8 { grid-area: tr-8; }
.tr-9 { grid-area: tr-9; }

.tr-1:hover ~ #card {
    transition: 125ms ease-in-out;
    transform: rotateX(20deg) rotateY(-10deg);
}
.tr-2:hover ~ #card {
    transition: 125ms ease-in-out;
    transform: rotateX(20deg) rotateY(-5deg);
}
.tr-3:hover ~ #card {
    transition: 125ms ease-in-out;
    transform: rotateX(20deg) rotateY(0deg);
}

.tracker:hover ~ #card .title {
    opacity: 1;
    transform: translateY(-10px);
}
.tracker:hover ~ #card .card-photo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-glare {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 55%,
        rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 300ms ease;
}

.cyber-lines span {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(92,103,255,0.2), transparent);
}
.cyber-lines span:nth-child(1) {
    top: 20%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    animation: lineGrow 3s linear infinite;
}
.cyber-lines span:nth-child(2) {
    top: 40%;
    right: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    animation: lineGrow 3s linear infinite 1s;
}
.cyber-lines span:nth-child(3) {
    top: 60%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    animation: lineGrow 3s linear infinite 2s;
}
.cyber-lines span:nth-child(4) {
    top: 80%;
    right: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    animation: lineGrow 3s linear infinite 1.5s;
}

@keyframes lineGrow {
    0% { transform: scaleX(0); opacity: 0; }
    50% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(0); opacity: 0; }
}

@keyframes scanMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.corner-elements span {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(92,103,255,0.3);
}
.corner-elements span:nth-child(1) {
    top: 10px;
    left: 10px;
    border-right: 0;
    border-bottom: 0;
}
.corner-elements span:nth-child(2) {
    top: 10px;
    right: 10px;
    border-left: 0;
    border-bottom: 0;
}
.corner-elements span:nth-child(3) {
    bottom: 10px;
    left: 10px;
    border-right: 0;
    border-top: 0;
}
.corner-elements span:nth-child(4) {
    bottom: 10px;
    right: 10px;
    border-left: 0;
    border-top: 0;
}

.scan-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(92,103,255,0.1), transparent);
    transform: translateY(-100%);
    animation: scanMove 2s linear infinite;
}

#card:hover .card-glare {
    opacity: 1;
}

.corner-elements span {
    transition: all 0.3s ease;
}

#card:hover .corner-elements span {
    border-color: rgba(92,103,255,0.8);
    box-shadow: 0 0 10px rgba(92,103,255,0.5);
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ==================== STREAM SECTION ==================== */
.stream {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding: 20px;
}

.stream-left {
    width: 35%;
    margin-right: 20px;
}

.stream-left h2 {
    text-align: left;
    margin: 0;
    font-size: 36px !important;
    font-family: Gogh, sans-serif;
}

.stream-left .stream-description {
    color: grey;
    margin-top: 10px;
    font-size: 14px;
    font-family: Gogh, sans-serif;
}

/* --- SCHEDULE + QR: в один ряд --- */
.schedule-qr-container{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:nowrap;     /* было wrap в media, принудительно держим рядом */
}

.stream-left .qr-code{
  width:auto;           /* убираем 100% ширину */
  flex:0 0 auto;
  justify-content:flex-start;
}

/* Чуть поджимаем на узких экранах, но не переносим */
@media (max-width: 768px){
  .schedule-qr-container{ flex-wrap:nowrap; }
  .stream-schedule{ width:65%; min-width:260px; }
  .stream-left .qr-code{ transform:scale(0.9); transform-origin:left center; }
}


.card-id567 .prompt-id567 p {
    font-size: 12px;
}

.card-id567 .rotating-image {
    width: 40px;
    height: 40px;
}

.card-id567 {
    width: 120px;
    height: 120px;
    background: rgb(22, 22, 22);
    color: white;
    border-radius: 1rem;
    padding: 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 300ms ease;
    animation: 8s thumb-thumb infinite;
    overflow: hidden;
}

#qrcode {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.card-id567:hover #qrcode {
    visibility: visible;
    opacity: 1;
}

.bold-567 {
    font-weight: bold;
}

.creator-points {
    width: 3.25rem;
    height: 3rem;
    color: rgb(167, 139, 250);
}

.blurry-splash {
    position: absolute;
    inset: 0;
    width: 60px;
    margin: 0 auto;
    height: 60px;
    border-radius: 1rem;
    z-index: -1;
    opacity: 70%;
    filter: blur(15px);
    background: linear-gradient(
        120deg, rgba(167, 139, 250, 0.24)
        , rgba(167, 139, 250, 0.384), rgba(167, 139, 250, 0.226));
}

.prompt-id567 {
    position: absolute;
    color: rgb(173, 173, 173);
    text-align: center;
}

.really-small-text {
    text-align: center;
    width: 100%;
    position: absolute;
    font-size: 8px;
    margin-top: 28px;
    opacity: 0.5;
}

.card-id567:hover {
    cursor: none;
    background-color: white;
}

.card-id567:hover .prompt-id567 {
    transition: 300ms ease;
    opacity: 0;
}

.token-container {
    animation: 2s spinny-token-yayyy infinite;
    margin-bottom: 10px;
}

.prompt-id567 svg path {
    stroke: none;
    opacity: 1;
}

.card-id567:hover svg path {
    opacity: 1;
}

.rotating-image {
    width: 50px;
    height: 50px;
    animation: rotateLeftToRight 5s linear infinite;
    position: relative;
    filter: drop-shadow(0px 0px 15px rgba(138, 43, 226, 1));
}

.rotating-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(138, 43, 226, 1);
    filter: blur(15px);
    z-index: -1;
}

/* --- STREAM VIDEO: стабильный размер и стек --- */
.stream-right { position: relative; z-index: 1; } /* поверх фоновых декоративных слоёв */

.stream-window{
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

/* Фолбэк на случай отсутствия поддержки aspect-ratio */
.stream-window::before{
  content:"";
  display:block;
  padding-top:56.25%; /* 16:9 */
}

.stream-window > video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* Если aspect-ratio поддерживается — используем его */
@supports (aspect-ratio: 16/9){
  .stream-window{ aspect-ratio:16/9; }
  .stream-window::before{ content:none; }
}

@media (max-width: 768px) {
  .stream { gap: 20px; }
  .schedule-qr-container { flex-wrap: wrap; }
  .stream-schedule { width: 100%; }
  .qr-code { width: auto; justify-content: flex-start; }
}


.stream-description {
    font-size: 13px;
    font-family: Gogh, sans-serif;
    text-align: justify;
}

.stream-left h2,
.stream-left {
    font-size: 18px;
    font-family: Gogh, sans-serif;
}

/* Stream schedule styles */
.stream-schedule {
    position: relative;
    background-color: rgb(22, 22, 22);
    padding: 10px;
    border-radius: 8px;
    color: white;
    width: 320px;
    height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.schedule-header {
    background-color: #212020;
    padding: 2px 8px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.schedule-title {
    font-size: 18px;
    color: #A327F5;
    margin: 0;
}

.schedule-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

.date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #212020;
    border-radius: 5px;
    padding: 5px;
    box-sizing: border-box;
    min-width: 50px;
}

.month {
    font-size: 12px;
    color: gray;
    margin-bottom: 3px;
}

.date {
    font-size: 16px;
    color: #A327F5;
}

.divider {
    width: 2px;
    height: 50px;
    background-color: #A327F5;
    flex-shrink: 0;
}

.schedule-qr-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ==================== PARTNERS SECTION ==================== */
.partners {
    text-align: center;
    padding: 50px 20px;
    background-color: #000;
    color: white;
}

.partners h2 {
    font-size: 36px;
    margin-bottom: 40px;
    font-family: Gogh, sans-serif;
}

.partners-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-logo {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1);
}

/* ==================== MINIAPPS SECTION ==================== */
.miniapps {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.miniapp-category {
    margin-bottom: 60px;
}

.miniapp-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    justify-content: center;
    max-width: 860px;
    margin: 0 auto;
}

.miniapp-apps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.miniapp-description {
    display: inline-block;
    background-color: #111;
    border-radius: 8px;
    padding: 20px;
    vertical-align: top;
    max-width: 500px;
}

.miniapp-description h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.miniapp-description p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
    text-align: justify;
}

.miniapp-notification {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #2D2D2D;
    border-radius: 20px;
    padding: 16px;
    width: 340px;
    cursor: pointer;
}

.miniapp-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #c8c8c8, #a9a9ff);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.miniapp-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.miniapp-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.miniapp-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.miniapp-subtext {
    margin: 4px 0 0;
    font-size: 13px;
    color: #dcdcdc;
}

.miniapp-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    height: 100%;
}

.miniapp-get-btn {
    background: #2a2afc;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s ease;
    text-decoration: none;
    cursor: default;
}

.miniapp-get-btn:hover {
    background: #4141ff;
}

.miniapp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.miniapp-modal-content {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.miniapp-modal h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.miniapp-modal p {
    font-size: 15px;
    color: #ccc;
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.close-modal:hover {
    color: #ccc;
}

.button-container111 {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.gradient-button111 {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: linear-gradient(270deg, #00fffb, #A327F5);
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}

/* ==================== MODAL WINDOWS ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: black;
    margin: auto;
    padding: 30px;
    width: 80%;
    max-width: 500px;
    border: none;
    border-radius: 10px;
    position: relative;
}

.modal-title {
    text-align: center;
    margin: 0 0 20px;
    font-family: 'Gogh', sans-serif;
}

input {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    line-height: 1.5;
    font-family: 'Gogh', sans-serif;
    color: white;
    background-color: #222;
}

button {
    padding: 10px;
    margin-top: 10px;
    background: linear-gradient(45deg, red, pink, blue, purple);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Gogh', sans-serif;
}

.close {
    font-size: 30px;
    color: white;
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
}

.close:hover {
    background: linear-gradient(45deg, red, pink, blue, purple);
    -webkit-background-clip: text;
    color: transparent;
}

h2 {
    text-align: center;
    margin: 10px 0;
    font-family: 'Gogh', sans-serif;
}

form {
    display: flex;
    flex-direction: column;
}

/* ==================== FOOTER ==================== */
.copyright {
    text-align: center;
    padding: 20px;
    background-color: #000;
    color: grey;
    font-family: Gogh, sans-serif;
}

/* ==================== MEDIA QUERIES ==================== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .buttons {
        flex-direction: row;
        justify-content: center;
        overflow-x: auto;
    }

    .social-links {
        flex-direction: row;
        overflow-x: auto;
    }

    .stream {
        flex-direction: column;
        align-items: center;
    }

    .stream-left,
    .stream-right {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .stream-left .qr-code {
        width: 150px;
    }

    .card-id567 {
        width: 150px;
        height: 150px;
    }

    .partners-container {
        flex-direction: row;
        gap: 20px;
    }
    
    .partner-logo {
        max-width: 100px;
    }
}

@media (max-width: 500px) {
    .modal-content {
        max-width: 90%;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    button {
        font-size: 14px;
    }
}


/* From Uiverse.io by SelfMadeSystem */ 
.loader {
  display: block;
  width: 3em;
  height: 3em;
  overflow: visible;
  margin: left;
}

.loader path.fill {
  fill: #2Af2;
  animation: fill 4s ease-in-out infinite;
}

.loader .dash path {
  stroke: #2AF;
  stroke-width: 1px;
  stroke-linecap: round;
  animation: dashArray var(--sped, 2s) ease-in-out infinite,
    dashOffset var(--sped, 2s) linear infinite;
}

.loader .dash path.aaa {
  stroke-width: 2px;
  stroke-linecap: butt;
  clip-path: path('M 20.4603 48.5493 L 16.6461 46.9584 C 17.3209 48.3794 18.4917 49.5682 20.0447 50.2206 C 23.4007 51.6328 27.2707 50.0262 28.6694 46.6367 C 29.3464 44.9966 29.3509 43.1867 28.6806 41.5422 C 28.0103 39.8977 26.7434 38.6151 25.119 37.9315 C 23.5035 37.2544 21.7741 37.279 20.2547 37.8576 L 24.1961 39.5022 C 26.6719 40.5434 27.8427 43.4124 26.8104 45.9105 C 25.7803 48.4085 22.936 49.5905 20.4603 48.5493 Z');
}

.loader .dash path.big {
  stroke-width: 2px;
  filter: drop-shadow(0 0 2px #2AF);
}

@keyframes dashArray {
  0% {
    stroke-dasharray: 0 1 359 0;
  }

  50% {
    stroke-dasharray: 0 359 1 0;
  }

  100% {
    stroke-dasharray: 359 1 0 0;
  }
}

@keyframes dashOffset {
  0% {
    stroke-dashoffset: -5;
  }

  100% {
    stroke-dashoffset: -365;
  }
}

@keyframes fill {
  30%,
  55% {
    fill: #000000;
  }
}


/* Основные стили токенов */
.token-details {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.token-section, .league-section {
    background: rgba(15, 15, 25, 0.8);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.token-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(25, 25, 45, 0.6);
    border-radius: 14px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #A327F5;
}

.token-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.token-icon i {
    font-size: 32px;
    color: #000;
}

.price-tag {
    background: rgba(163, 39, 245, 0.2);
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 20px;
    display: inline-block;
    margin-top: 10px;
    border: 1px solid #A327F5;
}

/* Детали токена */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.detail-card {
    background: rgba(20, 20, 35, 0.7);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(92, 103, 255, 0.1);
    transition: all 0.3s;
}

.detail-card:hover {
    transform: translateY(-5px);
    border-color: rgba(92, 103, 255, 0.4);
    box-shadow: 0 5px 15px rgba(92, 103, 255, 0.2);
}

.detail-card i {
    font-size: 32px;
    color: #00fffb;
    margin-bottom: 15px;
}

.detail-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Процесс обмена */
.exchange-process {
    margin-top: 40px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.step {
    background: rgba(25, 25, 45, 0.6);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    text-align: center;
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #0f0c29;
}

.exchange-form {
    background: rgba(20, 20, 35, 0.8);
    border-radius: 16px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid rgba(92, 103, 255, 0.3);
}

.form-toggle {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(92, 103, 255, 0.2);
}

.form-toggle button {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

.form-toggle button.active {
    color: white;
    font-weight: bold;
}

.form-toggle button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00fffb, #A327F5);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #ddd;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(10, 10, 20, 0.7);
    border: 1px solid rgba(92, 103, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 16px;
}

.calculation {
    background: rgba(163, 39, 245, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    font-size: 18px;
}

.exchange-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #00b09b, #96c93d);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.exchange-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 176, 155, 0.4);
}

/* Traders League */
.league-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.overview-card {
    background: rgba(25, 25, 45, 0.6);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid rgba(0, 255, 251, 0.2);
}

.overview-card i {
    font-size: 36px;
    color: #00fffb;
    margin-bottom: 15px;
}

.league-phases {
    margin: 40px 0;
}

.phase {
    background: rgba(20, 20, 35, 0.7);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #00fffb;
}

.phase-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.phase-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.timeframe {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 251, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    margin-top: 10px;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.prize-card {
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
}

.prize-card i {
    font-size: 36px;
    margin-bottom: 15px;
}

.prize-card.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(218, 165, 32, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.prize-card.silver {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(169, 169, 169, 0.1));
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.prize-card.bronze {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(160, 82, 45, 0.1));
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.prize-card.special {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.15), rgba(138, 43, 226, 0.1));
    border: 1px solid rgba(147, 112, 219, 0.3);
}

.current-season {
    margin-top: 40px;
}

.season-card {
    background: rgba(25, 25, 45, 0.7);
    border-radius: 14px;
    padding: 25px;
    border: 1px solid rgba(0, 255, 251, 0.3);
}

.season-theme {
    margin-bottom: 20px;
}

.season-theme h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00fffb, #A327F5);
    border-radius: 6px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    color: #aaa;
    font-size: 14px;
}

.participate-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #654ea3, #da98b4);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.participate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(101, 78, 163, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    .token-details {
        padding: 0 15px;
    }
    
    .token-section, .league-section {
        padding: 20px 15px;
    }
    
    .process-steps, .prizes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .buttons {
        flex-direction: column;
    }
    
    .token-card {
        flex-direction: column;
        text-align: center;
    }
}
    
/* Дополнительные стили для страницы мерча */
.merch-hero {
    text-align: center;
    padding: 80px 20px;
    /*background: linear-gradient(135deg, rgba(0, 255, 251, 0.1), rgba(163, 39, 245, 0.1)); */
    position: relative;
    overflow: hidden;
}

.merch-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pht/logo2.png') no-repeat center right -200px;
    background-size: 50%;
    opacity: 0.1;
    z-index: -1;
}

.pre-sale-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff0000, #ff6b6b);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

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

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.merch-card {
    background: rgba(30, 30, 40, 0.8);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.merch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(163, 39, 245, 0.3);
    border-color: rgba(92, 103, 255, 0.5);
}

.merch-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    color: black;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.merch-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.merch-image::after {
    content: "TON BLOG.NET";
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.05);
    transform: rotate(-45deg);
    text-transform: uppercase;
    letter-spacing: 5px;
}

.embroidery-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #00fffb;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.embroidery-tag i {
    color: #A327F5;
}

.merch-info {
    padding: 20px;
}

.merch-title {
    font-size: 20px;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.merch-category {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 15px;
}

.merch-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.price-rub {
    font-size: 22px;
    font-weight: bold;
}

.price-ton {
    background: linear-gradient(45deg, #2787F5, #2AC0B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.ton-pay-button {
    background: linear-gradient(45deg, #00fffb, #A327F5);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 15px;
    font-family: 'Gogh', sans-serif;
}

.ton-pay-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(163, 39, 245, 0.4);
}

.countdown {
    text-align: center;
    padding: 30px 20px;
    background: rgba(20, 20, 35, 0.8);
    border-radius: 16px;
    max-width: 800px;
    margin: 40px auto;
    border: 1px solid rgba(92, 103, 255, 0.3);
}

.countdown-title {
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.timer-unit {
    background: rgba(30, 30, 45, 0.9);
    border-radius: 12px;
    padding: 15px;
    min-width: 80px;
    text-align: center;
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.timer-value {
    font-size: 32px;
    font-weight: bold;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timer-label {
    font-size: 14px;
    color: #aaa;
    margin-top: 5px;
}

.region-notice {
    text-align: center;
    padding: 15px;
    background: rgba(163, 39, 245, 0.1);
    border-radius: 12px;
    max-width: 800px;
    margin: 20px auto;
    border: 1px solid #A327F5;
}

.coming-soon {
    padding: 60px 20px;
    text-align: center;
    /* background: rgba(15, 15, 25, 0.8); */
}

.coming-title {
    font-size: 36px;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.soon-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.soon-item {
    background: rgba(25, 25, 45, 0.6);
    border-radius: 16px;
    padding: 25px 20px;
    width: 180px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.soon-item:hover {
    transform: translateY(-10px);
    border-color: rgba(92, 103, 255, 0.5);
}

.soon-item i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #00fffb;
}

.soon-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.qr-modal-content {
    background: #111;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 2px solid #00fffb;
    position: relative;
}

.qr-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.qr-title {
    font-size: 24px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-instructions {
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
}

@media (max-width: 768px) {
    .merch-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .timer {
        flex-wrap: wrap;
    }

    .merch-image {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .merch-grid {
        grid-template-columns: 1fr;
    }

    .timer-unit {
        min-width: 60px;
        padding: 10px;
    }

    .timer-value {
        font-size: 24px;
    }
}





























/* NFT Hero Section */
.nft-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 5%;
    /* background: linear-gradient(135deg, #1a1a2e, #16213e); */
    color: white;
    position: relative;
    overflow: hidden;
}

.nft-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pht/logo2.png') no-repeat center right -200px;
    background-size: 50%;
    opacity: 0.1;
    z-index: 0;
}

.nft-hero-content {
    position: relative;
    z-index: 1;
    max-width: 50%;
}

.nft-title {
    font-size: 48px;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nft-subtitle {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ddd;
}

.nft-tagline {
    font-size: 20px;
    margin-bottom: 30px;
    color: #aaa;
}

.nft-countdown {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.countdown-box {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 15px;
    min-width: 80px;
    text-align: center;
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.countdown-box span {
    font-size: 32px;
    font-weight: bold;
    display: block;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-box small {
    font-size: 14px;
    color: #aaa;
}

.buy-button {
    background: linear-gradient(45deg, #00fffb, #A327F5);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Gogh', sans-serif;
}

.buy-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(163, 39, 245, 0.4);
}

.nft-preview {
    position: relative;
    z-index: 1;
}

.nft-card {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(92, 103, 255, 0.3);
}

.nft-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nft-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(92, 103, 255, 0.2), transparent 70%);
    animation: glow-pulse 3s infinite alternate;
}

@keyframes glow-pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* Benefits Section */
.nft-benefits {
    padding: 80px 5%;
    /* background: #0f0c29; */
    color: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #ccc;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: rgba(25, 25, 45, 0.8);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(92, 103, 255, 0.2);
    border-color: rgba(92, 103, 255, 0.5);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #ddd;
    line-height: 1.6;
}

/* Extra Benefits */
.extra-benefits {
    padding: 60px 5%;
    /* background: #1a1a2e; */
}

.benefits-list {
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid rgba(92, 103, 255, 0.2);
}

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

.benefit-item i {
    font-size: 24px;
    color: #00fffb;
    min-width: 40px;
}

.benefit-item p {
    font-size: 18px;
    color: #ddd;
    margin: 0;
}

/* Sale Section */
.sale-section {
    display: flex;
    padding: 80px 5%;
    /* background: #0f0c29; */
    gap: 40px;
    flex-wrap: wrap;
}

.sale-info {
    flex: 1;
    min-width: 300px;
}

.roadmap {
    flex: 1;
    min-width: 300px;
    /* background: rgba(25, 25, 45, 0.8); */
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.price-details {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.price-card {
    flex: 1;
    min-width: 250px;
    background: rgba(25, 25, 45, 0.8);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.price-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ddd;
}

.price-value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sale-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    min-width: 120px;
    background: rgba(25, 25, 45, 0.8);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: #aaa;
}

.burn-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 69, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 69, 0, 0.3);
}

.burn-notice i {
    font-size: 24px;
    color: #ff4500;
}

.burn-notice p {
    margin: 0;
    color: #ffa07a;
}

.roadmap h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ddd;
}

.roadmap-steps {
    margin-bottom: 30px;
}

.step {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(92, 103, 255, 0.2);
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step.active .step-badge {
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 251, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 251, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 251, 0); }
}

.step-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #ddd;
}

.step-info p {
    margin: 0;
    color: #aaa;
}

.step-status {
    color: #00ffaa !important;
    font-weight: bold;
    margin-top: 5px;
}

.total-nft {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(92, 103, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.total-nft i {
    font-size: 24px;
    color: #00fffb;
}

.total-nft p {
    margin: 0;
    color: #ddd;
}

/* Charity Section */
.charity-section {
    padding: 80px 5%;
    /* background: #1a1a2e; */
}

.charity-details {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.charity-card {
    flex: 1;
    min-width: 300px;
    background: rgba(25, 25, 45, 0.8);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.charity-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #00b09b, #96c93d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.charity-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ddd;
}

.charity-card p {
    color: #ddd;
    line-height: 1.6;
}

.transparency-note {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    margin: 40px auto 0;
    background: rgba(92, 103, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(92, 103, 255, 0.3);
}

.transparency-note i {
    font-size: 24px;
    color: #00fffb;
    flex-shrink: 0;
}

.transparency-note p {
    margin: 0;
    color: #ddd;
    font-size: 18px;
}

/* CTA Section */
.cta-section {
    padding: 100px 5%;
    text-align: center;
    /* background: linear-gradient(135deg, #1a1a2e, #16213e); */
    color: white;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #ddd;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Gogh', sans-serif;
    border: none;
}

.cta-button {
    background: linear-gradient(45deg, #00fffb, #A327F5);
    color: white;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #00fffb;
    color: #00fffb;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(163, 39, 245, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal-content {
    background-color: #0f0c29;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #00fffb;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
    color: white;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s;
}

.close:hover {
    color: white;
}

.payment-options {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.payment-option {
    flex: 1;
    padding: 15px;
    background: rgba(25, 25, 45, 0.8);
    border: 1px solid rgba(92, 103, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-option.active {
    background: rgba(92, 103, 255, 0.2);
    border-color: #00fffb;
}

.payment-option i {
    font-size: 32px;
}

.payment-option span {
    font-size: 16px;
}

.qr-container {
    text-align: center;
    margin-bottom: 30px;
}

#qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.wallet-address {
    text-align: center;
}

.address-box {
    background: rgba(25, 25, 45, 0.8);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    font-family: monospace;
    word-break: break-all;
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.copy-button {
    background: linear-gradient(45deg, #00fffb, #A327F5);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(163, 39, 245, 0.4);
}

/* Responsive Design */
@media (max-width: 900px) {
    .nft-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .nft-hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .sale-section {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .nft-title {
        font-size: 36px;
    }
    
    .nft-subtitle {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .price-details, .sale-stats {
        flex-direction: column;
    }
    
    .benefits-grid, .charity-details {
        grid-template-columns: 1fr;
    }
}




/* Дополнительные стили для страницы MiniApps */
.miniapps-page {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.miniapp-category {
    margin-bottom: 60px;
    padding: 20px;
    background: rgba(15, 15, 25, 0.8);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(92, 103, 255, 0.2);
}

.category-title {
    font-size: 28px;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(92, 103, 255, 0.3);
}

.miniapp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.miniapp-card {
    background: rgba(25, 25, 45, 0.8);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(92, 103, 255, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.miniapp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(92, 103, 255, 0.2);
    border-color: rgba(92, 103, 255, 0.5);
}

.miniapp-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.miniapp-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, #c8c8c8, #a9a9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
}

.miniapp-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.miniapp-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.miniapp-category-tag {
    background: rgba(163, 39, 245, 0.2);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    display: inline-block;
}

.miniapp-description {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.miniapp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.miniapp-rating {
    display: flex;
    align-items: center;
    color: #FFD700;
}

.miniapp-get-btn {
    background: linear-gradient(45deg, #00fffb, #A327F5);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Gogh', sans-serif;
    z-index: 10;
    position: relative;
}

.miniapp-get-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(163, 39, 245, 0.4);
}

/* Модальное окно деталей */
.miniapp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.miniapp-modal-content {
    background: #0f0c29;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    position: relative;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    border: 2px solid #00fffb;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #aaa;
    cursor: pointer;
    z-index: 11;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: white;
}

.modal-header {
    padding: 30px 30px 20px;
    background: linear-gradient(90deg, rgba(0, 255, 251, 0.1), rgba(163, 39, 245, 0.1));
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pht/logo2.png') no-repeat center right -200px;
    background-size: 40%;
    opacity: 0.1;
    z-index: -1;
}

.modal-app-title {
    font-size: 32px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.modal-app-category {
    background: rgba(163, 39, 245, 0.2);
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 15px;
}

.modal-app-rating {
    display: flex;
    align-items: center;
    color: #FFD700;
    margin-bottom: 15px;
}

.modal-screenshots {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0 20px;
    margin-bottom: 20px;
    scrollbar-width: thin;
}

.modal-screenshot {
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.modal-body {
    padding: 0 30px 30px;
}

.section-title {
    font-size: 24px;
    margin: 25px 0 15px;
    background: linear-gradient(45deg, #00fffb, #A327F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-app-description {
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.feature-card {
    background: rgba(25, 25, 45, 0.6);
    border-radius: 10px;
    padding: 15px;
    border-left: 3px solid #00fffb;
}

.download-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(92, 103, 255, 0.2);
}

.app-links a {
    display: inline-flex;
    align-items: center;
    background: rgba(92, 103, 255, 0.1);
    border-radius: 10px;
    padding: 10px 20px;
    margin-right: 10px;
    text-decoration: none;
    color: #00fffb;
    transition: all 0.3s;
}

.app-links a:hover {
    background: rgba(92, 103, 255, 0.3);
}

.app-links i {
    margin-right: 8px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .miniapp-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-screenshots {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 300px;
    }
    
    .modal-screenshot {
        width: 100%;
        height: auto;
    }
    
    .download-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .modal-app-title {
        font-size: 26px;
    }
}


/* === Connect buttons with icons (scoped) === */
.nav-connect{
    display:inline-flex;
    align-items:center;
    gap:8px;
}
.nav-connect .nav-icon{
    font-size:18px; /* for Font Awesome icon */
    line-height:1;
}
.nav-connect .nav-icon-img{
    width:18px;
    height:18px;
    object-fit:contain;
    display:inline-block;
}



/* === Connected state for connect buttons === */
.nav-connect.is-connected span{
    opacity: 0.85;
}
.nav-connect.is-connected::after{
    content: "✓";
    margin-left: 6px;
    font-weight: 700;
}
