/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    position: absolute;
    height: 100%;
    width: 100%;
}

/* Page Container */
.page-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0 auto;
    overflow: hidden;
}

.clean-link {
text-decoration: none; /* убрать подчёркивание */
color: inherit;        /* наследовать цвет текста */
}

/* Background */
.background-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    max-width: none;
}

.background-gradient {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(-15.19deg, rgba(87, 99, 211, 0) 57.232%, rgba(87, 99, 211, 0.2) 104.77%), 
        linear-gradient(108.47deg, rgba(170, 0, 0, 0) 12.784%, rgba(170, 0, 0, 0.2) 92.007%);
}

.background-overlay {
    position: absolute;
    inset: 0;
    background: rgba(36, 36, 36, 0.1);
    backdrop-filter: blur(0.5px);
    border-radius: 0.625em;
}

/* Main Content */
.main-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.125em;
}

/* Header */
.header {
    background: #242424;
    width: 100%;
    padding: 0.625em 1em;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo - Mobile First */
.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-icon-mobile {
    width: 33px;
    height: 33px;
    display: block;
}

.logo-text-desktop {
    display: none;
    width: 270px;
    height: 30px;
}

/* Button Styles */
.button {
    background: #d70022;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background: #b90020;
}

.button:active {
    background: #9a001a;
}

.button span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.01px;
    text-transform: uppercase;
    white-space: nowrap;
}

.button-header {
    height: 37px;
    padding: 12px 20px;
}

.button-open {
    width: 100%;
    height: 37px;
    padding: 12px 20px;
}

/* Info Card */
.info-card {
    background: #242424;
    border: 1px solid #292929;
    border-radius: 20px;
    width: 345px;
    max-width: 92%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.85em;
    box-shadow: 0 4px 15px 0 #00000073;
}

/* Logo Icon */
.logo-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    background: linear-gradient(to bottom, #26302d, #181818);
    border: 1px solid rgba(132, 133, 138, 0.1);
    border-radius: 20px;
    padding: 0.875em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-star {
    width: 80px;
    height: 80px;
    display: block;
}

/* Text Content */
.text-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    text-align: center;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1em;
    line-height: 1.15em;
    color: #ffffff;
    text-transform: uppercase;
    white-space: pre-wrap;
}

.description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.4;
    color: #84858a;
    letter-spacing: 0px;
    white-space: pre-wrap;
}

/* Desktop Design */
@media screen and (min-width: 769px) {
    .page-container {
        width: 100%;
        height: 100%;
    }
    
    .main-content {
        width: 100%;
        height: 100%;
        gap: 6.25em;
    }
    
    /* Desktop Header */
    .header {
        padding: 20px 100px;
    }
    
    /* Desktop Logo */
    .logo-icon-mobile {
        display: none;
    }
    
    .logo-text-desktop {
        display: block;
    }
    
    /* Desktop Button in Header */
    .button-header {
        height: 44px;
        padding: 15px 20px;
    }
    
    .button-header span {
        font-size: 14px;
    }
    
    /* Desktop Info Card */
    .info-card {
        width: 36.5em;
        padding: 1.875em;
        gap: 1.875em;
    }
    
    /* Desktop Logo Icon */
    .logo-icon {
        padding: 19px;
    }
    
    .logo-star {
        width: 90px;
        height: 90px;
    }
    
    /* Desktop Text Content */
    .text-content {
        gap: 1.25em;
    }
    
    .title {
        font-size: 22px;
    }
    
    .description {
        font-size: 16px;
        line-height: 1;
    }
    
    /* Desktop Open Button */
    .button-open {
        width: 250px;
        height: 44px;
        padding: 15px 20px;
    }
    
    .button-open span {
        font-size: 14px;
    }
}

/* Large Desktop */
@media screen and (min-width: 1920px) {
    .page-container {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .main-content {
        gap: 6.325em;
    }

    .description {
        padding: 0 4.7em;
    }
}
