/* Общие стили */
body {
  font-family: 'Comfortaa', sans-serif !important;
  background-color: #0D0D11 !important;
  color: white;
  /* box-sizing: border-box; */
}

    /* Стили для модального окна */
    .pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
}

.modal-content {
    width: 80%;
    height: 90%;
    margin: 2% auto;
    background: white;
    padding: 20px;
    border-radius: 5px;
}

.close-btn {
    float: right;
    cursor: pointer;
    font-size: 24px;
}

#pdf-viewer {
    width: 100%;
    height: 95%;
    border: none;
}

.items {
  display: flex;
  align-items: center;
}

.server-image {
  max-width: 1440px;
}

.container {
  background-color: #0D0D11;
  max-width: 1280px auto;
}

.section {
  background-color: #0D0D11;
}


/* Шапка */
.header-section {
  display: flex;
  padding: 2rem 0;
  max-width: 1000px;
}

.logo-text {
  text-decoration: none;
  color: white;
  font-size: 40px;
}

.main-heading {
  max-width: 200px;
  max-height: 150px;
  margin-left: 100px;
  font-family: 'Comfortaa';
  font-size: 2.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 550px;
}

.server-image {
  border-radius: 0px;
  max-width: 600px;
  height: auto;
  position: absolute;
  right: 0;
  top: 100px;
}

/* Секция серверов */
.servers-section {
  margin: 160px 100px;
  margin-top: 3rem;
}

.section-title {
  margin-top: 10px;
  font-size: 2rem;
  color: white;
  margin-bottom: 2rem;
}

.servers-grid {
  max-width: 550px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.img-fluid {
  max-width: 150px;
}



.server-btn {
  margin: 20px;
  font-size: 20px;
  width: 200px;
  font-family: "Comfortaa";
  background: url('img/btn.svg') no-repeat center center;
  background-color: #da6c1d;
  background-size: cover;
  color: white;
  padding: 1.5rem 2rem;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s;
}

.server-btn:hover {
  color: #0D0D11;
  transform: translateY(-3px);
}

/* маркет */

.btn-close {
  color: white;
}

.btn-close:active {
  border: none !important;
}

.btn-info {
  background-color: #0D0D11;
  border: none;
}


.modal-header {
  display: flex;
  align-items: center;
}

.list-group-item {
  color: #fff !important;
  background-color: #0D0D11 !important;
}

.modal-content {
  color: #fff !important;
  background-color: rgb(33 37 41) !important;
  padding: 20px;
}

.modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 1;
}


.modal img {
  max-width: 100%;
}

h4,
h5,
h6 {
  color: #fff !important;
}

.modal-title {
  margin-left: 435px;
}

