/*
Theme Name: Bezglazer Server
Theme URI: https://example.com
Author: Bezglazer
Description: Кастомная тема для Minecraft сервера Bezglazer.
Version: 1.0.0
Text Domain: bezglazer
*/

/* ========== БАЗОВЫЕ ПЕРЕМЕННЫЕ ========== */

:root {
  --clr-bg-dark: #34323e;
  --clr-bg-mid: #737285;
  --clr-accent-gold: #fea305;
  --clr-accent-gold-soft: #ffd544;
  --clr-accent-orange: #ff981e;
  --clr-accent-orange-soft: #ff9d4a;
  --clr-accent-red: #d3031d;
  --clr-accent-red-soft: #ae222f;
  --clr-accent-green: #8baa23;
  --clr-accent-brown: #b79b67;
  --clr-accent-brick: #d44833;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.35);
}

/* ========== ПОДКЛЮЧЕНИЕ ШРИФТОВ ========== */

/* Google Fonts: Montserrat – основной текст */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");

/* Локальные шрифты из папки font (пути и имена файлов подгони под свои) */
@font-face {
  font-family: "PublicPixel";
  src: url("font/PublicPixel.woff2") format("woff2"),
       url("font/PublicPixel.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ServerCyrillic";
  src: url("font/servercyrillic.woff2") format("woff2"),
       url("font/servercyrillic.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ServerCyrillic";
  src: url("font/servercyrillic.woff2") format("woff2"),
       url("font/servercyrillic.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JaroCyrillic";
  src: url("font/jaro-cyrillic.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FlowExt";
  src: url("font/flowext.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MinecraftTitleCyrillic";
  src: url("font/minecraft_title_cyrillic.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ========== ГЛОБАЛЬНЫЕ СТИЛИ ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #ffffff;
  background: radial-gradient(circle at top left, var(--clr-bg-mid), var(--clr-bg-dark));
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Контейнер */
.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

/* ========== ШАПКА ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    90deg,
    rgba(52, 50, 62, 0.95),
    rgba(115, 114, 133, 0.92)
  );
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top left, #ffffff33, #00000099);
}

.site-title {
  font-family: "PublicPixel", monospace;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-accent-gold-soft);
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: "ServerCyrillic", "Montserrat", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
  white-space: nowrap;
}

.header-actions .btn {
  font-family: "JaroCyrillic", "ServerCyrillic", "Montserrat", sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-accent-gold), var(--clr-accent-orange));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  color: #1b130c;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--clr-accent-green), var(--clr-accent-brown));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  color: #10130c;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

/* ========== HERO СЕКЦИЯ ========== */

.section-hero {
  position: relative;
  padding-block: 80px;
  overflow: hidden;
}

.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, #ffffff22, transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-title {
  margin-top: 14px;
  margin-bottom: 12px;
  font-family: "PublicPixel", monospace;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--clr-accent-gold-soft);
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  max-width: 460px;
  font-family: "FlowExt", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-stats {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-stats span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
}

.hero-media {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: radial-gradient(circle at top, #ffffff22, #000000dd);
}

.hero-bg-image {
  position: relative;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.15);
}

.hero-glass-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-badge {
  position: absolute;
  top: 10%;
  right: -16px;
  transform: rotate(10deg);
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--clr-accent-red), var(--clr-accent-orange-soft));
  color: #fff8f0;
  font-family: "ServerCyrillic", "Montserrat", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.6);
}

/* ========== ОБЩИЕ СЕКЦИИ ========== */

section.section {
  padding-block: 70px;
}

.section-header {
  margin-bottom: 34px;
}

.section-title {
  font-family: "MinecraftTitleCyrillic", "PublicPixel", monospace;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-accent-gold-soft);
}

.section-subtitle {
  margin-top: 10px;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-family: "FlowExt", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

/* ========== О СЕРВЕРЕ ========== */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: start;
}

.about-card {
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  background: radial-gradient(circle at top left, #ffffff11, #000000dd);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
}

.about-text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.about-tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.about-aside {
  display: grid;
  gap: 14px;
}

.about-pill {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  background: linear-gradient(
    135deg,
    rgba(255, 213, 68, 0.06),
    rgba(255, 157, 74, 0.14)
  );
  border: 1px solid rgba(255, 213, 68, 0.5);
}

/* ========== МАГАЗИН ПРИВИЛЕГИЙ ========== */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tier-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 24px 22px 26px;
  background: radial-gradient(circle at top, #ffffff22, #000000dd);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.tier-label {
  font-family: "ServerCyrillic", "Montserrat", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.tier-name {
  font-family: "PublicPixel", monospace;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tier-price {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--clr-accent-gold-soft);
}

.tier-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.7;
}

.tier-features li {
  position: relative;
  padding-left: 18px;
}

.tier-features li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent-gold-soft);
}

.tier-ribbon {
  position: absolute;
  inset: auto -40px 18px auto;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: linear-gradient(135deg, var(--clr-accent-red), var(--clr-accent-orange));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.7);
}

.tier-pro {
  --tier-accent: var(--clr-accent-orange-soft);
}

.tier-vip {
  --tier-accent: var(--clr-accent-gold-soft);
}

.tier-premium {
  --tier-accent: var(--clr-accent-red-soft);
}

.tier-card::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--tier-accent) 36%, transparent), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.tier-cta {
  display: flex;
  justify-content: flex-start;
}

.tier-cta .btn {
  padding-inline: 18px;
}

/* ========== СОЦСЕТИ ========== */

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top left, #ffffff18, #000000ee);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    border-color 0.15s ease-out;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #ffffff33, #000000aa);
}

.social-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-name {
  font-family: "ServerCyrillic", "Montserrat", sans-serif;
  font-size: 15px;
}

.social-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.social-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 213, 68, 0.7);
}

/* ========== ПОДВАЛ ========== */

.site-footer {
  margin-top: 40px;
  padding-block: 26px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--clr-accent-gold-soft);
  cursor: pointer;
  text-decoration: none;
}

/* ========== КУКИ-МОДАЛ ========== */

.cookie-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  z-index: 50;
}

.cookie-backdrop.is-visible {
  display: flex;
}

.cookie-modal {
  width: min(440px, 100% - 40px);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  background: radial-gradient(circle at top, #ffffff22, #000000f0);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow-soft);
}

.cookie-title {
  font-family: "ServerCyrillic", "Montserrat", sans-serif;
  font-size: 16px;
  margin-bottom: 8px;
}

.cookie-text {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-actions .btn {
  font-size: 12px;
  padding-inline: 14px;
}

/* ========== АДАПТИВ ========== */

@media (max-width: 900px) {
  .header-inner {
    padding-block: 10px;
  }

  .hero-badge {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .header-inner {
    padding-block: 8px;
    gap: 12px;
  }

  .site-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .site-title {
    font-size: 14px;
    letter-spacing: 0.05em;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn {
    padding: 6px 10px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .hero-actions {
    display: none;
  }

  .section-header {
    text-align: center;
  }

  .section-subtitle {
    margin-inline: auto;
  }

  .shop-grid,
  .social-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

