/* Kitsune Theme - Mystical Fox Spirit */

/* Основная цветовая схема */
body {
    background: #1A0F23;
    color: #F8E5C1;
}

/* Заголовки - золотисто-оранжевые, как лисий мех */
h1, h2, h3, h4 {
    color: #FF9035;
}

/* Навигационная панель */
.navbar {
    background: linear-gradient(to bottom, rgba(26, 15, 35, 0.95), rgba(26, 15, 35, 0.8));
}

.navbar a {
    color: #F8E5C1;
}

.navbar a:hover {
    color: #FF7A00;
}

.line {
    background: #FF9035;
}

.navbar .menu-items {
    background: #1A0F23;
}

/* Кнопки - с градиентом от красного к оранжевому */
.catalog-btn, .feedback-btn {
    background: linear-gradient(135deg, #FF5C00 0%, #FF9035 100%);
    color: #1A0F23;
    border: none;
}

.catalog-btn:hover, .feedback-btn:hover {
    opacity: 0.9;
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.5);
}

/* Поля формы обратной связи */
.feedback-field {
    background-color: #271433;
    color: #F8E5C1;
    border: 1px solid #FF7A00;
}

.feedback-field:focus {
    box-shadow: 0 0 8px rgba(255, 122, 0, 0.5);
}

/* Футер */
footer {
    background: #1A0F23;
    border-top: 1px solid #FF9035;
}

footer a {
    color: #F8E5C1;
}

footer a:hover {
    color: #FF7A00;
}

/* Copyright */
.copyright {
    color: #F8E5C1;
}

/* Категории карточек */
.category-card {
    background: #271433;
    border: 1px solid #FF7A00;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.2);
}

/* Элементы таймлайна */
.timeline-item {
    background: #271433;
    border-left: 3px solid #FF7A00;
}

/* Сетка игр */
.game-card.large {
    border: 1px solid #FF7A00;
    box-shadow: 0 8px 16px rgba(255, 122, 0, 0.2);
}

.game-card.medium {
    border: 1px solid #FF7A00;
    box-shadow: 0 4px 8px rgba(255, 122, 0, 0.2);
}

/* Дополнительные стили для создания атмосферы кицуне */
.header {
    background-image: url('/api/placeholder/1920/1080');
    background-blend-mode: overlay;
    background-color: rgba(26, 15, 35, 0.7);
}

.header-text {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.about {
    background: radial-gradient(circle at center, #271433 0%, #1A0F23 100%);
}

/* Мистические акценты */
a:hover, .contacts-link:hover {
    text-shadow: 0 0 8px rgba(255, 122, 0, 0.7);
}

/* Статистика */
.stats-grid {
    background-color: #271433;
    border-radius: 10px;
}

/* Kitsune Theme - Mystical Fox Spirit */

/* Основная цветовая схема */
body {
    background: #1A0F23;
    color: #F8E5C1;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(255, 144, 53, 0.05) 5%, transparent 15%),
        radial-gradient(circle at 85% 85%, rgba(255, 144, 53, 0.05) 5%, transparent 15%);
}

/* Заголовки - золотисто-оранжевые, как лисий мех */
h1, h2, h3, h4 {
    color: #FF9035;
    text-shadow: 0 0 10px rgba(255, 144, 53, 0.3);
}

h1 {
    background: linear-gradient(to right, #FF9035, #FF5C00, #FF9035);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(255, 122, 0, 0.3);
}

/* Навигационная панель */
.navbar {
    background: linear-gradient(to bottom, rgba(26, 15, 35, 0.95), rgba(26, 15, 35, 0.8));
    border-bottom: 1px solid rgba(255, 144, 53, 0.2);
}

.navbar a {
    color: #F8E5C1;
    position: relative;
}

.navbar a:hover {
    color: #FF7A00;
}

.navbar a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(to right, transparent, #FF7A00, transparent);
    transition: 0.4s ease all;
}

.navbar a:hover:after {
    width: 100%;
}

.line {
    background: #FF9035;
}

.navbar .menu-items {
    background: #1A0F23;
    background-image:
        radial-gradient(circle at 5% 25%, rgba(255, 144, 53, 0.05) 5%, transparent 15%),
        radial-gradient(circle at 95% 75%, rgba(255, 144, 53, 0.05) 5%, transparent 15%);
}

/* Кнопки - с градиентом от красного к оранжевому */
.catalog-btn, .feedback-btn {
    background: linear-gradient(135deg, #FF5C00 0%, #FF9035 100%);
    color: #1A0F23;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.catalog-btn:before, .feedback-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF9035 0%, #FF5C00 100%);
    transition: 0.5s all ease;
    z-index: -1;
}

.catalog-btn:hover:before, .feedback-btn:hover:before {
    left: 0;
}

.catalog-btn:hover, .feedback-btn:hover {
    opacity: 1;
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.5);
    transform: translateY(-3px);
}

/* Поля формы обратной связи */
.feedback-field {
    background-color: #271433;
    color: #F8E5C1;
    border: 1px solid #FF7A00;
    transition: all 0.3s ease;
}

.feedback-field:focus {
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.3);
    border-color: #FF9035;
    transform: translateY(-2px);
}

/* Футер */
footer {
    background: #1A0F23;
    border-top: 1px solid rgba(255, 144, 53, 0.3);
    background-image:
        radial-gradient(circle at 10% 95%, rgba(255, 144, 53, 0.05) 5%, transparent 15%),
        radial-gradient(circle at 90% 5%, rgba(255, 144, 53, 0.05) 5%, transparent 15%);
}

footer a {
    color: #F8E5C1;
    position: relative;
    transition: 0.3s ease all;
}

footer a:hover {
    color: #FF7A00;
}

footer a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 50%;
    background: #FF7A00;
    transition: 0.3s ease all;
}

footer a:hover:after {
    width: 100%;
    left: 0;
}

/* Copyright */
.copyright {
    color: #F8E5C1;
    text-shadow: 0 0 5px rgba(255, 144, 53, 0.2);
}

/* Категории карточек */
.category-card {
    background: #271433;
    border: 1px solid rgba(255, 122, 0, 0.3);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.category-card:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 144, 53, 0.1) 0%, transparent 65%);
    opacity: 0;
    transition: all 0.5s ease;
    transform: rotate(45deg);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
    border-color: rgba(255, 122, 0, 0.6);
}

