@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #171717;
    color: white;
    overflow-x: hidden;
}

/* Фоновые свечения */

body::before {
    content: '';
    position: fixed;

    width: 600px;
    height: 600px;

    background: rgba(62, 157, 153, 0.15);

    filter: blur(120px);

    top: -200px;
    right: -200px;

    z-index: -1;
}

body::after {
    content: '';
    position: fixed;

    width: 500px;
    height: 500px;

    background: rgba(62, 157, 153, 0.08);

    filter: blur(140px);

    bottom: -250px;
    left: -200px;

    z-index: -1;
}

/* Header */

header {
    width: 100%;

    padding: 24px 80px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: sticky;
    top: 0;

    z-index: 100;

    background: rgba(29, 29, 29, 0.75);

    backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo {
    font-size: 32px;
    font-weight: 800;

    color: #3e9d99;

    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

nav a {
    color: rgba(255,255,255,0.8);

    text-decoration: none;

    transition: 0.25s;
}

nav a:hover {
    color: white;
}

.btn {
    background: linear-gradient(135deg, #3e9d99, #55c7c2);

    padding: 12px 24px;

    border-radius: 14px;

    color: white;

    box-shadow: 0 0 25px rgba(62,157,153,0.35);
}

/* Hero */

.hero {
    min-height: 92vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 40px;
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    font-size: 86px;

    line-height: 1;

    margin-bottom: 25px;

    font-weight: 800;
}

.hero-content p {
    font-size: 22px;

    color: rgba(255,255,255,0.7);

    margin-bottom: 35px;

    line-height: 1.6;
}

.main-btn {
    display: inline-flex;

    justify-content: center;
    align-items: center;

    padding: 18px 40px;

    background: linear-gradient(135deg, #3e9d99, #55c7c2);

    border-radius: 18px;

    text-decoration: none;

    color: white;

    font-size: 18px;
    font-weight: 600;

    transition: 0.3s;

    box-shadow: 0 0 35px rgba(62,157,153,0.35);
}

.main-btn:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 40px rgba(62,157,153,0.45);
}

/* Features */

.features {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    padding: 100px 80px;
}

.card {
    background: rgba(29,29,29,0.95);

    border: 1px solid rgba(255,255,255,0.05);

    padding: 35px;

    border-radius: 28px;

    position: relative;

    overflow: hidden;

    transition: 0.3s;
}

.card::before {
    content: '';

    position: absolute;

    width: 200px;
    height: 200px;

    background: rgba(62,157,153,0.08);

    border-radius: 50%;

    top: -120px;
    right: -120px;
}

.card:hover {
    transform: translateY(-10px);

    border-color: rgba(62,157,153,0.35);
}

.card h3 {
    color: #3e9d99;

    margin-bottom: 15px;

    font-size: 24px;
}

.card p {
    color: rgba(255,255,255,0.7);

    line-height: 1.7;
}

/* Auth */

.auth-box {
    width: 430px;

    margin: 100px auto;

    background: rgba(29,29,29,0.95);

    border: 1px solid rgba(255,255,255,0.05);

    backdrop-filter: blur(20px);

    padding: 45px;

    border-radius: 30px;

    box-shadow: 0 0 50px rgba(0,0,0,0.35);
}

.auth-box h1 {
    margin-bottom: 25px;

    font-size: 36px;
}

.auth-box form {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.auth-box input {
    background: #171717;

    border: 1px solid rgba(255,255,255,0.08);

    padding: 16px;

    border-radius: 16px;

    color: white;

    transition: 0.25s;
}

.auth-box input:focus {
    outline: none;

    border-color: #3e9d99;

    box-shadow: 0 0 0 4px rgba(62,157,153,0.15);
}

.auth-box button {
    background: linear-gradient(135deg, #3e9d99, #55c7c2);

    border: none;

    padding: 16px;

    border-radius: 16px;

    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.auth-box button:hover {
    transform: translateY(-3px);
}

.error {
    background: rgba(255,0,0,0.12);

    border: 1px solid rgba(255,0,0,0.2);

    padding: 14px;

    border-radius: 14px;

    margin-bottom: 18px;
}

/* Dashboard */

.dashboard {
    display: flex;

    min-height: 100vh;
}

.sidebar {
    width: 280px;

    background: rgba(29,29,29,0.95);

    border-right: 1px solid rgba(255,255,255,0.05);

    padding: 35px;

    display: flex;
    flex-direction: column;

    gap: 18px;
}

.sidebar h2 {
    color: #3e9d99;

    margin-bottom: 15px;
}

.sidebar a {
    color: rgba(255,255,255,0.8);

    text-decoration: none;

    padding: 14px 18px;

    border-radius: 14px;

    transition: 0.25s;
}

.sidebar a:hover {
    background: rgba(62,157,153,0.12);

    color: white;
}

.content {
    flex: 1;

    padding: 45px;
}

.content h1 {
    font-size: 42px;

    margin-bottom: 25px;
}

.status-card {
    background: rgba(29,29,29,0.95);

    border: 1px solid rgba(255,255,255,0.05);

    padding: 30px;

    border-radius: 26px;

    margin-top: 25px;
}

.status-card h3 {
    margin-bottom: 15px;

    color: #3e9d99;
}

textarea {
    width: 100%;
    height: 200px;

    margin-top: 18px;

    background: #171717;

    border: 1px solid rgba(255,255,255,0.06);

    color: white;

    padding: 18px;

    border-radius: 16px;

    resize: none;
}

/* GUIDE PAGE */

.guide-wrapper {
    max-width: 1100px;

    margin: 60px auto;

    padding: 20px;
}

.guide-title {
    font-size: 52px;

    font-weight: 800;

    margin-bottom: 15px;
}

.guide-subtitle {
    color: rgba(255,255,255,0.65);

    margin-bottom: 40px;

    font-size: 18px;
}

.guide-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

    gap: 25px;
}

.guide-card {
    background: rgba(29,29,29,0.95);

    border: 1px solid rgba(255,255,255,0.05);

    border-radius: 28px;

    padding: 35px;

    position: relative;

    overflow: hidden;

    transition: 0.3s;
}

.guide-card::before {
    content: '';

    position: absolute;

    width: 180px;
    height: 180px;

    background: rgba(62,157,153,0.08);

    border-radius: 50%;

    top: -100px;
    right: -100px;
}

.guide-card:hover {
    transform: translateY(-8px);

    border-color: rgba(62,157,153,0.35);
}

.guide-card h2 {
    font-size: 28px;

    margin-bottom: 22px;
}

.guide-card p {
    color: rgba(255,255,255,0.7);

    line-height: 1.8;

    margin-bottom: 14px;
}

.download-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 22px;

    background: linear-gradient(135deg, #3e9d99, #55c7c2);

    padding: 14px 24px;

    border-radius: 16px;

    color: white;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;

    box-shadow: 0 0 25px rgba(62,157,153,0.25);
}

.download-btn:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 35px rgba(62,157,153,0.35);
}

.support-box {
    margin-top: 35px;

    background: rgba(29,29,29,0.95);

    border: 1px solid rgba(255,255,255,0.05);

    padding: 35px;

    border-radius: 28px;

    text-align: center;
}

.support-box h3 {
    font-size: 30px;

    margin-bottom: 12px;
}

.support-box p {
    color: rgba(255,255,255,0.7);

    margin-bottom: 22px;

    line-height: 1.7;
}

.tg-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 30px;

    background: linear-gradient(135deg, #3e9d99, #55c7c2);

    border-radius: 18px;

    color: white;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s;

    box-shadow: 0 0 30px rgba(62,157,153,0.3);
}

.tg-btn:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 40px rgba(62,157,153,0.4);
}

/* BACK BUTTON */

.top-back {
    width: 100%;

    padding: 30px 20px 0 20px;

    max-width: 1100px;

    margin: 0 auto;
}

.back-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 14px 24px;

    background: rgba(29,29,29,0.95);

    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 18px;

    color: white;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;

    backdrop-filter: blur(20px);
}

.back-btn:hover {
    transform: translateY(-4px);

    border-color: rgba(62,157,153,0.35);

    box-shadow: 0 10px 30px rgba(62,157,153,0.2);
}

/* VPN BLOCK */

.vpn-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 20px;

    gap: 15px;

    flex-wrap: wrap;
}

.vpn-header-text p {
    color: rgba(255,255,255,0.6);

    font-size: 14px;

    margin-top: 8px;
}

.vpn-badge {
    background: rgba(62,157,153,0.12);

    color: #3e9d99;

    padding: 10px 16px;

    border-radius: 14px;

    font-size: 14px;
    font-weight: 600;
}

.vpn-textarea-wrap {
    position: relative;
}

.vpn-textarea {
    width: 100%;

    height: 120px;

    padding-right: 140px;
}

.copy-btn {
    position: absolute;

    right: 15px;
    bottom: 15px;

    padding: 12px 20px;

    font-size: 14px;
}

.vpn-country-list {
    margin-top: 20px;

    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

.vpn-country {
    background: rgba(255,255,255,0.04);

    padding: 12px 18px;

    border-radius: 14px;

    border: 1px solid rgba(255,255,255,0.05);
}

/* EMPTY SUB */

.empty-sub-text {
    color: rgba(255,255,255,0.65);

    margin-bottom: 25px;

    line-height: 1.7;
}

/* TOAST */

.toast {
    position: fixed;

    bottom: 30px;
    right: 30px;

    background: #1d1d1d;

    color: white;

    padding: 16px 22px;

    border-radius: 16px;

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 10px 40px rgba(0,0,0,0.35);

    opacity: 0;

    transform: translateY(20px);

    transition: 0.3s;

    z-index: 9999;
}

.toast.show {
    opacity: 1;

    transform: translateY(0);
}


/* Mobile */

@media (max-width: 1000px) {

    header {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 56px;
    }

    .features {
        grid-template-columns: 1fr;

        padding: 50px 20px;
    }

    .dashboard {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .guide-title {
        font-size: 36px;
    }

    .guide-subtitle {
        font-size: 16px;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .guide-card {
        padding: 28px;
    }

}

@media (max-width: 700px) {

    .vpn-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .vpn-textarea {
        padding-right: 20px;
        height: 160px;
    }

    .copy-btn {
        position: static;

        margin-top: 15px;

        width: 100%;
    }
}
