@font-face {
    font-family: 'BakemonoVariable';
    src: local('BakemonoVariable'), url('../fonts/BakemonoVariable-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: block;
}

:root {
    --bg-body: #0b0c15;
    --bg-card: #151621;
    --primary: #5b4dff;
    --primary-hover: #4839e0;
    --text-main: #ffffff;
    --text-muted: #9496a8;
    --border-color: rgba(255, 255, 255, 0.08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'JetBrains Mono', monospace;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    will-change: transform;
}

::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.copyright {
    justify-self: start;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 44px;
}

.footer-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 30px;
    height: 44px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.footer-nav a:hover {
    background: linear-gradient(135deg, #fff 0%, #7b7dff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    opacity: 1;
    transition: 0.2s;
}

.scroll-top-btn {
    justify-self: end;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.scroll-top-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(91, 77, 255, 0.5);
    transform: translateY(-3px);
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 50% 30%, rgba(91, 77, 255, 0.05), transparent 70%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #00d68f;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 214, 143, 0.4);
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #7b7dff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-actions {
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: #fff;
}

.stat-item>span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

#ddos-counter {
    display: inline-block;
    min-width: 2ch;
    text-align: right;
}

#uptime-counter {
    display: inline-block;
    min-width: 4ch;
    text-align: right;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-wrapper img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.section {
    padding: 100px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.tabs-container {
    background: var(--bg-card);
    padding: 6px;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--border-color);
    max-width: 100%;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    background: #2a2b3d;
    color: #fff;
    font-weight: bold;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}

.primary-card {
    background: linear-gradient(180deg, #1d1e2e 0%, var(--bg-card) 100%);
    border: 1px solid var(--primary);
    box-shadow: 0 10px 40px rgba(91, 77, 255, 0.1);
}

.card-head h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.card-head .desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-area {
    margin: 32px 0;
    display: flex;
    align-items: flex-start;
}

.currency {
    font-size: 1.5rem;
    margin-top: 8px;
    color: var(--text-muted);
}

.amount {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1;
}

.check-list {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.check-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    border: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #fff;
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(91, 77, 255, 0.4);
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--primary);
    border: none;
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(91, 77, 255, 0.6);
    filter: brightness(1.1);
    transform: translateY(-3px);
}

.btn-hero {
    width: auto;
    padding: 12px 30px;
    font-size: 1rem;
}

.locations {
    background: rgba(21, 22, 33, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.marquee {
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 50s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}



.location-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 1;
    transition: none;
    cursor: default;
    backface-visibility: hidden;
    will-change: transform;
    margin-right: 80px;
    transform: translateZ(0);
}

.location-card img {
    height: 40px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.location-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating span {
    font-size: 2rem;
    font-weight: bold;
    margin-right: 10px;
}

.stars {
    color: #ffb800;
}

.review-box {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.review-box:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.review-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-style: italic;
    line-height: 1.6;
    text-align: left;
}

.review-author {
    font-weight: bold;
    color: #fff;
}

.btn-review {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn-review:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(91, 77, 255, 0.4);
    transform: translateY(-3px);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--bg-card);
    width: 900px;
    max-width: 95%;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-height: 85vh;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body h4 {
    color: #fff;
    margin-bottom: 10px;
    margin-top: 20px;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.error-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}

.error-code {
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #7b7dff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    opacity: 0.9;
    letter-spacing: -5px;
}

.error-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.error-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.bg-decoration {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 77, 255, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        align-items: flex-start;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    h1 {
        font-size: 2.8rem;
    }

    .btn-review {
        width: 100%;
        margin-top: 15px;
        text-align: center;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tabs-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 8px;
        width: 100%;
    }

    .tab-btn {
        width: 100%;
        padding: 10px 5px;
        font-size: 0.85rem;
    }

    .footer-inner {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 15px;
        padding-bottom: 10px;
    }

    .copyright {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        font-size: 0.8rem;
    }

    .scroll-top-btn {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        margin: 0;
    }

    .footer-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 20px;
    }

    .footer-nav a {
        margin: 0;
        font-size: 0.85rem;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-title {
        font-size: 1.8rem;
    }
}


.home-page .footer {
    padding-top: 29px !important;
    padding-bottom: 31px !important;
}

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.toast-notification {
    background: var(--bg-card);
    color: var(--text-main);
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateX(100%);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.toast-notification.success {
    border-left: 4px solid #00d68f;
    background: linear-gradient(90deg, rgba(0, 214, 143, 0.1) 0%, var(--bg-card) 100%);
}

.toast-notification.error {
    border-left: 4px solid #ff4d4d;
    background: linear-gradient(90deg, rgba(255, 77, 77, 0.1) 0%, var(--bg-card) 100%);
}

.toast-notification.info {
    border-left: 4px solid var(--primary);
}

.toast-icon {
    font-size: 1.2rem;
}

.toast-notification.success .toast-icon {
    color: #00d68f;
}


.toast-notification.error .toast-icon {
    color: #ff4d4d;
}

.toast-content {
    flex-grow: 1;
    font-size: 0.95rem;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #fff;
}

@keyframes toastSlideIn {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast-notification.hiding {
    animation: toastSlideOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#review-text {
    resize: none;
    min-height: 150px;
    max-height: 300px;
    width: 100%;
    box-sizing: border-box;
    overflow-y: auto;
}