:root {
  --primary-color: #20262b;
  --secondary-color: #2f3333;
  --button-yellow: #ffcc00;
  --button-red: #ff6666;
  --button-green: #66cc99;
  --button-purple: #9966cc;
  --text-dark: #d9d3d3;
  --text-medium: #d4cfcf;
  --text-light: #eee7e7;
  --bg-light: #131212;
  --bg-white: #282525;
  --border-color: #e0e0e0;
  --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --section-spacing: 25px;
}

@font-face {
  font-family: 'MyCustomFont';  /* Название, которое будете использовать */
  src: url('../fonts/myfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Для оптимизации загрузки */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}


body {
background: #1a1a1a;
  color: white;
}

a {
  text-decoration: none;  
  color: inherit;       
}

.carousel-inner {
  margin-top: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  padding-bottom: 80px; 
}


.top-banner {
  width: 100%;
  height: 0;
  padding-top: 25%; 
  background-color: red;
  border-radius: 12px;
  margin-bottom: 20px;
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.icon-block {
  flex: 1 1 22%;
  min-width: 120px;
  background-color: red;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px; 
    margin-top: 10px;
}

.input-wrapper input {
    flex: 1; 
    padding: 10px;
    font-size: 16px;
    color: #fbeff2;
    border: 1px solid #ffcdcd;
    background-color: #2a2323;
    border-radius: 5px;
}

.brand {
  text-align: center;
  color: rgba(255, 255, 255, 0.284);
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}

.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1c1c1e;
  display: flex;
  justify-content: space-around;
  padding: 10px 0; 
  border-top: 1px solid #333;
}

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1c1c1e;
  display: flex;
  justify-content: space-around;
  padding: 6px 0; 
  border-top: 1px solid #333;
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  font-size: 10px; 
}

.footer-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  font-family:Arial, Helvetica, sans-serif
}

.footer-item svg {
  width: 30px;
  height: 30px;
  fill: white; /* Цвет иконок */
}

.profile-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  padding: 20px;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .profile-container {
      margin: 30px auto;
      width: 50%;
      padding: 30px;
  }
}

/* Макет для компьютеров */
@media (min-width: 992px) {
  .profile-content {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 30px;
  }
  
  .profile-main {
      padding-left: 20px;
  }
}

.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--section-spacing);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #e0e0e0;
  margin-right: 20px;
}

@media (min-width: 992px) {
  .profile-avatar {
      width: 120px;
      height: 120px;
  }
}

.profile-info h1 {
  margin: 0;
  font-size: 24px;
  color: var(--text-dark);
}

@media (min-width: 992px) {
  .profile-info h1 {
      font-size: 28px;
  }
}

.wallet-section {
  background-color: var(--secondary-color);
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
  margin-bottom: var(--section-spacing);
}

@media (min-width: 992px) {
  .wallet-section {
      padding: 25px;
  }
}

.wallet-amount {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-light);
  margin: 5px 0;
}

@media (min-width: 992px) {
  .wallet-amount {
      font-size: 32px;
  }
}

.wallet-label {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.profile_counts {
  display: flex;
  flex-direction:row;
  margin-left: 50px;
}

.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.action-button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .action-button {
      padding: 15px;
      font-size: 18px;
  }
}

.action-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.purchase-button {
  background-color: var(--button-yellow);
  color: var(--text-dark);
}

.favorites-button {
  background-color: var(--button-red);
  color: white;
}

.section-title {
  font-size: 20px;
  margin: var(--section-spacing) 0 15px;
  color: var(--text-medium);
  font-weight: bold;
}

@media (min-width: 992px) {
  .section-title {
      font-size: 22px;
  }
}

.orders-section {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: var(--section-spacing);
}

@media (min-width: 992px) {
  .orders-section {
      padding: 25px;
  }
}

.warehouse-link {
  display: block;
  color: var(--primary-color);
  text-decoration: none;
  margin: 15px 0;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s ease;
}

.warehouse-link:hover {
  color: #004d99;
  text-decoration: underline;
}

.subscription-button {
  background-color: var(--button-green);
  color: white;
}

.parcels-button {
  background-color: var(--button-purple);
  color: white;
}

.social-section {
  margin-top: var(--section-spacing);
}

.bottom-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.icon-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}

@media (max-width: 991px) {
  .icon-menu {
    grid-template-columns: repeat(4, 3.8rem);
    gap: 4px;
  }
  
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background-color: #6e0808;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.icon-item:hover {
  background-color: #6a3e3e;
}

