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

body {
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    background: #000;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ff6b35 0%, #e85d88 50%, #6b46c1 100%);
}


.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

/* Content */
.content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1470px;
    min-height: 748px;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Title */
.title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 8vw, 72px);
    line-height: 90px;
    text-align: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(12, 241, 138, 0.89) 59.135%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.72px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    animation: glitch 4s infinite;
}

@keyframes glitch {
    0%, 100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    40% {
        transform: translate(-2px, -2px);
        filter: hue-rotate(180deg);
    }
    60% {
        transform: translate(2px, 2px);
        filter: hue-rotate(270deg);
    }
    80% {
        transform: translate(2px, -2px);
        filter: hue-rotate(360deg);
    }
    90% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
}

/* Grid */
.grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sil & Lines */
.sil-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    z-index: 1;
    pointer-events: none;
}

.sil-lines-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Coming Soon */
.coming-soon {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 60px;
    text-align: center;
    color: #ffffff;
    opacity: 0.8;
    letter-spacing: 0.4px;
    margin-top: auto;
    margin-bottom: 10px;
    position: relative;
    z-index: 3;
}

/* App Buttons */
.app-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    position: relative;
    z-index: 3;
    flex-wrap: wrap;
    justify-content: center;
}

.app-store-button,
.google-play-button {
    display: block;
    height: clamp(40px, 5vw, 52px);
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.app-store-button {
    animation-delay: 0s;
}

.google-play-button {
    animation-delay: 0.5s;
}

.app-store-button:hover,
.google-play-button:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}

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

.app-store-button img,
.google-play-button img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Logo Text */
.logo-text {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(200px, 25vw, 297px);
    height: clamp(60px, 8vw, 92px);
    opacity: 1;
    z-index: 3;
    pointer-events: none;
    animation: logoFloat 4s ease-in-out infinite;
}

.logo-text img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    animation: logoShadowGlow 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes logoShadowGlow {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(12, 241, 138, 0.5)) 
                drop-shadow(0 0 25px rgba(12, 241, 138, 0.25));
    }
    12.5% {
        filter: drop-shadow(-4px -4px 16px rgba(12, 241, 138, 0.6)) 
                drop-shadow(4px 4px 20px rgba(199, 87, 150, 0.35))
                drop-shadow(0 0 28px rgba(12, 241, 138, 0.3));
    }
    25% {
        filter: drop-shadow(0 0 20px rgba(12, 241, 138, 0.7)) 
                drop-shadow(0 0 35px rgba(12, 241, 138, 0.4))
                drop-shadow(0 0 45px rgba(12, 241, 138, 0.25));
    }
    37.5% {
        filter: drop-shadow(4px -4px 16px rgba(12, 241, 138, 0.6)) 
                drop-shadow(-4px 4px 20px rgba(107, 70, 193, 0.35))
                drop-shadow(0 0 28px rgba(12, 241, 138, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 18px rgba(12, 241, 138, 0.8)) 
                drop-shadow(0 0 30px rgba(12, 241, 138, 0.5))
                drop-shadow(0 0 40px rgba(12, 241, 138, 0.35));
    }
    62.5% {
        filter: drop-shadow(-3px 3px 15px rgba(12, 241, 138, 0.6)) 
                drop-shadow(3px -3px 18px rgba(199, 87, 150, 0.35))
                drop-shadow(0 0 25px rgba(12, 241, 138, 0.3));
    }
    75% {
        filter: drop-shadow(0 0 15px rgba(12, 241, 138, 0.6)) 
                drop-shadow(0 0 28px rgba(12, 241, 138, 0.35))
                drop-shadow(0 0 38px rgba(12, 241, 138, 0.25));
    }
    87.5% {
        filter: drop-shadow(3px 3px 16px rgba(12, 241, 138, 0.6)) 
                drop-shadow(-3px -3px 19px rgba(107, 70, 193, 0.35))
                drop-shadow(0 0 27px rgba(12, 241, 138, 0.3));
    }
}

/* Frame Info */
.frame-info {
    position: absolute;
    right: 20%;
    top: 60%;
    transform: translateY(-50%);
    opacity: 0.85;
    z-index: 3;
    width: clamp(60px, 8vw, 87px);
    height: auto;
}

.frame-info img {
    width: 100%;
    height: auto;
}

/* Tracking Info */
.tracking-info {
    position: absolute;
    left: 20%;
    top: 60%;
    transform: translateY(-50%);
    opacity: 0.85;
    z-index: 3;
    width: clamp(40px, 6vw, 58px);
    height: auto;
}

