* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
    background: #1b1e3a;
    overflow-y: auto;
    padding: 10px;
}

.welcome-page {
    text-align: center;
    background: #1b1e3a;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.welcome-page p {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.reg-btn {
    width: 180px;
    height: 45px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    transition: 0.3s;
    background: linear-gradient(to left, #FBA989 0%, #FF6347 51%, #FBA989 100%);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.reg-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 99, 71, 0.7);
}

/* Контейнер для изображения */
.image-container {
    margin-bottom: 20px;
}

.image-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
    text-align: center;
}

.image-link {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.image-link:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(255, 99, 71, 0.7);
}

.viewable-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Контейнер для ссылки */
.link-container {
    margin-top: 20px;
    padding-top: 20px;
    position: relative;
}

.studio-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 8px 15px;
    display: inline-block;
    border-radius: 2px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.studio-link:hover {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 9px;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
}


/* Адаптивные стили для десктопов */
@media (min-width: 768px) {
    .welcome-page {
        padding: 30px;
    }
    
    .welcome-page p {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .buttons {
        gap: 60px;
        margin-bottom: 40px;
    }

    .reg-btn {
        width: 200px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .image-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .viewable-image {
        max-width: 500px;
    }
    
    .studio-link {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 767px) {
    .welcome-page {
        padding: 15px;
    }
    
    .welcome-page p {
        font-size: 1.1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .buttons {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .reg-btn {
        width: 140px;
        height: 40px;
        font-size: 1rem;
    }
    
    .image-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding: 0 10px;
    }
    
    .viewable-image {
        max-width: 280px;
    }
    
    .link-container {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .studio-link {
        font-size: 0.9rem;
        padding: 8px 12px;
        text-align: center;
        max-width: 90%;
    }
}

/* Адаптивные стили для очень маленьких экранов */
@media (max-width: 480px) {
    .welcome-page {
        padding: 10px;
    }
    
    .welcome-page p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .reg-btn {
        width: 160px;
        height: 40px;
        font-size: 1rem;
    }
    
    .image-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .viewable-image {
        max-width: 250px;
    }
    
    .studio-link {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}