.category-card:hover:before {
    opacity: 1;
    transform: rotate(45deg) translateY(-20%);
}

/* Элементы таймлайна */
.timeline-item {
    background: #271433;
    border-left: 3px solid #FF7A00;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.timeline-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 122, 0, 0.5), transparent);
    transform: scaleX(0);
    transition: all 0.5s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: -3px 3px 10px rgba(0, 0, 0, 0.2);
}

.timeline-item:hover:after {
    transform: scaleX(1);
}

/* Сетка игр */
.game-card.large, .game-card.medium {
    border: 1px solid rgba(255, 122, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.game-card.large {
    box-shadow: 0 8px 16px rgba(255, 122, 0, 0.2);
}

.game-card.medium {
    box-shadow: 0 4px 8px rgba(255, 122, 0, 0.2);
}

.game-card.large:before, .game-card.medium:before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 144, 53, 0.8) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
}

.game-card.large:hover, .game-card.medium:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 144, 53, 0.6);
}

.game-card.large:hover {
    box-shadow: 0 12px 24px rgba(255, 122, 0, 0.3);
}

.game-card.medium:hover {
    box-shadow: 0 8px 16px rgba(255, 122, 0, 0.3);
}

.game-card.large:hover:before, .game-card.medium:hover:before {
    opacity: 1;
    transform: scale(5);
}

/* Дополнительные стили для создания атмосферы кицуне */
.header {
    background-image: url('/api/placeholder/1920/1080');
    background-blend-mode: overlay;
    background-color: rgba(26, 15, 35, 0.7);
    position: relative;
    overflow: hidden;
}

.header:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 144, 53, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(255, 144, 53, 0.1) 0%, transparent 25%);
    pointer-events: none;
}

.header-text {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    position: relative;
}

.header-text:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 144, 53, 0.5), transparent);
}

.about {
    background: radial-gradient(circle at center, #271433 0%, #1A0F23 100%);
    position: relative;
    overflow: hidden;
}

.about:before, .about:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 144, 53, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about:before {
    top: -100px;
    left: -100px;
}

.about:after {
    bottom: -100px;
    right: -100px;
}

/* Мистические акценты для ссылок */
a, .contacts-link {
    transition: all 0.3s ease;
}

a:hover, .contacts-link:hover {
    text-shadow: 0 0 8px rgba(255, 122, 0, 0.7);
    transform: translateY(-2px);
}

/* Статистика */
.stats-grid {
    background-color: #271433;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 144, 53, 0.1);
}

.stats-grid:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 144, 53, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 70% 70%, rgba(255, 144, 53, 0.05) 0%, transparent 20%);
}

/* Анимированные элементы */
@keyframes foxfire {
    0% {
        box-shadow: 0 0 5px rgba(255, 144, 53, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 144, 53, 0.5);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 144, 53, 0.3);
    }
}

.catalog h3, h4 {
    position: relative;
}

.catalog h3:before, h4:before {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    left: -40px;
    top: 50%;
    background: linear-gradient(to right, transparent, #FF7A00);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.catalog h3:hover:before, h4:hover:before {
    transform: scaleX(1);
}

.featured-grid, .games-container {
    position: relative;
}

.featured-grid:after, .games-container:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -20px;
    left: 0;
    background: linear-gradient(to right, transparent, rgba(255, 144, 53, 0.3), transparent);
}