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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('/images/bg.jpg');
    height: 100%;
    /*overflow: hidden; */
}

.bingo {
    max-width: 100%;
    height: auto;
    float: right;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block; 
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: black;
    text-align: center;
    padding: 1rem;
    color: white;
    font-size: 0.8rem;
    opacity: 0.8;
    flex-shrink: 0;
    position: static;
    margin-top: 0;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

footer {
    background: black;
    text-align: center;
    padding: 1rem;
    color: white;
    font-size: 0.8rem;
    opacity: 0.8;
    flex-shrink: 0;
    position: static;
    margin-top: 0;
}

#ctaButton {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

#ctaButton:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

main {
    display: flex;
    flex-direction: column;
    flex: 1; 
}

.features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    /*height: calc(100vh - 200px);*/ /* Занимает всё оставшееся пространство */
    overflow-y: auto;
    flex: 1 0 auto; /* Растягивает контент на всё доступное пространство */    
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 90vw;
    width: auto;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h2 {
    color: #667eea;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.feature p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
}

/* Выравнивание блоков */
.feature-left {
    align-self: flex-start;
    margin-left: 10%;
}

.feature-right {
    align-self: flex-end;
    margin-right: 10%;
}

.feature-center {
    align-self: center;
}