.tracking-info svg {
    width: 100%;
    height: auto;
    display: block;
}

.tracking-x {
    animation: trackingXAppear 3s ease-in-out infinite;
}

.tracking-y {
    animation: trackingYAppear 3s ease-in-out infinite;
}

.tracking-label {
    opacity: 0.6;
}

@keyframes trackingXAppear {
    0%, 45% {
        opacity: 0.7;
    }
    50%, 95% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes trackingYAppear {
    0%, 45% {
        opacity: 0.2;
    }
    50%, 95% {
        opacity: 0.7;
    }
    100% {
        opacity: 0.2;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content {
        min-height: 600px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        padding-bottom: 30px;
        max-height: 100vh;
        overflow-y: auto;
    }

    /* Порядок элементов для адаптивной версии */
    .title {
        order: 1;
        position: relative;
        margin-bottom: 20px;
    }

    .sil-lines {
        order: 2;
        position: relative;
        width: 100%;
        max-width: 90%;
        height: auto;
        opacity: 0.8;
        margin-bottom: 20px;
        top: auto;
        left: auto;
        transform: none;
    }

    .logo-text {
        order: 3;
        position: relative !important;
        width: clamp(180px, 30vw, 250px);
        height: clamp(55px, 9vw, 75px);
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 0 auto 20px auto !important;
        display: flex;
        justify-content: center;
        align-items: center;
        animation: none !important;
    }

    .logo-text img {
        margin: 0 auto;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .coming-soon {
        order: 4;
        position: relative;
        margin-top: 0;
        margin-bottom: 10px;
        text-align: center;
    }

    .app-buttons {
        order: 5;
        position: relative;
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .grid {
        display: none;
    }

    .frame-info,
    .tracking-info {
        display: none;
    }
}

/* Специальные стили для разрешения 1024px x 797px */
@media (max-width: 1024px) and (max-height: 800px) {
    .content {
        min-height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
        justify-content: center;
    }

    .title {
        margin-bottom: 10px;
        font-size: clamp(32px, 6vw, 48px);
        line-height: 1.2;
    }

    .sil-lines {
        margin-bottom: 10px;
        max-width: 95%;
        transform: scale(1.1);
        transform-origin: center center;
    }

    .logo-text {
        position: relative !important;
        margin: 0 auto 10px auto !important;
        width: clamp(160px, 25vw, 220px);
        height: clamp(50px, 8vw, 65px);
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        display: flex;
        justify-content: center;
        align-items: center;
        animation: none !important;
    }

    .logo-text img {
        margin: 0 auto;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .coming-soon {
        margin-bottom: 5px;
        font-size: clamp(12px, 1.8vw, 14px);
        text-align: center;
    }

    .app-buttons {
        margin-bottom: 5px;
        gap: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .app-store-button,
    .google-play-button {
        width: clamp(120px, 18vw, 140px);
        height: clamp(32px, 4.5vw, 42px);
    }

    .app-store-button img,
    .google-play-button img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .content {
        min-height: 500px;
        padding: 30px 15px;
        padding-top: 30px;
    }

    .title {
        order: 1;
        line-height: 1.2;
        margin-bottom: 25px;
    }

    .sil-lines {
        order: 2;
        opacity: 0.7;
        margin-bottom: 25px;
        max-width: 95%;
    }

    .logo-text {
        order: 3;
        width: clamp(150px, 35vw, 200px);
        height: clamp(45px, 10vw, 60px);
        opacity: 1;
        margin-bottom: 25px;
    }

    .coming-soon {
        order: 4;
        margin-bottom: 10px;
    }

    .app-buttons {
        order: 5;
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
    }

    .app-store-button,
    .google-play-button {
        width: 180px;
    }

    .grid,
    .frame-info,
    .tracking-info {
        display: none;
    }
}

@media (max-width: 480px) {
    .content {
        min-height: 400px;
        padding: 20px 10px;
        padding-top: 20px;
    }

    .title {
        order: 1;
        font-size: 32px;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .sil-lines {
        order: 2;
        margin-bottom: 20px;
    }

    .logo-text {
        order: 3;
        margin-bottom: 20px;
    }

    .coming-soon {
        order: 4;
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .app-buttons {
        order: 5;
        gap: 15px;
        margin-bottom: 20px;
    }

    .app-store-button,
    .google-play-button {
        width: 150px;
        height: 45px;
    }
}

