@font-face {
    font-family: 'VCROSDMonoRUSbyD';
    src: url('../fonts/VCROSDMonoRUSbyD-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'BitCell';
    src: url('../fonts/BitCell-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

:root {
    --tech-primary: #ff9d00; /* Индустриальный оранжевый */
    --tech-dark: #0f1115;    /* Очень темный фон */
    --tech-card: #161b22;    /* Фон карточек */
    --tech-text: #c9d1d9;    /* Светло-серый текст */
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 0.3s ease-in-out both slideOut;
}

::view-transition-new(root) {
  animation: 0.3s ease-in-out both zoomIn;
}

body {
    background-color: var(--tech-dark);
    color: var(--tech-text);
    font-family: Arial, sans-serif;
}

/* Прелоадер */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--tech-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    color: var(--tech-primary);
    font-size: 4rem;
    display: inline-block;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-hidden {
    opacity: 0;
    pointer-events: none;
}
/*  */


.online-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #00AA00;
}

h1, h2, h3, .navbar-brand {
    font-family: 'BitCell', 'Orbitron', sans-serif; /* Технологичный шрифт */
    text-transform: uppercase;
    letter-spacing: 4px;
}

.navbar {
    background-color: rgba(15, 17, 21, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #30363d;
}

.navbar-brand {
    color: var(--tech-primary) !important;
    letter-spacing: 2px !important;
}

.navbar-brand .brand {
    font-size: 40px;
}

.menu-item {
    margin: 0 10px;
    text-align: center;
}

.menu-link {
    color: #fff !important;
    transition: 0.3s;
    text-decoration: none;
    font-size: large;
}

.menu-link:hover {
    color: var(--tech-primary) !important;
    text-shadow: 0 0 10px rgba(255, 157, 0, 0.5);
}

.menu-burger-button {
    background-color: transparent;
    border: 2px solid var(--tech-primary);
    border-radius: 3px !important;
    width: 100%;
    height: 100%;
    z-index: 1;
    font-size: 15px;
}

.menu-burger-button:hover {
    box-shadow: 0 0 10px rgba(255, 157, 0, 0.5);
}

.menu-burger-button:focus {
    box-shadow: none;
}

.burger-dropdown-menu {
    background-color: #161b22;
    border: 1px solid #30363d;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    text-align: center;
}

.burger-dropdown-menu .menu-link {
    color: #fff !important;
    transition: 0.3s;
    text-decoration: none;
}

.burger-dropdown-menu .menu-button:hover {
    background-color: #30363d;
    transition: 0.3s;
    text-shadow: 0 0 10px rgba(255, 157, 0, 0.5);
}

.dropdown-item:active {
    color: #000;
    background-color: var(--tech-primary);
}

@media screen and (max-width: 991px) {
    #menu-links {
        display: none;
    }
    #menu-burger {
        display: inline-flex;
    }
    .menu-item {
        margin: 0 !important;
    }
}

@media screen and (min-width: 992px) {
    #menu-links {
        display: flex;
    }
    #menu-burger {
        display: none;
    }
}

@media screen and (max-width: 557px) {
    #header-container {
        display: block !important;
    }

    #header-brand, #header-auth {
        justify-content: center !important;
    }
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/media/common/techmine-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #a8b2d1;
}

.btn-tech {
    background-color: transparent;
    border: 2px solid var(--tech-primary);
    color: var(--tech-primary);
    padding: 10px 30px;
    font-family: 'VCROSDMonoRUSbyD', Arial, sans-serif;
    font-size: 15px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-tech::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background-color: var(--tech-primary);
    z-index: -1;
    transition: 0.3s;
}

.btn-tech:hover {
    color: #000;
}

.btn-tech:hover::before {
    width: 100%;
}

.feature-card {
    background-color: var(--tech-card);
    border: 1px solid #30363d;
    border-radius: 0;
    padding: 2rem;
    transition: 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--tech-primary);
    box-shadow: 0 0 15px rgba(255, 157, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--tech-primary);
    margin-bottom: 1rem;
}

.server-status {
    background: #1c2128;
    border-left: 4px solid var(--tech-primary);
    padding: 1.5rem;
    margin-top: 2rem;
}

.tech-form-card {
    background-color: #161b22;
    border: 1px solid #30363d;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.tech-form-card .form-control {
    background-color: #0d1117;
    border: 1px solid #30363d;
    color: #c9d1d9;
    height: 45px;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
}

.tech-form-card .form-control:focus {
    background-color: #0d1117;
    border-color: #ff9d00;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 157, 0, 0.25);
}

.tech-form-card label {
    color: #8b949e;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.profile-info {
    height: 100vh;
}

.skin-card {
    background-color: var(--tech-card);
    height: 600px;
    width: 100%;
    border: 1px solid var(--tech-primary);
    box-shadow: 0 0 10px rgba(255, 157, 0, 0.5);
    border-radius: 5px;
}

.skin-card .skin {
    
}

.balance-card {
    background-color: var(--tech-card);
    height: 250px;
    width: 100%;
    border: 1px solid var(--tech-primary);
    box-shadow: 0 0 10px rgba(255, 157, 0, 0.5);
    border-radius: 5px;
}

.profile-data-card {
    background-color: var(--tech-card);
    height: 250px;
    width: 100%;
    border: 1px solid var(--tech-primary);
    box-shadow: 0 0 10px rgba(255, 157, 0, 0.5);
    border-radius: 5px;
}


/* Стили шаблонов подтверждения Email */

.confirm-block, .success-block {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

/* Страница начала игры */
.startgame-card {
    background-color: var(--tech-card);
    border: 1px solid #30363d;
    border-radius: 0;
    padding: 2rem;
    transition: 0.3s;
    height: 100%;
}

.startgame-card:hover {
    transform: translateY(-5px);
    border-color: var(--tech-primary);
    box-shadow: 0 0 15px rgba(255, 157, 0, 0.1);
}

.startgame-card a {
    text-decoration: none;
    font-size: large;
    color: white;
}