﻿/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

/* ==== Общие стили ==== */
body {
  font-family: 'Inter', 'Montserrat', sans-serif;
  background: #fafafa;
  color: #222;
  margin: 0;
  padding: 0;
}

/* ==== Заголовки ==== */
h1, h2, h3 {
  font-weight: 700;
  color: #111;
  letter-spacing: -0.5px;
}

/* ==== Контейнер ==== */
.name-page {
  max-width: 960px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ==== Блок фильтров ==== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.filters select {
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  transition: all 0.2s ease;
}
.filters select:hover {
  border-color: #aaa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ==== Кнопка генерации ==== */
.generate-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #ff3c6a, #ff5c41);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.generate-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,60,106,0.3);
}

/* ==== Ссылка для копирования ==== */
.share-box {
  margin-top: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.share-box input {
  flex: 1;
  border: none;
  background: none;
  font-size: 15px;
  color: #555;
}
.share-box button {
  background: #eee;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.share-box button:hover {
  background: #ddd;
}

/* ==== Карточки имён ==== */
.names-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.name-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}
.name-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* ==== Кнопка избранного ==== */
.fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: none;
  font-size: 18px;
  color: #bbb;
  cursor: pointer;
  transition: all 0.2s;
}
.fav-btn:hover {
  color: #ff3c6a;
}
.fav-btn.is-fav {
  color: #ff3c6a;
}

/* ==== Подвал ==== */
.site-footer {
  margin-top: 60px;
  text-align: center;
  color: #999;
  font-size: 14px;
  padding: 20px 0;
}
/* ==== Цветовые акценты для пола ==== */
.name-card.male {
  box-shadow: 0 4px 10px rgba(0, 160, 255, 0.25);
}
.name-card.male:hover {
  box-shadow: 0 6px 16px rgba(0, 160, 255, 0.35);
}

.name-card.female {
  box-shadow: 0 4px 10px rgba(255, 90, 160, 0.25);
}
.name-card.female:hover {
  box-shadow: 0 6px 16px rgba(255, 90, 160, 0.35);
}

.name-card.neutral {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.name-card.neutral:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}