img{
    background: #666; /* Цвет фона */
    width: auto;
    height:250px;
}

body{
    max-width: 850px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;

    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

body:hover{
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.cen{
    text-align: center;
    font-weight: bold;
}
a,p,h1,h2,h3{
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 1000;
}

.navbar > ol > li{
text-transform: uppercase;
list-style-position: inside;
list-style-type: none;
font-weight: 1000;
display: inline;
padding: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

#logo {
    font-size: 1.5em;
}

.content {
    margin-left: 220px;
    /* Adjust based on the width of vertical-nav */
    padding: 50px 20px;
}

.right{
    text-align: right;
    font-weight: bold;
}

.red{
    color: red;
}

.our-team {
  padding: 30px 0 40px;
  margin-bottom: 30px;
  background-color: #f7f5ec;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.our-team .picture {
  display: inline-block;
  height: 130px;
  width: 130px;
  margin-bottom: 50px;
  z-index: 1;
  position: relative;
}

.our-team .picture::before {
  content: "";
  width: 100%;
  height: 0;
  border-radius: 50%;
  background-color: #1369ce;
  position: absolute;
  bottom: 135%;
  right: 0;
  left: 0;
  opacity: 0.9;
  transform: scale(3);
  transition: all 0.3s linear 0s;
}

.our-team:hover .picture::before {
  height: 100%;
}

.our-team .picture::after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #1369ce;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.our-team .picture img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  transform: scale(1);
  transition: all 0.9s ease 0s;
}

.our-team:hover .picture img {
  box-shadow: 0 0 0 14px #f7f5ec;
  transform: scale(0.7);
}

.our-team .title {
  display: block;
  font-size: 15px;
  color: #4e5052;
  text-transform: capitalize;
}

.our-team .social {
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: #1369ce;
  position: absolute;
  bottom: -100px;
  left: 0;
  transition: all 0.5s ease 0s;
}

.our-team:hover .social {
  bottom: 0;
}

.our-team .social li {
  display: inline-block;
}

.our-team .social li a {
  display: block;
  padding: 10px;
  font-size: 17px;
  color: white;
  transition: all 0.3s ease 0s;
  text-decoration: none;
}

.our-team .social li a:hover {
  color: #1369ce;
  background-color: #f7f5ec;
}

/* Общие стили для карточек */
.product-card {
width: 300px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
background-color: #ffffff;
}

.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Стили для изображения */
.product-card__image {
position: relative;
margin: 0;
height: 200px;
overflow: hidden;
}

.product-card__image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.product-card:hover .product-card__image img {
transform: scale(1.05);
}

/* Стили для контента */
.product-card__content {
padding: 16px;
}

.product-card__title {
margin: 0 0 8px;
font-size: 18px;
font-weight: 600;
color: #333333;
}

.product-card__description {
margin: 0 0 16px;
font-size: 14px;
color: #666666;
line-height: 1.4;
}

/* Стили для футера карточки */
.product-card__footer {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 16px;
}

.product-card__price {
font-size: 20px;
font-weight: 700;
color: #222222;
}

.product-card__button {
padding: 8px 16px;
border: none;
border-radius: 4px;
background-color: #4CAF50;
color: white;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease;
}

.product-card__button:hover {
background-color: #45a049;
}

/* Стили для блока с ценой */
.product-card__price-block {
display: flex;
flex-direction: column;
}

.product-card__old-price {
font-size: 14px;
color: #999;
text-decoration: line-through;
}
.left{
    text-align: left;
    font-weight: bold;
}

/* Minecraft IP блок */
.minecraft-ip-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-align: center;
    margin: 30px auto;
    max-width: 400px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.minecraft-ip-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.minecraft-ip-container h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.minecraft-ip-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-align: center;
    margin: 30px 0;
    max-width: 400px
    transition: transform 0.3s, box-shadow 0.3s;
}

.minecraft-ip-container input {
    border: none;        /* Убираем рамку, если нужно */
    outline: none;       /* Убираем голубую линию при фокусе */
    background-color: #f0f0f0; /* Можно оставить фон для видимости поля */
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
}

.minecraft-ip-container button {
    background-color: #4facfe;
    border: none;
    color: white;
    font-size: 16px;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.minecraft-ip-container button:hover {
    background-color: #00f2fe;
    transform: scale(1.05);
}

.minecraft-ip-container .alert {
    margin-top: 10px;
    font-size: 14px;
    color: green;
    display: none;
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 40px; /* <-- добавляем отступ сверху */
}

.checkout-container {
    background-color: rgba(255,255,255,0.95);
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    max-width: 400px;
    margin: 30px auto;
}

.checkout-container input,
.checkout-container select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #ddd;
    margin-top: 5px;
    margin-bottom: 15px;
    outline: none;
    font-size: 16px;
    transition: border-color 0.3s;
}

.checkout-container input:focus,
.checkout-container select:focus {
    border-color: #4facfe;
}


/* Фоновый градиент с Minecraft vibe */
.bod {
    background: linear-gradient(135deg, #73c8ff, #ffffff);
    font-family: 'Montserrat', Arial, sans-serif;
}

.thank-container {
    max-width: 500px;
    margin: 80px auto;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    padding: 40px 30px;
    text-align: center;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.thank-container h2 {
    font-size: 28px;
    color: #1369ce;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 #fff;
}

.thank-container p {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
}

.btn-return {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-return:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* Иконка / пиксельная декоративная рамка */
.pixel-frame {
    display: inline-block;
    margin-bottom: 25px;
    padding: 15px;
    border: 5px solid #1369ce;
    border-style: double;
    border-radius: 15px;
    background-color: #f7f5ec;
}

.btn-back {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-align: right;
}

.btn-back:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.menu-buttons {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px; /* Расстояние между кнопками */
    justify-content: center; /* Центрирование меню */
    margin-top: 20px;
}

.menu-buttons li {
}

.btn-menu {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-menu:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #00f2fe, #4facfe);
}

.menu-buttons {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px; /* Расстояние между кнопками */
    justify-content: center; /* Центрирование меню */
    margin-top: 20px;
    margin-bottom: 40px; /* <-- добавляем отступ снизу */
}

.menu-buttons li {
}

.btn-menu {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-menu:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #00f2fe, #4facfe);
}

.minecraft-widget {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-align: center;
    max-width: 320px;
    margin: 30px auto;
    transition: all 0.3s ease;
}

.minecraft-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.server-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    margin-bottom: 10px;
}

#server-status {
    font-size: 20px;
    margin: 10px 0;
}

#player-count {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* Прогресс бар */
.progress-bar {
    width: 100%;
    height: 12px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
}

#progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    transition: width 0.5s ease;
}

body {
    background: linear-gradient(135deg, #1e1e2f, #2b5876);
    color: white;
}

.product-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.product-card__button {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.product-card__button:hover {
    transform: scale(1.1);
}

.black{
color:black
}

.mc-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-items: center;
    flex-wrap: wrap; /* чтобы на мобиле не ломалось */
}

/* делаем одинаковую ширину */
.minecraft-ip-container,
.minecraft-widget {
    width: 320px;
    min-width: 220px;
}

.menu-buttons {
    flex-wrap: wrap;
}

.btn-menu {
    white-space: nowrap;
}