@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
  --bg-dark: #0d0d0d;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.2);
  --accent: #e8b15d;
  --text-light: #f5f5f5;
  --text-muted: #000;
  --blur: 18px;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(135deg, #141414, #1c1c1c);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

h5 {
    padding: 5px 0;
    color: black;
    font-weight: 500;
    text-align: end;
}

header.header_primary {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  background: rgba(15, 15, 15, 0.4);
  backdrop-filter: blur(var(--blur));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 1000;
}

.header_logo {
  height: 60px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
}

.header_logo:hover {

  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.main_container {
  background: url('./images/start_main.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  z-index: 2;
}

.main_container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.content_wrapper {
  margin-top: 120px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 80px;
}

/* ====== Cards ====== */
.cards_section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  flex: 1 1 300px;
  max-width: 350px;
  backdrop-filter: blur(var(--blur));
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  position: relative;
  /* overflow: hidden; */
  background-color: rgba(255, 255, 255, 0.25);
}

/* .card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.07), transparent 70%);
  transform: rotate(15deg);
} */

.card:hover {
  /* transform: translateY(-8px); */
  box-shadow: 0 10px 30px rgba(232, 177, 93, 0.3);
  border-color: rgba(232, 177, 93, 0.6);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
}

.card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.card_content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card_content_image {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    object-fit: cover;
    margin-top: auto; /* прижимает картинку вниз */
}

/* ====== Other Shops ====== */
.other_shops_section {
  margin-top: 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; /* центрируем секцию */
}

.other_shops_section_header {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  z-index: 9999;
}

.others_grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  width: 100%;
  padding: 0 20px;
}

.shop_card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 25px 20px;
  backdrop-filter: blur(var(--blur));
  width: 300px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  background-color: rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
}

.shop_card_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  flex-grow: 1;
}

.shop_card_top {
  flex-grow: 1;
}

.shop_card:hover {
  border-color: rgba(232, 177, 93, 0.6);
  box-shadow: 0 8px 30px rgba(232, 177, 93, 0.25);
}

.shop_card h4 {
  font-size: 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 15px;
}

.shop_card p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.shop_card_floor {
  margin-top: auto;
  font-size: 16px;
  color: var(--accent);
  font-weight: 600;
  padding-top: 15px;
}

/* ====== Footer ====== */
.footer_primary {
  background: rgba(15, 15, 15, 0.5);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--blur));
  padding: 25px 20px;
  text-align: right;
  font-size: 14px;
  color: var(--text-light);
}

/* ====== Responsive ====== */
@media (max-width: 1350px) {
  .cards_section {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    overflow: visible;
  }

  .others_grid {
    flex-direction: column;
    align-items: center;
  }

  .shop_card {
    width: 90%;
  }

  .header_logo {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 25px 20px;
    overflow: visible;
  }

  .header_logo {
    height: 30px;
  }

  .card h3 {
    font-size: 18px;
  }

  .footer_primary {
    font-size: 12px;
    text-align: center;
  }
}

.blur-overlay {
    position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 1;
}