.fixed-bottom-right {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

.btn-primary {
  font-size: 13px !important;
  border-color: #0D0D11 !important;
}

.welcome-container {
  text-align: center;
}

.market-title {
  text-align: center;
  margin-top: 180px;
  color: #fff;
  margin-bottom: 50px;
}

.btn btn-success {
  background-color: #38383E !important;
}

.btn {
  border-color: none !important;
  margin: 10px;
  max-width: 100px;
  background-color: #da6c1d !important;
  border-radius: 5px;
  color: #fff;
}

.btn-success {
  font-size: 20px;
  border-color: rgba(33, 37, 41, 0);
  padding: 10px;
  max-width: 150px 150px;
  border-radius: 10px;
  background-color: #da6c1d;
  text-decoration: none;
  color: white;
}

.btn-danger {
  font-size: 20px;
  border-color: rgba(33, 37, 41, 0);
  padding: 10px;
  max-width: 150px 150px;
  border-radius: 10px;
  background-color: #da6c1d;
  text-decoration: none;
  color: white;
}

.payment-state {
  transition: all 0.3s ease;
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  color: #28a745;
  font-size: 4rem;
}

.error-icon {
  color: #dc3545;
  font-size: 4rem;
}

.payment-state.active {
  display: block !important;
}

.btn-basket {
  border-color: rgba(33, 37, 41, 0);
  margin: 10px;
  max-width: 150px 150px;
  border-radius: 10px;
  background-color: #da6c1d;
  text-decoration: none;
  color: white;
}

.accept{
  margin-top: 20px;
}

.doki {
  text-decoration: none;
  color: #da6c1d;
}

.btn :hover {
  color: #0D0D11
}

.btn-payment {
  border-color: #0d0d1100;
  font-size: 22px !important;
  margin-left: 150px;
  max-width: 150px;
  background-color: #da6c1d !important;
  border-radius: 10px;
  color: #fff;
}

.product-card {
  transition: transform 0.2s;
}

.product-card:hover {
  transform: scale(1.05);
}

.card-body {
  max-width: 200px;
  max-height: 40px;
}

.card-border {
  max-width: 200px;
  max-height: 40px;
}

.card {
  background-color: #0D0D11 !important;
  max-width: 200px;
  max-height: 300px;
  align-items: center;
}

.card-footer {
  display: flex;
  font-size: 15px !important;
  padding: 0 16px 0;
}

.card {
  margin-bottom: 20px;
}

.payment-title {
  margin-left: 0px;
}

.cart-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.cart-counter {
  position: absolute;
  top: -10px;
  right: -10px;
  background: red;
  color: white;
  border-radius: 50%;
  padding: 5px 10px;
  font-size: 12px;
}

#productModal .modal-content {
  border-radius: 15px;
  border: 1px solid #444;
}

#productModal .modal-header {
  border-bottom: 1px solid #444;
}

#productModal .btn-close {
  filter: invert(1);
}

.a {
  color: #0D0D11 !important;
}

.comand-list-h4 {
  text-transform: uppercase;
}

.row {
  margin-top: 180px !important;
  margin-left: 40px !important;
  color: #fff;
  background-color: #0D0D11 !important;
}

.col-md-6 {
  font-size: 25px;
}

.col-lg-3 {
  font-size: 5px !important;
  max-width: 250px !important;
  color: #0D0D11;
}

/* Уведомление */
.copied-notification {
  font-family: 'Comfortaa';
  color: #fff !important;
  font-size: 12px;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #0D0D11;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.copied-notification.visible {
  font-family: 'Comfortaa';
  font-size: 12px;
  opacity: 1;
  top: -20px;
}

/* Футер */
.main-footer {
  margin-top: 6rem;
  border-top: 2px solid #38383E;
  padding-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  color: white;
}

.footer-logo {
  margin-left: 30px;
  width: 3rem;
  height: 3rem;
}

.contacts-title {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1rem;
}

.discord-link {
  color: #8F8F94;
  text-decoration: none;
}

.discord-link:hover {
  text-decoration: underline;
}

.container-contacts {
  display: flex;
  align-items: center;
}

.welcome-text {
  margin-left: 200px;
  max-width: 500px;
  margin-top: 100px;
}

.header-section {
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* футер */



.disclaimer{
  opacity: 25%;
}

.tg{
  margin-left: 10px;
}

.img{
  display: flex;
  align-items: center;
}

.discord{
  text-decoration: none;
  color: #fff;
  font-family: Comfortaa;
}

.footer-tabs {
  color: #fff;
  background: #0D0D11;
  padding: 20px;
  font-family: Comfortaa;
}

.tab-buttons {
  color: #fff;
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.tab-btn {
  color: #fff;
  padding: 10px 20px;
  border: none;
  background: #0D0D11;
  cursor: pointer;
  border-radius: 4px 4px 0 0;
  transition: background 0.3s;
}

.tab-btn:hover {
  background: #0D0D11;
}

.tab-btn.active {
  background: #0D0D11;
    font-weight: bold;
}

.tab-pane {
  display: none;
  padding: 15px;
  background: #0D0D11;
  border-radius: 0 4px 4px 4px;
}

.tab-pane.active {
  display: block;
  animation: fade 0.3s;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .main-heading {
    font-size: 90%;
    flex-direction: column;
    text-align: center;
  }

  .server-image {
    max-width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;

  }

  .modal-title {
    margin-left: 90%;
  }
}
