a { text-decoration: none; }

/* ВСЕ СТИЛИ СОХРАНЕНЫ - добавлены тёмные цвета, убраны тормозящие эффекты */

.content {
    background-color: #0a0a0e;
    background-image: url(/dark/content.jpg);
    word-wrap: break-word;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

.content2 {
    background-color: #0a0a0e;
    background-image: url(/dark/13.jpg);
    word-wrap: break-word;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

/* НОВЫЕ БОЛЬШИЕ КРАСИВЫЕ КНОПКИ (стили сохранены, убран только backdrop-filter для скорости) */
.gstyle, .rstyle, .fstyle, .orstyle, .userstyle {
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #111118 0%, #0a0a0f 100%);
    padding: 12px 20px;
    margin-top: 8px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #aaaabb;
}

.gstyle {
    border-bottom: 3px solid #226644;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.gstyle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    border-bottom-color: #338855;
    background: linear-gradient(135deg, #151520 0%, #0d0d14 100%);
}

.rstyle {
    border-bottom: 3px solid #662222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.rstyle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    border-bottom-color: #883333;
}

.fstyle {
    border-bottom: 3px solid #552277;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.fstyle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    border-bottom-color: #773399;
}

.orstyle {
    border-bottom: 3px solid #775522;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.orstyle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.userstyle {
    border-bottom: 3px solid #225577;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.userstyle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* ОБЩИЕ СТИЛИ ДЛЯ ВСЕХ КНОПОК */
button, .btn, input[type="submit"], input[type="button"] {
    cursor: pointer;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(135deg, #121218, #0a0a0f);
    color: #aaaabb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

button:hover, .btn:hover, input[type="submit"]:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #161620, #0d0d14);
    color: #ccccdd;
}

button:active, .btn:active, input[type="submit"]:active {
    transform: translateY(1px);
}

/* Большие кнопки */
.btn-large {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 12px;
}

/* Кнопка-старт */
.btn_start {
    display: inline-block;
    overflow: hidden;
}

.btn_start:active {
    transform: scale(0.98);
}

.btn_start .btn_end {
    display: block;
}

.btn_start .btn {
    color: #ddd;
    text-align: center;
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(135deg, #5a2a2a, #3a1a1a);
    border-radius: 8px;
    text-decoration: none !important;
}

.btn_start input.btn, .btn_start button.btn {
    padding: 10px 24px;
}

.cla {
    background: linear-gradient(135deg, #0a0a10, #050508);
    border: 1px solid #444488;
    color: #aaaacc;
    border-radius: 10px;
    padding: 8px 16px;
}

.cla:hover {
    box-shadow: 0 0 12px rgba(68,68,136,0.3);
    transform: scale(1.01);
}

.header {
    background-image: url(/style/0/header.jpg); 
    color: #bbb;
    background-color: #050508;
    border-radius: 20px 20px 0px 0px;
}

.header, .footer {
    width: auto;
    text-align: center;
    text-shadow: 0 1px #000;
    font-family: diablo, tahoma;
    background-color: #111118;
    background: url(dark/5/img/hflnew.png) no-repeat left, url(dark/5/img/hfrnew.png) no-repeat right, url(dark/5/img/hfcnew.png) repeat-x;
    height: 30px;
    line-height: 1.7;
}

.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.center { text-align: center; }
.small { font-size: small; }
.bold { font-weight: bold; }
.block { padding: 5px; }

/* Цвета качества (приглушённые) */
.color-quality1, a.color-quality1 { color:#555566; }
.color-quality2, a.color-quality2 { color:#338866; }
.color-quality3, a.color-quality3 { color:#aa8844; }
.color-quality4, a.color-quality4 { color:#aa6644; }
.color-quality5, a.color-quality5 { color:#44aa66; }
.color-quality6, a.color-quality6 { color:#4466aa; }
.color-quality7, a.color-quality7 { color:#aa4444; }
.color-quality8, a.color-quality8 { color:#aa55aa; }
.color-quality9, a.color-quality9 { color:#8844aa; }

.color, a.color { color: #aaaabb; }
.color1, a.color1 { color: #77aa99; }
.color2, a.color2 { color: #666677; }
.color3, a.color3 { color: #bbaa77; }
.color4, a.color4 { color: #aa77cc; }
.color5, a.color5 { color: #55aacc; }
.color6, a.color6 { color: #cc7777; }
.color7, a.color7 { color: #77cc88; }
.color8, a.color8 { color: #bbcc77; }

.blue, a.blue { color: #7799bb; }
.white { color: #ccccdd !important; }
.red, a.red { color: #cc8888; }
.green, a.green { color: #88cc88; }
.yellow, a.yellow { color: #ccbb77; }

.s125 { font-size: 125%; }
.m3 { margin-top: 3px; }
.mlrb5 { padding: 0 5px 5px 5px; }
.mt-5 { margin-top: -5px; }
.mtrl5 { margin: 5px 5px 0 5px; }
.mr8 { margin-right: 8px; }
.dotted { border-bottom: 1px dotted #444455; }
.dashed { border-bottom: 1px dashed #333344; }
a.dashed { border-bottom: 1px dashed #aa9966; }
.tdnone { text-decoration: none; }

.menu a {
    display: block;
    padding: 8px 12px;
    text-decoration: none !important;
    border-radius: 6px;
}

.menu li {
    list-style: none;
    border-bottom: 1px dotted #333344;
    margin: 0;
}

.menu li:last-child { border: 0; }
.menu li:hover { background: linear-gradient(90deg, #111118, #0a0a10); }

.fonsss {
    border: 1px solid #444455;
    border-radius: 12px;
    background: rgba(10,10,15,0.7);
    padding: 8px 20px;
}

.help-block { font-size: small; }
.has-error .help-block, .has-error .control-label { color: #cc8888; }

.alert {
    background-image: url(/dark/content.jpg);
    text-align: center;
    margin-bottom: 0px;
    padding: 10px;
    border-radius: 8px;
}

.inline-block {
    text-align: left;
    display: inline-block;
}

.a_separator {
    margin: 10px auto;
    width: 50%;
    border-top: 1px solid #1a1a22;
    border-bottom: 1px solid #2a2a35;
}

/* Прогресс-бары */
.progress-green { background: linear-gradient(90deg, #226644, #338855); }
.progress-red { background: linear-gradient(90deg, #662222, #883333); }
.progress-grey { background: linear-gradient(90deg, #333344, #444455); }
.progress-yellow { background: linear-gradient(90deg, #665522, #887733); }
.progress-orange { background: linear-gradient(90deg, #774422, #995533); }
.progress-white { background: #555566; }

ul.pagination {
    padding: 10px 5px;
    margin: 0;
}

ul.pagination li {
    list-style: none;
    display: inline-block;
    margin: 0 3px;
    border-radius: 6px;
}

ul.pagination li:hover {
    transform: translateY(-1px);
}

ul.pagination a, li.disabled {
    padding: 8px 12px;
    border: 1px solid #2a2a35;
    background: linear-gradient(135deg, #111118, #0a0a0f);
    border-radius: 6px;
    color: #888899;
    text-decoration: none;
}

ul.pagination li.active a, ul.pagination li.disabled {
    color: #ccc;
    font-weight: bold;
    background: linear-gradient(135deg, #1a1a24, #11111a);
    border-color: #555588;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container { padding: 70px 15px 20px; }
.footer__ {
    height: 60px;
    background-color: #08080c;
    border-top: 1px solid #1a1a22;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 28px;
}

.not-set { color: #aa7755; font-style: italic; }

.css_user {
    display: block;
    position: relative;
    padding: 8px 16px;
    width: 70%;
    margin: 0 auto;
    background: linear-gradient(135deg, #0a0a10, #050508);
    text-align: center;
    border: 1px solid #333366;
    color: #aaaabb;
    font-size: 14px;
    border-radius: 25px 25px 12px 12px;
}

.css_clan {
    display: block;
    position: relative;
    padding: 8px 16px;
    width: 90%;
    margin: 0 auto;
    background: linear-gradient(135deg, #0a0a10, #050508);
    text-align: center;
    border: 1px solid #663366;
    color: #aaaabb;
    font-size: 13px;
    border-radius: 18px 35px 18px 35px;
}

.menus2 { 
    background: linear-gradient(135deg, #0a0a10, #050508);
    padding: 8px; 
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
    border-radius: 10px;
}

/* ПОЛЯ ВВОДА */
input, textarea, select { 
    background: #0a0a0f;
    border: 1px solid #2a3a3a;
    padding: 10px;
    margin: 6px;
    color: #99aa99;
    border-radius: 8px;
}

input:focus, textarea:focus, select:focus {
    border-color: #338866;
    box-shadow: 0 0 8px rgba(51,136,102,0.3);
    outline: none;
}

.cvet { color: #44aa99; }
.color122 { color: #aa77cc; }

.imgblock {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 10px;
}

.imgblock img {
    height: 160px;
    width: 250px;
}

.imgblock:hover img {
    transform: scale(1.03);
}

.imgblock span {
    background: linear-gradient(90deg, #0a0a10, #111118);
    color: #338866;
    border-radius: 6px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 18px;
    padding: 5px 10px;
}

.newstyle {
    border: 1px solid #1a1a22;
    border-radius: 10px;
    background: rgba(5,5,8,0.7);
    padding: 8px;
    margin-top: 6px;
}

.medstyle {
    border: 1px solid #15151e;
    border-radius: 8px;
    background: rgba(8,8,12,0.6);
    padding: 6px;
    margin-top: 6px;
}

.fon { background: #050508; }

/* АНИМИРОВАННАЯ ГРАНИЦА (упрощена для скорости) */
.divr {
    padding: 8px;
    margin: 4px;
    border: 1px solid #226644;
    border-radius: 10px;
    transition: all 0.1s ease;
}

.divr:hover {
    border-color: #338855;
    box-shadow: 0 0 5px rgba(34,102,68,0.3);
}

.form-control.custom-size {
    width: 300px;
    height: 50px;
}

.form-control {
    width: 100px;
    height: 50px;
}

/* Стили для скроллбара */
::-webkit-scrollbar {
    width: 8px;
    background: #050508;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1a3a2a, #0a1a12);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2a4a3a, #1a2a22);
}

/* Body */
body {
    background-image: url('/1614261254_3-p-fon-chernii-granzh-3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #888899;
    max-width: 550px;
    font-family: 'Segoe UI', Verdana, Arial, sans-serif;
    font-size: 13px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.8);
    background-color: #030308;
    margin: 0 auto;
    border: 1px solid #1a3a2a;
    box-shadow: 0 0 25px rgba(0,0,0,0.8);
    border-radius: 8px;
}

html, div, span, h1, h2, h3, h4, h5, h6, form, p, img, ul, li {
    padding: 0;
    margin: 0;
}

table { border: 0; border-collapse: collapse; }
img { border: 0; vertical-align: middle; max-width: 100%; }

a {
    color: #559977;
    text-decoration: none;
}

a:hover {
    color: #77bb99;
    text-shadow: 0 0 4px rgba(85,153,119,0.3);
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 6px;
}

ul, li {
    list-style: square;
    margin: 0 0 0 15px;
}

li { color: #aa9966; }

hr {
    border: 1px solid #1a2a1a;
    margin: 8px -5px;
}