html{
    font-size: 16px;
}
body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}
h1, h2, h3 {
    font-weight: 600; 
    font-size: 3rem;  
}

.wrapper{
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    background-color: aliceblue;
}
.container{
    max-width: 1140px;
    margin: 0 auto;
    
}
.header__logo{
    display: flex;
    align-items:center;
    gap: 5px;
    margin-right: 62px;
}

.header__logo-text {
    font-size: 35px;
}
.header__top-inner{
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__nav-list{
    display: flex;
    justify-content: space-between;
}
.header__nav{
    margin-right: auto;
}
.header__nav-item{
    margin-right: 62px;
    font-size: 17PX;
    font-weight: 600;
}
.header__nav-item:last-child{
    margin-right: 0;
}
.header__top{
    background-color: white;
    padding-bottom: 15px;
}
.header__tell{
    font-size: 17px;
    font-weight: bold;
}
.header__addres{
    font-size: 15px;
    display: flex;
    margin-right: 30px;
    gap:10px;
    font-weight: 600;
}
/* -------------------------------- */
.header__banner {
    width: 1140px;
    height: 400px;
    overflow: hidden;
    position: relative;
}
.banner-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.header__banner-content {
    background-image: url('../images/venom.webp');
    background-size: cover;
    height: 400px;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    
}
@supports not (background-image: url('../images/venom.webp')) {
    .header__banner-content {
        background-image: url('../images/venom.png');
    }
}
.header__banner-text{
    color: rgb(255, 255, 255);
    font-size: 3.3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,1);
    font-weight: bold;
}
.header__banner-button{
    background-color: yellow;
    border-radius: 20px;
    font-size: 12PX;
    font-weight: 700;
    padding: 12px 24px;
}
/* --------------------------------------- */

.header__icon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    max-width: 170px; 
}

.header__icon-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.header__icon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    max-width: 180px; 
}
.header__icon-item:last-child{
    margin-right: 0;
}
.header__icon{
    margin-top: 50px;
    margin-bottom: 50px;
}
.span{
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}
.header__icon-item:first-child {
    position: relative;
    top: -10px; 
}
.header__icon-item:first-child span {
    margin-top: 18px;
}
.header__user-nav{
    display: flex;
    gap: 15px;
    align-items: center;
}
/* ------------------------------------------ */
.price__cards{
    margin:50px 0 ;
}
.price__card{
    background-color: rgb(255, 255, 255);
    max-width: 350px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 20px 20px;
    text-align: center;
    border-radius: 11px;
}
.title__price{
    font-size: 3rem; 
    font-weight: 600;

}
.price__title{
    font-size: 1.5rem;  
    line-height: 1.3;
    margin: 0px 0px 30px 0;
}
.price__list{
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: auto auto; 
    gap: 4px; 
    min-width: 320px;
}
.price__item {
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    background-color: rgb(243, 243, 241);
    line-height: 1.3;
}
.bold4{
    font-weight: 700;
}
.price__cards{
    display: flex;
    justify-content: space-between;
}
.price__img-ps4, .price__img-ps5, .price__img-vr2
{
        object-fit: cover;

}
.price__button{
    margin-top: 20px;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 12PX;
    font-weight: 600;
}
/* ----------------------------------
 */
.tittle__games{
    font-size: 3rem;
    margin-bottom: 70px;
    margin-top: 120px;
    text-align: center;
}
.games__game{
    width: 200px;
    
}
.games__game--hidden {
    display: none;
}
.games__container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 1fr; 
    gap: 20px; 
    align-items: start; /
}
.games__show-more {
    width: 100%;
    margin: 40px auto; 
    display: block; 
    padding: 12px 24px;
    background-color:  rgb(224, 224, 224);
    color: black;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    margin-bottom: 140px;
}
.games__show-more{
    transition: all 0.3s ease;
    
}
.games__show-more:hover {
    background:#FFE135;
}
.games__game-name{
    text-align: center ;
    margin-top: 7px;
    font-weight: 550;
    font-size: 18px;
}
.rdr{
    width: 209px;
}
.games__game-photo { 
    transition: all 0.3s ease;
}
.games__game-photo:hover{
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
/* ===================================, */
.title__ruls{
    margin-bottom: 70px;
    font-size: 3rem;
    text-align: center;
}
.ruls__carta{
    display: flex;
    justify-content: space-between;
}
.ruls__carta-item{
    display: flex;
    max-width: 220px;
    flex-direction: column;
    margin-bottom: 70px;
}
.carta__item-one{
    display: flex;
}
.ruls__carta1{
    display: flex;
    gap: 85px;
    justify-content: center;
}
.test{
    object-fit: contain;
}
.test-1{
    margin-top: 12px;
}
.test-1{
    margin-top: 3px;
}
.test-3{
    margin-left: 10px;
}
.carta__item-two{
    margin-top: 15px;
}
.ruls__carta {
    counter-reset: list1;
}
.ruls__carta1 {
    counter-reset: list2 4; 
}
.carta__item-one::before {
    content: counter(list1);
    font-size: 100px;
    font-weight: bold;
    color: rgb(197, 196, 196);
}
.ruls__carta1 .carta__item-one::before {
    content: counter(list2);
    counter-increment: list2;
}
.ruls__carta .carta__item-one::before {
    counter-increment: list1;
}

/* ------------------- */
.contact__flex{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
}
.contact__title{
    margin-top: 70px;
    font-size:3rem;
    margin-bottom: 35px;
}
.contact__number{
    font-size: 80px;
    margin-bottom: 35px;
    color: rgb(59, 59, 59);
    font-weight: 100;
}
.contact__button-bot{
    margin: 35px 0 35px 0;
    padding: 12px 24px;
    background-color:rgb(47, 0, 255);
    border-radius: 20px;
    font-size: 12PX;
    font-weight: 600;
    color: white;
}
.contact_address{
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}
.footer{
    background-color: white;
}
.footer__flex{
    display: flex;
    padding: 30px 0 30px 0;
    justify-content: space-between;
    align-items: end;
}
.footer__left-message,.footer__right-social{
    margin-top: 20px;
    display: flex;
    gap: 20px;
}
.footer__right-social{
    margin-top: 20px;
}
.footer__right-text,.footer__left-text{
    font-size: 1.2rem;
}

/* ---------------------------------- */
.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}
.modal__title-kid{
    font-size: 14px;
    margin-bottom: 30px;

}
.modal__form{
    margin-top: 30px;
}