.menu-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  color: #fffcfc;
}

.icon-text {
  font-size: 10px;
  color: #fdf1f1;
  font-weight: 500;
}
@media (min-width: 768px) {
  .bottom-links {
      grid-template-columns: repeat(4, 1fr);
  }
}

.bottom-link {
  padding: 15px;
  background-color: #e9e9e9;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  color: var(--text-medium);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .bottom-link {
      padding: 18px;
      font-size: 18px;
  }
}

.bottom-link:hover {
  background-color: #ddd;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.divider {
  height: 1px;
  background-color: var(--border-color);
  margin: var(--section-spacing) 0;
  width: 100%;
}

.container-fluid {
  display: block;
  margin: auto;
}

.profile-sidebar {
  color: #1c1c1e;
  width: 700px;
  /* max-width: 400px; */
  margin: 0 auto;
  margin-top: 20px;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media (max-width: 576px) {
  .profile-sidebar {
    width: 400px;
    /* max-width: 400px; */
    margin: 0 auto;
    margin-top: 20px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
}

.navbar {
  height: 50px;
}

@media (max-width: 576px) {
  .navbar {
    height: 80px;
  }
  
}

.welcome-container {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../image/фон.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 20px;
}

.welcome-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.welcome-menu {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.back-button {
    color: var(--primary-red);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: bold;
}

.welcome-menu {
  text-align: center;
  max-width: 800px;
  width: 100%;
}
.welcome-menu h1 {
  font-family: 'MyCustomFont', sans-serif;
  margin-top: 50px;
  font-size: 12rem; /* Большой размер шрифта */
  font-weight: 700; /* Жирный шрифт */
  letter-spacing: 2rem; /* Большое расстояние между буквами */
  margin-bottom: 1.5rem; /* Отступ снизу */
  text-transform: uppercase; /* Все буквы заглавные */
  text-shadow: 
    0 0 8px rgba(255, 255, 255, 0.8), /* Белое свечение */
    0 0 15px rgba(192, 192, 192, 0.6), /* Серебристое свечение */
    0 0 20px rgba(128, 128, 128, 0.4); /* Дополнительная глубина */
  position: relative;
  padding-bottom: 15px; /* Отступ для псевдоэлемента */
  margin-bottom: 1rem;
  color: #f7ecec;
  line-height: 1.2;
}

.welcome-menu h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}

.welcome-menu span {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ddd;
}
.btn-red {
  display: inline-block;
  background-color: #b30000;
  border: 1px solid #ff3333;
  color: #fff;
  padding: 0.75rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
}
.btn-red:hover {
  background-color: #141010;
  transform: translateY(-2px);
  color: #000;
}
.features {
  background: #24202059;
  padding: 2rem 1rem;
}
.features .feature-item {
  text-align: center;
  padding: 1rem;
  margin-bottom: 1rem;
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #ff3333;
}
.feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.feature-desc {
  font-size: 0.9rem;
  color: #ccc;
}

.red-black-button {
    background-color: #e51414;
    color: #fff;
    border: 2px solid red;
    padding: 7px 16px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.red-black-button:hover {
    background-color: rgb(64, 11, 11);
    color: #fff;
}

@media (min-width: 576px) {
  .features .row > [class*='col-'] {
    margin-bottom: 0;
  }
}
@media (max-width: 768px) {
  .welcome-menu h1 {
    font-size: 4rem;
    margin-top: 20px;
    font-weight: 700; /* Жирный шрифт */
    letter-spacing: 0.5rem; /* Большое расстояние между буквами */
    margin-bottom: 1.5rem; /* Отступ снизу */
    text-transform: uppercase; /* Все буквы заглавные */
    padding-bottom: 15px; /* Отступ для псевдоэлемента */
    margin-bottom: 1rem;
    color: #f7ecec;
    line-height: 1.2;
  }
  .welcome-menu span {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .icon-block {
    flex: 1 1 45%;
    font-size: 12px;
    padding: 8px;
  }

  .input-wrapper {
    padding: 8px;
  }

  .brand {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .footer-nav {
    padding: 4px 0;
  }

  .footer-item svg {
    width: 18px;
    height: 18px;
  }
}
  
@media (min-width: 992px) {
  .carousel-inner img {
      width: 60%;  
      margin: 0 auto;
  }
}

@media (max-width: 991px) {
  .carousel-inner img {
      width: 90%; 
      margin: 0 auto;
  }
  
}
