* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

#preloader {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.footer {
    border-radius: 18px;
    position: relative;
    right: 50px;
    background: transparent !important;
    border: 1px transparent;
}

.livetime {
    font-weight: bold !important;
    color:#fff !important;
    font-size: small;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid #1a1f32;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid;
    border-color: #4f9eff transparent;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-gradient {
    background-size: 300% 100%;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.flag-russia {
    background: linear-gradient(90deg, #ffffff, #0039a6, #d52b1e);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: wave 4s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(79, 158, 255, 0.3); }
    50% { box-shadow: 0 0 30px rgba(79, 158, 255, 0.6); }
}

.card {
    background: linear-gradient(145deg, #1a1f32, #0f1424);
    border: 1px solid #2a2f42;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #4f9eff;
    box-shadow: 0 10px 30px -10px rgba(79, 158, 255, 0.3);
}

.forbes-item {
    transition: all 0.3s ease;
}

.forbes-item:hover {
    transform: scale(1.02) translateX(10px);
    background: linear-gradient(90deg, #2a2f42, #1a1f32);
}

.forbes-1 {
    background: linear-gradient(145deg, #ffd700, #b8860b);
    border: 1px solid #ffd700;
}

.forbes-2 {
    background: linear-gradient(145deg, #c0c0c0, #808080);
    border: 1px solid #c0c0c0;
}

.forbes-3 {
    background: linear-gradient(145deg, #cd7f32, #8b4513);
    border: 1px solid #cd7f32;
}

.stat-card {
    background: rgba(26, 31, 50, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid #2a2f42;
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #4f9eff;
    background: rgba(26, 31, 50, 0.8);
}

.donate-card {
    background: linear-gradient(145deg, #1a1f32, #0f1424);
    border: 1px solid #2a2f42;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s ease;
}

.donate-card:hover {
    transform: scale(1.03);
    border-color: #4f9eff;
    box-shadow: 0 20px 40px -15px rgba(79, 158, 255, 0.4);
}

.donate-card .image-container {
    position: relative;
    height: 12rem; /* h-48 */
    overflow: hidden;
}

.donate-card .default-image,
.donate-card .hover-image {
    position: absolute;
    inset: 0;
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: opacity 0.5s ease;
    margin: auto;
    top: 5%;
    left: 5%;
}

.donate-card .default-image {
    opacity: 1;
}

.donate-card .hover-image {
    opacity: 0;
}

.donate-card:hover .default-image {
    opacity: 0;
}

.donate-card:hover .hover-image {
    opacity: 1;
}

.donate-price {
    background: linear-gradient(145deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.stars-container {
    display: flex;
    gap: 4px;
}

.star-filled {
    color: #ffd700;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.warning-badge {
    background: linear-gradient(145deg, #ff6b6b, #ff4757);
    border-radius: 9999px;
    padding: 4px 12px;
    font-weight: 600;
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.ban-info {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid #ff6b6b;
    border-radius: 1rem;
    padding: 1rem;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.car-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.car-list.show {
    max-height: 500px;
}

.car-item {
    background: rgba(15, 20, 36, 0.5);
    border-radius: 0.75rem;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border-left: 3px solid #4f9eff;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #4f9eff;
    transition: all 0.3s ease;
}

.avatar-container:hover {
    transform: scale(1.1);
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(79, 158, 255, 0.5);
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.forbes-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid currentColor;
}

.toggle-button {
    transition: transform 0.3s ease;
}

.toggle-button.active {
    transform: rotate(90deg);
}

.hover-glow:hover {
    filter: drop-shadow(0 0 10px currentColor);
}

.fuel-bar {
    height: 4px;
    background: #2a2f42;
    border-radius: 2px;
    overflow: hidden;
}

.fuel-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f9eff, #ff6b6b);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.price-tag {
    background: linear-gradient(145deg, #ffd700, #ff6b6b);
    border-radius: 9999px;
    padding: 4px 12px;
    font-weight: 700;
    color: #0a0f1e;
}

.logout-button {
    color: #ff6b6b;
}

.logout-button:hover {
    color: #ff4757;
}



#wrap {
    position: relative;
    width: 140vw;
}

#one {
    animation: one 5s ease-in-out infinite alternate;
}

@keyframes one {
    from {
        box-shadow: 0 0 250px 20px #0A2463;
    }
    to {
        box-shadow: 0 0 100px 15px #5A9BFF;
    }
}

#two {
    width: 90%;
    animation: two 4s ease-in-out infinite alternate;
}

@keyframes two {
    from {
        box-shadow: 0 0 250px 20px #1E3A8A;
    }
    to {
        box-shadow: 0 0 100px 15px #7CB9FF;
    }
}

#three {
    width: 80%;
    animation: three 3s ease-in-out infinite alternate;
}

@keyframes three {
    from {
        box-shadow: 0 0 250px 20px #2565AE;
    }
    to {
        box-shadow: 0 0 100px 15px #9AC6FF;
    }
}

#four {
    width: 70%;
    animation: four 2s ease-in-out infinite alternate;
}

@keyframes four {
    from {
        box-shadow: 0 0 250px 20px #0F2C67;
    }
    to {
        box-shadow: 0 0 100px 15px #BAD0FF;
    }
}

#five {
    width: 60%;
    animation: five 1s ease-in-out infinite alternate;
}

@keyframes five {
    from {
        box-shadow: 0 0 250px 20px #101D42;
    }
    to {
        box-shadow: 0 0 100px 15px #D4E1FF;
    }
}

/* новые кнопки ( тк новое - внизу )*/
.btn-neon-start {
    position: relative;
    display: inline-block;
    padding: 16px 48px;
    margin: 40px 0;
    color: #03f42b;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: 4px;
    overflow: hidden;
    font-weight: bold;
    font-size: 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.btn-neon-start:hover {
    background: #03f42b;
    color: #050801;
    box-shadow: 0 0 5px #03f42b,
                0 0 10px #03f42b,
                0 0 10px #03f42b,
                0 0 10px #03f42b;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
    transform: scale(1.1);
}

.btn-neon-start span {
    position: absolute;
    display: block;
}

.btn-neon-start span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #03f42b);
    animation: animate1 1s linear infinite;
}

.btn-neon-start span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #03f42b);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

.btn-neon-start span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #03f42b);
    animation: animate3 1s linear infinite;
    animation-delay: 0.50s;
}

.btn-neon-start span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #03f42b);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}

.btn-neon-install {
    position: relative;
    display: inline-block;
    padding: 16px 48px;
    margin: 40px 0;
    color: #032ff4;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: 4px;
    overflow: hidden;
    font-weight: bold;
    font-size: 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.btn-neon-install:hover {
    background: #032ff4;
    color: #050801;
    box-shadow: 0 0 5px #032ff4,
                0 0 15px #032ff4,
                0 0 10px #032ff4,
                0 0 10px #032ff4;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
    transform: scale(1.1);
}

.btn-neon-install span {
    position: absolute;
    display: block;
}

.btn-neon-install span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #032ff4);
    animation: animate1 1s linear infinite;
}

.btn-neon-install span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #032ff4);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

.btn-neon-install span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #032ff4);
    animation: animate3 1s linear infinite;
    animation-delay: 0.50s;
}

.btn-neon-install span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #032ff4);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}


@keyframes animate1 {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

@keyframes animate2 {
    0% { top: -100%; }
    50%, 100% { top: 100%; }
}

@keyframes animate3 {
    0% { right: -100%; }
    50%, 100% { right: 100%; }
}

@keyframes animate4 {
    0% { bottom: -100%; }
    50%, 100% { bottom: 100%; }
}

.user-select {
    user-select: none;
}


.discount-badge {
    background: rgb(217, 114, 114, 40%) !important;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.svg-blue {
    filter: brightness(0) saturate(100%) invert(29%) sepia(95%) saturate(2000%) hue-rotate(190deg) brightness(97%) contrast(106%);
    transition: all 0.3s ease;
}

.svg-blue:hover {
    filter: brightness(0) saturate(100%) invert(29%) sepia(95%) saturate(2000%) hue-rotate(190deg) brightness(97%) contrast(106%);
    opacity: 0.8;
}

.position {
    position: relative;
} 
.left {
    left: 4rem;
}

#launcherModal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-neon-connect {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    color: #ffd700;
    letter-spacing: 4px;
    text-decoration: none;
    font-size: 24px;
    overflow: hidden;
    transition: 0.2s;
    background: transparent;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
}

.btn-neon-connect:hover {
    background: #ffd700;
    color: #050801;
    box-shadow: 0 0 5px #ffd700, 0 0 25px #ffd700, 0 0 50px #ffd700, 0 0 200px #ffd700;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
}

.btn-neon-connect span {
    position: absolute;
    display: block;
}

.btn-neon-connect span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700);
    animation: btn-anim1 1s linear infinite;
}

.btn-neon-connect span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #ffd700);
    animation: btn-anim2 1s linear infinite;
    animation-delay: 0.25s;
}

.btn-neon-connect span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #ffd700);
    animation: btn-anim3 1s linear infinite;
    animation-delay: 0.5s;
}

.btn-neon-connect span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #ffd700);
    animation: btn-anim4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes btn-anim1 {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

@keyframes btn-anim2 {
    0% { top: -100%; }
    50%, 100% { top: 100%; }
}

@keyframes btn-anim3 {
    0% { right: -100%; }
    50%, 100% { right: 100%; }
}

@keyframes btn-anim4 {
    0% { bottom: -100%; }
    50%, 100% { bottom: 100%; }
}