.form__checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: white;
}

.form__checkbox input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.form__checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-text {
    flex: 1;
    line-height: 1.4;
}

.privacy-link {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.privacy-link:hover {
    border-bottom-color: #667eea;
}

.form__footer {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.form__button {
    position: relative;
    overflow: hidden;
}

.button-loading {
    display: none;
}

.form__button.loading .button-text {
    display: none;
}

.form__button.loading .button-loading {
    display: inline;
}
.form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}
.form__input:invalid {
    border-color: #ff6b6b;
}
.form__input:valid {
    border-color: #51cf66;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal__content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 455px;
    position: relative;
    animation: modalShow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes modalShow {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal__close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal__close:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.1);
}

.modal__title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Стили формы */
.modal__form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form__label::after {
    content: '*';
    color: #ff6b6b;
}

.form__input {
    padding: 15px 20px;
    border: 2px solid #e8ecff;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form__input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.form__input::placeholder {
    color: #aaa;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.form__checkbox:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #e8ecff;
}

.form__checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: white;
    margin-top: 2px;
}

.form__checkbox input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.form__checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-text {
    flex: 1;
    line-height: 1.4;
}

.privacy-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    border-bottom-color: #667eea;
    color: #5a67d8;
}

/* Стили кнопки */
.form__button {
    background: linear-gradient(135deg, hsl(51, 100%, 50%) 0%, #FFD700 20%, hsl(39, 100%, 50%) 100%);
    padding: 18px 30px;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    
}

.form__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

.form__button:active {
    transform: translateY(-1px);
}

.form__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.form__button:hover::before {
    left: 100%;
}

.form__button.loading {
    pointer-events: none;
    opacity: 0.8;
}

.button-text, .button-loading {
    transition: opacity 0.3s ease;
}

.button-loading {
    display: none;
}

.form__button.loading .button-text {
    display: none;
}

.form__button.loading .button-loading {
    display: inline;
}

.form__footer {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}


.rental-modal {
    max-width: 750px;
    padding: 30px;
}

.rental-form {
    display: flex;
    gap: 30px;
    align-items: center;
}

.rental-image {
    flex-shrink: 0;
    width: 300px;
    margin-bottom: 20px;
}
.marginb50{
    margin-bottom: 50px;
}

.rental-img {
    width: 100%;
    height: auto;
}

.rental-info {
    flex: 1;
}

.rental-title {
    font-size: 24px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.price__img-ps4,
.price__img-ps5,
.price__img-vr2 {
    transition: transform 0.4s ease;
    transform-origin: center bottom; Увеличение от нижней части
}

.price__card:hover .price__img-ps4,
.price__card:hover .price__img-ps5,
.price__card:hover .price__img-vr2 {
    transform: scale(1.07);
}
.header__banner-button, .price__button {
    background: linear-gradient(135deg, #FFD700 0%, #FFD700 20%, #fda500 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header__banner-button::before, .price__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.8s ease;
    opacity: 0.7;
}

.header__banner-button:hover::before, .price__button:hover::before {
    left: 100%;
}

.header__banner-button:hover, .price__button:hover {
    background: linear-gradient(135deg, rgb(255, 224, 51) 0%, #FFB347 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.6);
}

.header__banner-button:active, .price__button:active, .games__show-more {
    transform: translateY(-1px);
}
.contact__button-bot {
    background: linear-gradient(135deg, #0077FF 0%, #0055CC 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1rem; 
    font-weight: 700;
    border-radius: 50px; 
    box-shadow: 0 6px 20px rgba(0, 119, 255, 0.4);
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact__button-bot:hover {
    background: linear-gradient(135deg, #0088FF 0%, #0066EE 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 119, 255, 0.6);
    color: white;
    text-decoration: none;
}

.contact__button-bot:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.5);
}

.contact__button-bot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.8s ease;
    opacity: 0.7;
}

.contact__button-bot:hover::before {
    left: 100%;
}



























