@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

/* Подключаем ваш локальный шрифт Rostov */
@font-face {
    font-family: 'Rostov';
    src: url('/fonts/Rostov.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --background-color: #111;
    --card-background: rgba(58, 58, 60, 0.8);
    --text-color: #f0f0f0;
    --primary-color: #00aaff;
    --border-color: rgba(255, 255, 255, 0.2);
    --logo-green: #009345;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    overflow: hidden;
    
    /* Вот эта часть запрещает выделение текста на всей странице */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Standard syntax */
}

#video-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    filter: blur(8px) brightness(0.7);
}

.portal-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.portal-card {
    background: var(--card-background);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 2.5rem 3rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo-container img {
    max-width: 180px;
    margin-bottom: 25px;
}

.portal-header h1 {
    font-size: 1.6em;
    font-weight: 500;
    color: #ccc;
    margin: 0 0 30px 0;
    line-height: 1.4;
}

.rostov-font {
    font-family: 'Rostov', serif;
    font-weight: normal;
    font-size: 1.8em;
    color: var(--logo-green);
    letter-spacing: normal;
    display: block;
}

.portal-links a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    margin: 1rem 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.portal-links a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--logo-green);
    transform: scale(1.03);
}

.icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    fill: currentColor;
}