/* Основные стили */
html, body {
margin: 0;
padding: 0;
width: 100%;
min-height: 100vh;
background: rgb(65, 10, 53) !important;
font-family: "Arial Black", sans-serif;
color: white;
overflow-x: hidden;
}
/* Контейнер */
.main-container {
margin-top: 40px; /* Сдвигаем вверх */
padding-bottom: 100px;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
width: 100%;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
position: relative;
}
/* Заголовок RAVAGE */
.glowing-text {
font-size: 5rem;
color: #ff0000;
text-shadow:
0 0 10px #ff0000,
0 0 20px #ff4444,
0 0 30px #cc0000,
0 0 40px #660000;
letter-spacing: 5px;
text-transform: uppercase;
margin: 0;
user-select: none;
}
/* Надпись OSINT */
.glowed {
color: #ff0000;
font-size: 1.5rem;
text-shadow:
0 0 5px #ff0000,
0 0 10px #ff4444,
0 0 15px #cc0000;
letter-spacing: 3px;
text-transform: uppercase;
margin: 0 0 20px 0;
user-select: none;
text-align: center;
}
/* Инпут поиска */
.search-input {
background: #111;
color: #fff;
border: 2px solid #440000;
border-radius: 8px;
padding: 12px 15px;
width: 300px;
font-size: 16px;
box-shadow:
inset 0 0 10px #220000,
0 0 5px #330000;
outline: none;
transition: all 0.3s ease-in-out;
}
.search-input:focus {
border-color: #ff0000;
box-shadow: 0 0 8px #ff0000, 0 0 20px #ff0000;
}
/* Кнопка Найти */
.search-btn {
background: #220000;
color: #ff4444;
border: 2px solid #ff0000;
border-radius: 10px;
padding: 12px 25px;
font-family: "Arial Black", sans-serif;
font-size: 1rem;
cursor: pointer;
box-shadow:
0 0 10px #ff0000,
0 0 20px #ff4444,
inset 0 0 10px #ff0000;
transition: all 0.3s ease-in-out;
display: inline-flex;
align-items: center;
gap: 8px;
user-select: none;
text-transform: uppercase;
}
.search-btn:hover {
background: #ff0000;
color: #220000;
box-shadow:
0 0 15px #ff0000,
0 0 30px #ff6666,
inset 0 0 15px #ff0000;
}
.search-btn:active {
background: #cc0000;
box-shadow: none;
color: #fff;
}
/* Иконка поиска с анимацией вращения */
.search-icon {
display: inline-block;
margin-right: 8px;
transition: transform 0.3s ease-in-out;
}
.spin {
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Кнопки glow из твоего оригинального CSS */
.glow-on-hover,
.glow-on-hover2,
.developer {
width: 220px;
height: 60px;
border: none;
outline: none;
cursor: pointer;
position: relative;
font-family: "Arial Black";
font-size: small;
border-radius: 10px;
z-index: 0;
text-decoration: none;
display: inline-block;
padding: 10px 20px;
user-select: none;
transition: color 0.3s ease;
background: #111;
color: var(--button-text-color);
border: 2px solid var(--button-border-color);
box-shadow:
0 0 10px var(--button-border-color),
0 0 20px var(--button-border-color),
inset 0 0 10px var(--button-border-color);
}
.glow-on-hover {
background: #111;
color: var(--button-text-color);
border-color: var(--button-border-color);
outline: 2px solid rgb(0, 0, 0);
}
.glow-on-hover2 {
background: #111;
color: rgb(255, 246, 246);
border: 2px solid rgb(0, 0, 0);
outline: 2px solid rgb(0, 0, 0);
font-size: medium;
}
.developer {
background: #111;
color: #fff;
border: 2px solid #000;
outline: 2px solid #000;
font-size: small;
white-space: nowrap;
overflow: visible;
text-overflow: ellipsis;
}
/* Неоновый свет вокруг кнопок и при наведении */
.glow-on-hover:active,
.glow-on-hover2:active,
.developer:active {
color: #000;
}
.glow-on-hover:active::after,
.glow-on-hover2:active::after,
.developer:active::after {
background: transparent;
}
@keyframes glowing {
0% {
background-position: 0 0;
}
50% {
background-position: 400% 0;
}
100% {
background-position: 0 0;
}
}
/* Темы */
.theme-default {
background: linear-gradient(to bottom, #0a0a0a, #1a1a1a) !important;
}
.theme-rain {
background: #7a7a7a !important;
}
.theme-drizzle {
background: linear-gradient(to bottom, #7f8c8d, #34495e) !important;
}
.theme-gray {
background: linear-gradient(to bottom, #bdc3c7, #7f8c8d) !important;
}
.theme-neon {
background: linear-gradient(to bottom, #1a1a1a, #0a0a0a) !important;
}
.theme-sakura {
background: linear-gradient(to bottom, #ffb6c1, #ff69b4) !important;
}
.theme-night {
background: linear-gradient(to bottom, #000000, #111111) !important;
}
/* Цвета текста для разных тем */
/* Анимации для разных тем */
@keyframes rain {
0% { background-position: 0 0; }
100% { background-position: 0 100vh; }
}
.rain-effect {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255,255,255,0.2);
background-size: 2px 20px;
animation: rain 0.5s linear infinite;
pointer-events: none;
z-index: 1;
opacity: 0.5;
}
.stars {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('data:image/svg+xml;utf8,');
background-size: 20px 20px;
pointer-events: none;
z-index: 1;
}
.firefly {
position: fixed;
width: 4px;
height: 4px;
background: yellow;
border-radius: 50%;
box-shadow: 0 0 10px yellow, 0 0 20px gold;
pointer-events: none;
z-index: 1;
animation: fly 10s infinite ease-in-out alternate;
}
@keyframes fly {
0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
50% { transform: translate(50px, -50px) scale(1.2); opacity: 1; }
100% { transform: translate(-30px, 40px) scale(0.8); opacity: 0.5; }
}
/* Стилизация выпадающего списка темы */
#theme-selector {
width: 220px;
height: 60px;
border: none;
outline: none;
cursor: pointer;
position: relative;
font-family: "Arial Black";
font-size: small;
border-radius: 10px;
z-index: 0;
text-decoration: none;
display: inline-block;
padding: 10px 20px;
user-select: none;
transition: color 0.3s ease;
background: #111;
color: var(--button-text-color);
border: 2px solid var(--button-border-color);
box-shadow:
0 0 10px var(--button-border-color),
0 0 20px var(--button-border-color),
inset 0 0 10px var(--button-border-color);
}
#theme-selector:hover {
background: var(--button-border-color);
color: #111;
}
#theme-selector::before {
content: "";
position: absolute;
top: -2px;
left: -2px;
width: calc(100% + 4px);
height: calc(100% + 4px);
background: linear-gradient(45deg, red, red, darkred);
background-size: 400%;
filter: blur(5px);
z-index: -1;
opacity: 0;
transition: opacity 0.3s ease-in-out;
border-radius: 10px;
animation: glowing 20s linear infinite;
}
#theme-selector:hover::before {
opacity: 1 !important;
}
#theme-selector::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #111;
border-radius: 10px;
z-index: -1;
}
#theme-selector:hover {
background: #ff0000;
color: #111;
}
@keyframes twinkle {
0%, 100% { opacity: 0.8; }
50% { opacity: 0.3; }
}
.stars::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: inherit;
animation: twinkle 2s infinite ease-in-out;
}
.raindrop {
position: fixed;
top: -10px;
width: 2px;
height: 20px;
background: rgba(255, 255, 255, 0.3);
animation: rain-fall linear infinite;
z-index: 1;
pointer-events: none;
}
@keyframes rain-fall {
0% { transform: translateY(0); opacity: 0.5; }
100% { transform: translateY(100vh); opacity: 0; }
}
.theme-rain {
--button-text-color: #ffffff;
--button-border-color: #cccccc;
}
.theme-fireflies {
--button-text-color: #00ffcc;
--button-border-color: #00ffaa;
}
.theme-night {
--button-text-color: #ffffff;
--button-border-color: #4444ff;
}
.theme-sakura {
--button-text-color: #8b0000;
--button-border-color: #ff69b4;
}
.glow-on-hover:hover,
.glow-on-hover2:hover,
.developer:hover,
#theme-selector:hover {
background: var(--button-border-color);
color: #111;
}
.unified-button {
width: 220px;
height: 60px;
padding: 12px 25px;
font-family: "Arial Black", sans-serif;
font-size: 1rem;
text-transform: uppercase;
border-radius: 10px;
background: #111;
color: var(--button-text-color);
border: 2px solid var(--button-border-color);
box-shadow:
0 0 10px var(--button-border-color),
0 0 20px var(--button-border-color),
inset 0 0 10px var(--button-border-color);
position: relative;
cursor: pointer;
transition: color 0.3s ease;
z-index: 0;
}
.unified-button:hover {
background: var(--button-border-color);
color: #111;
}
.theme-fireflies .unified-button {
background: #000 !important;
color: #00ffcc !important;
border: 2px solid #00ffaa !important;
box-shadow:
0 0 10px #00ffaa,
0 0 20px #00ffaa,
inset 0 0 10px #00ffaa !important;
}
/* FIRELIES - стили для input и кнопки поиска */
.theme-fireflies .search-input {
background: #000 !important;
color: #00ffcc !important;
border: 2px solid #00ffaa !important;
box-shadow:
inset 0 0 10px #00ffaa,
0 0 5px #00ffaa !important;
}
.theme-fireflies .search-btn {
background: #000 !important;
color: #00ffcc !important;
border: 2px solid #00ffaa !important;
box-shadow:
0 0 10px #00ffaa,
0 0 20px #00ffaa,
inset 0 0 10px #00ffaa !important;
}
.theme-fireflies .search-btn:hover {
background: #00ffaa !important;
color: #000 !important;
box-shadow:
0 0 15px #00ffaa,
0 0 30px #00ffcc,
inset 0 0 15px #00ffaa !important;
}
/* Унифицированные input, кнопки поиска и поле вывода */
.theme-default .search-input,
.theme-default .search-btn,
.theme-default #api-result,
.theme-rain .search-input,
.theme-rain .search-btn,
.theme-rain #api-result,
.theme-fireflies .search-input,
.theme-fireflies .search-btn,
.theme-fireflies #api-result,
.theme-night .search-input,
.theme-night .search-btn,
.theme-night #api-result,
.theme-sakura .search-input,
.theme-sakura .search-btn,
.theme-sakura #api-result {
background: #000 !important;
color: var(--button-text-color) !important;
border: 2px solid var(--button-border-color) !important;
box-shadow:
0 0 10px var(--button-border-color),
0 0 20px var(--button-border-color),
inset 0 0 10px var(--button-border-color) !important;
}
.theme-default .search-btn:hover,
.theme-rain .search-btn:hover,
.theme-fireflies .search-btn:hover,
.theme-night .search-btn:hover,
.theme-sakura .search-btn:hover {
background: var(--button-border-color) !important;
color: #000 !important;
box-shadow:
0 0 15px var(--button-border-color),
0 0 30px var(--button-border-color),
inset 0 0 15px var(--button-border-color) !important;
}
.theme-default .unified-button:hover,
.theme-rain .unified-button:hover,
.theme-fireflies .unified-button:hover,
.theme-night .unified-button:hover,
.theme-sakura .unified-button:hover {
background: var(--button-border-color) !important;
color: #000 !important;
}
#api-result {
border-radius: 10px !important;
border-width: 2px !important;
font-family: "Arial Black", sans-serif;
}
/* Цвет текста RAVAGE и OSINT адаптируется под тему */
.theme-default .glowing-text,
.theme-default .glowed,
.theme-rain .glowing-text,
.theme-rain .glowed,
.theme-fireflies .glowing-text,
.theme-fireflies .glowed,
.theme-night .glowing-text,
.theme-night .glowed,
.theme-default .glowing-text,
.theme-default .glowed,
.theme-rain .glowing-text,
.theme-rain .glowed,
.theme-sakura .glowing-text,
.theme-sakura .glowed {
color: #c94f7c !important;
text-shadow:
0 0 5px #c94f7c,
0 0 10px #ff99bb,
0 0 15px #ff7aa2 !important;
}
.theme-fireflies .glowing-text,
.theme-fireflies .glowed {
color: #ffee55 !important;
text-shadow:
0 0 5px #ffee55,
0 0 10px #ffdd33,
0 0 15px #ffcc00 !important;
}
.theme-night .glowing-text,
.theme-night .glowed {
color: #66ccff !important;
text-shadow:
0 0 5px #66ccff,
0 0 10px #3399ff,
0 0 15px #1a75ff !important;
}
.theme-rain .glowing-text,
.theme-rain .glowed {
color: #dddddd !important;
text-shadow:
0 0 5px #aaa,
0 0 10px #ccc,
0 0 15px #eee !important;
}
.theme-default .glowing-text,
.theme-default .glowed {
color: #ff0000 !important;
text-shadow:
0 0 10px #ff0000,
0 0 20px #ff4444,
0 0 30px #cc0000,
0 0 40px #660000 !important;
}
.theme-fireflies .unified-button:hover,
.theme-fireflies .search-btn:hover {
background: #ffee55 !important;
color: #000 !important;
box-shadow:
0 0 15px #ffee55,
0 0 30px #ffdd33,
inset 0 0 15px #ffcc00 !important;
}